EmbeddedRelated.com
ATMEGA328P-PU

MCHPATMEGA328P-PU

MPN: ATMEGA328P-PU DIP28
Microchip Technology
AVR AVR® ATmega Microcontroller IC 8-Bit 20MHz 32KB (16K x 16) FLASH 28-PDIP
Active

Overview

The ATMEGA328P-PU is an 8-bit AVR microcontroller by Microchip supplied in a 28-pin PDIP package. It features 32 KB of flash memory, runs up to 20 MHz, and is the DIP variant commonly used in hobby and educational boards. The through-hole package makes it easy to breadboard and replace in prototyping environments.

Why Choose This Part

The DIP28 package is excellent for breadboarding, rapid prototyping, and educational use because it can be inserted and removed without soldering. Broad community support, plentiful example code, and mature toolchains (Arduino ecosystem, AVR-GCC, Microchip tools) make development fast and low-friction. It is low-cost and readily available from many distributors and clone boards.

Applications

Arduino-compatible projects
Used as the MCU on Arduino Uno and many clones, ideal for general-purpose hobbyist and educational projects.
Breadboard prototyping
Through-hole DIP form factor lets you quickly test circuits and swap devices on solderless breadboards.
Simple sensor nodes and data logging
Handles sensor interfacing, ADC reads, and small-scale data storage or logging tasks.
Basic motor and actuator control
Suitable for controlling servos, small DC motors, and stepper drivers in hobby robotics and automation.
Bootloader-based firmware updates
Commonly used with bootloaders for easy firmware upload via serial/USB-serial adapters.

Getting Started

Use it on an Arduino Uno or on a simple breadboard with a 5V regulator and crystal/oscillator if required; many Uno-style boards come with the bootloader preinstalled. Develop with the Arduino IDE for quickest results or use AVR-GCC/Microchip Studio (Atmel Studio) and an ISP programmer (USBasp, AVRISP mkII) for low-level development and flashing. For serial uploads via the bootloader, a USB-to-serial adapter (FTDI/CH340) or an Arduino as ISP can be used.

Part of ATmega family » ATMEGA328P

ATMEGA328P Family

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

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

Also Consider

ATMEGA328P-AU MCHPMicrochip Technology - TQFP surface-mount package of the same MCU for compact PCB designs.
ATmega168PA-PU MCHPMicrochip Technology - Pin-compatible DIP alternative with lower flash memory for cost-sensitive or legacy designs.
ATMEGA32U4-AU MCHPMicrochip Technology - AVR MCU with native USB support if you need built-in USB connectivity without an external interface chip.