Arduino Uno Pin Diagram, Specifications, Pin Configuration & Programming
Arduino Uno Pin Diagram, Specifications, Pin Configuration & Programming
Arduino Uno
(/sites/default/�les/components/Arduino-Uno-
Board.jpg) (/sites/default/�les/component_pin/Arduino-Uno-Pin-
Diagram.png)
Pin Description
Power Vin, 3.3V, 5V, GND Vin: Input voltage to Arduino when using an external power
source.
Serial 0(Rx), 1(Tx) Used to receive and transmit TTL serial data.
Operating Voltage 5V
DC Current on I/O 40 mA
Pins
DC Current on 3.3V 50 mA
Pin
SRAM 2 KB
EEPROM 1 KB
Leonardo
Overview
Arduino Uno is a microcontroller board based on 8-bit ATmega328P microcontroller. Along with ATmega328P,
it consists other components such as crystal oscillator, serial communication, voltage regulator, etc. to support
the microcontroller. Arduino Uno has 14 digital input/output pins (out of which 6 can be used as PWM
outputs), 6 analog input pins, a USB connection, A Power barrel jack, an ICSP header and a reset button.
Along with 14 Digital pins, there are 6 analog input pins, each of which provide 10 bits of resolution, i.e. 1024
di�erent values. They measure from 0 to 5 volts but this limit can be increased by using AREF pin with analog
Reference() function.
Analog pin 4 (SDA) and pin 5 (SCA) also used for TWI communication using Wire library.
Communication
Arduino can be used to communicate with a computer, another Arduino board or other microcontrollers. The
ATmega328P microcontroller provides UART TTL (5V) serial communication which can be done using digital pin
0 (Rx) and digital pin 1 (Tx). An ATmega16U2 on the board channels this serial communication over USB and
appears as a virtual com port to software on the computer. The ATmega16U2 �rmware uses the standard USB
COM drivers, and no external driver is needed. However, on Windows, a .inf �le is required. The Arduino
software includes a serial monitor which allows simple textual data to be sent to and from the Arduino board.
There are two RX and TX LEDs on the arduino board which will �ash when data is being transmitted via the
USB-to-serial chip and USB connection to the computer (not for serial communication on pins 0 and 1). A
SoftwareSerial library allows for serial communication on any of the Uno's digital pins. The ATmega328P also
supports I2C (TWI) and SPI communication. The Arduino software includes a Wire library to simplify use of the
I2C bus.
When ATmega328 chip is used in place of Arduino Uno, or vice versa, the image below shows the pin mapping
between the two.
Software
Arduino IDE (Integrated Development Environment) is required to program the Arduino Uno board. Download
it here (https://www.arduino.cc/en/Main/Software).
Programming Arduino
Once arduino IDE is installed on the computer, connect the board with computer using USB cable. Now open
the arduino IDE and choose the correct board by selecting Tools>Boards>Arduino/Genuino Uno, and choose
the correct Port by selecting Tools>Port. Arduino Uno is programmed using Arduino programming language
based on Wiring. To get it started with Arduino Uno board and blink the built-in LED, load the example code by
selecting Files>Examples>Basics>Blink. Once the example code (also shown below) is loaded into your IDE,
click on the ‘upload’ button given on the top bar. Once the upload is �nished, you should see the Arduino’s
built-in LED blinking. Below is the example code for blinking:
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED_BUILTIN, OUTPUT);
}
Applications
Prototyping of Electronics Products and Systems
Multiple DIY Projects.
Easy to use for beginner level DIYers and makers.
Projects requiring Multiple I/O interfaces and communications.
Component Datasheet
Arduino Uno Datasheet (https://components101.com/sites/default
/files/component_datasheet/Arduino%20Uno%20Datasheet.pdf)