Opens in a new tab

Authorized electronic component supplier · 12,000+ part numbers in stock

MENU

Instant Quote

SEARCH PARTS

ATmega328P-PU

8-bit AVR MCU, 32KB Flash, 20MHz, 28-PDIP, Arduino Uno core

Effective inventoryPCS

8500
in stock

SpecificationsTechnical data

Manufacturer part

ATmega328P-PU

Package

28-PDIP (0.300″, 7.62mm)

Brand

MICROCHIP

Category

Integrated Circuits ICs, Microcontrollers (MCU)

Quality Commitment

Shipping & Payment

Service & Packaging

DescriptionProduct overview

Product Overview

The ATmega328P-PU from Microchip Technology (formerly Atmel) is a high-performance, low-power 8-bit AVR RISC microcontroller with 32KB ISP Flash, 2KB SRAM, 1KB EEPROM, 23 I/O lines, 10-bit ADC, and 6 PWM channels in a 28-pin PDIP through-hole package. It is the MCU at the heart of the Arduino Uno and Nano boards.

Key Specifications

  • Core: 8-bit AVR RISC, 131 instructions, most single-cycle
  • Max Speed: 20MHz (at 4.5-5.5V)
  • Flash: 32KB (in-system programmable, read-while-write)
  • SRAM: 2KB
  • EEPROM: 1KB (100,000 write/erase cycles)
  • Supply Voltage: 1.8V ~ 5.5V
  • I/O Pins: 23
  • ADC: 6-channel 10-bit (PDIP) / 8-channel (TQFP/QFN)
  • PWM: 6 channels
  • Timers: 2× 8-bit + 1× 16-bit with capture/compare
  • Communication: USART, SPI (master/slave), I2C (TWI)
  • Watchdog Timer: With independent on-chip oscillator
  • Analog Comparator: 1
  • Operating Temperature: -40°C ~ 85°C
  • Package: 28-PDIP (0.300″, 7.62mm)
  • Power (1MHz, 1.8V): Active 0.2mA, Power-down 0.1µA, Power-save 0.75µA
  • Self-Programming: Boot loader support via USART or SPI

Features

  • picoPower technology for ultra-low power consumption
  • 6 software-selectable sleep modes
  • 32×8 general-purpose working registers
  • On-chip 2-cycle multiplier
  • 20-year data retention at 85°C
  • QTouch library support for capacitive sensing
  • Internal calibrated RC oscillator (8MHz)
  • Programmable brown-out detection (BOD)
  • Through-hole PDIP package ideal for prototyping

Applications

  • Arduino Uno / Nano boards
  • Sensor interface and data acquisition
  • Battery-powered instruments
  • Home automation controllers
  • LED lighting and display control
01ATmega328P-PU · Product Introduction
The ATmega328P-PU from Microchip Technology is the iconic 8-bit AVR microcontroller that powers the Arduino Uno, the world’s most popular development board. Its 32KB Flash provides ample program space for Arduino sketches, while the 2KB SRAM and 1KB EEPROM handle runtime variables and persistent settings. The 28-pin PDIP package makes it ideal for breadboard prototyping and through-hole assembly. The AVR RISC architecture executes most instructions in a single clock cycle, achieving near 1 MIPS per MHz throughput. The ATmega328P-PU supports in-system programming via SPI and self-programming through a boot loader, enabling firmware updates without a dedicated programmer. The -PU suffix indicates PDIP-28 package with industrial temperature range and tube packaging.
02ATmega328P-PU · Working Principle
The ATmega328P-PU uses the AVR enhanced RISC architecture with a 2-stage pipeline: while one instruction is being executed, the next is being fetched from Flash. The 32×8 general-purpose working registers are directly connected to the ALU, allowing two registers to be accessed in a single clock cycle — a key factor in the 1 MIPS/MHz throughput. The Harvard architecture separates 32KB Flash (program) from 2KB SRAM (data) address spaces, with the 1KB EEPROM accessed through dedicated I/O registers. The I/O memory-mapped peripheral registers control timers, USART, SPI, TWI, ADC, and pin functions. The 10-bit ADC uses a successive approximation register (SAR) with a conversion time of 13-260µs depending on clock prescaler. The 6 PWM channels are generated by the timer/counter modules in Fast PWM or Phase-Correct PWM modes. Sleep modes (Idle, ADC Noise Reduction, Power-save, Power-down, Standby, Extended Standby) shut down unused clock domains and peripherals to reduce power consumption down to 0.1µA in Power-down mode.
03ATmega328P-PU · Pin Description
Pin Name Key Alternate Functions
1 PC6 (RESET) Reset input (active low); can be disabled by fuse
2 PD0 (RXD) USART receive, PCINT18
3 PD1 (TXD) USART transmit, PCINT19
4 PD2 (INT0) External interrupt 0, PCINT18
5 PD3 (INT1/OC2B) External interrupt 1, PWM Timer2
6 PD4 T0, XCK, PCINT20
7 VCC Power supply (1.8-5.5V)
8 GND Ground
9 PB6 (XTAL1) Crystal oscillator input / TOSC1
10 PB7 (XTAL2) Crystal oscillator output / TOSC2
11 PD5 (OC0B/T1) PWM Timer0, Timer1 clock
12 PD6 (OC0A/AIN0) PWM Timer0, comparator +
13 PD7 (AIN1) Comparator negative input
14 PB0 (ICP1/CLKO) Timer1 input capture, system clock output
15 PB1 (OC1A) PWM Timer1
16 PB2 (OC1B/SS) PWM Timer1, SPI slave select
17 PB3 (MOSI/OC2A) SPI data out, PWM Timer2
18 PB4 (MISO) SPI data in
19 PB5 (SCK) SPI clock
20 AVCC Analog power supply
21 AREF ADC reference voltage
22 GND Ground
23 PC0 (ADC0/SDA) ADC ch0, I2C data
24 PC1 (ADC1/SCL) ADC ch1, I2C clock
25 PC2 (ADC2) ADC ch2
26 PC3 (ADC3) ADC ch3
27 PC4 (ADC4/SDA) ADC ch4, I2C data (alt)
28 PC5 (ADC5/SCL) ADC ch5, I2C clock (alt)
04ATmega328P-PU · Application Scenarios
The ATmega328P-PU is the heart of the Arduino Uno, where it runs the Arduino bootloader and user sketches with access to digital I/O, analog inputs, PWM outputs, and serial communication through the board’s headers. In custom sensor nodes, the low 0.2mA active current at 1MHz/1.8V and 0.1µA power-down current enable coin-cell operation for years. For LED lighting control, the 6 PWM channels provide smooth dimming with 8-bit or 10-bit resolution. The I2C interface connects to EEPROM, RTC, and sensor peripherals with minimal wiring. The through-hole PDIP package is preferred for educational and hobbyist use, while the TQFP version (ATmega328P-AU) is used in production designs requiring surface-mount assembly.
05ATmega328P-PU · Alternative Models
Model Manufacturer Key Difference
ATmega328PB-AU Microchip Enhanced version, 2× USART, 2× SPI, QTouch, TQFP-32
ATmega328P-AU Microchip Same die, TQFP-32 surface-mount package
ATtiny3217 Microchip 16KB Flash, smaller 20-pin, lower cost
PIC16F18877-I/P Microchip 14KB Flash, 28-PDIP, PIC alternative

Request a quoteWithin 24h

Tell us the quantity you need. We confirm price and availability within one business day.

DatasheetPDF

Specifications subject to change by the manufacturer.

IC-Vendor · Sourcing

Verified stock, quoted fast.

AuthenticityOriginal parts
Lead time1 business day
ShippingDHL / FedEx / UPS

Recommended

Related parts you may need

STM32F334K8T6

ARM Cortex-M4 MCU with high-resolution timer, 72MHz, 64KB Flash, LQFP-32

Brand: STPackage: LQFP-32 (7.0 x 7.0 mm)

IN STOCK: 14928pcs

Cargo cycle: 3~7 Days

The minimum order is 1

STM32F411RCT6

ARM Cortex-M4 MCU, 100MHz, 256KB Flash, 128KB RAM, LQFP-64

Brand: STPackage: LQFP-64 (10 x 10 mm)

IN STOCK: 13837pcs

Cargo cycle: 3~7 Days

The minimum order is 1

PIC16F877A-I

8-bit PIC MCU ‘A’ rev, 14KB Flash, 368B RAM, 256B EEPROM, 8-ch 10-bit ADC, 2 CCP, 2 comparators, SPI/I2C/USART, PSP, ICD, self-program, industrial -40°C~85°C

Brand: MICROCHIPPackage: 40-pin PDIP / 44-pin PLCC / 44-pin TQFP / QFN

IN STOCK: 9527pcs

Cargo cycle: 3~7 Days

The minimum order is 1

GD32F310C8T6

Cortex-M4 Entry-level MCU, 72MHz, 64KB Flash, 8KB SRAM, LQFP-48

Brand: gigadevicePackage: LQFP-48 (7x7mm, 0.5mm pitch)

IN STOCK: 7547pcs

Cargo cycle: 3~7 Days

The minimum order is 1

ATMega48PA-AU

8-bit AVR picoPower MCU, 4KB Flash, 512B RAM, TQFP-32

Brand: MICROCHIPPackage: TQFP-32 (7.0 x 7.0 mm, AU package)

IN STOCK: 8003pcs

Cargo cycle: 3~7 Days

The minimum order is 1

PIC16LF1526-I

8-bit XLP PIC MCU, 14KB Flash, 768B RAM, 30-ch 10-bit ADC, 10 CCP, 2 EUSART, 2 SPI/I2C, 54 I/O, 1.8-3.6V low voltage, 64-pin

Brand: MICROCHIPPackage: 64-pin TQFP / QFN / UQFN

IN STOCK: 2792pcs

Cargo cycle: 3~7 Days

The minimum order is 1

QUALITY COMMITMENT

Quality Commitment

Every order is sourced, inspected and documented so your production line receives parts that meet specification.

Authenticity & traceability

We supply original manufacturer parts or material from authorized distribution channels. Unless a listing states otherwise, parts are new and unused — not refurbished, re-marked or pulled from used equipment. Each shipment is traceable to its purchase lot, date code and supplier record.

Incoming inspection

  • Visual inspection of labels, packaging, marking and date codes.
  • Lot and quantity verification against the purchase order.
  • Moisture-sensitivity and ESD packaging checks.
  • Electrical and functional testing, curve tracing, X-ray or decapsulation available on request.

Documentation

Commercial invoice and packing list are included with every shipment. A Certificate of Conformance (CoC) showing part number, quantity, lot/date code and inspection result is available on request. RoHS/REACH declarations and conflict-minerals statements can be supplied for compliance programs.

Warranty & returns

Parts are warranted against manufacturer defects for 12 months from shipment unless otherwise agreed in writing. Quality claims should be raised within 30 days of receipt with photos, the quantity affected and lot/date-code information. Special-order and non-cancellable/non-returnable (NCNR) items are handled case by case.

Counterfeit prevention

Suspect material is quarantined, documented and never resold. Suppliers are screened and monitored, and we support customer audits and third-party verification when required.

SHIPPING & PAYMENT

Shipping & Payment

From same-day dispatch on stock lines to consolidated production shipments, we keep logistics and payment predictable.

Lead time

In-stock lines usually ship the same or next business day. For backorder and factory-order items, lead time is confirmed in the quotation before you commit.

Carriers & tracking

We ship worldwide with DHL, FedEx, UPS and SF Express. Tracking details are sent as soon as the shipment is handed to the carrier. Customer carrier accounts can be used on request.

Freight & insurance

Freight is quoted prepaid-and-added, collect, or included depending on the agreed Incoterm (EXW, FOB, CIF or DDP). Shipment insurance is available on request; risk passes according to the agreed Incoterm.

Payment methods

  • Bank transfer (T/T) in USD, EUR or CNY.
  • PayPal for smaller or sample orders.
  • Alipay / RMB transfer for domestic settlement.

A proforma invoice is issued for every order. New customers are normally prepaid; repeat customers may apply for net terms.

Order changes & cancellation

Please confirm changes before dispatch. Once material is allocated, cut tape/reel or shipped, cancellation may not be possible. Non-standard items are subject to NCNR terms.

Customs & duties

We provide commercial invoices and origin documentation. Import duties, taxes and customs clearance are the buyer’s responsibility unless DDP terms are agreed.

SERVICE & PACKAGING

Service & Packaging

Beyond supplying the part, we support BOM sourcing, value-added processing and packaging that fits your line.

BOM sourcing & kitting

Send your BOM and we will cross-reference alternatives, consolidate lines and quote shortages. Kitting and kit-level labeling are available for production and repair centers.

Value-added services

  • Programming and firmware loading.
  • Tape-and-reel, re-reeling and tray packing.
  • Baking and dry-pack for moisture-sensitive parts.
  • Barcode, QR and custom label generation.

Packaging options

Parts are packed in ESD-safe bags, moisture-barrier bags with desiccant and humidity indicator, tape-and-reel, trays, tubes or bulk cartons. Custom labels, mixed kits and drop-ship to your contract manufacturer can be arranged.

Documentation & traceability

Each package carries the part number, quantity, lot/date code and country of origin. Packing lists and CoCs can be formatted to match your receiving process.

After-sales support

For returns, please contact us with the invoice number, part number and reason. We will issue an RMA and instructions before material is returned. Technical and order-status questions are answered within one business day.