The Arduino Uno R3 is a microcontroller board based on the ATmega328P. It is designed to be an easy-to-use platform for creating interactive projects. 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. The Arduino Uno R3 is widely used in various applications, including prototyping, educational projects, and hobbyist electronics.
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 (D0-RX, D1-TX, D3, D5, D6, D9, D10, D11 support PWM) |
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 | Analog reference pin for the analog inputs |
Powering the Arduino Uno R3:
Connecting Digital I/O:
Connecting Analog Inputs:
Programming the Arduino:
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 Error:
Incorrect Readings from Analog Pins:
By following this documentation, users can effectively utilize the Arduino Uno R3 for their projects, ensuring proper setup, usage, and troubleshooting.