Odyssey Is A X86 Computer Packing An Arduino Along For The Trip

Odyssey Is A X86 Computer Packing An Arduino Along For The Trip | Hackaday

We love the simplicity of Arduino for focused tasks, we love how Raspberry Pi GPIO pins open a doorway to a wide world of peripherals, and we love the software ecosystem of Intel’s x86 instruction set. It’s great that some products manage to combine all of them together into a single compact package, and we welcome the recent addition of Seeed Studio’s Odyssey X86J4105.

[Ars Technica] recently looked one over and found it impressive from the perspective of a small networked computer, but they didn’t dig too deeply into the maker-friendly side of the product. We can look at the product documentation to see some interesting details. This board is larger than a Raspberry Pi, but its GPIO pins were laid out in exactly the same order as that on a Pi. Some HATs could plug right in, eliminating all the electrical integration leaving just the software issue of ARM vs x86. Tasks that are not suitable for CPU-controlled GPIO (such as generating reliable PWM) can be offloaded to an on-board Arduino-compatible microcontroller. It is built around the SAMD21 chip, similar to the Arduino MKR and Arduino Zero but the pinout does not appear to match any of the popular Arduino form factors.

The Odyssey is not the first x86 single board computer (SBC) to have GPIO pins and an onboard Arduino assistant. LattePanda for example has been executing that game plan (minus the Raspberry Pi pin layout) for the past few years. We’ve followed them since their Kickstarter origins and we’ve featured creative uses here and there. LattePanda’s current offerings are built around Intel CPUs ranging from Atom to Core m3. The Odyssey’s Celeron is roughly in the middle of that range, and the SAMD21 is more capable than the ATmega32U4 (Arduino Leonardo) on board a LattePanda. We always love seeing more options in a market for us to find the right tradeoff to match a given project, and we look forward to the epic journeys yet to come.

44 thoughts on “Odyssey Is A X86 Computer Packing An Arduino Along For The Trip

        1. Shared memory isn’t feasible unless both cores are on the same SoC die. SPI and CAN and definitely not “realtime” by any definition, and USB can be a whole lot faster than SPI or CAN.

          You consider 480Mbps “non-realtime”, but 1mbps is “realtime?”

          1. Real-time is not just bandwidth but interrupts and signal protocols – all well and good to send 480 times more per second but if it takes several tenths to get packaged and then get its turn to be sent – for things that really need extremely tight real-time timings that’s huge!

            I’m not sure what they could really be wanting but there are certainly downsides to the way USB works for ‘real-time’ – that annoying vague term that for some folks could mean whole seconds but others not even milliseconds are quick enough..

        2. The Arduino part would need to be implemented as a PCIe device with DMA capability. It wouldn’t be cheap 🙁
          I hope with FPGAs becoming more prevalent that open source IP for a PCIe target materializes. Then that could provide provide the desired buses along with the Arduino core.

          1. The FPGA PCIe cards that I use run open-source VHDL. I am not clear, though, if the PCI bridge is in the FPGA or if it is a discrete bridge chip. Here is one of them: http://store.mesanet.com/index.php?route=product/product&product_id=301 and the code is all included in the zip file under “specifications” (for some reason). Expand the zip until you find “hostmot2”
            The picture does show more than just an FPGA, though, so I suspect a commercial PCI bridge.
            (Despite writing some of the x86-side drivers for those cards, that particular detail has never mattered)

    1. The Udoo boards are pretty neat, too. Similar to LattePanda, they’ve put more emphasis on compact size and less on “just plugs in” benefit of Odyssey’s RPi GPIO pinout and M.2 slots. Different tradeoffs that will work for different projects.

      Curious about your project, why “non-realtime link” became an issue, and your eventual solution to the problem.

    2. And exactly how would a realtime link be achieved? Having the SAMD21 core be on the same die as the x86 core so they share registers and a clock?

      That’s not exactly trivial, and would require sharing IP between competing CPU manufacturers, a custom kernel, and a major overhaul of the Arduino toolchain. Many of the bare-metal features that make the SAMD21 useful, like interrupts and predictable instruction times, wouldn’t be available at that point due to coupling with the x86 core.

      Just switch from Arduino to Processing (or learn to use a real IDE/compiler toolchain) and run your code directly on the x86.

      1. No need to share IP. I build a lot of systems that do exactly this, with a Linux kernel running on an x86 writing to registers on an FPGA. Typically using a PCI / PCIe bus, but sometimes with Ethernet or SPI or even Ye Olde EPP protocol. Other options are CAN, EtherCAT, Modbus…..

        1. None of those are realtime links and most of them are serial, and you putting an Intel x86 core and a Microchip SAMD21 core on an FPGA would definitely require sharing IP or at least you licensing both from their respective designers.

          And more importantly, if you’re doing an application where you’re comfortable with a high-end FPGA running an x86 softcore, why on earth are you using Arduino at all?

          1. The systems I am talking about use a standard x86 PC running a realtime-patched kernel. The FPGA is a separate device but which requires new data from the x86 on a millisecond tick +/- a fraction of a millisecond.
            It isn’t a lot of data, a few hundred bytes. But it needs to be sent on schedule.

            Don’t confuse bandwidth with latency. USB is fast, but the data isn’t necessarily transmitted in the same millisecond as you write it.

            The liked the idea of using the Arduino core as an _alternative_ to the FPGA as the FPGA boards are fairly expensive.

          2. There is isochronous in the USB for real time application like audio and video with constant data rate requirement. The host reserves bandwidth for it.

            1023 or less bytes for full-speed
            1024 or less bytes for high-speed

  1. At 188 its not a bad choice for the form factor.
    If you don’t need it to fit cleanly in a nice case, old Dell nucs can be purchased cheaply enough off ebay and you can stick an arduino in one of those with an internal USB header to micro USB adapters.
    A more powerful microcontroller or even the addition of a little ice40 FPGA would have been welcome but at $188 it’s not half bad.
    Cant think of anything I would use one for, but I’m sure some neat projects could arise

    1. Robotics is how I came across this item, actually. I couldn’t find a graceful way to fit the information in this post, but the DC input requirements are listed as 12-19V implying we could plug 4S LiPo battery power straight into the DC barrel jack and onboard voltage regulators will gladly deal with the dropping voltage as it discharges. (Over discharge monitoring and alert would have to be handled separately, a job for the onboard Arduino perhaps?)

      1. Now that is neat, good range of voltage input. Wonder how clean the power needs to be – if you are say running high current motors or regen braking or a great many other robot component actions it could create some pretty intense momentary spikes even if its kept well within range..
        I’d certainly try to keep it isolated enough that it wouldn’t be an issue regardless, but if it can take it that could make it even more useful, simplifying the number/complexity of PCB your robot would need.

  2. Wow, look at the heatsink on that..for the performance of that intel POS, I could get a PI4, or even several PI4’s, more GPIO, and even hookup an arduino to it if I had to.

    It even comes with free security vulnerabilities, free ME.

    I’ll stick with the PI/Arduino combination, especially since now the PI4 boots from USB.

      1. Code is code, if it can compile, it can run. Nobody codes in X86 assembler anymore.

        Only legacy, old, non-open source apps need legacy X86 mode, and for that, there are virtual machines on better hardware.

        1. > Nobody codes in X86 assembler anymore.

          Just because you aren’t experienced enough to write Assembly doesn’t mean others aren’t. x86 Assembly is still very common for high performance applications. Ignorance like yours are why modern software is so absurdly inefficient.

          1. I code in verilog, I know more about X86 arch and ARM arch than most, because I’ve seen the verilog code, and modified it, tested it, simulated it, and have the silicon wafers on my desk to prove it.

            But go ahead, write your little java crapplet.

            only the very most experienced programmers can and should write assembly code and you certainly won’t find it in any java crapplet.

            BLAS libraries, math, and other “hard stuff” beyond the understanding of a simple programmer like yourself can benefit from assembly.

            everything else, not so much.

  3. Is it possible to make an x86 sbc with a Raspberry Pi’s price range and low electricity consumption?

    I don’t think I need a lot of speed. I just want to run Cups on it. I want it to appear on my network as a generic PostScript printer and when printed to do the translation to my actual printer. The damn thing claimed to support Linux on the box but actually it’s drivers only really support one old version of Debian on x86 and now I am stuck with it.

    I get by using drivers for a similar model and it works about 90% of the time but some things just will not print that way. Also, with every update to cups I may or may not be able to get the duplex ability to work.

    I’ve been waiting for x86 SBCs to hit sub $50 prices but instead they just keep getting upgraded in speed or other features while staying more expensive than I want to pay for this project. I don’t need fast, I want cheap!

    I’d use an old PC but I don’t want something that I have to turn on and boot every time I print (I’d never get the family to use it) and I don’t want to pay for or feel guilty about all that wasted electricity from running a PC 24×7.

    I even tried a cheap x86 tablet. But it turned out that it was impossible to use it’s only port for both charging and ethernet at the same time. Plus the onboard wifi cuts out after a few minutes. I really do have a lot of pent up anger towards hardware manufacturers!

    I so miss the days when linuxprinting.org was a comprehensive and accurate printer buyer’s guide for Linux users.

    1. Broken laptops.
      I pick up Thinkpad x220/x230 motherboards with broken individual USB ports for $5-10. You can sometimes find whole laptops with cracked screen in $10-30 range.

  4. I am using an hp t620 thin client for my low power, tiny-computer project. Sure it is a bit larger than an RPI, but It has a quad core AMD with radeon graphics, and 4 gb or ram. And it was only $30 refurbished on ebay.

    1. Same here. Runs W10Pro, mosquitto, Node-Red, wampp and a bunch of .NET apps and does file serving from a bunch of usb-sticks.

      Works fine, but might not win any price for extrem speed….

      Buyer advice: Make sure to buy one with power supply.

  5. I think the people who do this should also make old computers like the Stardent and the Sequent and the Data General mainframes, or the old DEC RISC boxes , much more interesting to study than yet another PC clone. If you are gonna waste time on stupid stuff then do it right.

      1. An 11/780 or MicroVAX-2 ought to fit on a modest FPGA and run at much better than original speed. Maybe a DE10 board? I know it’s an expensive way to buy into learning, but it’s supposed to be “idiot resistant”. Of course I don’t know what I’m talking about… and I have this stupid beaglebone-to-S100-to-Disk1A-to-floppy project to finish first, and it’s been dragging for about 2 years now…

Leave a Reply Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Subscribe