EmbeddedRelated.com
The 2026 Embedded Online Conference
ATMEGA328P-PU

MCHPATMEGA328P-PU

Microchip Technology
8-bit Microcontrollers - MCU 32KB In-system Flash 20MHz 1.8V-5.5V
NRND7,534 in stock

Overview

The ATMEGA328P-PU is an 8-bit AVR microcontroller in a 28-pin PDIP package. It provides 32 KB of in-system programmable flash, runs up to 20 MHz, and supports 1.8 V to 5.5 V operation. It is a common choice for Arduino Uno-class boards and through-hole prototyping on breadboards.

Why Choose This Part

The PDIP package makes the part ideal for breadboard and through-hole workflows, lowering the barrier for prototyping and repair. It benefits from a large community, abundant example code, and a mature toolchain (Arduino IDE, AVR-GCC, avrdude). The device is inexpensive and widely available, which simplifies sourcing for small production runs and education.

Applications

Arduino-compatible projects
Used as the MCU on many Arduino Uno and clone boards for general-purpose embedded projects and maker applications.
Breadboard prototyping
PDIP package makes it easy to drop into breadboards for fast hardware iteration and demonstrations.
Education and training
Widely used in courses and tutorials to teach embedded C, microcontroller peripherals, and basic electronics.
DIY robotics and simple motor control
Sufficient GPIO, timers, and PWM channels for small robots, servos, and actuator control in hobby projects.
Low-cost consumer or hobby devices
Well-suited for simple sensing, user interfaces, and control tasks where budget and ecosystem support matter.

Getting Started

Common development boards that use or accept this part include Arduino Uno, Arduino Nano/Pro Mini clones, and basic DIP programmer adapters. Typical toolchains include the Arduino IDE, PlatformIO, AVR-GCC with avrdude for programming, and Microchip Studio for Windows. You can program via the Arduino bootloader over USB-serial or use an ISP programmer (USBasp, AVRISP) to flash fuses and firmware directly.

ATMEGA328P Family

Comparing specs that differ across variants. The current part is highlighted.

Part Number I/O Pins Stock
ATMEGA328P-PU (this part) 7,534
ATmega328P 27 13,074
ATMEGA328P-MU 23 5,629
Also available as: ATMEGA328P-AUR, ATMEGA328P-AU

Also Consider

ATMEGA328P-AU MCHPMicrochip Technology - TQFP package variant for surface-mount applications.
ATMEGA328P-MU MCHPMicrochip Technology - QFN/UDIP package option for smaller SMT footprints.
ATmega168PA-PU MCHPMicrochip Technology - Lower-flash, pin-compatible DIP alternative for cost- or legacy-constrained designs.
The 2026 Embedded Online Conference