Arduino board designs use a variety of microprocessors and controllers.
The boards are equipped with sets of digital and analog input/output (I/O) pins that may be interfaced to various expansion boards or Breadboards (shields) and other circuits.
Arduino Yun combines the ease of use of Arduino with the power of Linux.
Arduino Yun is a microcontroller board based on ATmega32u4 and the Atheros AR9331. The Atheros processor suports a Linux distribution based on OpenWrt named Linino OS.
- Microcontroller ATmega32u4
- Operating Voltage 5V
- Input Voltage 5V
- Digital I/O Pins 20
- PWM Output 7
- Analog I/O Pins 12
- DC Current per I/O Pin 40 mA on I/O Pins; 50 mA on 3,3 Pin
- Flash Memory 32 KB (4 KB bootloader)
- SRAM 2.5 KB
- EEPROM 1 KB
- Clock Speed 16 MHz
- Processor Atheros AR9331
- Architecture MIPS @400MHz
- Operating Voltage 3.3V
- Ethernet IEEE 802.3 10/100Mbit/s
- WiFi IEEE 802.11b/g/n
- USB Type-A 2.0 Host/Device
- Card Reader Micro-SD only
- RAM 64 MB DDR2
- Flash Memory 16 MB
Visit the Arduino software page and click the link for the OpenWRT-Yun upgrade image.
Save the openwrt-xxx.bin file on your computer:
Copy the openwrt-xxx.bin file on the root of the microSD card. insert the microSD card on Arduino Yun module and power on.
Wait about 60 seconds for the Yun to boot up. When the Yun's ready to go, you'll see the white USB LED turn on.
The Arduino Yun will create its own WiFi hotspot. On your laptop, check the available WiFi Networks and click to connect to Arduino Yun WiFi.
Once you've connected to your Arduino's WiFi, open a browser and visit 192.168.240.1 (or arduino.local):
The initial password is "arduino".
From this configuration page, you can configure the Arduino Yun module, use File Manager or Terminal window, etc.
You can access Arduino Yun module using Linux command by Terminal. Open the Terminal and type: ifconfig
You can also access Arduino Yun module using SSH connection. First of all, download and install the Putty software.
Select SSH option, type 192.168.240.1 on Host name, set port: 22 (SSH port) and click Open.
On the Terminal window type user: root and password: arduino. Next, type the ifconfig Linux command.
From this Terminal, you can list the files or diretories:
Or you can configure the web server uhttpd.
For open uhttpd configuration file with the nano editor, type:
For werking with applications, you must install Arduino IDE. Visit the Arduino software page and click the link for the Arduino IDE download file.
Follow the installation instructions:
set the installation dir:
Now, run the Arduino program
Choose the Arduino board:
Write a sketch and save it.In our case: blinking LED.
Choose Sketch --> Verify/Compile and Sketch --> Upload for uploading the sketch on the Arduino Yun board.
Now, the LED connected on Pin 13 is blinking.
Visit my websites:https://www.jwebsaints.com