Thursday 18 June 2015

Orange Pi

Orange Pi

The unparalleled success of the Raspberry Pi has created a sea of competitors, many of which have appeared on the market from the industrious technologists of China. The latest of these companies is Shenzhen Xunlong Software, which has created what it claims is an 'open source' Raspberry Pi-like single-board computer (SBC) dubbed the Orange Pi.


Like Lemaker's Banana Pi, the Orange Pi is exactly what the name suggests: a riff on the Raspberry Pi theme, but using a more readily available system-on-chip (SoC) processor compared with the restricted-supply Broadcom BCM2835/2836. That SoC. in this instance, is the H3, a quad-core 1.6CHz Cortex-A7 part featuring an integrated Mali-400MP2 graphics processor and a shared 1GB of DDR3 memory.

Like most low-cost Chinese SBCs, the Orange Pi attempts to differentiate itself from its inspiration through the inclusion of additional features: 8GB of on-board eMMC flash storage is included as standard on the model reviewed, as is a SATA 2.0 port - complete with 5V power supply pins - for storage beyond the micro-SD card slot. Meanwhile, a Realtek RTL8189ETV offers integrated 802.11b/g/n Wi-Fi support through a bundled dipole antenna, and there's even an on-board microphone and an infrared receiver.

The features it does share with the Raspberry Pi are typically tweaked: the four USB ports are fully standards-compliant USB 2 connectors with no power limitations, while the wired Ethernet port offers a Gigabit connection (more on that later), and a power switch too. A 40-pin header replicates the pin-out of the Raspberry Pi's CPIO, and using Raspbian - one of the available operating systems, along with Lubuntu, Debian and Android - it's possible to use Raspberry Pi and Pi+ accessories, albeit with some mounting difficulties thanks to the board's different shape.

Initially, the Orange PI looked promising; booting from Raspbian installed to a 64GB micro-SD card (not supplied), I ran a SysBench CPU test that showed the All Winner H3 outperforming the already impressive Broadcom BCM2836 of the Raspberry Pi 2 - a total execution time of 72.76 seconds beat the Pi 2's 74.48 seconds, as did its single-threaded 95th percentile time of 22.27ms compared to 29.65ms. For CPU-laden tasks, the Orange PI is ahead.

Orange Pi spec

Network performance too, was a great improvement over that of the Raspberry Pi 2. Connected to a Gigabit network through the on-board RJ45 port and transferring an uncompressible file via netcat, the Orange Pi managed a throughput of 677.2Mb/sec - below what you would expect from a true Gigabit connection, but far in excess of the 89.72Mb/sec the Pi 2's 10/100 port can manage. The bandwidth limit appears, as in many cheap SBC designs, to be a hard limit; the network port is heavily CPU-limited, and during data transfer, you can expect to see one of the four cores sitting at around 70 per cent load.

Slightly boosted CPU performance and a massive improvement in network throughput look good for using the Orange Pi as a network server, but there's one area in which the design doesn't improve over its inspiration: power draw. Where the Raspberry Pi 2 draws around 0.37A under CPU-only load, dropping to 0.19 A at idle, the Orange Pi recorded a far higher 0.65A under CPU-only load and 0.44A at idle. Sure, for mains-powered applications it's a lightweight device - but anyone hoping to run it on battery power should take note.

It's clear that the Orange Pi is designed for home theatre use, where it works well. HDMI CEC is supported, while the infrared receiver can - with a little fiddling and hacking - be used for remote controls if your HDMI display doesn't pass CEC data back down the line. Running Android, video is accelerated and smooth while the wireless connection makes it easy to install in areas where wired networking isn't available. Unlike the Raspberry Pi, though, there’s no Kodi (XBMC) image available.

One major selling point of the Orange Pi over the Raspberry Pi is its claim to be open source and, sure enough, free membership of the official website at www.orangepi.org allows you to download schematics and mechanical drawings that would, in theory, allow you to produce your own ones. Source code is also provided for certain AllWinner-themed portions of the firmware.

As with many Chinese Pi-alikes, getting your hands on an Orange Pi is - at present - a question of importing. The Orange Pi Plus, as reviewed, is available from www.aliexpress.com for £33.84, while the Orange Pi Mini 2 - lacking SATA - costs just £19.56. Both prices exclude VAT, but in both cases you may be charged VAT and a handling fee upon receipt.