Blog Home

Welcome Arduino Yún – the first board combining Arduino with Linux

Zoe RomanoMay 18th, 2013

Arduino Yun - iso

 

Massimo Banzi announced it some minutes ago during his annual “The state of Arduino” presentation at Maker Faire Bay Area:  Arduino Yún  is the first of a revolutionary family of wifi products combining Arduino with Linux.

Yún means “cloud” in chinese language,  as the purpose of this board to make it simple to connect to complex web services directly from Arduino.

ArduinoYun - scheme

Designed in collaboration with Dog Hunter, a company with extensive experience with Linux, the board adopts the Linino distribution which provides signed packages to ensure the authenticity of the software installed on the device.

Historically, interfacing Arduino with complex web services has been quite a challenge due to the limited memory available and they tend to use verbose text based formats like XML that require quite a lot or ram to parse. On the Arduino Yún we have created the Bridge library which delegates all network connections and processing of HTTP transactions to the Linux machine.

Arduino Yún is the combination of a classic Arduino Leonardo (based on the Atmega32U4 processor) with a Wifi system-on-a-chip running Linino (a MIPS GNU/Linux based on OpenWRT). It’s based on the ATMega32u4 microcontroller and on the Atheros AR9331, a system on a chip running Linino, a customized version of OpenWRT, the most used Linux distribution for embedded devices.

Like a Leonardo, it has 14 digital input/output pins (of which 7 can be used as PWM outputs and 12 as analog inputs), a 16 MHz crystal oscillator and a micro USB connector.

Arduino_Yun


Like any modern computer, it’s Wi-Fi enabled, it has a Standard-A type USB connector to which you can connect your USB devices and it has a micro-SD card plug, for additional storage.

The Yún ATMega32u4 can be programmed as a standard Arduino board by plugging it to your computer with the micro USB connector. And you can also program it via Wi-Fi.

When the Yún is turned on for the first time, it becomes an Access Point, creating a Wi-Fi network named “Arduino”. Open your browser and go to the webpanel: configure the board by entering your Wi-Fi network name, type and password. Click the “Configure” button to restart the board and have it join your home network. Opening the IDE, you’ll see it listed in the “Port” sub menu with its IP address instead of the serial port name.

Using the Bridge library in your sketches, you can link the 32u4 to Linux, launching programs and scripts, passing them parameters (sensor readings for example) and reading their output, thus creating a strong integration between the creativity of your sketch and the power of Linux. The Yún supports Shell and Python scripts out-of-the-box but you can install a wide range of open source software and tools.

For the Linux geek in you, Yún can be reached with SSH:  that means you’ll be able to customize it in whatever way. And you’ll always be able to reset it to its factory settings.

On top of that to make it even simpler to create complex applications we’ve partnered with the innovative startup Temboo which provides normalized access to 100+ APIs from a single point of contact allowing developers to mix and match data coming from multiple platforms (for example Twitter, Facebook, Foursquare but even FedEx or PayPal).

Arduino Yún will be available at the end of June at the price of 69$ + taxes.

 

39 Responses to “Welcome Arduino Yún – the first board combining Arduino with Linux”

  1. Bryan Apperson Says:

    This is exactly that I needed for my next robotics project, fantastic! I was going to use a rasberry pi onboard, however now it does not have to be.

  2. Patrick Says:

    Except the RPi is still only 1/2 the price of the Yun

  3. JeffM Says:

    Patrick – maybe it’ll help drive the price of the existing WiFi shields down though.

  4. Gorge washington Says:

    Thats true .. i love arduinos but the only problem is their costs.. rPi s mote compatiable with linux and has a much stronger motherboard..and connectivities,..

  5. Raffaello Says:

    it’s a great news !
    if it were cheaper, it would be fantastic …

  6. pim Says:

    Nice, but as stated previously, you can get a raspberry + an arduino for the same price … and they work together very well

  7. STrRedWolf Says:

    Mmmmm MIPS. It’s making a comeback…

  8. cgozzard Says:

    I’m sure that we will see the price come down when we start to get clones as has happened with UNO.

  9. JDS Says:

    I’m confused about the SD card. Is it optional or do you boot from it like a RaspPI?

  10. Nicolas Says:

    Patrick, it is not really true: the RPi doesn’t have native Wifi: you need to add a Wifi dongle. It doesn’t have the functionnalities of a microcontroller system: if you have a real project with PWM, analog inputs,… you cannot leave with a RPi only, you need to connect it with a microcontroller platform.
    You can find an equivalent system based on a Linux chip + a microcontroller at a lower price than the Yun, but not using the RPi. Instead you can use an Arduino Uno and a Carambola (www.8devices.com).

  11. Nicolas Says:

    Update to my last sentence: Arduino Leonardo of course, but Uno works also.

  12. Nicolas Says:

    Update to my last sentence: I meant Arduino Leonardo of course, although Uno works also.

  13. Eric Says:

    Which June ?

  14. Jan Says:

    Any chance this thing will sport Power Over Ethernet?

  15. Matteo Says:

    @Jan from the photo note that the socket have the pin for POE module

  16. Aris Says:

    According to the announcement on Makezine, it has PoE:

    http://blog.makezine.com/2013/05/18/arduino-announces-new-wireless-linux-board/

  17. Nial Says:

    Finally a board that handles everything without the need for shields, breakouts, dongles and other boards!

    The Arduino we have all been waiting for?

    Up’s the number of well trusted and decent hardware for IoT tasks to 3 main boards, RasPi, BeagleBone Black and now the Yun plus a handfull of excellent but lesser known or more expensive specialist boards and kit.

    Won’t be long now till we are sick of hearing about new Linux powered single board solutions. Its great that Arduino are on this now however before the market gets saturated.
    Just over a month till release, lets hope a bunch of Yun’s go out to the top reviewers and critics on impartial websites that we trust so we can start getting a better idea of how it will be running, how well it deals with the tasks we all plan to set it and what is supported before release.

    I’m excited, this is a bold move for Arduino.

  18. Nial Says:

    @Jan @Matteo Yup, there is the well known PoE diagonal footprint for an Arduino PoE module.
    Makes sense in a way as alot of people wont need PoE and it keeps the board a little more simple and cheaper but allows people who do want to use PoE to buy the module and add it themselves.

  19. Romulo Benitez Says:

    I’d like to test it. Now I’m working with pcDuino and Arduino and it works really great. I don’t know if this bouard will be more powerful than pcDuino.

  20. James Says:

    Wait a second, I use Flyport Wi-Fi from openPicus and it’s much smaller and powerful I guess (integrated web server). Am I missing something here?

  21. Greg Says:

    Hurmm… so I have a question about this. When the article says “On the Arduino Yún we have created the Bridge library which delegates all network connections and processing of HTTP transactions to the Linux machine” does that mean it needs to be connected to a regular PC running Linux in order to handle web services with XML? Maybe someone knows the answer? Thanks.

  22. Nicolas Says:

    @James: yes, you are missing something: the Flyport is not a Linux box as the Yun is supposed to be. Of course, if you only need a webserver in your project the Flyport may be enough, but if you need more (real-time video streaming, Python programming, shell scripting, …) you will need something like Yun.

  23. Nicolas Says:

    @Greg: no, the Yun integrates a Linux “box”, the Atheros AR9331. The “Linux machine” mentionned in the article is the AR9331, which is integrated in the Yun.

  24. Random Says:

    I would rather get the new beagle bone black
    It has pretty much all of this

  25. Nicolas Says:

    … but no Wifi.

  26. Cypher Says:

    I like both worlds… Arduino and Embedded Linux boxes. But my biggest wish for the Arduino platform is to switch from 5V to 3.3V. Nowadays the most sensors and equipment is 3.3V. And it is uncomfortable to use logic-level-converter for the conversation. It makes the projects more complex and expensive. So the next boards should be 3.3V 🙂

  27. Repossesed Property Says:

    My cousin proposed I might this way site. Your dog was previously solely appropriate. That submit actually produced our evening. You simply can’t imagine just how a lot period I had put together put in for this information and facts! Thank you!

  28. Power Press machines, Thread Rolling Machines, Pipe Threading Machine, Thread Cutting Machine Says:

    Generally I don’t learn article on blogs, but I would like to say that this write-up very pressured me to take a look at and do so! Your writing style has been surprised me. Thank you, quite great article.

  29. Hien Says:

    Sounds great! Nice work Arduion team!

  30. AndrewL Says:

    Interesting, but what is the power profile? The RaspberryPi is awful for battery or solar type projects, which has driven myself to more costly commercial embedded wireless boards. The Arduino boards have had a reasonable choice for this issue in the past, although they really need to make the shift to 3.3V (or lower) as well, IMHO.

  31. Tony Says:

    Want something similar but more powerful, what about a gumstix?

  32. Guillem Says:

    Hi all,
    With lack of this board some time ago, I already have accomplished this

    http://www.youtube.com/watch?v=KfxJwN7hY5g (in Spanish but quiet simple)

    plus, RSPI is near a power supply and the Arduinos can be solar powered.

    Regards,
    Guillem.

  33. bobby Says:

    great , is it possible to have touch screen with it ?

  34. brunialti Says:

    Does the linux box with linino manage mysql and mqtt ? What about development tools for such a box?

  35. Nhạc DJ Says:

    Hi there! Wonderful stuff, please do tell me when you finally post something like that!

  36. cobra4897 Says:

    I love the idea of the Yun but probably will have to go another for the final assembly of the sensor network I am building as the arduino is not handling it so well but again I am still new at this

  37. randmor Says:

    Sorry for beings so late to the party. Maybe someone already commented on this, but my first impression when I saw the vertically oriented USB connector and Ethernet connector compared to the height of the Arduino Shield SIP sockets connectors is that surely many folks will be shorting out their shields on these two metal coated connector housings. Has this been a problem? Maybe those shields with extra long legs (SIP pins) can avoid the problem, but many shields I’ve seen have rather short pins. Maybe electrical tape over the metal connector housings would help. Maybe a “short” shield that dows not occupy the space used by these two connectors could be used to boost the height of the standard sized shields so as to avoid the problem. Just my 2 cents worth…

  38. randmor Says:

    My second thought is that this is a rather complex (over-engineered) solution. Why is Arduino insisting on to expanding the processor capabilities of the Arduino itself so it can have the merory & processor capabilities of running Linux. Seems like the company is working within a self defined straight jacket by restrict the Arduino to the Leonardo spec.

  39. randmor Says:

    Hmmm. That didn’t come out right…

    My second thought is that this is a rather complex (over-engineered) solution. Why is Arduino insisting on limiting itself to the Leonardo spec rather than expanding the processor capabilities of the Arduino so it can have the merory & processor capabilities of running Linux. Seems like the company is working within a self defined straight jacket by restrict the Arduino to the Leonardo spec.

Leave a Reply

You must be logged in with your Arduino account to post a comment.