EmbeddedRelated.com
ATMEGA328P-PU

MCHPATMEGA328P-PU

Microchip Technology
AVR AVR® ATmega Microcontroller IC 8-Bit 20MHz 32KB (16K x 16) FLASH 28-PDIP
Active36,879 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.

Part of ATmega family » ATMEGA328P

ATMEGA328P Family

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

Part Number I/O Pins Package ADC/DAC Temp Range Stock
ATMEGA328P-PU (this part) 36,879
ATmega328P 27 VFQFN-32 A/D 8x10b -40degC ~ 85degC (.. 13,074
ATMEGA328P-MU 23 VFQFN-32 A/D 8x10b -40degC ~ 85degC (.. 5,629
ATMEGA328P-MNR 23 VFQFN-32 A/D 8x10b -40degC ~ 105degC .. 11,932
ATMEGA328P-XMINI 135
ATMEGA328P-MMH 23 VFQFN-28 A/D 8x10b -40degC ~ 85degC (.. 803
ATMEGA328P-PN 23 DIP-28 A/D 6x10b -40degC ~ 105degC .. 5,530
Also available as: ATMEGA328P-PU DIP28, ATMEGA328P-AUR, ATMEGA328P-AU, ATMEGA328P-MUR

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.