Microchip Technology ATMEGA328P-AU — Microcontrollers & Processors (MCU / MPU / DSP)
Technical Documents PDF / CAD
RoHS Compliant · Lead-Free EIA-481 Standard
Microchip Technology / Microcontrollers & Processors (MCU / MPU / DSP)

ATMEGA328P-AU - Microchip Technology

MPN ATMEGA328P-AU
Active Spot Stock · 24-48h Dispatch 100% Original Sealed
In Stock: 10,702 pcs
MOQ: 1 pcs
Logistics: DHL / FedEx DAP (Global Express · 3-7d) Russia & CIS DDP (Door-to-Door Cleared)
Dispatch: Shenzhen / HK
Unit Price (USD)
$2.84 / pc
Direct Purchase Ready
Volume Pricing Breaks Confirmed upon quotation
1+ pcs
$2.84
10+ pcs
$2.47
30+ pcs
$2.20
250+ pcs
$1.99
500+ pcs
$1.87
1,000+ pcs
$1.83
Working on a production BOM or have a target unit price? Submit Target Price
Buy Now

$2.84 / ea

10,702 in stock — maximum per order · 3–4 days lead time

$2.47 / ea from 10 pcs

Upload Full BOM List
[SPEC] Essential Parameters Snapshot Full Specifications (18)
Supply Voltage 1.8V ~ 5.5V
Speed / Frequency 20MHz
Memory / RAM 2K x 8
ALT
Facing long factory lead times or allocation on ATMEGA328P-AU? Verified pin-compatible alternatives available with active Shenzhen stock and 100% solder-ready footprint match.

Full Technical Specifications

18 Parameters
ATMEGA328P-AU specifications
Parameter / AttributeSpecification / Value
SeriesAVR® ATmega
MountingSurface Mount
Oscillator typeInternal
Program memory typeFLASH
Voltage - supply (Vcc (Vdd))1.8V ~ 5.5V
Operating temperature-40°C~85°C(TA)
Speed20MHz
PackageTray
RAM size2K x 8
Core size8-Bit
EEPROM size1K x 8
PeripheralsBrown-out Detect/Reset, POR, PWM, WDT
ConnectivityI²C, SPI, UART/USART
Number of i (O)23
Core processorAVR
Case32-TQFP
Data convertersA/D 8x10b
Program memory size32KB (16K x 16)
100% Footprint Match · Solder-Ready (No PCB Redesign Needed)

Need Stock or a Drop-in Second-Source for ATMEGA328P-AU?

Package: DIP-28 / TQFP-32 / QFN-32 · Pin-compatible replacements with immediate Shenzhen spot stock

Footprint Match 98%
Supply Chain & Allocation Reality:

The ATmega328P is the Arduino-era workhorse that escaped into industry: thousands of instrument, controller and appliance boards still run it, and repair benches re-order it every week. Genuine Microchip supply continues, and the market knows it - which is why relabeled and re-marked stock circulates (the classic tell is a bootloader that reports one signature while the silicon reads another). The two real substitution questions are the ATmega328PB migration (a new device with the same socket, per Microchips own app note) and the smaller-flash siblings that share the pinout.

Verified Pin-Compatible Replacements (4 verified alternatives)

ATmega328PB Microchip TQFP-32 / QFN-32
Pin-to-Pin (Minor Clock/Init Tuning)
Availability & Target Pricing:

The Current-Generation AVR in the Same Footprint

Shenzhen Spot Stock (24-48h Dispatch)

Electrical & Core Specs:

Microchips successor device: same AVR core and 32KB/2KB/1KB memory map, plus a second USART, second SPI, second TWI, extra 16-bit timers, a peripheral touch controller and a unique device ID.

1.8V to 5.5V, same as the 328P; 20MHz class.

Compatibility & Drop-In Notes: Microchip documents the PB as a new device, not a formal drop-in: the device signature differs (0x1E9516 versus 0x1E950F), so avrdude / older board cores reject the chip until the correct part is selected. Boards whose firmware was locked to the old signature need the toolchain updated - that is the whole migration work.
Package & Solder Footprint: In TQFP-32, two pins that were VCC and GND on the 328P become GPIO (PE0 / PE1), and the two analog-only pins (ADC6 / ADC7) become digital I/O (PE2 / PE3). A board tying those pins directly to rails must be reviewed before the PB is fitted - otherwise it is a same-footprint swap.
Shenzhen Warehouse Stock & MOQ: Active current production; the long-term safe buy for 328P sockets.
ATmega328P-AU Microchip TQFP-32
100% Drop-in (Zero Code Change)
Availability & Target Pricing:

Same Silicon, Surface-Mount Form

Shenzhen Spot Stock (24-48h Dispatch)

Electrical & Core Specs:

Identical die and signature (0x1E950F) in the 32-lead TQFP - the SMD form of the same part.

1.8V to 5.5V; same 20MHz / 5V or 10MHz / low-voltage envelopes.

Compatibility & Drop-In Notes: The zero-risk substitution: same signature, same fuse map, same bootloader behavior. Used when a design migrates from DIP to SMD or when only one package is in stock.
Package & Solder Footprint: TQFP-32 footprint. The QFN-32 version carries the -MU suffix - same silicon, different land pattern and reflow profile.
Shenzhen Warehouse Stock & MOQ: Deep stock of both packages; original trays and tapes.
LGT8F328P LogicGreen LQFP-32 / SSOP-20 / LQFP-48
Functional Equivalent
Availability & Target Pricing:

The AVR-Compatible Clone - With Real Caveats

Shenzhen Spot Stock (24-48h Dispatch)

Electrical & Core Specs:

A Chinese AVR-compatible MCU running to 32MHz off an internal RC oscillator (no crystal), reported about 20-30 percent faster than an ATmega328P at equal clock, plus extras the ATmega lacks: 12-bit ADC, a DAC, programmable gain amplifier and a factory GUID.

1.8V to 5.5V; 32KB flash and 2KB SRAM nominally, BUT there is no real EEPROM - EEPROM is emulated in flash and consumes program space (commonly 1KB allocated), leaving less usable flash than the ATmega.

Compatibility & Drop-In Notes: Not a binary-compatible drop-in: it requires the community LGT8fx core, and sketches using timers, EEPROM or register-level code need rework. This is a development-platform decision, not a repair substitution - fitting it where firmware expects a genuine ATmega328P signature and fuses will not work.
Package & Solder Footprint: LQFP-32 boards exist that mirror the ATmega footprint, but verify the exact package and pin function against the board - the SSOP-20 and LQFP-48 variants are different layouts.
Shenzhen Warehouse Stock & MOQ: Common on budget Nano-class boards in the Shenzhen market; useful to know what you are buying when a cheap board arrives with one fitted.
ATmega168PA Microchip DIP-28 / TQFP-32
Functional Equivalent
Availability & Target Pricing:

Same Footprint, Half the Flash

Shenzhen Spot Stock (24-48h Dispatch)

Electrical & Core Specs:

The 16KB member of the same AVR family: pin-compatible with the 328P in DIP-28 and TQFP-32, identical peripherals, different signature (0x1E940B) and half the program memory.

1.8V to 5.5V; same clock envelopes.

Compatibility & Drop-In Notes: Only viable when the application firmware fits in 16KB and the bootloader is rebuilt for the 168 - a repair shortcut, never a production substitution. Most Arduino-era firmware does not fit, and flashing a 328P binary onto a 168 fails at verify.
Package & Solder Footprint: Identical pinouts in the shared packages; sockets do not change.
Shenzhen Warehouse Stock & MOQ: Stocked as a fallback for small-firmware repair jobs.
Buyer & Quality Checklist for Sourcing Alternatives
  • Read the device signature instead of trusting the label: avrdude reports 0x1E950F for a genuine ATmega328P and 0x1E9516 for the 328PB. Relabeled stock frequently shows a mismatch between the marking and the silicon - a five-second check with any ISP programmer.
  • Moving to the ATmega328PB: update the toolchain part definition first, then review TQFP-32 pins 3, 6, 19 and 22 (VCC / GND / ADC6 / ADC7 on the 328P, GPIO on the PB) against the schematic before power-up.
  • The -PU / -AU / -MU suffixes are DIP-28 / TQFP-32 / QFN-32 packaging; the signature and fuses are identical. Cross-package migration is a layout decision, not a firmware one.
  • For low-voltage designs check the clock derating: full 20MHz needs about 4.5V; below that the part is specified to 10MHz class. A repair that fits a genuine 328P into a 3.3V board still runs the original firmware perfectly - the derating matters to new code only.
  • When a fleet repair needs the same signature as the original boards, stay on the 328P; when the fleet is being refurbished with a firmware refresh anyway, standardize on the PB and take the extra peripherals.
  • Keep fuses in the conversation: the common repair failure after a chip swap is wrong fuse bits (clock source, BOD, bootloader size), not a wrong chip.
Frequently Asked Technical Questions

Q: Is ATmega328PB a drop-in replacement for ATmega328P?

A: Same socket, new device. Microchip documents it as a successor rather than a formal drop-in: firmware toolchains must know the new device signature (0x1E9516), and in TQFP-32 the pins that were VCC / GND / ADC6 / ADC7 become GPIO, so boards tying them to rails need a check before the swap.

Q: How can I tell whether an ATmega328P is genuine?

A: Read the signature bytes with any ISP programmer: genuine 328P silicon answers 0x1E 0x95 0x0F. A mismatch between the printed marking and the signature - or a bootloader that reports a different part than the silicon - is the standard signature of relabeled stock.

Q: What is the difference between ATmega328P-PU and ATmega328P-AU?

A: Package only: -PU is DIP-28 and -AU is TQFP-32. Same die, same signature, same fuses. The -MU suffix is the QFN-32 form.

ATMEGA328P-AU
Verified Allocation
Quote