The Arduino Uno R3 is a microcontroller board based on the ATmega328P. It 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. This versatile board is widely used for building digital devices and interactive objects that can sense and control physical devices. Its ease of use and extensive community support make it an ideal choice for both beginners and experienced developers.
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 |
USB Connection | Type B |
Power Jack | Barrel Jack |
ICSP Header | Yes |
Reset Button | Yes |
Pin Number | Function | Description |
---|---|---|
0 | RX | Serial Receive (UART) |
1 | TX | Serial Transmit (UART) |
2-13 | Digital I/O | General purpose digital input/output |
3, 5, 6, 9, 10, 11 | PWM | 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 | 5V Output | Regulated 5V output |
3.3V | 3.3V Output | Regulated 3.3V output |
GND | Ground | Ground |
IOREF | Reference | Provides the voltage reference for the I/O pins |
RESET | Reset | Resets the microcontroller |
Powering the Arduino Uno R3:
Connecting Digital and Analog Components:
Programming the Arduino Uno R3:
Here is a simple example code to blink an LED connected to digital pin 13:
// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led = 13;
// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
pinMode(led, OUTPUT);
}
// the loop routine runs over and over again forever:
void loop() {
digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(led, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
Arduino Not Recognized by Computer:
Code Not Uploading:
Components Not Working as Expected:
By following this documentation, users can effectively utilize the Arduino Uno R3 for a wide range of projects, from simple LED blinking to complex IoT applications.