ATMEGA328P-AN vs ATMEGA328PB-ANR Comparison
Detailed side-by-side comparison of ATMEGA328P-AN by Microchip Technology and ATMEGA328PB-ANR by Microchip Technology. Compare key specifications, electrical parameters, packaging, lifecycle status, pricing, and availability to determine the best component for your design requirements.
Microchip Technology
ATMEGA328P-AN - 8-Bit 20MHz AVR MCU 32KB Flash | Microchip
ATMEGA328P-AN ✓ ActiveMicrochip Technology
ATMEGA328PB-ANR - 8-Bit AVR MCU 20MHz 32KB Flash TQFP-32 | Microchip
ATMEGA328PB-ANR ✓ ActiveSpecification Comparison
| Parameter | ATMEGA328P-AN | ATMEGA328PB-ANR |
|---|---|---|
| Brand | Microchip Technology | Microchip Technology |
| Category | Microcontrollers | Microcontrollers |
| Lifecycle Status | Active | Active |
| Product Type | 8-bit AVR RISC-based microcontroller | — |
| Maximum Clock Frequency | 20 MHz | — |
| Flash Memory | 32 KB (16K × 16) | 32 KB (16K x 16) |
| SRAM | 2 KB | 4 KB |
| EEPROM | 1 KB | 2 KB |
| General-Purpose I/O Lines | 23 | — |
| General-Purpose Working Registers | 32 | — |
| Timer/Counter Count | 3 | — |
| Timer/Counter Features | Compare modes | — |
| Serial Communication | USART | — |
| Two-Wire Interface | Byte-oriented | — |
| Interrupt Support | Internal and external interrupts | — |
| Operating Temperature | 105°C | -40C to +105C |
| Package | 32-TQFP (7 mm × 7 mm) | 32-TQFP (7 x 7 mm) |
| Mounting Type | Surface mount | Surface Mount |
| Programming | In-system programmable ISP Flash | — |
| Flash Read-While-Write | Supported | — |
| Core Architecture | AVR 8-bit RISC | — |
| Pricing Reference | LCSC price from $3.3765 as of 2026-10-21 | — |
| Core Processor | — | AVR 8-bit RISC |
| Core Size | — | 8-bit |
| Speed | — | 20 MHz |
| Operating Voltage Range | — | 1.8 V to 5.5 V |
| Number of I/O | — | 27 |
| General Purpose Working Registers | — | 32 |
| USART Peripherals | — | 3 |
| SPI Peripherals | — | 2 |
| I2C (TWI) Peripherals | — | 2 |
| ADC Resolution | — | 10-bit |
| Connectivity | — | I2C, SPI, UART/USART |
| Programmability | — | In-System Programmable (ISP), read-while-write |