Arduino Uno r3 PDF
Arduino Uno r3 PDF
Arduino Uno r3 PDF
INTRODUCTION
Arduino is used for building different types of electronic circuits easily using of both a physical
programmable circuit board usually microcontroller and piece of code running on computer with
USB connection between the computer and Arduino.
Programming language used in Arduino is just a simplified version of C++ that can easily replace
thousands of wires with words.
ARDUINO UNO-R3 PHYSICAL COMPONENTS
ATMEGA328P-PU microcontroller
The most important element in Arduino Uno R3 is ATMEGA328P-PU is an 8-bit Microcontroller
with flash memory reach to 32k bytes. It’s features as follow:
• High Performance, Low Power AVR
• Advanced RISC Architecture
o 131 Powerful Instructions – Most Single Clock Cycle Execution
o 32 x 8 General Purpose Working Registers
o Up to 20 MIPS Throughput at 20 MHz
o On-chip 2-cycle Multiplier
• High Endurance Non-volatile Memory Segments
o 4/8/16/32K Bytes of In-System Self-Programmable Flash program memory
o 256/512/512/1K Bytes EEPROM
o 512/1K/1K/2K Bytes Internal SRAM
o Write/Erase Cycles: 10,000 Flash/100,000 EEPROM
o Data retention: 20 years at 85°C/100 years at 25°C
o Optional Boot Code Section with Independent Lock Bits
o In-System Programming by On-chip Boot Program
o True Read-While-Write Operation
o Programming Lock for Software Security
• Peripheral Features
o Two 8-bit Timer/Counters with Separate Prescaler and Compare Mode
o One 16-bit Timer/Counter with Separate Prescaler, Compare Mode, and Capture Mode
o Real Time Counter with Separate Oscillator
o Six PWM Channels
o 8-channel 10-bit ADC in TQFP and QFN/MLF package
o Temperature Measurement
o 6-channel 10-bit ADC in PDIP Package
o Temperature Measurement
o Programmable Serial USART
o Master/Slave SPI Serial Interface
o Byte-oriented 2-wire Serial Interface (Philips I2 C compatible)
o Programmable Watchdog Timer with Separate On-chip Oscillator
o On-chip Analog Comparator
o Interrupt and Wake-up on Pin Change
ATMEGA16u2- mu microcontroller
Is a 8-bit microcontroller used as USB driver in Arduino uno R3 it’s features as follow:
Pin configuration
OTHER ARDUINO UNO R3 PARTS
Each of the 14 digital pins on the Uno can be used as an input or output, using pinMode (),
digitalWrite(), and digitalRead() functions. They operate at 5 volts. Each pin can provide or
receive a maximum of 40 mA and has an internal pull-up resistor (disconnected by default) of
20-50 k Ohms. In addition, some pins have specialized functions:
o Serial: 0 (RX) and 1 (TX). Used to receive (RX) and transmit (TX) TTL serial data. These
pins are connected to the corresponding pins of the ATmega8U2 USB-to-TTL Serial chip.
o External Interrupts: 2 and 3. These pins can be configured to trigger an interrupt on a
low value, a rising or falling edge, or a change in value.
o PWM: 3, 5, 6, 9, 10, and 11. Provide 8-bit PWM output with the analogWrite() function.
o SPI: 10 (SS), 11 (MOSI), 12 (MISO), 13 (SCK). These pins support SPI communication
using the SPI library.
o LED: 13. There is a built-in LED connected to digital pin 13. When the pin is HIGH value,
the LED is on, when the pin is LOW, it's off.
The Uno has 6 analog inputs, labeled A0 through A5, each of which provide 10 bits of resolution
(i.e.1024 different values). By default they measure from ground to 5 volts, though is it possible
to change the upper end of their range using the AREF pin and the analogReference() function.
Additionally, some pins have specialized functionality:
TWI: A4 or SDA pin and A5 or SCL pin. Support TWI communication using the Wire
library.
There are a couple of other pins on the board:
AREF: Reference voltage for the analog inputs. Used with analogReference().
Reset: Bring this line LOW to reset the microcontroller. Typically used to add a reset
button to shields which block the one on the board.
ARDUINO UNO R3 SCHEMATIC DIAGRAM