Home > Allwinner H-Series, Hardware, Linux, Ubuntu > $8 NanoPi Duo is a Tiny Breadboard Compatible Linux Board powered by Allwinner H2+ Quad Core SoC

$8 NanoPi Duo is a Tiny Breadboard Compatible Linux Board powered by Allwinner H2+ Quad Core SoC

It’s very easy to find breadboard compatible boards in the market with products based on Espressif chips such as NodeMCU or ESP32 boards, as well as OpenWrt board like Onion Omega2, or LinktIt 7688. However, it’s much more difficult to find powerful quad core boards in this form factor, but that’s exactly what FriendlyELEC has done with their NanoPi Duo board featuring an Allwinner H2+ quad core processor in a form factor slightly smaller than a Raspberry Pi Zero.

NanoPi Duo specifications:

  • SoC – Allwinner H2+ quad core Cortex A7 processor @ 1.2 GHz with Mali-400MP2 GPU @ 600 MHz
  • System Memory – 256 or 512 MB DDR3-1866 SDRAM
  • Storage – micro SD card slot, footprint for SPI flash
  • Connectivity – 802.11 b/g/n WiFi (Allwinner XR819 module) with chip antenna, and u.FL/IPEX connector for external antenna
  • USB – 1x micro USB OTG port
  • Expansion headers – 2x 16-pin breadboard compatible headers with 2x USB host ports, GPIO, UART, SPI, I2C, MIC, Line Out, CVBS (composite video), Ethernet, 5V, 3.3V, and GND
  • Misc – 1x key
  • Power Supply – 5V via micro USB port
  • Dimensions – 50 x 25.4 mm
  • Weight – 7.76 grams with headers
  • Temperature Range – -40°C to +80°C

An optional heatsink covering most of the board has also being designed in order to deliver optimal performance under load.

The company provides an image based on U-boot, Linux 4.11.2, and Ubuntu 16.04.2 Xenial for the board, which you can find in the Wiki, together with the rest of the software and hardware documentation including schematics (PDF) and mechanical design files.

NanoPi Duo Connected to Mini Shield

In order to experiment the I/Os on the board, FriendleELEC also provides what they call “NanoPi Duo mini Shield” exposing the following interfaces:

  • Storage – Half-size mSATA slot via JMS567 USB to SATA controller
  • Connectivity – 1x 10/100M Ethernet port
  • USB – 4x USB host port
  • Audio – Built-in microphone, and 3.5mm audio jack
  • Debugging – 4-pin connector for serial console
  • Expansion – 2x 9-pin GPIO header with I2C, SPI, UART, and GPIO; 6-pin SPI header
  • Misc – SSD and Power LEDs
  • Power Supply – 5V via micro USB port
  • Dimensions – 85 x 56 mm (Compatible with Raspberry Pi 3 cases)

Documentation for the mini shield is located in a separate wiki page.

NanoPi Duo sells for $7.99 with 256MB RAM, $11.99 with 512MB, plus shipping. You may consider adding the $2.99 option for the heatsink, and while you can also add the mini shield for $9.98, the “NanoPi Duo Starter Kit” may be a better option as it goes for $17.98 with all accessories you may need for a complete system.

Thanks to theguyuk for the tip.

  1. Philipp Blum
    August 29th, 2017 at 21:04 | #1

    One of these shitty Wifi modules without Linux support?

  2. August 29th, 2017 at 21:07 | #2

    @Philipp Blum
    My Orange Pi Zero is working fine.

  3. Mark Birss
    August 29th, 2017 at 21:28 | #3

    I like, with the missing spi flash it could boot from mSATA, did this with Zero *USB boot”

  4. Razzburry Pie
    August 29th, 2017 at 21:33 | #4

    @Philipp Blum
    Friendly has a pretty good track record of releasing Linux images that work. They also have a fairly good track record of publishing updates to fix things that don’t work.

  5. theguyuk
    August 29th, 2017 at 21:49 | #5

    @Philipp Blum
    Gets mentioned on Linux-sunix.org as to driver locations.

    Device Type sdio id sunxi-3.4 kernel mainline kernel
    XR819 SDIO 0020:2281 xradio_wlan

    For XR819 BSP driver can found here and firmware blobs can be found there or here. A more recent driver variant can be found at patch-add-support-xr819.tar.gz.

    Also some documentation is available now: File:XR819 Datasheet V1.0-EN.pdf and File:XR819 Application Guide V1.0-CH.pdf

    May be related to ST cw1XX0 [1].

    Initial comparison between cw1200 (drivers/net/wireless/st/cw1200) and xradio driver shows that the source code for two drivers are really similar and the st1200 driver can be improved to support both devices.

    A working out-of-tree driver for mainline kernels is at [2].


    • itchy n scratchy
      August 31st, 2017 at 02:15 | #6

      @theguyuk: once upon a time – went there, read it…

      Came to the point where it comes out that cw1x00 doesn’t work either.

      So seems AW bought some IP with crap SW support, now they have to sort it on their own

      If they can.

  6. darethehair
    August 29th, 2017 at 22:31 | #7

    What about considering this as a (much) more powerful alternative to ESP8266/NodeMCU? In that case, the shield expansions are not needed, and the compact form-factor remains πŸ™‚

  7. tkaiser
    August 29th, 2017 at 22:59 | #8

    Nice combination. With Opi Zero and Wi-Fi active (powermanagent on) we managed to get idle consumption as low as 550mW with appropriate settings — shouldn’t be different here since same ingredients (H2+ and XR819). Already curious whether FriendlyELEC coders were able to improve xradio driver so the missing frame problem is maybe gone?

    I hope the SPI NOR flash is at least 2MB in size as with the other sun8i boards. And the possibility to use internal mSATA storage (boot from SPI flash, rootfs on USB/mSATA) while being compatible to (industrial) RPi enclosures/add-ons is also a smart move πŸ™‚

  8. Willy
    August 30th, 2017 at 00:38 | #9

    I like the idea. It may soon become an interesting alternative to nodemcu boards for certain use cases. Ie you want very low power draw and run a small program, you use an ESP8266, or you want to run more complex programs and are fine with using more power, and you can use this nanopi-duo.

    FWIW I’m currently playing with a nanopi-neo-air which is very small and reasonably power-efficient. I found it to consume almost not more than a WR703N and is suitable for running on (big) batteries. I noticed that it’s getting really close to what can be achieved with an ESP8266 in this regard.

  9. PoV
    August 30th, 2017 at 01:12 | #10


  10. PoV
    August 30th, 2017 at 01:15 | #11

    (ha oops)

    I’m excited about this. I’ve been putting off working with the Onion boards because of having to learn a new Linux. I run Ubuntu on my desktop and servers, and I would love something in this form factor that runs Armbian. A nice high-performance boost over the Arduinos I sometimes play with.

  11. tcmichals
    August 30th, 2017 at 02:04 | #12

    Based on the instructions at http://wiki.friendlyarm.com/wiki/index.php/Mainline_U-boot_%26_Linux using github https://github.com/friendlyarm/linux/tree/sunxi-4.11.y/drivers/net/wireless/st/cw1200 this driver is the old driver. Also, looked for xr819, nothing in the tree.

  12. August 30th, 2017 at 02:09 | #13

    what ? no sata port ? meh..

    jk, very nice of them to release this. A nice big brother to my esp

  13. August 30th, 2017 at 04:57 | #14

    The mSATA on the mini shield might make this a great inexpensive headless device for apps that require heavy disk usages such as MySQL! OTOH, the cheapest half size mSATA I could find cost more than the combo! https://www.aliexpress.com/item/Zheino-Half-Size-mSATA-SSD-16GB-SATA-III-Mini-Half-Size-SATA3-SSD-Solid-State-Drive/32812222753.html Still, that makes the total cost around $40US.

  14. Jerry
    August 30th, 2017 at 07:06 | #15

    Too bad the GPU is such a piece of turd. Seems interesting. I could imagine using in projects that connect to other micro controllers. Otherwise the CPU power is way too powerful for simple embedded projects. At this rate the Arduino/ESP clones will soon have octacore and several gigabytes of RAM. Then what?

  15. Willy
    August 30th, 2017 at 09:57 | #16

    All use cases involving computer vision and speech recognition can be handled by such a device and are way out of reach for ESP and arduino. So this board will really allow DIYers to build their own robots, surveillance systems, home assistants etc.

  16. August 30th, 2017 at 10:11 | #17

    ESP32-LyraT Audio Development Board is designed for “systems of artificial intelligence, voice and image recognition, wireless audio and smart-home networks.”: https://www.espressif.com/en/media_overview/news/espressif-joins-baidu%E2%80%99s-conversational-ai-platform-esp32-lyrat

    Not sure which part is done in the board vs the cloud however.

  17. geokon
    August 30th, 2017 at 11:51 | #18

    I think this would be a cool platform to use with IncludeOS. Wish it had just a tiny amount of built-in storage

  18. ahrlad
    August 30th, 2017 at 15:29 | #19

    A regular-size mSATA thing should work as well I think, if you pin it down? There don’t seem to be any connectors in the way, though you’d have to cut the case up a bit I suppose.

    Anyway I’m happy they’ve finally made a tiny board with cvbs output. Using the dock thing for setup would really save time and effort when setting up stuff like a portable gaming thing and whatnot.

  19. Mum
    August 30th, 2017 at 16:09 | #20

    Yay another board using XR819. Maybe having more people will actually improve the situation and someone will clean up the driver and put it to mainline.

    Otherwise I predict more people complaining about poor performance and not being able to use mainline kernel. Maybe we will see NanoPi Duo+ with better WiFi chipset in the near future…

  20. tkaiser
    August 30th, 2017 at 17:13 | #21

    ahrlad :
    A regular-size mSATA thing should work as well I think, if you pin it down? There don’t seem to be any connectors in the way

    After I searched for reasonable half-size mSATA SSDs (almost none) I checked situation and unfortunately even with a custom enclosure you would have to remove the stand-offs before you could use a full-size mSATA card πŸ™


  21. Simos
    August 30th, 2017 at 20:47 | #22

    Should be possible to use a right angle adapter to change the orientation, therefore use a full-size mSata SSD.

  22. SlowBro
    August 30th, 2017 at 22:33 | #23

    Still no FCC ID I see. Not going to touch it. Unusable for integrators, probably illegal to use by anyone else.

  23. tkaiser
    September 3rd, 2017 at 05:34 | #24

    And with NEO Core/Core2 it gets even more interesting: https://forum.armbian.com/index.php?/topic/5035-nanopi-duo-plus-mini-shield/&do=findComment&comment=38574

    According to device tree files in FriendlyELEC’s Github repo at least H3 based NEO Core is equipped with eMMC while Core2’s H5 is accompanied with an I2C accessible voltage regulator that allows H5 being clocked at up to 1368 MHz.

  24. amazed
    September 4th, 2017 at 07:55 | #25

    any eta for core/core2 or at least info eta? i was about to order stuff from friendly, but when i saw that “core” thingie i started having second thoughts… should i wait or should i not…

  25. ahrlad
    September 6th, 2017 at 16:38 | #26

    Yeah a double-sided ssd will fit badly, but I don’t think you’d need to solder off the standoffs? I’ve made things like that work in the past, by just pinning the board down with double-sided tape or hot glue. Not pretty, but the connector does work with a slight angle (in my experience).

  26. ahrlad
    September 6th, 2017 at 16:41 | #27
  27. tkaiser
    September 6th, 2017 at 18:39 | #28

    ahrlad :
    Otherwise a m.2 adapter is cheap and should do the job, one like this

    Yeah, M.2 B key should do the job. Couldn’t resist: http://kaiser-edv.de/tmp/WxcGwv/NanoPi_Duo2_mSATA_M2.jpg (custom enclosure needed)

    But based on my experiences with the only M.2 SSD I own (Transcend TS120GMTS420) a huge heatsink is needed anyway. I had this SSD in a small ‘USB thumb drive’ like enclosure and this thing then gets insanely hot (75Β°C internal thermal readout in idle and enclosure to hot to touch) and performance drops down from ~380 MB/s to just one-tenth. Lesson learned: looking for performance with those small things can result in thermal troubles…

  28. ahrlad
    September 6th, 2017 at 20:41 | #29

    Really? I use one of those m.2-USB adapter thumb things with a chinese m.2 2242 as hard drive for my home server, I never even thought about heat issues. Guess I’ll need to check it out, thanks for the warning.

  29. tkaiser
    September 6th, 2017 at 23:08 | #30

    Well, at least the TS120GMTS420 is hot like hell (and refuses to enter sleep/standby — hdparm -y /dev/sda) and Igor reported over at Armbian forum the same for another such SSD he also wanted to put inside such a M.2-USB thingie. No way.

    And I would not rely solely on SMART values since at least the Chinese M.2 SSD @cnxsoft tested recently fakes thermal readouts and reports 40Β°C all the time.

  30. tkaiser
    September 22nd, 2017 at 15:41 | #31

    NanoPi Duo in action with breadboard powering, USB and Ethernet: https://forum.armbian.com/index.php?/topic/5035-nanopi-duo-plus-mini-shield/&tab=comments#comment-39876 (as expected pretty software compatible to OPi Zero since relying on same hardware components)

  31. theguyuk
    September 23rd, 2017 at 14:45 | #32

    I see Friendlyelec are now stocking a Kingspec 64GB MiniPCIe mSATA Half Size SSD $45.00

  32. tkaiser
    September 23rd, 2017 at 18:28 | #33

    I hope FriendlyELEC fixes the absurd product description (there exist mPCIe and mSATA storage products, it’s always either/or and mentioning ‘miniPCIe’ when it’s (m)SATA in reality is highly misleading).

    Besides that I would never buy flash storage products when vendor name contains the string ‘King’. πŸ™‚

  33. RasberryCheer
    September 30th, 2017 at 21:53 | #34

    Do you know if they have the same pin connections or will it be necessary to provide an altered ftb, e.g. will the images made for OPi work with the NanoPi Duo without problems?

  34. tkaiser
    December 2nd, 2017 at 02:41 | #35

    And today both NanoPi NEO Core and NEO Core 2 got their wiki pages: http://wiki.friendlyarm.com/wiki/index.php/Main_Page#NanoPC.2FPi_Series

    Everything on pin headers (Gigabit Ethernet included with Core 2). The pin header layout is backwards compatible it seems but allows also for the new features. And there will be also appropriate shields making the stuff on the pin headers available: https://forum.armbian.com/topic/5035-nanopi-duo-plus-mini-shield/?do=findComment&comment=38574

  35. tkaiser
    December 2nd, 2017 at 02:45 | #36
  36. December 2nd, 2017 at 10:06 | #37

    I’m a little surprised there’s demand for such low end boards with M.2 SSD, for what application?

  37. tkaiser
    December 2nd, 2017 at 14:28 | #38

    I think it’s only space constraints. On the Mini Shield for NanoPi Duo there’s a half-length mSATA slot but mSATA SSDs of this size are not available from trustworthy vendors. There are more and ‘better’ SSDs in M.2-2242 form factor available so that’s a slight advantage. With ‘better’ I don’t mean more performant but good SMART data for example (no faked thermal values, health indication, GP/SMART Log 0x04 available and stuff like that).

    Since it’s still USB2-SATA there’s no need to choose fast SSDs, it’s even counterproductive since fast M.2 SSDs tend to overheat. But since the M.2 slot is there it allows eg. for a data logger with all storage securely inside an enclosure. On the other hand it’s always possible to grab a mechanical M.2-SATA adapter and connect an externally powered HDD:

  1. No trackbacks yet.