A tutorial introducing AVR microcontroller architecture using the Atmel ATmega328P, covering Atmel Studio setup, HEX file generation, and a first embedded C…
This tutorial introduces the AVR microcontroller architecture, using the Atmel ATmega328P as its example, the chip used on the Arduino Uno board. It covers the difference between microprocessors and microcontrollers, the Arduino platform, and the ATmega328P's features.
The document then walks through installing Atmel Studio, generating a HEX file, and building a first embedded C application, with references to Arduino Uno Rev3 and related pin mapping documents.
| Microcontroller | ATmega328P |
|---|---|
| Clock Speed | 16 MHz |
| Flash Memory | 32 KB |
| SRAM | 2 KB |
| EEPROM | 1 KB |
| Digital I/O Pins | 14 (of which 6 PWM) |
| Analog Input Pins | 6 |
| Operating Voltage | 5V DC |
| Current per I/O Pin | 20 mA |
It is a single-chip microcontroller based on an 8-bit RISC processor core, created by Atmel, and it is used in the Arduino Uno board.
The ATmega328P runs at a clock speed of 16 MHz.
The ATmega328P has 32 KB of flash memory.
The ATmega328P operates at 5V DC.