ATMEGA328P alternatives & equivalent parts
8-bit AVR MCU, 32KB Flash / 2KB SRAM / 1KB EEPROM, 1.8–5.5V, up to 20MHz. — common packages: The base MPN does not specify a package (several packages exist, such as PDIP-28, TQFP-32, MLF-32). Each candidate below cites its manufacturer datasheet; check the relationship badge before substituting.
3 verified alternatives for ATMEGA328P
Swipe horizontally to compare all columns and request a quote.
| Alternative | Manufacturer | Relationship | Key differences | Source | RFQ |
|---|---|---|---|---|---|
| ATMEGA328PB-AU | Microchip | Functional alternativeSame function: board or design change needed. | Complete orderable part number, TQFP-32. Same 32KB Flash, 2KB SRAM, 1KB EEPROM, 1.8–5.5V. Adds peripherals such as PTC, clock failure detection, and a second USART/TWI/SPI. Some of the original power/ground pins become PE port pins, and the register map is not exactly the same as the 328P, so firmware must be ported and verified against the 328PB datasheet. If the original board is PDIP-28, a board change is needed. | Microchip documentation | Quote |
| ATMEGA328-PU | Microchip | Functional alternativeSame function: board or design change needed. | Complete orderable part number, PDIP-28 (note that this is ATmega328, not 328P; no P suffix): 32KB/2KB/1KB, supply 1.8–5.5V (2.7 V is the lower limit for the 10 MHz speed grade, not the supply floor; the P / non-P difference is picoPower power characteristics, not the voltage floor), 20MHz at 4.5–5.5V. Physically compatible only if the original design is also PDIP-28. Power characteristics and device signature differ from the 328P, so the programmer device type must be changed accordingly. | Datasheet (third-party hosted; check against the manufacturer before buying) | Quote |
| ATMEGA168PA-PU | Microchip | Functional alternativeSame function: board or design change needed. | PDIP-28. Half the capacity (16KB Flash / 1KB SRAM / 512B EEPROM), only suitable for applications with small firmware. 1.8–5.5V, 20MHz at 4.5–5.5V. The device signature is different; re-check the linker script and EEPROM usage. | Datasheet (third-party hosted; check against the manufacturer before buying) | Quote |
Pre-replacement checklist
- First confirm the actual package of the original board (PDIP-28/TQFP-32), then choose the matching complete ordering code
- Check the device signature and the programmer support list (the 328PB/168PA signatures differ from the 328P)
- Relink the firmware for the target Flash/SRAM/EEPROM size and test it
- If the extra peripheral pins of the 328PB are left floating, handle them as required by the datasheet
Frequently asked questions about replacing ATMEGA328P
Can ATmega328PB-AU replace ATmega328P-AU on an existing TQFP-32 board?
Check pins 3 and 6 first: ATmega328PB repurposes legacy GND/VCC pins into extra GPIO/peripheral pins (PE0/PE1) and adds a second UART/I2C/SPI, plus carries a different device signature ID during ISP flashing.
What differs between ATmega328-PU and ATmega328P-PU?
Both share the 28-pin PDIP pinout and 32 KB Flash, but bare ATmega328 lacks PicoPower sleep extensions and reports signature 1E 95 14 instead of 1E 95 0F — avrdude requires selecting the matching target.
When can ATmega168PA substitute for ATmega328P?
Only when compiled firmware fits within 16 KB Flash, 1 KB SRAM, and 512 B EEPROM (half the memory of ATmega328P) in the matching package.
Need the exact lot, date code or a second source quoted?
Send the original MPN and the approved alternative. Sourceics reconfirms source, stock, date code and commercial terms before any order — no substitution without your engineering approval.
Request a quote for ATMEGA328PSource part reference: Microchip documentation. Equivalence notes are reference guidance, not a guarantee of fit — always verify against your schematic and layout.