6th Semester Computer Hardware Engineering MODULE - 1
Microcontrollers PA R T – 2
AVR Family of microcontrollers
You will understand
these points:
▪ Criteria for choosing a
Microcontroller
▪ AVR Microcontroller family
MICROCONTROLLERS 2
Criteria for choosing a Microcontroller
1.Computing needs
2.Easy to develop
3.Availability
MICROCONTROLLERS 3
Criteria for choosing a Microcontroller
1. Computing Needs
a. Bit size – It indicate the computing power of CPU. Bit size may be 4 bit , 8 – bit, 16 – bit
or 32 – bit
b. Speed – Highest speed the microcontroller supports
c. Amount of RAM and ROM
d. Number of I/O pins
e. Cost per unit
f. Packaging – DIP (Dual Inline Packaging) or QFP (Quad Flat Packaging)
MICROCONTROLLERS 4
Criteria for choosing a Microcontroller
2. Easy to develop the product.
Availability of software tools such as editor, compiler, simulator to use C programming
language to develop the software
3. Availability
Availability of the microcontroller in needed quantity both now and in future.
MICROCONTROLLERS 5
AVR family of Microcontrollers
They can be classified into
four groups:
1. Classic AVR(AT90Sxxxx)
2. MegaAVR(ATMegaxxxx)
3. TinyAVR (ATtinyxxxx)
4. Special Purpose AVR
MICROCONTROLLERS 6
AVR family of microcontrollers
1. Classic AVR(AT90Sxxxx)
• This is the first series of AVR chips developed by Atmel.
IC No Code ROM Data RAM EEPROM I/O Pins ADC Timers
AT90S2313 2K 128 128 15 0 2
AT90S2323 2K 128 128 3 0 1
AT90S4433 4K 128 256 20 6 2
MICROCONTROLLERS 7
AVR family of microcontrollers
2. MegaAVR(ATMegaxxxx)
• Powerful microcontrollers with lots of capabilities.
• Support program memory up to 256K.
• Support more than 120 instructions.
IC No Code ROM Data RAM EEPROM I/O Pins ADC Timers
ATMega8 8K 1K 0.5K 23 8 3
ATMega16 16K 1K 0.5K 32 8 3
ATMega32 32K 2K 1K 32 8 3
ATMega64 64K 4K 2K 54 8 4
MICROCONTROLLERS 8
AVR family of microcontrollers
3. TinyAVR (ATtinyxxxx)
• Support a smaller number of instructions.
• Low power consumption.
• Low cost compared to other families.
• Support program memory up to 8K.
IC No Code ROM Data RAM EEPROM I/O Pins ADC Timers
ATtiny13 1K 64 64 6 4 1
ATtiny25 2K 128 128 6 4 2
ATtiny44 4K 256 256 12 8 2
ATtiny84 8K 512 512 12 8 2
MICROCONTROLLERS 9
AVR family of microcontrollers
4. Special Purpose AVR
• It is a subset of other groups, but designed for specific applications.
• It can be used as USB controller, LCD controller, Zigbee, Ethernet controller,
Pulse width modulator (PWM).
IC No Code ROM Data RAM EEPROM I/O Pins Special Capabilities
AT90USB1287 128K 8K 4K 48 USB Controller
AT90PWM1287 16K 1K 0.5K 19 Advanced PWM
ATMega169 16K 1K 0.5K 54 LCD Controller
MICROCONTROLLERS 10
▪ Criteria for choosing
microcontroller
▪ AVR Family of microcontrollers
Lesson Summary
Here is what we learned
MICROCONTROLLERS 11
Thank You!