What is AVR?¶
AVR is an 8-Bit family of microcontrollers[*] built on the RISC architecture. They are inexpensive, relatively fast and offer some powerful features that make them a popular choice in embedded systems and hobby projects.
Atmel (nowadays Microchip) divided microcontrollers into several groups:
- AT90Sxxxx: Old classic AVR series, not recommended for new designs
- ATtiny: Designed for small projects. Minimal I/O, memory but aimed at low power consumption
- ATmega: Same core similar to ATtiny, with few differences. Also more I/O and memory
- Other Special Controllers : Dedicated purposes like LCD, USB etc. controllers
ATmega328P Features¶
There is only one difference between ATmega328 and ATmega328P: P version has low power consumption!
- Harvard 8-Bit RISC architecture
- 131 instructions
- Up to 20MHz Clock Rate Support
- 32Kb self-programmable flash program memory
- 1Kb EEPROM
- 2Kb SRAM
- 6 PWM Channels
- 8 Channel 10 Bit ADC
- 2x8-Bit Counters
- 1x10-Bit Counter
- 23 Programmable I/O lines
- Speed Grade
- 0 - 4MHz @ 1.8 - 5.5V
- 0 - 10MHz @ 2.7 - 5.5V
- 0 - 20MHz @ 4.5 - 5.5V
- -40°C to +105°C Temperature Range
The data above are from the Original Microchip Datasheet - ATMEL 42735.
| ⚠️ REMINDER |
|---|
| ATMEL 42735: for hobbiest mostly :D |
| ATMEL 7810: for automotive sector mostly :) |