EmbeddedRelated.com
The 2026 Embedded Online Conference
ATMEGA328PB-AU

MCHPATMEGA328PB-AU

Microchip Technology
Pin- and feature-compatible upgraded variant (ATmega328PB family) for designs needing additional peripherals.
Active29,794 in stock

Overview

The ATMEGA328PB-AU is an 8-bit AVR microcontroller featuring 32KB of In-System Self-Programmable Flash memory, 2KB of SRAM, and 1KB of EEPROM. Operating at up to 20 MHz, this MCU offers an enhanced set of peripherals compared to its ATmega328P predecessor, while maintaining pin-compatibility. It incorporates picoPower technology for efficient power consumption across its various low-power modes.

Why Choose This Part

Engineers benefit from the ATMEGA328PB-AU's pin- and feature-compatibility with the popular ATmega328P, allowing for easy upgrades in existing designs. The inclusion of a Peripheral Touch Controller simplifies the implementation of capacitive touch interfaces without external ICs. Its picoPower technology and various sleep modes enable long battery life for power-sensitive applications.

Applications

General Purpose Embedded Control
Suitable for a wide range of embedded applications requiring a balance of processing power, memory, and diverse peripherals, such as smart appliances or simple industrial controls.
Human Machine Interfaces (HMI)
With its Peripheral Touch Controller (PTC), the ATMEGA328PB-AU can implement capacitive touch buttons, sliders, and wheels, making it ideal for intuitive user interfaces.
Battery-Powered Devices
Its picoPower technology and multiple low-power modes (down to 0.2uA shutdown current) make it a strong candidate for portable and battery-operated electronics where extended battery life is critical.
Sensor Data Acquisition Systems
The integrated 10-bit ADC, coupled with multiple serial interfaces like SPI and I2C (two TWI modules), enables efficient collection and processing of data from various sensors.
Robotics and Automation
The enhanced set of timers/counters and multiple communication interfaces facilitate precise motor control, sensor integration, and inter-component communication in small-scale robotics and automation projects.

Key Specifications

Speed 20MHz
RAM Size 2K x 8
Core Size 8-Bit
EEPROM Size 1K x 8
Peripherals Brown-out Detect/Reset, POR, PWM, WDT
Connectivity I2C, SPI, UART/USART
Mounting Type Surface Mount
Number of I/O 27
Core Processor AVR
Package / Case 32-TQFP
Data Converters A/D 8x10b
Oscillator Type Internal
Program Memory Size 32KB (16K x 16)
Program Memory Type FLASH
Operating Temperature -40degC ~ 85degC (TA)
Supplier Device Package 32-TQFP (7x7)
Voltage - Supply (Vcc/Vdd) 1.8V ~ 5.5V

Getting Started

Development with the ATMEGA328PB-AU is supported by Microchip's MPLAB X IDE and Atmel Studio. The Atmel-ICE or PICKit 4 programmers/debuggers are recommended for in-circuit programming and debugging via the debugWire interface. Numerous example projects and application notes are available within the AVR ecosystem.

ATMEGA328PB Family

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

Part Number Package Stock
ATMEGA328PB-AU (this part) TQFP-32 29,794
ATMEGA328PB-MU VFQFN-32 17,627

Also Consider

ATMEGA328P-AU MCHPMicrochip Technology - This is the direct predecessor, offering a similar core but with fewer peripherals, suitable for designs not requiring the ATMEGA328PB's enhanced features.
STM32F030F4P6 STMicroelectronics - This is a low-cost ARM Cortex-M0 alternative with a different architecture, potentially offering a different development experience but similar performance for basic tasks.
The 2026 Embedded Online Conference