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 the physical world. 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 ideal platform for beginners and experienced developers to prototype and develop electronic projects.
Specification | Value |
---|---|
Microcontroller | ATmega328P |
Operating Voltage | 5V |
Input Voltage | 7-12V (recommended) |
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 |
USB Connection | Type B |
Dimensions | 68.6 mm x 53.4 mm |
Pin Number | Function | Description |
---|---|---|
0 (RX) | Digital I/O | Receive data (Serial communication) |
1 (TX) | Digital I/O | Transmit data (Serial communication) |
2-13 | Digital I/O | General-purpose digital input/output |
3, 5, 6, 9, 10, 11 | PWM Output | Pulse Width Modulation output |
Pin Number | Function | Description |
---|---|---|
A0-A5 | Analog Input | Read analog signals (0-5V) |
Pin Number | Function | Description |
---|---|---|
VIN | Input Voltage | Input voltage to the Arduino board |
5V | Power Output | Regulated 5V output |
3.3V | Power Output | Regulated 3.3V output |
GND | Ground | Ground |
IOREF | Reference | Provides the voltage reference |
Powering the Board:
Connecting Components:
Programming the Board:
Here is an example code to blink an LED connected to digital pin 13:
// Blink an LED connected to digital pin 13
void setup() {
// Initialize digital pin 13 as an output.
pinMode(13, OUTPUT);
}
void loop() {
// Turn the LED on (HIGH is the voltage level)
digitalWrite(13, HIGH);
delay(1000); // Wait for a second
// Turn the LED off by making the voltage LOW
digitalWrite(13, LOW);
delay(1000); // Wait for a second
}
Board Not Recognized by Computer:
Upload Errors:
Components Not Working:
By following this documentation, users can effectively utilize the Arduino UNO for a wide range of projects, from simple LED blinking to complex IoT applications.