Arduino Architecture: Himani Jerath Asstt. Prof. ED-04 Seee
Arduino Architecture: Himani Jerath Asstt. Prof. ED-04 Seee
Himani Jerath
Asstt. Prof.
ED-04
SEEE
WHAT IS A DEVELOPMENT BOARD
• A printed circuit
board designed to
facilitate work with a
particular
microcontroller.
• Typical components include:
• power circuit
• programming interface
• basic input/output; usually buttons and
LEDs
• I/O pins
ARDUINO ARCHITECTURE
ARDUINO UNO
Microcontroller- ATmega328
Operating Voltage-5 V
Input Voltage (recommended)- 7-12 V
Input Voltage (limits)- 6-20 V
Digital I/O Pins- 14 (of which 6 provide PWM output)
Analog Input Pins- 6
DC Current per I/O Pin- 40 mA
DC Current for 3.3V Pin- 50 mA
Flash Memory- 32 KB (ATmega328) of which 2 KB used
by bootloader
SRAM- 2 KB (ATmega328)
EEPROM 1 KB- (ATmega328)
Clock Speed 16 MHz
AVR ARCHITECTURE
Features of AVR
• High Performance, Low Power Atmel® AVR® 8-Bit
Microcontroller Family
• Advanced RISC Architecture – 131 Powerful
Instructions
• 32KBytes of In-System Self-Programmable Flash
program Memory.
• 1KBytes EEPROM
• 2KBytes Internal SRAM
• 32 x 8 General Purpose Working Registers
• External and Internal Interrupt Sources
• Six Sleep Modes: Idle, ADC Noise Reduction, Power-
save, Power-down, Standby, and Extended Standby
• Power-on Reset and Programmable Brown-out
Detection
PERIPHERAL FEATURES
• Two 8-bit Timer/Counters with Separate Prescaler and
Compare Mode
• One 16-bit Timer/Counter
• Temperature Measurement – 6-channel 10-bit ADC
• Two Master/Slave SPI Serial Interface
• Programmable Watchdog Timer with Separate On-chip
Oscillator
• I/O and Packages – 23 Programmable I/O Lines –
• 28-pin PDIP
• Operating Voltage: – 1.8 - 5.5V
• Temperature Range: – -40°C to 105°C
• Power Consumption at 1MHz, 1.8V, 25°C – Active Mode:
0.2mA – Power-down Mode: 0.1μA – Power-save Mode:
0.75μA (Including 32kHz RTC)
PIN OUT OF ATMEGA 328
PIN DESCRIPTIONS
VCC Digital supply voltage.
GND Ground.
Port B (PB[7:0]) XTAL1/XTAL2/TOSC1/TOSC2 Port B is an
8-bit bi-directional I/O port with internal pull-up resistors
(selected for each bit).
PB[7:6] is used as TOSC[2:1] input for the Asynchronous
Timer/Counter2
Port C (PC[5:0]) Port C is a 7-bit bi-directional I/O port with
internal pull-up resistors (selected for each bit).
PC6/RESET If the RSTDISBL Fuse is programmed, PC6 is
used as an I/O pin.
.Port D (PD[7:0]) Port D is an 8-bit bi-directional I/O port
with internal pull-up resistors (selected for each bit).
AVCC is the supply voltage pin for the A/D
Converter
AREF is the analog reference pin for the A/D
Converter.
ATMEGA328-ARDUINO PIN MAPPING