The Arduino UNO Board - openhorizonrobotics/ece-1 GitHub Wiki
Arduino UNO
Arduino UNO is a microcontroller board based on the ATmega328P. It has:
- 14 digital input/output pins (of which 6 can be used as PWM outputs)
- 6 analog inputs
- A 16 MHz crystal oscillator
- A USB connection
- A power jack
- An ICSP header (In-Circuit Serial Programming header)
- A reset button
It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with an AC-to-DC adapter or battery to get started.
You can tinker with your UNO without worrying too much about doing something wrongβworst case scenario, you can replace the chip for a few dollars and start over again. It is the perfect board to get familiar with electronics and coding.
Arduino UNO Board Components
1. Power USB
Arduino board can be powered by using the USB cable from your computer. All you need to do is connect the USB cable to the USB connection (1).
2. Barrel Jack
Arduino boards can be powered directly from the AC mains power supply by connecting it to the Barrel Jack (2).
3. Voltage Regulator
The voltage regulator controls and stabilizes the voltage given to the Arduino board. It ensures safe DC voltages are supplied to the processor and other components.
4. Crystal Oscillator
Helps Arduino deal with time-based operations. The frequency of the oscillator is 16 MHz, printed as 16.000H9H
on the board.
5. Arduino Reset
You can reset your Arduino board (restart your program) in two ways:
- Using the reset button (17) on the board.
- Connecting an external button to the RESET pin (5).
6-9. Pins (3.3V, 5V, GND, Vin)
- 3.3V (6) β Supplies 3.3V output.
- 5V (7) β Supplies 5V output.
- GND (8) β Ground pins. Multiple available on the board.
- Vin (9) β Input voltage to power the board from an external source (like AC adapter).
10. Analog Pins
Arduino UNO has 6 analog input pins: A0 to A5.
These read analog signals (e.g., from sensors) and convert them to digital values for processing.
11. Main Microcontroller
This is the brain of the board β an Atmel IC (usually ATmega328P).
Each Arduino board may have a different microcontroller, so it's important to know which IC is on your board.
12. ICSP Header
Stands for In-Circuit Serial Programming. It includes:
- MOSI, MISO, SCK, RESET, VCC, GND
Used for programming the microcontroller or SPI communication.
13. Power LED Indicator
Lights up when the board is powered correctly. If it doesnβt light up, check your power source or connection.
14. TX and RX LEDs
- TX (Transmit) β Flashes when data is sent.
- RX (Receive) β Flashes when data is received.
Located near digital pins 0 (RX) and 1 (TX).
15. Digital I/O Pins
Label: Digital I/O (15)
UNO has 14 digital pins, numbered 0β13.
- Pins with
~
support PWM output (Pulse Width Modulation). - Can be configured as input or output.
16. AREF (Analog Reference)
Stands for Analog Reference.
Used to set an external reference voltage (0β5V) for analog inputs.