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, 20MHz, 32KB Flash, 2KB SRAM, 1KB EEPROM, 28-PDIP

Effective inventoryPCS

9409
in stock

SpecificationsTechnical data

Manufacturer part

ATMEGA328P-PU

Package

28-PDIP (37.4 x 6.76 x 3.28mm)

Brand

MICROCHIP

Category

Integrated Circuits ICs, Microcontrollers (MCU)

Quality Commitment

Shipping & Payment

Service & Packaging

DescriptionProduct overview

Product Overview

The ATMEGA328P-PU from Microchip Technology is an 8-bit AVR RISC microcontroller with 32KB Flash, 2KB SRAM, 1KB EEPROM, 23 I/O lines, 10-bit ADC, SPI, I2C, UART, and 6 PWM channels, operating at 20MHz and 1.8V-5.5V in a 28-pin PDIP through-hole package.

Key Specifications

Manufacturer Microchip Technology
Core AVR 8-bit RISC
Max Clock Speed 20MHz
Flash Memory 32KB
SRAM 2KB
EEPROM 1KB
I/O Pins 23
ADC 10-bit, 6 channels (PDIP)
PWM Channels 6
Timers 2x 8-bit, 1x 16-bit
Interfaces SPI, I2C (TWI), USART
Operating Voltage 1.8V to 5.5V
Package 28-PDIP (through-hole)
Operating Temperature -40C to +85C

Features

  • High-performance picoPower AVR RISC architecture
  • 131 instructions, most single-clock-cycle execution
  • 32 x 8 general-purpose working registers
  • Up to 20 MIPS throughput at 20MHz
  • 32KB ISP Flash with read-while-write
  • 1KB EEPROM with 100,000 write/erase cycles
  • 2KB internal SRAM
  • Six software-selectable power-saving modes
  • On-chip analog comparator and watchdog timer
  • QTouch library support for capacitive sensing

Applications

  • Arduino Uno, Nano, and Pro Mini platforms
  • Embedded control systems
  • Consumer electronics
  • Motor control and automation
  • Sensor interfacing and data logging
01ATMEGA328P-PU · Product Introduction
The Microchip ATMEGA328P-PU is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture. By executing powerful instructions in a single clock cycle, the ATmega328P achieves throughputs approaching 1 MIPS/MHz, balancing power consumption and processing speed. The device features 32KB ISP Flash, 1KB EEPROM, 2KB SRAM, 23 general-purpose I/O lines, three flexible timers with PWM, a USART, SPI, TWI (I2C), a 10-bit ADC, watch-dog timer, analog comparator, and six software-selectable power-saving modes. The picoPower technology reduces power consumption to 0.2mA at 1MHz/1.8V active and 0.1uA in power-down mode. The 28-PDIP package makes it ideal for prototyping and hobbyist projects, most notably the Arduino Uno.
02ATMEGA328P-PU · Working Principle
The ATMEGA328P-PU operates as a complete 8-bit microcontroller system: 1) AVR Core: The enhanced RISC CPU executes 131 instructions with a 2-stage pipeline, achieving nearly 1 instruction per clock cycle. All 32 general-purpose registers are directly connected to the ALU, allowing two independent registers to be accessed in one instruction. 2) Memory: 32KB Flash stores program code with ISP capability. 1KB EEPROM provides non-volatile data storage. 2KB SRAM handles runtime data and stack operations. 3) Peripherals: The 10-bit ADC converts analog inputs with +/-2LSB accuracy. Three timers provide PWM, input capture, and waveform generation. SPI, TWI, and USART enable serial communication. 4) Power Management: Six sleep modes (idle, ADC noise reduction, power-save, power-down, standby, extended standby) allow optimization for minimal power consumption.
03ATMEGA328P-PU · Pin Description
Pin Name Type Function
1 PC6/RESET I/O Port C6 / Reset (active low)
2-3 PD0-PD1/RXD/TXD I/O Port D0-D1 / USART RX/TX
4-5 PD2-PD3/INT0/INT1 I/O Port D2-D3 / External interrupts
6-11 PD4-PD9/T1/AIN1 I/O Port D4-D9 with alternate functions
12-13 PB6-PB7/XTAL I/O Port B6-B7 / Crystal oscillator
14-19 PB0-PB5/SS/MOSI/MISO/SCK I/O Port B0-B5 / SPI and timer functions
20 AVCC Power Analog supply voltage
21 AREF Reference Analog reference
22 GND Ground Ground
23-28 PC0-PC5/ADC0-ADC5/SDA/SCL I/O Port C0-C5 / ADC and I2C
04ATMEGA328P-PU · Application Scenarios
  • Arduino Uno and compatible board core MCU
  • Embedded control with UART/SPI/I2C peripheral integration
  • Low-power sensor node with sleep mode operation
05ATMEGA328P-PU · Alternative Models
Manufacturer Part Number Package Notes
Microchip ATMEGA328PB-PU 28-PDIP Enhanced version with more peripherals
Microchip ATMEGA328P-AU 32-TQFP SMD version, 8 ADC channels
Microchip ATMEGA168P-PU 28-PDIP 16KB Flash, lower cost
ST STM8S005K6T6C 32-LQFP 8-bit alternative, STM8 core

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

PIC16F677-I

8-bit PIC MCU, 3.5KB Flash, 128B RAM, 256B EEPROM, 12-ch 10-bit ADC, SPI/I2C, nanoWatt

Brand: MICROCHIPPackage: 20-pin PDIP / SOIC / SSOP / QFN

IN STOCK: 6485pcs

Cargo cycle: 3~7 Days

The minimum order is 1

TMS320F2810PBKA

C2000 Delfino DSP controller, 150MHz, 128KB Flash, BGA-179

Brand: TIPackage: BGA-179 (16 x 16 mm, PBK package)

IN STOCK: 3124pcs

Cargo cycle: 3~7 Days

The minimum order is 1

AT89S51

8-bit 8051 MCU, 4KB ISP Flash, 128B RAM, 32 I/O, 2 timers, UART, watchdog timer, dual DPTR, 33MHz, ISP programming, PDIP-40, Atmel AT89S51.

Brand: Atmel (Microchip)Package: PDIP-40 / TQFP-44 / PLCC-44

IN STOCK: 15000pcs

Cargo cycle: 3~7 Days

The minimum order is 1

PIC12F1840-I/SN

8-bit PIC12F MCU, 7KB Flash, 512B RAM, 8-SOIC, industrial

Brand: MICROCHIPPackage: SOIC-8 (4.9 x 3.9 mm, SN package)

IN STOCK: 6835pcs

Cargo cycle: 3~7 Days

The minimum order is 1

DSPIC33EP128MC204-I/PT

16-bit digital signal controller, 128KB Flash, 16KB RAM, TQFP-44, industrial

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

IN STOCK: 13189pcs

Cargo cycle: 3~7 Days

The minimum order is 1

2N7002

N-ch MOSFET, 60V, 115mA, 7.5Ω, SOT-23-3, logic-level gate, general-purpose small-signal switch

Brand: OnsemiPackage: SOT-23-3 (TO-236, SC-59)

IN STOCK: 15000pcs

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.