The Arduino Uno R3 is a microcontroller board based on the ATmega328P. It is designed for ease of use and flexibility, making it an ideal choice for both beginners and experienced developers. The board features 14 digital input/output pins, 6 analog inputs, a USB connection for programming, and a power jack.
Common applications of the Arduino Uno R3 include:
Specification | Details |
---|---|
Microcontroller | ATmega328P |
Operating Voltage | 5V |
Input Voltage (recommended) | 7-12V |
Digital I/O Pins | 14 |
PWM Digital I/O Pins | 6 |
Analog Input Pins | 6 |
Flash Memory | 32 KB (0.5 KB used by bootloader) |
SRAM | 2 KB |
EEPROM | 1 KB |
Clock Speed | 16 MHz |
USB Connection | Type B |
Pin Number | Pin Name | Description |
---|---|---|
1 | GND | Ground pin |
2 | 5V | 5V power output |
3 | Vin | Input voltage (7-12V) |
4 | Digital 0 (RX) | Receive pin for serial communication |
5 | Digital 1 (TX) | Transmit pin for serial communication |
6 | Digital 2 | Digital I/O pin |
7 | Digital 3 | Digital I/O pin (PWM) |
8 | Digital 4 | Digital I/O pin |
9 | Digital 5 | Digital I/O pin (PWM) |
10 | Digital 6 | Digital I/O pin (PWM) |
11 | Digital 7 | Digital I/O pin |
12 | Digital 8 | Digital I/O pin |
13 | Digital 9 | Digital I/O pin (LED on board) |
14 | Analog 0 | Analog input pin |
15 | Analog 1 | Analog input pin |
16 | Analog 2 | Analog input pin |
17 | Analog 3 | Analog input pin |
18 | Analog 4 | Analog input pin |
19 | Analog 5 | Analog input pin |
Powering the Board:
Connecting Components:
Programming the Board:
Board Not Recognized by Computer:
Code Upload Fails:
LED Not Lighting Up:
Here is a simple example code to blink an LED connected to digital pin 13:
// Blink an LED connected to digital pin 13
void setup() {
// Set pin 13 as an output
pinMode(13, OUTPUT);
}
void loop() {
// Turn the LED on
digitalWrite(13, HIGH);
// Wait for 1 second
delay(1000);
// Turn the LED off
digitalWrite(13, LOW);
// Wait for 1 second
delay(1000);
}
This code will make the LED blink on and off every second. Make sure to upload the code to your Arduino Uno R3 to see the effect.
By following this documentation, users can effectively utilize the Arduino Uno R3 for a variety of projects and applications. Happy tinkering!