How to Upload Arduino Codes to Arduino Yun Through WiFi

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.

INTRODUCTION

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:

  1. Ethernet and WiFi support.
  2. USB-A port.
  3.  Micro-SD card slot.
  4.  20 digital input/output pins (7 of them can be used as PWM outputs and 12 as analog inputs).
  5.  16 MHz crystal oscillator.
  6.  Micro USB connection.
  7.  ICSP header.
  8.  3 reset buttons.

Arduino Yún is recommended for advanced users as some experience on using basic Arduino boards like Arduino UnoMega or Leonardo would be useful.

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.

HARDWARE REQUIRED

SOFTWARE REQUIRED

Arduino IDE

STEPS TO UPLOAD ARDUINO CODES TO ARDUINO YUN THROUGH WIFI

  1. 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.

REFERENCES

Getting Started with the Arduino Yún LininoOS

BUY

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorail

Display Temperature and Humidity on OLED using DHT22 and Arduino
Getting Started With Teensy Using Arduino IDE
Night Light
Arduino Device Tracker Using GSM GPS SIM7600E Module
Chocolate Box with Touch Sensor and Arduino
Scroll to Top