Arduino UNO and Arduino Yun are both microcontroller boards developed by Arduino. The Arduino UNO is the most in-demand board that is widely used, whereas Arduino Yun is not readily used. This article will distinguish between Arduino UNO and Arduino Yun.
Arduino UNO and Arduino Yun
The Arduino UNO is a microcontroller-based board that can be interfaced with other devices such as LEDs, motors, sensors, and Wi-Fi modules to make electronic projects and devices. The Arduino Yun is a microcontroller-based board with a microprocessor based on a Linux system. The images of Arduino UNO and Arduino Yun are shown below.
Differences Between Arduino UNO and Arduino Yun
Arduino UNO and Arduino Yun mainly differ in the microcontroller and microprocessor used in them. They also differ in their voltage and current ratings, memory, Wi-Fi support, serial communication, and others which are explained below.
Microcontrollers
The Arduino UNO is a frequently used board that mainly consists of ATMega328p. However, this microcontroller can also be replaced with ATMega16U2. On the other hand, the Arduino Yun uses AVR Arduino ATmega32U4 as a microcontroller. All these microcontrollers have different capacities for memory.
Microprocessor
The Arduino Yun has an additional feature of the microprocessor in it. It has Linux based Atheros AR9331 microprocessor on it that supports Wi-Fi (IEEE 802.11 b/g/n) and Ethernet (IEEE 802.15.4). This microprocessor supports 64 MB external ROM and 16 MB external flash. This board is also compatible with Power Over Ethernet (PoE) and 802.3af card support. On the other hand, Arduino UNO does not support any microprocessor.
Voltage and Current Ratings
The voltage rating of Arduino Yun is 3.3V to 5V, whereas that of Arduino UNO is 7V to 12V. The Arduino Yun can handle a current of up to 50mA, and the Arduino UNO can handle a maximum current of 40mA.
Ethernet and Wi-Fi
The Arduino Yun supports Wi-Fi (IEEE 802.11 b/g/n) and Ethernet (IEEE 802.15.4) due to its microprocessor. However, the Arduino UNO does not have any Wi-Fi or Ethernet support. An external Wi-Fi module such as ESP8266 is needed to connect Arduino to wireless devices.
Powering the Board
The Arduino Yun can be powered by its USB serial connector, VCC, and GND pins, and through an Ethernet cable as it supports Power Over Ethernet (PoE) which extracts power from an Ethernet cable and supplies it to the board. The Arduino UNO, on the other hand, can be powered by a USB serial connector or VCC and GND pins.
Memory
The AR9331 microprocessor on the Arduino Yun supports external 64 MB ROM and 16 MB flash. The microcontroller ATMega32U4 on the Arduino Yun has 32 KB flash along with 2.5 KB SRAM, and 1 KB EEPROM.
The ATMega328p on the Arduino UNO has 32 KB flash and 2 KB SRAM. If ATMega16U2 is used, it has 16 KB flash and 512B SRAM, and 1B EEPROM.
Analog and Digital Input Output Pins
The Arduino Yun consists of 12 analog input output pins and 20 digital input output pins, from which 7 may be used for Pulse Width Modulation. On the other hand, the Arduino UNO consists of 6 analog input output pins and 14 digital input output pins, from which 6 may be used as Pulse Width Modulation pins.
Serial Communication
The Arduino UNO does not have serial communication pins. Its pins D18 and D19 can be used for serial communication if programmed for that; however, it does not have a serial clock line and serial data line. The Arduino Yun supports I2C serial communication. It has a Serial Clock Line (SCL) and a Serial Data Line (SDA) that are used for data transmission, reception, and synchronization.
Automatic Reset
The Arduino Yun does not necessarily require a push button for reset. It automatically resets after its serial monitor is opened at a 1200 baud rate or more. The Arduino UNO requires pressing a push button to reset it.
Conclusion
The Arduino UNO and Arduino Yun are microcontroller boards by Arduino. Each of them has its own features, however, we can observe from the above differences that Arduino Yun is better than Arduino UNO in terms of memory, Wi-Fi, and microprocessor support.