The Arduino Yun Shield

YUN

A few years ago, the most common method to put an Arduino project on the web was to add a small router loaded up with OpenWrt, wire up a serial connection, and use this router as a bridge to the Internet. This odd arrangement was possibly because the existing Arduino Ethernet and WiFi shields were too expensive or not capable enough, but either way the Arduino crew took notice and released the Arduino Yun: an Arduino with an SoC running Linux with an Ethernet port. It’s pretty much the same thing as an Arduino wired up to a router, with the added bonus of having tons of libraries available.

Since the Yun is basically a SoC grafted onto an Arduino, we’re surprised we haven’t seen something like this before. It’s an Arduino shield that adds a Linux SoC, WiFi, Ethernet, and USB Host to any Arduino board from the Uno, to the Duemilanove and Mega. It is basically identical to the Arduino Yun, and like the Yun it’s completely open for anyone to remix, share, and reuse.

The Yun shield found on the Dragino website features a small SoC running OpenWrt, separated from the rest of the Arduino board with a serial connection. The Linux side of the stack features a 400MHz AR9331 (the same processor as the Yun), 16 MB of Flash, and 64 MB of RAM for running a built-in web server and sending all the sensor data an Arduino can gather up to the cloud (Yun, by the way, means cloud).

All the hardware files are available on the Yun shield repo, with the Dragino HE module being the most difficult part to source.

Comments

  1. ANC says:

    This seems like adding a motorcycle to my bicycle. Are there any Arduino emulators for Linux?

  2. G says:

    I would say the arduino is a shield for the yun board xD

  3. Anthony says:

    There are some advantages to using an arduino over linux, for one a real time OS, but since I can’t find a place to order this or a price if you needed this kind of setup why not use a raspberry pi

  4. Squonk42 says:

    The Yùn is not only the AR9331 WiSoC, a Flash SPI and a DRAM chip + Leonardo’s ATmega32U4, it also contains an important feature that this board is missing: an USB hub and a microSD card combo. This is very important for the USB stability issue, see https://forum.openwrt.org/viewtopic.php?id=39956 for details.

    The wart to the standard Arduino form factor will make it incompatible with Mega boards as it will cover some I/Os.

  5. Bogdan says:

    This shield is great for people not using arduino as an alternative to buying a router.
    Still, there are some things I wonder about it: is the wifi calibrated? Why, if the AR9331 supports dual antennas there is not one already integrated on the PCB? Why did they not break out on some port other pins from the AR9331 except serial and spi ?

    • eas says:

      Why not dual antennas? Cost, size, power consumption and expense. That, and this thing isn’t designed to be a dual-stream WiFi router, there are already hundreds of those. This is a device that leverages the economies of scale from market of cheap WiFi routers to allow people to bring wifi connectivity and a web front-end to Arduino / MCU applications.

      • Bogdan says:

        I meant PCB antenna which is a circuit trace made on the board. I would think it would be cheaper to have that than a second PCB and a dangling wire, but anyone knowing the design cost can prove me wrong.

  6. Kyle says:

    Why not drop the arduino and just use the SoC as is?

  7. Martin says:

    This seems like a larger, more expensive version of the Spark Core.

    • eas says:

      Seems like a cheaper smaller VAX with WiFi. Or a soup dumpling, only with a CPU and WiFi.

      Not particularly useful comparisons though, are they?

      This is superficially like the sparkcore in that it combines wifi and an MCU. It is different though in that you bring your own MCU for this one, also, the WiFI SoC runs linux, and has way more memory than the sparkcore. There are other major differences, but that is a good start.

  8. Olivier says:

    The idea (of combining arduino with a linux board) isnt new though, check these out:

    http://www.udoo.org/

    http://www.intel.com/content/www/us/en/do-it-yourself/galileo-maker-quark-board.html

    And there are more (i spent 15 minutes looking for one i came across recentlly, was a white pcb with grey painted copper lanes, but cant find it atm)

    • eas says:

      Good for you! Here is a cookie.

      I think you’ll find that just as this is like some of those things in some ways, it is different in others.

      You might also find that it isn’t the first time Dragino (who makes this) have combined a WiFi SoC running linux with an Atmega MCU.

      Part of the point of cheap hardware is that it opens the door to lots of variety.

  9. Olivier says:

    Ah, i was looking for a pcDuino

    http://www.pcduino.com/

    • Squonk42 says:

      5V x 2 A = 10 W!

      AR9331 is 0.5 W for a 400 MHz MIPS 24Kc CPU with 18 dBm WiFi.

      • Bogdan says:

        that 10W includes the 2.5W for the usb host + you get more power and memory.
        Still, thinking about what that router/yun can do with 0.5W is quit amazing. A typical router with AR9331 can be 1W from the mains (assuming just wifi connection)

        Those chips that are used in tablets should have some power control, but I don’t know how that is available in the pcduino. maybe there it runs at 100% all time?

  10. kingofl337 says:

    The thing that the Yun has that the normal Wifi modules don’t is access point mode. If you want to make something like a AR Drone style quad copter this is great solution. Having to setup an AD-Hoc network sucks. Plus the Arduino can handle all the real time stuff and ANALOG while the Yun servers up the WIFI and DHCP.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 93,859 other followers