embedded processors controllers

ATmega328P

Every spec below is cited to the manufacturer datasheet. Compare the closest alternatives, then ask the assistant what it means for your design.

00 — Overview

What the ATmega328P does

The ATmega328P is an 8-bit AVR microcontroller featuring 32K bytes of in-system programmable flash memory, 1K bytes of EEPROM, and 2K bytes of internal SRAM. It operates at speeds up to 16 MIPS with a 16 MHz clock, running on 2.7V to 5.5V supplies. The device includes six PWM channels, an 8-channel 10-bit ADC, and multiple serial interfaces including USART, SPI, and I2C. Available in 32-lead TQFP and 32-pad QFN/MLF packages, it supports automotive temperature ranges from –40°C to +125°C. Engineers typically use this part for embedded control applications requiring low power consumption and high performance in industrial or automotive systems.

Next step
Start building with ATmega328P → Every number above is cited straight from the datasheet — ask what they mean for your design, and the assistant answers from the same source documents.
01 — Key specifications

Datasheet parameters

Datasheet parameters for ATmega328P
ParameterMinTypMaxConditionsSource
quiescent current 9.2 mA 14 mA Active 16MHz, VCC = 5V; 28.3 DC Characteristics Microchip datasheet, p. 260 — 28.3 DC Characteristics
supply voltage range 2.7 V 5.5 V Microchip datasheet, p. 2
input offset voltage 10 mV 40 mV 0.4V < Vin< VCC- 0.5 (absolute value); TA = -40°C to +125°C, VCC = 2.7V to 5.5V (unless otherwise noted) Microchip datasheet, p. 259 — 28.2 DC Characteristics (Continued)
operating temperature -40 °C 125 °C Microchip datasheet, p. 2
clock frequency 20 MHz Microchip datasheet, p. 1
cpu speed 16 MHz Microchip datasheet, p. 2
program memory size 31.2 KB flash Microchip datasheet, p. 6 — Table 2-1. Memory Size Summary
ram size 1.95 KB ram Microchip datasheet, p. 6 — Table 2-1. Memory Size Summary
eeprom size 1 kB eeprom Microchip datasheet, p. 6 — Table 2-1. Memory Size Summary
io count 23 Microchip datasheet, p. 2
adc resolution 10 bit Microchip datasheet, p. 1
core size 8 bit Microchip datasheet, p. 1
rise time 300 ns 2-wire Serial Bus Requirements Microchip datasheet, p. 264 — Table 28-7. 2-wire Serial Bus Requirements
fall time 250 ns 10pF < Cb< 400pF(3); 2-wire Serial Bus Requirements Microchip datasheet, p. 264 — Table 28-7. 2-wire Serial Bus Requirements
02 — Alternatives

Closest matches to ATmega328P

ATtiny1616 20.0× higher clock frequency, 2.0× lower program memory size, 1.6× higher rise time
ATmega328PB 4.2× higher clock frequency, 4.0× higher input offset voltage, 1.9× lower operating temperature
MSP430G2553IPW28R 16.0× higher clock frequency, 3.9× lower ram size, 2.0× higher core size
STM8S105C4 2.0× lower program memory size, 1.9× lower operating temperature, 1.3× higher quiescent current
ATmega168A 2.0× lower program memory size, 2.0× lower ram size, 2.0× lower eeprom size
PY32F002A 12.5× higher fall time, 4.0× higher core size, 3.8× higher rise time
MSP430G2153 16.0× higher clock frequency, 7.8× lower ram size, 2.0× higher core size
STM8L052C6 18.8× higher rise time, 1.9× lower operating temperature, 1.5× lower supply voltage range
03 — FAQ

Frequently asked questions

What is the ADC resolution of the ATmega328P?

The ADC resolution is 10 bit.

What is the maximum clock frequency of the ATmega328P?

The maximum clock frequency is 20 MHz.

What is the core size of the ATmega328P?

The core size is 8 bit.

What is the maximum CPU speed of the ATmega328P?

The maximum CPU speed is 16 MHz.

What is the EEPROM size?

The EEPROM size is 1 kB under the EEPROM condition.

What is the fall time for the ATmega328P when 10pF < Cb < 400pF under 2-wire Serial Bus Requirements?

The fall time is 250 ns.

What is the input offset voltage when 0.4V < Vin< VCC- 0.5 (absolute value) and TA = -40°C to +125°C, VCC = 2.7V to 5.5V (unless otherwise noted)?

The input offset voltage is 10 mV.

How many I/O pins does the ATmega328P have?

The ATmega328P has 23 I/O pins.

What is the maximum operating temperature for the ATmega328P?

The maximum operating temperature is 125 °C.

What is the program memory size of the ATmega328P?

The program memory size is 31.2 KB in flash.

What is the quiescent current in the Active 16MHz, VCC = 5V condition?

The quiescent current is 9.2 mA.

What is the RAM size of the ATmega328P?

The RAM size is 1.95 KB.

Design help What do I need around the ATmega328P? →