

Overview
The ATMEGA328PB-MN is a microcontroller made by Microchip Technology in a QFN-32-EP(5x5) package with 33 pins. -40℃~+105℃ 1.8V~5.5V 10bit 1KB 20MHz 27 2KB 32KB 8 Bit AVR Built-in FLASH QFN-32-EP(5x5) Microcontrollers (MCU/MPU/SOC) ROHS.
PCBKit's library has its KiCad symbol (MCU_Microchip_ATmega:ATmega328PB-M, from KiCad's library) and its footprint (Package_DFN_QFN:QFN-32-1EP_5x5mm_P0.5mm_EP3.1x3.1mm, from KiCad's library), ready for a KiCad board. 102 are in stock at JLCPCB (part C1337164). 15 open-source boards in 10 repositories on GitHub use it.
Symbol
Footprint
Parameters
13- ADC (Bit)
- 10bit
- CPU Core
- AVR
- CPU Maximum Speed
- 20MHz
- Core Size
- 8 Bit
- EEPROM
- 1KB
- Features
- Watchdog reset
- Number of I/O
- 27
- Operating Temperature
- -40℃~+105℃
- Oscillator Type
- Built-in
- Program Memory Type
- FLASH
- Program Storage Size
- 32KB
- RAM Size
- 2KB
- Voltage - Supply
- 1.8V~5.5V
Order codes
1- ATMEGA328PB-MNLCSC C1337164
Pinout
33| Pin | Name | Type |
|---|---|---|
| 1 | PD3 | Input/output |
| 2 | PD4 | Input/output |
| 3 | PE0 | Input/output |
| 4 | VCC | Power in |
| 5 | GND | Power in |
| 6 | PE1 | Input/output |
| 7 | XTAL1/PB6 | Input/output |
| 8 | XTAL2/PB7 | Input/output |
| 9 | PD5 | Input/output |
| 10 | PD6 | Input/output |
| 11 | PD7 | Input/output |
| 12 | PB0 | Input/output |
| 13 | PB1 | Input/output |
| 14 | PB2 | Input/output |
| 15 | PB3 | Input/output |
| 16 | PB4 | Input/output |
| 17 | PB5 | Input/output |
| 18 | AVCC | Power in |
| 19 | PE2 | Input/output |
| 20 | AREF | Passive |
| 21 | GND | Passive |
| 22 | PE3 | Input/output |
| 23 | PC0 | Input/output |
| 24 | PC1 | Input/output |
| 25 | PC2 | Input/output |
| 26 | PC3 | Input/output |
| 27 | PC4 | Input/output |
| 28 | PC5 | Input/output |
| 29 | RESET/PC6 | Input/output |
| 30 | PD0 | Input/output |
| 31 | PD1 | Input/output |
| 32 | PD2 | Input/output |
| 33 | GND | Passive |
Open-source boards using it
All 15- 2 layers100 × 100 mm

- 2 layers18.6 × 15 mm

- 2 layers53.3 × 68.6 mm

Arduino uno
Chicken-Fried/Cave-Uno
Modernized Arduino Uno R3 compatible board powered by Microchip ATmega328PB. Features driverless USB-C, 1.5A sync buck, ideal-diode OR-ing, dual I2C/SPI/UART, and LiDAR topographic artwork.
85 parts - 4 layers35.8 × 35.8 mm

Car display v5
jsandmeyer/camaro-aftermarket-radio-aux-display
Temperature and Reverse Sensor Display for Gen5 Camaro with Aftermarket Radio and Trims
51 partsMIT - 4 layers38.6 × 40.3 mm

Strato connect
kevinlutzer/strato-connect
A RF module you can comunicate with over I2C to send AX.25 formatted data over (G)FSK
49 partsApache-2.0 - 2 layers68.6 × 53.3 mm

Kid
NicolasE04/yeah-
Student Name: Nicolas Evangelista Student #:5007797790 Student Email: evangn1@unlv.nevada.edu
20 parts - 4 layers203.8 × 99.1 mm

ISOpower complete bothboards
practable/iso-power-pcb
Remote power control board for ISO experiment containers, used for remote labs projects
196 partsGPL-3.0 - 4 layers48.9 × 17.8 mm

Show this part on your page
<iframe src="https://pcbkit.io/embed/parts/microchip/ATMEGA328PB-MN" title="ATMEGA328PB-MN in PCBKit" width="100%" height="480" style="border:0;border-radius:12px" allow="fullscreen" loading="lazy"></iframe><img src="https://pcbkit.io/embed/parts/microchip/ATMEGA328PB-MN.jpg" alt="ATMEGA328PB-MN" width="1200" height="900">[](https://pcbkit.io/parts/microchip/ATMEGA328PB-MN)Questions
Is there a KiCad symbol and footprint for the ATMEGA328PB-MN?
Yes. The symbol is MCU_Microchip_ATmega:ATmega328PB-M and the footprint Package_DFN_QFN:QFN-32-1EP_5x5mm_P0.5mm_EP3.1x3.1mm, both drawn on this page. PCBKit places them on a board for you when you design with it.
What package is the ATMEGA328PB-MN?
QFN-32-EP(5x5), with 33 pins. Its footprint is drawn on this page.
Where is the ATMEGA328PB-MN datasheet?
Microchip Technology publishes it: the Datasheet link on this page opens it.
Where can I order the ATMEGA328PB-MN?
JLCPCB lists it as part C1337164, with 102 in stock; the sellers' links on this page open their listings.
What can replace the ATMEGA328PB-MN?
Parts like it in the library: the ATMEGA328P-MUR by Microchip Technology, the ATMEGA88PA-MU by Microchip Technology, the ATMEGA168PA-MU by Microchip Technology and the ATTINY861A-MUR by Microchip Technology. Check their datasheets: a part that fits the footprint may still differ in its ratings.
Which open-source boards use the ATMEGA328PB-MN?
15 boards in 10 repositories on GitHub; the most starred are listed on this page, with their KiCad files.
Parts like it
8ATMEGA328P-MUR
VQFN-32(5x5)-40℃~+85℃ 1.8V~5.5V 10bit 1KB 20MHz 23 2KB 32KB 8 Bit AVR Built-in FLASH VQFN-32(5x5) Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)ATMEGA88PA-MU
MLF-32(5x5)-40℃~+85℃ 1.8V~5.5V 10bit 1KB 20MHz 23 512Byte 8 Bit 8KB AVR Built-in FLASH MLF-32(5x5) Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)ATMEGA168PA-MU
VQFN-32-EP(5x5)-40℃~+85℃ 1.8V~5.5V 10bit 16KB 1KB 20MHz 23 512Byte 8 Bit AVR Built-in FLASH VQFN-32-EP(5x5) Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)ATTINY861A-MUR
VQFN-32-EP(5x5)-40℃~+85℃ 1.8V~5.5V 10bit 16 20MHz 512Byte 512Byte 8 Bit 8KB AVR Built-in FLASH VQFN-32-EP(5x5) Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)ATMEGA328PB-MU
QFN-32-EP(5x5)-40℃~+85℃ 1.8V~5.5V 10bit 1KB 20MHz 27 2KB 32KB 8 Bit AVR Built-in FLASH Power-on reset (POR)、Undervoltage detection (BOR/LVD/LVR/LVI)、Watchdog reset、External pin reset (NRST)、Built-in general-purpose timer、Programmable watchdog、Touch function QFN-32-EP(5x5) Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)ATMEGA48PA-MU
VQFN-32(5x5)-40℃~+85℃ 1.8V~5.5V 10bit 20MHz 23 256Byte 4KB 512Byte 8 Bit AVR Built-in FLASH VQFN-32(5x5) Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)ATMEGA4808-MFR
VQFN-32-EP(5x5)-40℃~+125℃ 1.8V~5.5V 10bit 20MHz 23 256Byte 48KB 6KB 8 Bit AVR Built-in FLASH VQFN-32-EP(5x5) Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)ATMEGA4808-MU
VQFN-32-EP(5x5)-40℃~+85℃ 1.8V~5.5V 10bit 20MHz 256Byte 27 48KB 6KB 8 Bit AVR Built-in FLASH Power-on reset (POR)、Undervoltage detection (BOR/LVD/LVR/LVI)、Built-in general-purpose timer、Hardware CRC、Calendar function、Window watchdog (WWDG) VQFN-32-EP(5x5) Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)