Last updated 7 June 2017
The Arduino Yún is a microcontroller board based on the ATmega32u4 and the Atheros AR9331. The Atheros processor supports a Linux distribution based on OpenWrt named Linino OS. The board has built-in with the following item :
- Ethernet and WiFi support.
- USB-A port.
- Micro-SD card slot.
- 20 digital input/output pins (7 of them can be used as PWM outputs and 12 as analog inputs).
- 16 MHz crystal oscillator.
- Micro USB connection.
- ICSP header.
- 3 reset buttons.
Conventional way to upload code into Arduino board is by using a USB cable. In this post, I am going to show you how to upload the code into Arduino Yún board by using WiFi.
Steps to Upload Arduino Codes to Arduino Yun Through WiFi
- Turn on the Arduino Yun, you can use Micro USB Cable or direct battery connection. It is advised to upload YunSerialTerminal (File – Examples – Bridge) first and open up the Serial Monitor to see the progress on the Arduino Yun.
2. For the first time you turn on the Arduino Yun , it will act as an AP (Access Point) with SSID Arduino-Yun-XXXXXXXXXXXX*. Connect this network to your laptop.
XXXXXXXXXXXX = is an identical code for Arduino Yun.
3. Next, open your browser (eg: Chrome) and insert 192.168.240.1 at the address bar. After a few minutes, a web that require to add a password will appear. Fill it up with “arduino” and click button Login.
4. Now, lets do some configuration to connect the Arduino Yun to the existing WiFi network.
5. Change laptop WiFi connection to the same WiFi network as the Arduino Yun. Next, insert the new IP address for Arduino Yun ar the address bar.
6. Now is the time to upload the Arduino code thru WiFi to Arduino Yun.