ATmega328 Datasheet

MicrochipMicrocontroller

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.

Download PDF

ATmega328 Key Specifications

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

ATmega328 Pinout & Package

Package/Case
TQFP
Mount
Surface Mount

The full pin configuration and pin descriptions are in the ATmega328 PDF datasheet above.

ATmega328 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.

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
73 19

ATMEGA328PB-AU

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

MicrochipMicrocontrollers
67 17

ATMEGA328P-PU

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.

MicrochipMicrocontrollers
87 14

ATMEGA328-PU

8-bit AVR microcontroller featuring 32KB FLASH memory and 2KB RAM. Operates at up to 20MHz with an 8-bit data bus. Offers 23 I/Os, 6 ADC channels, 6 PWM channels, and 3 timers/counters. Includes I2C and SPI interfaces, POR, WDT, and operates from 1.8V to 5.5V. Packaged in a 28-pin PDIP for through-hole mounting, with an operating temperature range of -40°C to 85°C.

MicrochipMicrocontrollers
64 15

ATMEGA328P-AUR

8-Bit 32KB FLASH MCU, 20MHz, 23 I/O, TQFP, I2C, SPI, UART

MicrochipMicrocontrollers
78 21

ATmega32

8-bit AVR microcontroller featuring 32KB FLASH memory and 2KB RAM. Operates at up to 16MHz with an 8-bit address and data bus. Offers 32 I/O pins, 8 ADC channels, 4 PWM channels, and interfaces including SPI, USART, and 2-Wire. Packaged in a 44-TQFP surface mount configuration, this lead-free component supports a supply voltage range of 4.5V to 5.5V and operates from -40°C to 85°C. Includes peripherals like POR, PWM, and WDT.

MicrochipMicrocontrollers
76 18

Check pinout and ratings in both datasheets before substituting.

Other Microchip parts

  • WED3DG6466V75AD1I — DRAM 512MB SDRAM 133MHz 64Mx64 USODIMM 144-Pin
  • 25LC256 — 256Kb SPI serial EEPROM with 32K x 8 organization, offering a fast 50ns access t...
  • KSZ8895MQXIA — 5-Port 100Mbps Ethernet Switch, Industrial, 128-Pin PQFP
  • W3DG6335V7D2 — 256MB SDRAM 133MHz 64-bit 168-pin UDIMM Module
  • W3EG6432S202D4I — DRAM Module 256MB DDR SDRAM 200-Pin USODIMM 200MHz
  • WED3DG6466V10AD1 — DRAM Module 512MB SDRAM 144-Pin USODIMM 100MHz 64-bit
  • PIC18F4550-I/P — 8-bit PIC RISC microcontroller featuring 32KB Flash memory and 2KB RAM. Operates...
  • W3EG6432S262D4 — DDR SDRAM 256MB 200-pin USODIMM 266MHz 64-bit

More Microcontrollers

  • nRF52832 — The nRF52832 is a powerful, highly flexible ultra-low power multiprotocol SoC de...
  • ATTINY1616-MNR — 8-bit RISC microcontroller featuring 8KB Flash ROM and 2KB RAM. Operates with a...
  • ATMEGA4809-AFR — 16-Bit RISC MCU, 20MHz, 41 I/O, FLASH, 512B RAM, S-PQFP-G48
  • STM32L476RGT6 — Ultra-low-power with FPU Arm Cortex-M4 MCU 80 MHz with 1 Mbyte of Flash memory,...
  • HT66F20 — RISC Microcontroller,
  • STM32G030 — Mainstream Value-Line Arm Cortex-M0+ MCU with 64 Kbytes of of Flash memory memor...
  • MSP430F5529IPNR — 16-bit microcontroller operating at 25MHz, featuring 128KB Flash memory and 8KB...
  • STM32H743VIT6 — ARM® Cortex®-M7 STM32H7 Microcontroller IC 32-Bit 480MHz 2MB (2M x 8) FLASH 100-...

Compare ATmega328

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

ATmega328 FAQ

What is ATmega328?

ATmega328 is a Microcontroller from Microchip. 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.

Who manufactures ATmega328?

ATmega328 is manufactured by Microchip.

What package and pinout does ATmega328 have?

ATmega328 comes in TQFP package, surface mount mounting. The pin configuration and pin descriptions are given in the PDF datasheet.

What is the operating temperature range of ATmega328?

ATmega328 operates from -40°C to 85°C.

Where can I download the ATmega328 datasheet PDF?

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

What are the equivalents or alternatives to ATmega328?

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

Specifications

Manufacturer
Microchip
File Size
363 KB

Ask AI Assistant

Ask questions about ATmega328 specifications

AI Powered

Click to ask a quick question:

Parameters

Contact PlatingTin
Core ArchitecturePIC
Data Bus Width8b
Height1.2mm
InterfaceI2C, SPI, UART, USART
Lead FreeLead Free
Max Frequency20MHz
Max Operating Temperature85°C
Max Supply Voltage5.5V
Memory Size32KB
Memory TypeFLASH,
Min Operating Temperature-40°C
Min Supply Voltage1.8V
MountSurface Mount
Number of ADC Channels8
Number of I2C Channels1
Number of I/Os23
Number of Programmable I/O23
Number of PWM Channels6
Number of SPI Channels2
Number of Timers/Counters3
Number of UART Channels1
Oscillator TypeInternal
Package/CaseTQFP
PackagingCut Tape
PeripheralsBrown-out Detect/Reset, POR, PWM, WDT
RAM Size2KB
Reach SVHC CompliantNo
RoHSCompliant
RoHS CompliantYes
SeriesPIC® 18F
Watchdog TimerYes