Creative Commons images are CC BY-NC-SA 3.0

Description: Arduino is an open-source physical computing platform based on a simple i/o board and a development environment that implements the Processing/Wiring language. Arduino can be used to develop stand-alone interactive objects or can be connected to software on your computer (e.g. Flash, Processing, MaxMSP). The open-source IDE can be downloaded for free (currently for Mac OS X, Windows, and Linux).

Arduino Yun is the first member of a new groundbreaking line of WiFi products combining the power Linux with ease of use of Arduino. The first Arduino Yun is the combination of a classic Arduino Leonardo (based on the Atmega32U4 processor) with a WiFi system-ona-chip running Linino (a MIPS GNU/Linux based on OpenWRT). Arduino embedded the Linux machine directly on the PCB of the Arduino Leonardo and connected the two so that from Arduino it’s very easy to run commands on the Linux side and use it as an Ethernet and WiFi interface.

The board has built-in Ethernet and WiFi support, a USB-A port, micro-SD card slot, 20 digital input/output pins (of which 7 can be used as PWM outputs and 12 as analog inputs), a 16 MHz crystal oscillator, a micro USB connection, an ICSP header, and a 3 reset buttons.

Not sure which Arduino or Arduino-compatible board is right for you? Check out our Arduino Buying Guide!

Note: The Arduino PoE module will not work with this board. A YUN-specific module will be coming out. In the meantime, just leave this unpopulated.

Features:

  • AVR Arduino Microcontroller
    • ATmega32u4
    • Input Voltage: 5V
    • 20 Digital I/O Pins
    • 7 PWM Channels
    • 12 ADCs
    • 16MHz Clock Speed
    • 32 KB Flash Memory
  • Linux Microprocessor
    • Atheros AR9331
    • Operating Voltage: 3.3V
    • Architecture: MIPS @400MHz
    • Ethernet: IEEE 802.3 10/100Mbit/s
    • WiFi: IEEE 802.11b/g/n
    • PoE Compatible 802.3af
    • USB Type-A 2.0 Host
    • Micro-SD Card Reader
    • 64 MB DDR2 RAM
    • 16 MB Flash Memory

Documents:

Recommended Products

Customer Comments

  • Finally these are back in stock. I hope more of this style of Arduino board are developed. Start with a “real” Arduino that is compatible with all the sketches and shields out there to take care of the raw hardware interfacing and realtime issues. Then attach that to a “real” processor that can do heavy lifting for computing and access to the real world via Ethernet/Wifi/USB. Sure, it’s possible for the ATMEGA to be networked, but it’s clear to me that it’s way more work than its worth for all but the most basic things.

    I just attempted to do something with a Nano + Ethernet/SD setup, and damn was it painful. By the time you load Ethernet + SD libraries you have almost nothing left for program and data space. The W5100 is a toaster it gets so hot—heat sinks are on order in case I find something else to do with it. The Ethernet’s DHCP support blocks the entire sketch while it’s doing its thing. For this project I needed to be able to continually service the CDC port and can’t afford it to go dark for 60 seconds while DHCP times out. Oh, and you get the unique joy of managing your own MAC Addressing.

    Contrast that to the Yun, where all of these problems are taken care of, yet doesn’t cost much more than a traditional Arduino plus Ether/SD. What was a very long, program/SRAM-busting sketch that took hours to work-almost-right becomes doable in a short shell script. So now that these are available again, I’m writing off the time on this particular project and just running it on a small network of Yuns. Can’t complain too much, I learned a lot, both in how the Arduino works and what it’s like to bump into its limits.

    I’m not knocking the Arduino—I’ve just discovered them and am having a blast. There’s a ton of problems that fit within the Arduino’s capabilities. But coming from a long career in software (everything from apps to drivers to networks), my patience for doing things the hard way is thin at this point. Pairing the Arduino with a larger processor extends the reach of these things by an order of magnitude, and lets you solve the problem at hand in much less time.

  • Bought one of these to try out but returned it. The linux side is a really pitiful. RPI is a much better choice. The link between the arduino is in theory great, but not really that useful. It is just a serial link and they used up the only hardware serial line. Seriously the UNO is obsolete. Coupling it to a linex machine is useless. Get a 32bit teeensy 3.1 and serial to RPI. Now you can do anything ! Three extra hardware serial lines I2C I2S and two SPI.

  • Okay, I rarely get impressed by new boards. I was not impressed with the Due for my needs as the 5V support was an issue. So for certain projects I used the Uno32. Plenty of speed for my app. Now I needed a more generic set of tools for a sensor platform I am building. I wanted Linux and generic 5V IO. So I ordered this board. Wow! Not only are they nicely integrated on board they are nicely integrated in software. This combination is a serious win for my engineering needs. All I need to provide is power to platform and everything else goes over wifi. There is a serious focus on using Python internally and web technologies. Both of these are used a lot in our company.

    So if you need a mobile platform for sensors this is a good piece of that system. I used the Yun combined with the Rover (https://www.sparkfun.com/products/10336) and it driver board (https://www.sparkfun.com/products/11593). I am using a couple of the 9 DOF boards for some inertial sensor testing. Putting these together has been relatively simplistic and mainly just deciphering datasheets. The Yun has been the least of the learning curve. That is how you know a device is designed well. You spend little time making it work.

  • So now that the Intel Edison has been out for a few months, how about a shootout-style comparison?

  • Compare this board to a pcDuino from LinkSprite and you will see that the YUN is inferior in all ways. Pick your criteria, price, HDMI graphics out, RAM, Flash, Ubuntu release stability, USB ports, Wifi etc… Don’t buy this board until you do the comparison. I’m using pcDuinos in a product I sell. Its better than RPI too as it has an arduino shield socket.

  • The Yun has a lot of potential but I regret purchasing it. I’ve spent far more time fighting with things that should work out of the box than actually using it.

    Two examples:

    The wifi is shaky. There are a variety of threads about this on the web but no definitive fixes that work for everyone. For me, it usually forgets it has wifi after 20 minutes to 3 hours and requires reset(s) before it can be used again.

    Most recently, they changed the serial (usb) baud rate to 250,000. The latest version of the Arduino software that supports the Yun still goes up only to 115,200. As an aside, you have to use a Beta version of the software - the Yun still isn’t supported in the official version unless it was added very recently. Anyway, I did find a thread pointing out how to change the baud rate programmatically, but also a warning that it should be consistent between the ROM and the library. To change the library I believe I have to download and build it, which really shouldn’t be necessary on Windows. To change the ROM… well, I don’t know that I CAN change the ROM. In any case, this is way more of a science project than I signed up for.

    If it worked out of the box and let you program using the Linux-based wifi-supporting SOC and was well integrated with the ATMEGA chip, it would be great. Perhaps some use it in such a way that they don’t hit the nasty problems I’ve hit (see 2 representative samples above). For me, it’s been a an unstable piece of junk with many known problems that don’t seem to get addressed.

    If you’re into science projects and have a lot of free time (or feel lucky), this may be the board for you. If you actually have projects in mind that require a stable platform, this probably isn’t it.

  • Just a heads up for anyone looking to buy a Yun to use with a shield: you should probably take a good look at a side view of the board. The vertical USB-A -connector and the Ethernet socket are both WAY taller than the USB-B -connector on for example an Uno (which is conveniently about exactly the height of the female headers on the arduino plus the height plastic spacers on the male headers on the shield).

    Most shields will not fit on a Yun, despite the Arduino website claiming that the board is “compatible with the most shields designed for Arduino”.

    Personally I’ve used the old retired Screwshield wings as an adaptor (even then, I had to adjust the screwshield wings on the USB host side to make them fit). Another option would be to find the really really long stackable headers found on an official Wi-Fi shield, and resolder those on to old shields.

  • The Arduino Yun product page says the Linux processor has 16 MB Flash. You say 32 MB. Who’s right?

    http://arduino.cc/en/Main/ArduinoBoardYun

  • Does this board come with the PoE module preassembled on the board?

    • There is no PoE module on this board. At this moment I don’t believe there is a PoE module available for this board either.

  • What are the specs for the Micro-SD recommended to use? Such as max size allowed, class, min recommended size, etc. I dug thru the manual a little and didn’t see this (but could have missed it). I want to get started programming but want to order a micro sd card first

  • Can you run NodeJS on this thing? if so, I want!

  • Hmm. Tough call. You can get an actual real Raspberry Pi and the Alamode pi Shield which then puts a full arduino on top of the pi…and you have the best of both worlds for actually a little less.

    RaspberryPi $35 : https://www.sparkfun.com/products/11546 Alamode $35: http://www.seeedstudio.com/depot/alamode-arduino-compatible-raspberry-pi-plate-p-1285.html

    And its still cheaper than this.

    If they really wanted this to take off they would have made it cheaper than actually buying the same thing seperately. At $50 I might be a buyer of this. At $77, I am a buyer of a real pi + an arduino bridge shield like the Alamode.

    • True - but, how is your Pi going to talk to the Alamode? Bit-banging serial? Well, now you have to define and implement a serial command system in two languages. Doable, but a major headache if you just want to send “pin on; pin off” messages based on network or web events.

      How is your Pi going to get on your wifi network? Setting up a Pi requires an S-video or HDMI display, a keyboard, and editing etc/network/interfaces.

      Yun’s Bridge and Console libraries - the first exposes a key/value database in both the Linux and Arduino spaces, and the second provides Telnet access to the 32u4’s Serial interface - are well worth the price, imo. The astonishingly easy network setup is just the icing on the sweet, sweet cake. All in a standard Arduino footprint. I don’t think I’ll ever bother with Pi + Arduino again, Yun just makes it so easy. I’d rather spend the $20 than lose the weekend.

    • An hour of engineering time dwarfs the cost of both. So an integrated solution can give you more time to actually solve the problem you intended to solve. The Pi is very capable as is the Yun. If I needed a user interface that connects to an HDMI monitor the Pi is a shoe in. For an embedded wifi capable robot I would reach for the Yun. It depends upon application and needs. Cost is not a factor in some cases. In my case time was way more important than device costs.

      Now that I have some time on the Yun I think paying the extra for the integration is well worth it. Even if a Pi could do the same task equally well.

      • And don’t forget the PCDuino, Beagle Bone Black, and every other microcontroller or single board computer. Honestly there is probably always something out there that means your specific need. the question is do you want to learn a new board every time you have a new need. Each of these boards have their advantages and disadvantages. Often the advantage is “I kind of know my way around this board already”.

    • Everyone forgots about the SD / Mirco SD cards and there cost. Generally an SD card will cost you another $10 bucks. That makes it a total of $80 that is $20 more then the Yun costs right now. We are not going to count the micro SD for the Yun or the Shield since if you need the storage you will need it for both.

  • Why pay for this when you can buy a beaglebone black for about the same price?

    • BBB is actually about $25 cheaper, but…

      With BBB you get the fun of writing your own kernel driver if you want any hope of decent latency on DIO ADC etc. Even just using the (slow) userspace IO interface on the BBB is largely undocumented, obsolete-documented, and generally a huge pain compared to Arduino.

      That said, I’m not sure I’ll abandon my chosen solution of Arduino + BBW where needed just yet. I’m curious how stable the Lineno is and wonder how easy it is to upgrade software on it?

    • Because it interfaces a Linux-capable system with an Arduino on a single small form-factor board and is largely compatible with existing Arduino shields?

      If neither of those are of any interest, then I agree there’s more appropriate alternatives :)

  • Will it support https?

  • I’m looking for a platform to access a large e-ink display, but the combination for timing AND image size has been problematic, any chance that this would work well?

  • Couldn’t get the schematic link to work; found this on the net: http://arduino.cc/en/uploads/Main/arduino-Yun-schematic.pdf

  • In the light of “there’s always something missing” in the Arduino flavor that you want, why oh why don’t these things have an on-board regulator?

    Sure, that may not be a problem for a lot of people, but for my application I need the USB port free as a communications input, not an always-connected power source.

    Oh well, a solvable problem, just wish it wasn’t a problem to begin with.

    Otherwise a very exciting board!

    • Yeah, I was dismayed at this too. I went and picked up a USB micro cable that came with a vehicle 12V to 5V dc to dc converter. Repacked the converter to connect to wires to run off of 12V. Shortened the USB micro cable to a few inches and mounted everything in my chassis. Not perfect, not pretty. Runs well enough. The brand is “Just Wireless Dual USB Car Phone Charger”. It comes with cable to charger adapter. $20 at Walmart.

      I am guessing there will be more than one Yun shield for power. Are you using the Wifi programming of the 32u4? The Yun supports programming the 32u4 over wifi. Which makes the cable not needed for me. YMMV.

    • No onboard regulator - now that’s sparkfunny.

    • You could use PoE to power your board, if you can get an ethernet cable to it?

      • Yes, but for what I’m doing, that’s a bigger sledgehammer than just providing regulated 5V.

  • So this one can be programmed as same as the arduino uno?

    • You can find some code snippets at http://sourceforge.net/projects/arduinoynsnippets/ and you can add content there, too.

    • Yes, if I’m reading the Arduino website correctly. The setup is a bit more complicated, akin to configuring a linux device, but once it’s setup it can be programmed in a way very similar to the Uno.

      • Thank you!!!

      • You can, for all intents and purposes, treat it as an Leonardo* if you so desire – ignoring the linux box.

        However, even if all you do is set it up to get on your WiFi, you get to upload code wirelessly. Which, I at least, really like.

        *There are a few differences, because the Leonardo does away with the separate USB-serial. http://www.doctormonk.com/2012/10/arduino-leonardo-vs-arduino-uno.html

  • Crazy, man, so much in one package. I feel conflicted about whether this even fits the Arduino stereotype.

Customer Reviews

4.8 out of 5

Based on 5 ratings:

5 star
4
4 star
1
3 star
0
2 star
0
1 star
0

1 of 1 found this helpful:

The Arduino colliders have been busy!

This is possibly the most useful Arduino board when it comes to it. You get the functionality of a linux/python environment right from an Arduino library! How cool is that? If you thought the possibilities were endless before, then you may have been wrong. A great buy!


1 of 1 found this helpful:

Worked great right out of the box

I am no Linux expert. Most of my experience with Unix comes via the Mac OS X Terminal. Firing up the Yun for the first time made me a bit nervous that I’d be way out of my league. I have to say it was super easy to set up and get it working on my local wifi network. Thanks to the Arduino Yun wiki knowledgebase and other various forums and whatnot I was able to breadboard a button that trigger a python script to run on the Yun in an afternoon. Not too shabby! After a few more days my prototyped idea is waiting for a case to properly house my homemade Sonos controller device.

Now that I have this project nearly done it has sparked (no pun intended) many an idea on how I could make use of the Yun for other applications. Highly recommended.


1 of 1 found this helpful:

Best Arduino ever!

This Arduino is very good for many IoT projects, specially because of the embedded Linux and WiFi that doesn’t require cables to connect to Internet.


Excellent

The arduino Yun is so easy to use, and is very powerful for such a small device!!


Very Good Aquisition

Some hangs and resetings till now but it is working as expected.