ATmega328P microcontroller
Compare the bare ATmega328P with an Arduino Uno, identify its flash and SRAM, and consult the correct package pinout before breadboarding.

Overview
The ATmega328P is an AVR microcontroller sold in several packages. A bare PDIP part has no USB interface or onboard programmer. A development board adds those conveniences and defines the Arduino pin numbers.
Peripherals and pin mapping
GPIO pins are grouped into AVR ports and often multiplexed with timer, serial or analog functions. The ADC, SPI, USART and two-wire interface share physical pins. Read the drawing for the package in hand rather than numbering pins from an Arduino diagram.
Programming and supply
Use an appropriate ISP programmer or a bootloader and serial hardware where installed. Connect both power rails shown on the datasheet, including AVCC, and decouple close to the chip. Allowable clock speed depends on supply voltage; a 16 MHz board recipe is not universal.
Specifications
| Parameter | Value or condition | Source |
|---|---|---|
| Program flash | 32 KB | Microchip |
| SRAM and EEPROM | 2 KB SRAM and 1 KB EEPROM | Microchip |
| ADC | 10-bit; six channels in the PDIP variant | Microchip |
Compatibility and practice
A bare chip needs deliberate clock, power, reset and programming connections.
Related components
Sources and datasheets
- ATmega328P specifications and datasheet list · Microchip