Opens in a new tab

ATMEGA328P-AU

8-bit AVR picoPower MCU, 32KB Flash, 2KB SRAM, 23 I/O, 8ch 10-bit ADC, TQFP-32, Arduino Uno MCU

4457

Effective Inventory

Image for reference only

Manufacturer Part:

ATMEGA328P-AU

Package:

TQFP-32 (7.0 x 7.0 x 1.05mm)

Brand:

Quality Commitment

Shipping & Payment

Service & Packaging

Product Manual

Description

Product Overview

The ATMEGA328P-AU from Microchip Technology is a high-performance 8-bit picoPower AVR RISC microcontroller in a 32-pin TQFP package. It features 32KB ISP Flash, 2KB SRAM, 1KB EEPROM, 23 I/O pins, 8-channel 10-bit ADC, 6 PWM channels, and operates from 1.8V to 5.5V at up to 20MHz. This is the MCU at the heart of the Arduino Uno.

Key Specifications

Core AVR (8-bit RISC)
Max Frequency 20MHz (20 MIPS)
Program Memory 32KB ISP Flash (read-while-write)
Data SRAM 2KB
Data EEPROM 1KB
I/O Pins 23
ADC 8-channel 10-bit (TQFP/QFN)
PWM Channels 6
Timers 2 x 8-bit, 1 x 16-bit
Serial Interfaces USART, SPI, I2C (TWI)
Watchdog Timer Yes (separate oscillator)
Analog Comparator 1
Supply Voltage 1.8V to 5.5V
Package TQFP-32 (7 x 7mm)
Operating Temperature -40°C to +85°C
Life Cycle NRND (Not Recommended for New Designs)

Features

  • 131 instructions, most single-clock-cycle execution
  • 32 x 8-bit general purpose working registers
  • 32KB ISP Flash with 10K write/erase cycles
  • 1KB EEPROM with 100K write/erase cycles
  • 2KB SRAM with direct ALU access
  • picoPower technology for ultra-low power consumption
  • Six software-selectable power-saving modes
  • Programmable serial USART with frame error detection
  • Master/Slave SPI serial interface
  • Byte-oriented 2-wire serial interface (I2C compatible)
  • Capacitive touch sensing (16 channels)
  • Temperature sensor

Applications

  • Arduino Uno and compatible boards
  • IoT sensor nodes and gateways
  • Consumer electronics and remote controls
  • Industrial automation and control
  • Battery-powered portable instruments
Product Introduction: ATMEGA328P-AU Product Introduction

The ATMEGA328P-AU from Microchip Technology is the iconic 8-bit AVR microcontroller at the heart of the Arduino Uno, packaged in a 32-pin TQFP. Based on the AVR enhanced RISC architecture executing 131 instructions with most in a single clock cycle, it achieves up to 20 MIPS at 20MHz. It integrates 32KB ISP Flash with read-while-write capability, 2KB SRAM, and 1KB EEPROM. The picoPower technology enables ultra-low power consumption across six sleep modes, while 23 I/O pins provide access to 8-channel 10-bit ADC, 6 PWM channels, USART, SPI, and I2C interfaces. The device operates from 1.8V to 5.5V. Note: This device is NRND; ATMEGA328PB-AU is recommended for new designs.

Working Principle: ATMEGA328P-AU Working Principle

The ATMEGA328P uses the AVR enhanced RISC architecture with a 2-stage pipeline and Harvard bus structure, allowing most instructions to execute in a single clock cycle. The 32 general-purpose working registers are directly connected to the ALU, enabling two independent registers to be accessed in one instruction. The Flash memory supports In-System Programming (ISP) and read-while-write operation through a boot loader section. The picoPower technology minimizes power consumption through clock gating, sleep modes (Idle, ADC Noise Reduction, Power-save, Power-down, Standby, Extended Standby), and a brown-out detector that can be disabled in software. The 16-bit Timer/Counter with input capture and output compare supports precise PWM generation for motor control and audio.

Pin Description: ATMEGA328P-AU Pin Definition and Functions
Pin Name Type Function
1-3 PD3-PD1 I/O Port D / INT1 / OC2B / TXD
4 PD0/RXD I/O Port D / INT0 / RXD
5-6 PD4, VCC I/O/Power Port D / XCK / Supply
7 GND Power Ground
8-9 PB6-PB7 I/O Port B / XTAL1-XTAL2 / TOSC1-2
10-17 PB5-PB0 I/O Port B / SCK/MISO/MOSI/SS / OC1A-1B/OC0A-0B
18-19 AVCC, AREF Power/Analog Analog supply / ADC reference
20-25 PC0-PC5 I/O Port C / ADC0-5 / SDA/SCL
26-28 PC6, PD7, PD6 I/O RESET / OC0A / OC0B
29-32 PD5-PD2 I/O Port D / OC0B / OC0A / INT0
Application Scenarios: In which products and applications is ATMEGA328P-AU used
  • Arduino Uno and compatible development boards
  • IoT sensor nodes with ultra-low-power sleep modes
  • Custom embedded control systems with Arduino ecosystem
  • Battery-powered data loggers with 1.8V minimum supply
  • Capacitive touch user interfaces for consumer devices
Alternative Models: What chips are recommended as replacements for ATMEGA328P-AU
Manufacturer Part Number Package Notes
Microchip ATMEGA328PB-AU TQFP-32 Recommended replacement: 2nd USART, 2nd SPI, 2nd I2C
Microchip ATMEGA328-AUR TQFP-32 Same device, tape & reel packaging
Microchip ATMEGA328P-PU PDIP-28 DIP version for through-hole prototyping
ST STM32F103C8T6 LQFP-48 32-bit Cortex-M3, 72MHz upgrade path
Espressif ESP32-WROOM-32 Module Wi-Fi + BLE, dual-core 240MHz

Recommend Parts

ISL95855HRTZ-T

IMVP8 3+2+1 phase buck controller, R3 technology, 4.5-25V input, 48-TQFN

Brand: Renesas

Package: 48-TQFN (6×6 mm, exposed pad)

IN STOCK: 2156pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IRFB4019PBF

150V N-Channel HEXFET Power MOSFET, 47A, 34 mΩ RDS(on), TO-220AB

Brand: infineon

Package: TO-220AB

IN STOCK: 2409pcs

Cargo cycle: 3-7 Days

The minimum order is 1

MSP430F247TPMR

TI MSP430 MCU, 16-bit RISC, 92KB Flash, 8KB RAM, 16MHz, LQFP-64

Package: See datasheet

IN STOCK: 13371pcs

Cargo cycle: 3-7 Days

The minimum order is 1

UCC28740DR

CVCC Flyback Controller, 700V startup, opto feedback, <10mW no-load, SOIC-7

Brand: TI

Package: SOIC-7 (4.9 x 3.9 x 1.75 mm)

IN STOCK: 4840pcs

Cargo cycle: 3-7 Days

The minimum order is 1

MMUN2211LT1G

NPN digital transistor, R1=10kΩ R2=10kΩ, 50V, 100mA, SOT-23-3, pre-biased BRT switch

Brand: Onsemi

Package: SOT-23-3 (TO-236, SC-59)

IN STOCK: 8500pcs

Cargo cycle: 3-7 Days

The minimum order is 1

PIC32MX795F512L-80I/PF

32-bit PIC32MX MCU with Ethernet/CAN/USB, 80MHz, 512KB Flash, TQFP-100, industrial

Brand: MICROCHIP

Package: TQFP-100 (14 x 14 mm)

IN STOCK: 7912pcs

Cargo cycle: 3-7 Days

The minimum order is 1