Odroid C2 Bests Raspberry Pi 3 In Several Ways

It’s been a big week in the world of inexpensive single board computers, and everyone’s talking about the new Raspberry Pi 3. It blows away the competition they say, nobody can touch it for the price.

Almost nobody, that is.

With a lot less fanfare on these shores, another cheap and speedy 64-bit quad-core ARM-based SBC slips onto the market this week, Hardkernel’s Odroid C2. And looking at the specification it seems as though the Pi 3 may be given a run for its money. Like the BCM2837 in the Pi 3 its Amlogic S905 SoC is a quad-core ARM Cortex-A53, but the C2’s 2GHz clock speed gives the raspberry to the 1.2GHz of the Pi 3. There is twice the RAM of the Pi 3 at 2Gbytes, and the onboard Mali-450 GPU can deliver 4K video.

Unlike the Pi 3 there is no wireless or Bluetooth on board, but the C2 has a Gigabit Ethernet port which is wired directly into the SoC. Compared to the Pi 3’s 100 megabit port which suffers through being on a USB interface, that’s likely to be very quick.

Storage can be a choice of either the usual micro SD card or eMMC. Given that the two boards share a very similar form factor it is no surprise that they have very similar GPIO capabilities, however it is worth noting that the C2 has a built-in analog-to-digital converter. As to operating systems, the C2 can run Ubuntu 16.04, or Android Lollipop.

Of course, we’ve seen so many boards touted as Pi-killers, and like all those also-ran tablets touted as iPad killers a few years ago we’ve never heard of most of them again after a brief moment of chatter. They look so good on paper but the price always lets them down.

The C2 could just escape that fate though, its $40 price point is very close to that of the Pi 3. Setting aside for a moment how much shipping and customs might cost for a package from Korea, that sounds interesting to us.

Why might you buy a C2 then, and why might you buy a Pi 3? That the C2 has a much faster processor is beyond doubt. This and its faster wired networking would make it a much more interesting prospect for anyone whose work involves network-attached data processing. But even though a USB wireless network adaptor can be had for only a few dollars the Pi 3’s onboard wi-fi and Bluetooth makes it much more attractive to a home user or someone using a computer on a platform unfettered by wires.

However impressive the C2 may be it is overwhelmingly likely that the Pi 3 will outsell it many times over. This will not just be due to the massive publicity advantage achieved by the Pi Foundation, but the huge ecosystem of hardware and software developers that have made the Pi boards perform to the limit of their abilities in all directions. If you don’t mind forgoing that support though, you could just find that the board from Korea gives you enough extra bang for your buck to make having it on your bench worthwhile.

We’ve followed the Odroid products from the start here at Hackaday. The C2 is just the latest of a procession of boards from Hardkernel, and we’ve featured a few projects that include them. Theirs is always the name at the top of the list when the subject turns to Raspberry Pi competitors, perhaps with the C2 they’ve got a winner.

Our thanks to [Derrick].

Hack A PS/2 Keyboard Onto Your Pi Zero

Hacking for the Raspberry Pi Zero is a tricky proposition. Whatever you do, you’re working with a nominal five dollar board, so your hacks can’t be too highfalutin. For instance, a decent PS/2 to USB adapter will cost you as much as the Zero did, if not more. But if you just need to drive your Pi Zero from your old Model M (we hear you!) you’ve got to do it on the cheap.

So when prolific Pi hacker [mincepi] set out to build a PS/2 adapter, some corners were cut. PS/2 is a clocked data protocol, but the good news is that the clock doesn’t start and stop all the time as in I2C or SPI. This means that if you poll the data line at just the right frequency, at least in principle you’ll be able to ignore the clock.

ps2-schematic_border

So that’s what [mincepi] did. As you can see in the schematic and the banner image, there’s nothing to it. Two resistors provide the pullup voltage for the clock and data lines. And here’s a gem: a green LED with a drop voltage of about 2 V converts the 5 V data line down to something that the Pi Zero’s 3.3 V won’t get fried with. Cute, and very much in keeping with the spirit of the hack. You might be tempted to scrounge up a 3.3 V zener diode from somewhere just to be on the safe side, but remember, it’s a five dollar computer you’re protecting.

The last piece is a custom kernel module for the Pi that polls the PS/2 data line at just the right frequency. If you’re not a Linux person and “compiling a kernel module” sounds scary, [mincepi] has even put together a nice guide for the Raspbian distribution that he’s using. It should work with minor tweaks for any other distro.

We said [mincepi] is a prolific Pi hacker and here’s the proof: we’ve covered his quick-and-dirty VGA output hack and a scheme to get analog sound input into the Pi Zero just in the last couple of weeks. Hack on!