Opens in a new tab

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

MENU

Instant Quote

SEARCH PARTS

ATMEGA328-PU

8-bit AVR MCU, 32KB Flash, 2KB SRAM, 28-PDIP, 20MHz, non-picoPower version

Effective inventoryPCS

2654
in stock

SpecificationsTechnical data

Manufacturer part

ATMEGA328-PU

Package

28-PDIP (34.54 x 7.62 mm, through-hole, 2.54mm pitch, PU package)

Brand

MICROCHIP

Category

Integrated Circuits ICs, Microcontrollers (MCU)

Quality Commitment

Shipping & Payment

Service & Packaging

DescriptionProduct overview

Product Overview

The ATMEGA328-PU from Microchip is an 8-bit AVR RISC microcontroller with 32KB Flash, 2KB SRAM, 1KB EEPROM in a 28-pin PDIP through-hole package, operating at up to 20MHz. This is the non-picoPower version of the popular ATMEGA328P-PU used in Arduino Uno.

Key Specifications

Core 8-bit AVR RISC
Max Frequency 20 MHz
Flash Memory 32 KB (2KB for bootloader)
SRAM 2 KB
EEPROM 1 KB
I/O Pins 23
ADC 10-bit, 6 channels (PDIP)
Communication 1x USART, 2x SPI, 1x I2C (TWI)
PWM Channels 6
Timers 2x 8-bit, 1x 16-bit
Supply Voltage 1.8V to 5.5V
Package 28-PDIP (through-hole)
Operating Temperature -40 to +85 C
Lifecycle NRND (Not Recommended for New Designs)

Features

  • 32KB Flash with 10,000 erase/write cycle endurance
  • 23 programmable I/O lines with individual pull-up resistors
  • 6-channel 10-bit ADC with 15 kSPS conversion rate
  • 5 software-selectable power saving modes
  • In-system programmable via SPI
  • On-chip debug via debugWIRE interface

Applications

  • Arduino Uno compatible MCU
  • Embedded prototyping and hobby projects
  • Sensor interface and data acquisition
  • Low-cost motor control
  • IoT endpoint devices
01ATMEGA328-PU · Product Introduction
The ATMEGA328-PU from Microchip (formerly Atmel) is the non-picoPower variant of the ATMEGA328P-PU, the iconic 8-bit AVR microcontroller that serves as the heart of the Arduino Uno development board. The key difference from the ATMEGA328P-PU is the absence of the picoPower technology, which provides ultra-low power consumption in power-save modes on the P-version. For most applications operating at 5V with active power modes, the performance and functionality are identical. The 32KB Flash provides ample code space for moderate-complexity applications including RTOS-based systems, communication protocol stacks, and data logging. The 2KB SRAM supports data buffering for UART and sensor interfaces, while the 1KB EEPROM provides non-volatile storage for calibration data and configuration parameters. The 28-pin PDIP through-hole package makes it ideal for prototyping, breadboarding, and educational applications. The device supports in-system programming (ISP) via SPI, allowing firmware updates without removing the chip from the circuit. The 23 I/O pins with individually selectable pull-up resistors provide flexible pin assignment for various application needs. The 10-bit ADC with 6 channels supports a wide range of analog sensor interfaces. The ATMEGA328-PU is designated NRND (Not Recommended for New Designs); Microchip recommends the ATMEGA328P-PU for new designs requiring lower power consumption.
02ATMEGA328-PU · Working Principle
The ATMEGA328-PU operates as an 8-bit AVR RISC microcontroller. Key subsystems include: (1) AVR Core – a modified Harvard architecture 8-bit RISC processor with 32 x 8-bit general-purpose registers; most instructions execute in a single clock cycle at 20MHz (up to 20 MIPS throughput); the 2-stage pipeline (fetch + execute) enables single-cycle execution for most instructions; the instruction set includes 131 instructions with 32×8 hardware multiply; (2) Memory – 32KB Flash organized as 16K x 16-bit words; 2KB SRAM accessed in 2 clock cycles; 1KB EEPROM with 100,000 erase/write cycle endurance; (3) I/O Ports – 23 I/O pins organized into 3 ports (PORTB, PORTC, PORTD); each pin has a data register (PORTx), direction register (DDRx), and input register (PINx); individual pull-up resistors can be enabled per pin; (4) ADC – a 10-bit successive-approximation ADC with 6 channels in PDIP package; 13-260us conversion time; auto-trigger capability from timer compare match; free-running mode for continuous conversion; (5) Debug – debugWIRE interface provides on-chip debug capability using a single-wire bidirectional connection on the RESET pin; supports breakpoints, single-step, and register/memory access without using any on-chip resources.
03ATMEGA328-PU · Pin Description
Pin Name Function
1 PC6 (RESET) I/O, Reset (active low)
2 PD0 (RXD) I/O, USART Receive
3 PD1 (TXD) I/O, USART Transmit
4 PD2 (INT0) I/O, External Interrupt 0
5 PD3 (INT1/OC2B) I/O, External Interrupt 1, PWM
6 PD4 I/O, T0 timer clock
7 VCC Supply (1.8V to 5.5V)
8 GND Ground
9 PB6 (XTAL1/TOSC1) I/O, Crystal oscillator input
10 PB7 (XTAL2/TOSC2) I/O, Crystal oscillator output
11-17 PD5-PD7, PB0-PB3 I/O, Timer/PWM/SPI functions
18-28 PB4-PB5, PC0-PC6 I/O, ADC/I2C/Reset functions
04ATMEGA328-PU · Application Scenarios
  • Arduino Uno: direct drop-in replacement for ATMEGA328P-PU in Arduino Uno boards, same pinout and electrical specs (without picoPower)
  • Sensor logger: 6-channel ADC reads multiple sensors, 2KB SRAM buffers data, SPI drives SD card, UART sends data to host
  • Motor controller: 6 PWM channels drive H-bridge, ADC reads current shunt, USART receives commands from host MCU
05ATMEGA328-PU · Alternative Models
Manufacturer Part Number Package Notes
Microchip ATMEGA328P-PU 28-PDIP picoPower version, lower sleep current, recommended for new designs
Microchip ATMEGA328PB-AU TQFP-32 Enhanced version with 2x USART, SMD package
ST STM32F103C8T6 LQFP-48 32-bit Cortex-M3 upgrade path, 72MHz

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

P89LPC922FN

8-bit 80C51 MCU, 8KB Flash, 256B RAM, 20-SSOP

Brand: NXPPackage: SSOP-20 (7.2 x 5.3 mm)

IN STOCK: 12628pcs

Cargo cycle: 3~7 Days

The minimum order is 1

STM32G031J6M6

STM32G031 Cortex-M0+ MCU, 64MHz, 32KB Flash, SO-8

Brand: STPackage: SO-8

IN STOCK: 5600pcs

Cargo cycle: 3~7 Days

The minimum order is 1

PIC16F887-I/PT

8-bit PIC16F MCU, 14KB Flash, 368B RAM, 35 I/O, 14ch 10-bit ADC, EUSART, MSSP, TQFP-44

Brand: MICROCHIPPackage: TQFP-44 (10 x 10 x 1mm)

IN STOCK: 5215pcs

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

AT89C2051-24PU

8051 8-bit MCU, 2KB Flash, 128B RAM, 15 I/O, 2x 16-bit timer, UART, analog comparator, 24MHz, 20-PDIP, -40~85C

Brand: MICROCHIPPackage: 20-Pin PDIP (0.300 inch, 7.62mm) (26.92 x 7.11 x 4.95 mm)

IN STOCK: 12650pcs

Cargo cycle: 3~7 Days

The minimum order is 1

AT89C51ED2-RLTUM

8-bit 8051 MCU, 64KB Flash, 2KB RAM, 44-PLCC

Brand: MICROCHIPPackage: PLCC-44 (16.5 x 16.5 mm, through-hole)

IN STOCK: 10690pcs

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.