ATmega328PB Datasheet

MicrochipMicrocontroller

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.

Download PDF

ATmega328PB Key Specifications

Clock Frequency-Max
20
DAC Channels
NO
DMA Channels
NO
PWM Channels
YES
Speed
20
Supply Current-Max
9
Supply Voltage-Max
5.5
Supply Voltage-Min
4.5

ATmega328PB Pinout & Package

Number of Terminals
32
JEDEC Package Code
S-PQFP-G32

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

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

ATTINY3217-MNR

8-bit RISC microcontroller featuring 32KB Flash program memory and 2KB RAM. Operates at a maximum clock frequency of 20MHz, with 22 I/O lines and a 5V nominal supply voltage (4.5V-5.5V range). Includes PWM and DAC capabilities, with an integrated ADC. Packaged in a 24-terminal S-XQCC-N24 JEDEC code, this industrial-grade component supports temperatures from -40°C to 105°C.

MicrochipMicrocontrollers
62 13

ATmega644P-20PU

8-bit AVR microcontroller featuring 64KB FLASH memory and 4KB RAM. Operates at up to 20MHz with an 8-bit address and data bus. Offers 32 I/Os, 8 ADC channels, 6 PWM channels, and 3 timers/counters. Supports I2C, SPI, and UART/USART interfaces. Packaged in a 40-pin DIP for through-hole mounting, with an operating temperature range of -40°C to 85°C.

MicrochipMicrocontrollers
80 13

ATMEGA64A-MU

8-Bit AVR MCU 64KB FLASH 16MHz 53 I/O QFN

MicrochipMicrocontrollers
75 14

ATmega64

8-bit AVR microcontroller featuring 64KB FLASH memory and 4KB RAM. Operates at up to 16MHz with an 8-bit data bus. Offers 53 I/O pins and supports I2C, SPI, and UART interfaces. Includes 4 timers/counters, 8 ADC channels, and peripherals like PWM and watchdog timer. Packaged in a QFN for surface mounting, with a wide operating temperature range of -40°C to 85°C.

MicrochipMicrocontrollers
76 17

ATMEGA1284P-PU

8-bit AVR microcontroller featuring 128KB FLASH memory and 16KB RAM. Operates at up to 20MHz with an 8-bit data bus width. Offers 32 I/O pins and supports I2C, SPI, and UART interfaces. Includes 8 ADC channels, 6 PWM channels, and 3 timers/counters. Packaged in a 40-pin DIP for through-hole mounting, with an operating temperature range of -40°C to 85°C.

MicrochipMicrocontrollers
91 16

ATmega1284

8-bit AVR microcontroller featuring 128KB FLASH memory and 16KB RAM. Operates at up to 20MHz with an 8-bit data bus width. Offers 32 I/O pins and supports I2C, SPI, and UART interfaces. Includes 8 ADC channels, 6 PWM channels, and 3 timers/counters. Packaged in a 40-pin DIP for through-hole mounting, with an operating temperature range of -40°C to 85°C.

MicrochipMicrocontrollers
70 15

Check pinout and ratings in both datasheets before substituting.

Other Microchip parts

  • DSPIC30F4011-301/PT — dsPIC30F 48KB 30I/O TQFP Microcontroller
  • PIC16F84A-20I/P — 8-Bit 20MHz RISC MCU, 1.75KB Flash, 68B RAM, PDIP-18
  • AT88SC12816C-MJTG — 2 KBIT Serial-2Wire EEPROM Module
  • 93C46 — 1Kb MICROWIRE serial EEPROM for surface mount applications. Features a 3-wire se...
  • ATmega16 — 8-bit AVR microcontroller featuring 16KB FLASH memory and 1KB RAM. Operates at u...
  • W3DG648V7D2I — DRAM Module 64MB SDRAM 133MHz 168-DIMM 3.3V
  • ATMEGA328P-MMH — 8-bit AVR microcontroller featuring 32KB FLASH memory and 2KB RAM. Operates at u...
  • MCP3201 — 12-bit, 1-channel Analog-to-Digital Converter (ADC) with a 100 kS/s sampling rat...

More Microcontrollers

  • STM32F411 — The microcontroller family uses a 32-bit Arm Cortex-M4 core with FPU running up...
  • nRF52832 — The nRF52832 is a powerful, highly flexible ultra-low power multiprotocol SoC de...
  • STM32F746ZGT6 — High-performance and DSP with FPU Arm Cortex-M7 MCU with 1 Mbyte of Flash memory...
  • STM32F722RET6 — High-performance and DSP with FPU, Arm Cortex-M7 MCU with 512 Kbytes of Flash me...
  • STM32G474CEU6 — Mainstream Arm Cortex-M4+ MCU 170MHz with 512Kbytes of Flash memory, Math Accele...
  • ST72F324J2TAE — 8KB FLASH MCU, SPI/SCI, 8MHz, 5.5V, TQFP, Surface Mount
  • ATtiny85 — 8-bit microcontroller (MCU) with 8KB FLASH memory and 512B RAM. Features an 8-bi...
  • ATtiny13 — 8-bit AVR microcontroller featuring 1KB Flash memory and 64B RAM. Operates at u...

Compare ATmega328PB

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

ATmega328PB FAQ

What is ATmega328PB?

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

Who manufactures ATmega328PB?

ATmega328PB is manufactured by Microchip.

What package and pinout does ATmega328PB have?

ATmega328PB comes in 32 pins. The pin configuration and pin descriptions are given in the PDF datasheet.

What is the operating temperature range of ATmega328PB?

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

Where can I download the ATmega328PB datasheet PDF?

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

What are the equivalents or alternatives to ATmega328PB?

Parts with a similar function (Microcontroller) include ATMEGA328PB-AU, ATTINY3217-MNR, ATmega644P-20PU. Always compare pinout and electrical ratings in both datasheets before substituting.

Specifications

Manufacturer
Microchip
File Size
175 KB

Ask AI Assistant

Ask questions about ATmega328PB specifications

AI Powered

Click to ask a quick question:

Parameters

Bit Size8
Clock Frequency-Max20
DAC ChannelsNO
DMA ChannelsNO
Has ADCYES
JEDEC Package CodeS-PQFP-G32
Lead FreeYes
Length7
Max Operating Temperature85
Military SpecFalse
Min Operating Temperature-40
Number of I/O Lines27
Number of Terminals32
PWM ChannelsYES
RAM (bytes)2048
REACHCompliant
RoHSYes
ROM ProgrammabilityFLASH
ROM (words)32000
Screening LevelTS 16949
Speed20
Supply Current-Max9
Supply Voltage-Max5.5
Supply Voltage-Min4.5
Supply Voltage-Nom5
Temperature GradeINDUSTRIAL
Terminal PositionQUAD
uPs/uCs/Peripheral ICs TypeMICROCONTROLLER, RISC
Width7