Arduino UNO Board
Arduino UNO Board
Here is a detailed breakdown of the key parts of the Arduino Uno board and
their respective functions:
1. Microcontroller (ATmega328P)
• Function: These six pins are used to read analog signals from sensors (e.g.,
temperature sensors, potentiometers). Each pin provides a 10-bit
resolution, meaning it can read values from 0 to 1023.
• Voltage Range: By default, they measure voltages between 0 and 5V, but
this range can be altered by changing the reference voltage using the
AREF pin.
4. Power Supply
• Barrel Jack: Used to power the Arduino Uno board through an external
power source (7-12V DC). It is recommended when the board needs to
power components requiring more current.
• USB Port: The USB port powers the Arduino Uno and is also used to upload
code from the computer. It provides a 5V supply to the board and
connected peripherals.
• Vin Pin: This pin allows you to power the board from an external power
supply without using the barrel jack. The input voltage must be in the
range of 7-12V.
• 5V Pin: This pin outputs 5V, which can be used to power external
components like sensors and actuators.
• 3.3V Pin: Outputs 3.3V for lower-voltage components.
• GND Pins: There are several ground pins (GND) on the board, used to
establish a common ground for all components in the circuit.
5. Reset Button
• Function: Pressing this button restarts the program (or sketch) loaded on
the Arduino Uno without the need to disconnect power. This can be useful
for testing or restarting the program after making changes.
6. Reset Pin
• Function: The Reset Pin (labeled RST) works similarly to the reset button. It
can be used to restart the Arduino externally, for example, when
controlled by another microcontroller or button.
8. Power Regulators
• Function: These two LEDs (transmit and receive) indicate the status of
communication between the board and the computer. When data is
being sent (TX) or received (RX), the respective LED blinks, showing that
the board is exchanging data.
• Function:
o 3V3: This pin provides 3.3V for powering external components that
require lower voltage.
o 5V: Outputs a 5V supply for powering external components.
o GND: Ground connection for the board and other components.
o Vin: Used to supply power to the board from an external source.
• Function: This is the external power connector for the Arduino Uno board.
It is used to power the board using an external DC adapter (7-12V). The
board has internal voltage regulators that step down this voltage to 5V
and 3.3V.
15. SPI (Serial Peripheral Interface) Pins
• Function: The Arduino Uno has dedicated pins (10, 11, 12, 13) for SPI
communication, a protocol used to send data between the Arduino and
other devices like sensors or SD cards. It is faster than I2C and more
suitable for high-speed data transfers.
o MOSI: Master Out Slave In, used to send data to the slave device.
o MISO: Master In Slave Out, used to receive data from the slave
device.
o SCK: Serial Clock, used to synchronize the data transmission.
• Function: Pins A4 and A5 are used for I2C communication, which allows
multiple devices to communicate with the Arduino using just two wires. A4
is the SDA (data line), and A5 is the SCL (clock line). I2C is slower than SPI
but simpler to wire and more commonly used for low-speed
communications with sensors and LCD displays.
• Function: The built-in LED is connected to digital pin 13. It is useful for basic
testing, allowing you to quickly check if your code is running without
needing to connect external components. A common sketch used with
this LED is the "blink" sketch, which blinks the LED on and off at set intervals.
• Microcontroller: ATmega328P
• Operating Voltage: 5V
• Input Voltage (recommended): 7-12V
• Digital I/O Pins: 14 (6 of which provide PWM output)
• Analog Input Pins: 6
• DC Current per I/O Pin: 20 mA
• Flash Memory: 32 KB (0.5 KB used by the bootloader)
• SRAM: 2 KB
• EEPROM: 1 KB
• Clock Speed: 16 MHz