ATMEGA328P-PU Datasheet

MicrochipMicrocontroller

8-bit AVR microcontroller featuring 32KB FLASH memory and 2KB RAM. Operates at up to 20MHz with 23 I/O pins. Supports I2C, SPI, USART, and UART interfaces. Includes 6 ADC channels, 6 PWM channels, and 3 timers. Packaged in a 28-pin PDIP for through-hole mounting.

The ATMEGA328P-PU is a low-power CMOS 8-bit microcontroller based on the AVR® enhanced RISC architecture, achieving throughputs close to 1 MIPS per MHz. It features 32KBytes of In-System Self-Programmable Flash, 1KBytes EEPROM, 2KBytes SRAM, and 23 programmable I/O lines packaged in a 28-pin PDIP (28P3). This device provides a highly flexible and cost-effective solution for embedded control applications, with built-in support for capacitive touch buttons, sliders, and wheels via the Atmel QTouch library.

Download PDF

ATMEGA328P-PU Key Specifications

Frequency
20MHz
Max Frequency
20MHz
Max Supply Voltage
5.5V
Memory Size
32KB
Memory Type
FLASH,
Min Supply Voltage
1.8V
Number of ADC Channels
6
Number of I2C Channels
1

Characteristics (datasheet)

Operating Voltage
1.8 - 5.5V
Temperature Range (Industrial)
-40°C to 85°C
Max Speed Grade
0 - 20MHz @ 4.5 - 5.5V (up to 20 MIPS throughput)
Flash Memory
32KBytes of In-System Self-Programmable Flash
Internal SRAM
2KBytes Internal SRAM
EEPROM
1KBytes EEPROM (100,000 write/erase cycles)
ADC Channels (PDIP)
6-channel 10-bit ADC in PDIP Package
Power Consumption at 1MHz, 1.8V, 25°C
Active Mode: 0.2mA; Power-down Mode: 0.1μA; Power-save Mode: 0.75μA (including 32kHz RTC)
Package
28P3 (28-lead, 0.300" Wide, Plastic Dual Inline Package - PDIP)

ATMEGA328P-PU Applications

  • Embedded control applications
  • Capacitive touch sensing (buttons, sliders, and wheels) via QTouch library support

ATMEGA328P-PU Pinout & Package

Package/Case
PDIP
Mount
Through Hole

The full pin configuration and pin descriptions are in the ATMEGA328P-PU PDF datasheet above.

ATMEGA328P-PU Equivalents & Similar Components

Drop-in equivalents

Same package and key ratings at least as high.

Similar parts

Matching key ratings; package or pinout may differ.

ATmega328P

8-bit microcontroller (MCU) with 32KB FLASH memory and 2KB RAM. Features an 8-bit PIC core architecture, operating at a maximum frequency of 20MHz. Offers 23 programmable I/O pins, 8 ADC channels, and 6 PWM channels. Supports I2C, SPI, and UART/USART interfaces. Packaged in a 32-pin TQFP with tin contact plating, suitable for surface mounting. Operates within a supply voltage range of 1.8V to 5.5V and an extended temperature range of -40°C to 85°C. Includes integrated peripherals like Brown-out Detect/Reset, POR, and WDT.

MicrochipMicrocontrollers
132 22

ATmega328

8-bit microcontroller (MCU) with 32KB FLASH memory and 2KB RAM. Features an 8-bit PIC core architecture, operating at a maximum frequency of 20MHz. Offers 23 programmable I/O pins, 8 ADC channels, and 6 PWM channels. Supports I2C, SPI, and UART/USART interfaces. Packaged in a 32-pin TQFP with tin contact plating, suitable for surface mounting. Operates within a supply voltage range of 1.8V to 5.5V and an extended temperature range of -40°C to 85°C. Includes integrated peripherals like Brown-out Detect/Reset, POR, and WDT.

MicrochipMicrocontrollers
78 18

ATMEGA328P-AU

8-bit AVR microcontroller featuring 32KB FLASH memory and 2KB RAM. Operates at up to 20MHz with an 8-bit data bus. Offers 23 programmable I/O pins, 6 PWM channels, and 3 timers/counters. Supports I2C, SPI, and USART interfaces. Packaged in a 32-pin TQFP for surface mounting, with a wide operating temperature range of -40°C to 85°C.

MicrochipMicrocontrollers
73 17

ATMEGA328P-AN

8-bit AVR microcontroller featuring 32KB FLASH memory and 2KB RAM. Operates at up to 20MHz with an 8-bit data bus width. Offers I2C, SPI, and UART/USART interfaces, 8 ADC channels, and 6 PWM channels. Includes 3 timers/counters and internal oscillator. Surface mountable in a 32-pin TQFP package, operating from 1.8V to 5.5V, with a temperature range of -40°C to 105°C.

MicrochipMicrocontrollers
69 18

ATmega328PB

8-bit RISC microcontroller featuring 32KB FLASH program memory and 2KB RAM. Operates at a maximum clock frequency of 20MHz with 27 I/O lines. This industrial-grade component supports a supply voltage range of 4.5V to 5.5V, with a nominal 5V. Includes PWM channels and an ADC, housed in a 32-terminal, 7x7mm S-PQFP-G32 package. Operating temperature range is -40°C to 85°C.

MicrochipMicrocontrollers
74 19

ATMEGA328PB-AU

8-Bit MCU, 32KB Flash, 20MHz, 32-Pin TQFP, Industrial

MicrochipMicrocontrollers
68 17

Check pinout and ratings in both datasheets before substituting.

Other Microchip parts

  • ATTINY1616-MNR — 8-bit RISC microcontroller featuring 8KB Flash ROM and 2KB RAM. Operates with a...
  • ATmega32 — 8-bit AVR microcontroller featuring 32KB FLASH memory and 2KB RAM. Operates at u...
  • 93C46 — 1Kb MICROWIRE serial EEPROM for surface mount applications. Features a 3-wire se...
  • AT68166H-YM20-E — 16Mbit SRAM Module, 20ns, 4-bit, 3.3V, MQFP-T, 68-Pin
  • AT24C16D-SSHM-T — IC EEPROM 16KBIT 1MHZ 8SOIC
  • ATmega2560 — 8-bit AVR microcontroller featuring 256KB FLASH memory and 8KB RAM. Operates at...
  • 25LC256-I/MF — 256Kb SPI EEPROM, 32Kx8, 50ns Access, 10MHz, DFN-8, 2.5-5.5V
  • AT68166HT-YS20-SCC — 16Mbit Asynchronous SRAM Module, 20ns, 4Mx4, 3.3V, MQFP-T

More Microcontrollers

  • STM32L072VZT6 — 32-bit ARM Cortex-M0+ MCU, 192KB Flash, 32MHz, 84 I/O, PQFP-100
  • PIC16F1829-I/SO — 8-bit RISC Flash Microcontroller, operating at up to 32MHz. Features 14KB Flash...
  • ATXMEGA128A4 — 16-bit AVR microcontroller featuring 128KB FLASH memory and 8KB RAM. Operates at...
  • ATmega1280 — 8-bit AVR microcontroller featuring 128KB FLASH memory and 8KB RAM. Operates at...
  • STM32F103ZET6 — 32-bit ARM Cortex-M3 microcontroller featuring 512KB Flash memory and a 72MHz CP...
  • STM32F429ZGT6 — The STM32F429ZGT6 is a 32-bit ARM microcontroller with a maximum frequency of 18...
  • ATMEGA64A-AU — 8-bit AVR RISC microcontroller featuring a 64KB Flash program memory and 4KB RAM...
  • STM32G081CBT6 — 32-bit RISC microcontroller featuring an Arm Cortex-M0+ core operating at up to...

Compare ATMEGA328P-PU

ATMEGA328P-PU belongs to the ATmega AVR Microcontrollers family — see all its parts in one comparison table.

ATMEGA328P-PU FAQ

What is ATMEGA328P-PU?

ATMEGA328P-PU is a Microcontroller from Microchip. 8-bit AVR microcontroller featuring 32KB FLASH memory and 2KB RAM. Operates at up to 20MHz with 23 I/O pins. Supports I2C, SPI, USART, and UART interfaces. Includes 6 ADC channels, 6 PWM channels, and 3 timers. Packaged in a 28-pin PDIP for through-hole mounting.

Who manufactures ATMEGA328P-PU?

ATMEGA328P-PU is manufactured by Microchip.

What package and pinout does ATMEGA328P-PU have?

ATMEGA328P-PU comes in PDIP package, through hole mounting. The pin configuration and pin descriptions are given in the PDF datasheet.

What is the operating temperature range of ATMEGA328P-PU?

ATMEGA328P-PU operates from -40°C to 85°C.

Where can I download the ATMEGA328P-PU datasheet PDF?

The ATMEGA328P-PU datasheet PDF (363 KB) can be downloaded free from this page using the Download PDF button.

What are the equivalents or alternatives to ATMEGA328P-PU?

Parts with a similar function (Microcontroller) include ATMEGA328-PU, ATmega328P, ATmega328. Always compare pinout and electrical ratings in both datasheets before substituting.

Specifications

Manufacturer
Microchip
File Size
363 KB

Ask AI Assistant

Ask questions about ATMEGA328P-PU specifications

AI Powered

Click to ask a quick question:

Parameters

Core ArchitectureAVR
Data Bus Width8b
Frequency20MHz
Height4.57mm
InterfaceI2C, SPI, USART, UART, 2-Wire
Lead FreeLead Free
Length34.8mm
Max Frequency20MHz
Max Operating Temperature85°C
Max Supply Voltage5.5V
Memory Size32KB
Memory TypeFLASH,
Min Operating Temperature-40°C
Min Supply Voltage1.8V
MountThrough Hole
Number of ADC Channels6
Number of I2C Channels1
Number of I/Os23
Number of PWM Channels6
Number of SPI Channels1
Number of Timers/Counters3
Oscillator TypeInternal
Package/CasePDIP
Package Quantity14
PackagingRail/Tube
PeripheralsBrown-out Detect/Reset, POR, PWM, WDT
Radiation HardeningNo
RAM Size2KB
Reach SVHC CompliantNo
RoHSCompliant
RoHS CompliantYes
SeriesATmega328P
Weight0.077603oz
Width7.49mm