The Arduino UNO is a microcontroller board based on the ATmega328P. It is widely used for building digital devices and interactive objects that can sense and control physical devices. The board features 14 digital input/output pins, 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP header, and a reset button. It is an essential tool for hobbyists, educators, and professionals in the field of electronics and embedded systems.
Specification | Value |
---|---|
Microcontroller | ATmega328P |
Operating Voltage | 5V |
Input Voltage | 7-12V |
Digital I/O Pins | 14 (6 PWM output) |
Analog Input Pins | 6 |
DC Current per I/O Pin | 20 mA |
Flash Memory | 32 KB (ATmega328P) |
SRAM | 2 KB (ATmega328P) |
EEPROM | 1 KB (ATmega328P) |
Clock Speed | 16 MHz |
Pin Number | Pin Name | Description |
---|---|---|
1-14 | D0-D13 | Digital I/O pins |
15-20 | A0-A5 | Analog input pins |
21 | GND | Ground |
22 | 5V | 5V output |
23 | 3.3V | 3.3V output |
24 | VIN | Input voltage to the Arduino board |
25 | RESET | Reset pin |
26 | IOREF | Provides the voltage reference for the I/O pins |
27 | AREF | Reference voltage for the analog inputs |
Powering the Arduino UNO:
Connecting Digital I/O:
Connecting Analog Inputs:
Programming the Arduino UNO:
Here is an example code to blink an LED connected to pin 13:
// This example code will blink an LED connected to pin 13 of the Arduino UNO
void setup() {
pinMode(13, OUTPUT); // Set pin 13 as an output
}
void loop() {
digitalWrite(13, HIGH); // Turn the LED on
delay(1000); // Wait for one second
digitalWrite(13, LOW); // Turn the LED off
delay(1000); // Wait for one second
}
Board Not Recognized by Computer:
Upload Error:
Unstable Readings from Sensors:
By following this documentation, users can effectively utilize the Arduino UNO for a wide range of applications, from simple LED blinking to complex IoT projects.