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:
- 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.
The conventional way to upload code into Arduino boards is by using a USB cable. But in this post, I am going to show you how to upload code into an Arduino Yún board by using WiFi.
STEPS TO UPLOAD ARDUINO CODES TO ARDUINO YUN THROUGH WIFI
- Power on the Arduino Yun through a Micro USB Cable or a battery. It is advised to upload YunSerialTerminal (File – Examples – Bridge) first and open up the Serial Monitor to see the status of the Arduino Yun.
2. The first time you turn on the Arduino Yun , it will act as an AP (Access Point) with SSID Arduino-Yun-XXXXXXXXXXXX*. Connect your laptop to this network just like any WIFI network.
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. The page will load in a few minutes asking for a password. Type in arduino and click Login.
4. Now, lets configure the Arduino Yun to connect to existing WiFi networks.
5. Connect your laptop to the same WiFi network as the Arduino Yun. Next, insert the new IP address (copied in the last step) for Arduino Yun into the address bar of your browser.
6. Now is the time to upload the Arduino code thru WiFi to Arduino Yun.