Microchip Technology

ATMEGA328-PU - 8-Bit 20MHz 32KB Flash MCU | Microchip

MPN: ATMEGA328-PU ✓ نشط
4.5 V to 5.5 V Vdss 28-PDIP Package 20 MHz Speed 32 KB (16K x 16) Memory
الحد الأدنى للطلب: 1 |

ATMEGA328-PU نظرة عامة

The Microchip Technology ATMEGA328-PU is an 8-bit AVR microcontroller operating up to 20 MHz, with 32 KB of in-system programmable flash, 2 KB SRAM, and 1 KB EEPROM in a 28-pin through-hole DIP package. It is designed for embedded control, digital I/O, timers, serial communication, and general-purpose battery-powered products. The ATMEGA328-PU combines an AVR RISC core, programmable I/O, and serial interfaces in a device that can be assembled through holes rather than surface-mount reflow.

A microcontroller is a programmable integrated circuit that combines a CPU core, memory, and peripherals into one embedded-control component. The ATMEGA328-PU belongs to the AVR family and uses an 8-bit architecture with single-cycle instruction execution, allowing useful control performance at modest clock rates. Its DIP-28 package makes it especially suitable for Arduino-style boards, prototyping systems, educational kits, and products assembled in conventional through-hole production.

Key features include 32 KB of flash memory, 2 KB of SRAM, 1 KB of EEPROM, 20 MHz maximum clock frequency, and 32 I/O ports according to the supplied distributor result. The device also provides integrated support for common embedded-control functions, including timers, serial communication, and programmable digital interfaces. Its 28-PDIP package supports straightforward socket assembly and through-hole PCB insertion.

The AVR architecture is suitable for deterministic control loops because many instructions execute in a single clock cycle. This helps software respond efficiently to inputs while timers and serial interfaces handle time-based or communication-related tasks. The 20 MHz operating point provides additional performance margin over lower-frequency 8-bit implementations, although the actual clock source, fuse settings, and power conditions must be confirmed in the manufacturer documentation.

Typical applications include Arduino-compatible controller boards, automation and industrial control modules, temperature and environmental monitoring, LED lighting systems, data loggers, hobby robotics, and battery-powered embedded products. The through-hole package is useful where technicians need socketed replacement or where automated assembly does not handle fine-pitch SMD components.

For a new design, verify the required clock, memory, serial interfaces, and analog functions against the manufacturer datasheet before transferring an existing board. A replacement must match the package, pinout, voltage requirements, and relevant memory characteristics; a functionally similar microcontroller is not automatically a drop-in replacement.

This page combines verified distributor information, package-specific selection guidance, and engineering-oriented application context. Pricing, stock, lifecycle status, and detailed electrical limits should be confirmed against current distributor and manufacturer records before committing to production.

بدائل مباشرة لـ ATMEGA328-PU — نفس الحزمة، متوافق دبوس بدبوس. تُستثنى القطع ذات الحزم المختلفة التي تتطلب تعديل PCB.

الطرازات في هذه السلسلة

طرازات من نفس السلسلة متوافقة تمامًا مع ATMEGA328-PU (نفس عامل الشكل والبصمة) — يختلف في Package, Operating Temperature, EEPROM, Supply Voltage Range, Flash Memory.

Microchip Technology
Package: 28-PDIP (0.300 inch, 7.62 mm)
EEPROM: 512 B
Supply Voltage Range: 2.7 V to 5.5 V
قارن مع ATMEGA328-PU →
Microchip Technology
Package: 32-TQFP (7x7 mm)
Operating Temperature: -40C to +85C
EEPROM: 1 KB
قارن مع ATMEGA328-PU →
Microchip Technology
EEPROM: 1 KB
Supply Voltage Range: 4.5 V to 5.5 V
قارن مع ATMEGA328-PU →
Microchip Technology
Package: 28-PDIP (through-hole)
Operating Temperature: -40C to +85C
EEPROM: 256 B
قارن مع ATMEGA328-PU →
Microchip Technology
Operating Temperature: -40C to +85C (industrial)
EEPROM: 256 B
Supply Voltage Range: 2.5 V to 5.5 V
قارن مع ATMEGA328-PU →
Microchip Technology
Operating Temperature: -40C to +85C (TA)
Supply Voltage Range: 1.8 V to 5.5 V
قارن مع ATMEGA328-PU →
Microchip Technology
Package: 28-pin PDIP (P suffix)
Operating Temperature: -40C to +85C (industrial, I suffix)
EEPROM: 512 bytes
قارن مع ATMEGA328-PU →
Microchip Technology
Package: 28-PDIP (0.300 in, 7.62 mm)
Operating Temperature: -40C to +85C (industrial, per FindIC IND TEMP listing)
EEPROM: 512 B
قارن مع ATMEGA328-PU →

ATMEGA328-AU

✅ بديل مباشر ⚠️ مواصفات غير مُتحقق منها
Microchip Technology
📦 28-PDIP
AVR 8-bit RISC · 8-bit · 20 MHz · 32 KB (16K x 16) · 1 KB · 2 KB · 23 · 10-bit

تواصل لمعرفة السعر

عرض ورقة البيانات ←

ATMEGA328-PU

✅ بديل مباشر ⚠️ مواصفات غير مُتحقق منها
Microchip Technology
📦 28-PDIP
8-bit AVR microcontroller · 20 MHz · 32 KB (16K x 16) · 1 KB · 2 KB · AVR enhanced RISC · 28-PDIP · Through-hole DIP

تواصل لمعرفة السعر

عرض ورقة البيانات ←

ATMEGA328PB-PU

✅ بديل مباشر
📦 28-PDIP
ATmega328PB family relation is mentioned, but package, pinout, memory, voltage, and timing differences are not verified in the supplied data; substitution requires datasheet confirmation

📋 بديل مرجعي (غير موجود في الكتالوج)

ATMEGA168-20PU

✅ بديل مباشر
Microchip Technology
📦 28-PDIP
AVR 8-bit RISC · 8-Bit · 20 MHz · 16 KB (8K x 16) · 512 B · 1 KB · 2.7 V to 5.5 V · 23

تواصل لمعرفة السعر

عرض ورقة البيانات ←

ATMEGA88PA-PU

✅ بديل مباشر
Microchip Technology
📦 28-PDIP
AVR · 8-Bit · 20 MHz · 8 KB (4K x 16) · FLASH · 512 x 8 B · 1K x 8 B · 1.8 V to 5.5 V

تواصل لمعرفة السعر

عرض ورقة البيانات ←

ATMEGA48PA-PU

✅ بديل مباشر
Microchip Technology
📦 28-PDIP
AVR 8-bit RISC · 4 KB (2K x 16) · 256 B · 512 B · 20 MHz · 20 MIPS at 20 MHz · 2.5 V to 5.5 V · 23 lines

تواصل لمعرفة السعر

عرض ورقة البيانات ←

ATMEGA328-PU الحدود القصوى والخصائص الكهربائية

Product Type 8-bit AVR microcontroller
Maximum Clock Speed 20 MHz
Flash Memory 32 KB (16K x 16)
EEPROM Memory 1 KB
SRAM 2 KB
Architecture AVR enhanced RISC
العلبة 28-PDIP
Package Type Through-hole DIP
I/O Ports 32 I/O ports
جهد التغذية 4.5 V to 5.5 V
Program Memory Type In-system programmable flash
Programming In-system programming
Instruction Execution Single-clock-cycle execution for powerful instructions
نمط التركيب Through-hole
Device Class General-purpose 8-bit microcontroller

دليل تكوين أطراف ATMEGA328-PU through-hole dip

تكوين الأطراف لـ ATMEGA328-PU (حزمة through-hole dip). تتضمن هذه الدائرة المتكاملة الرقمية GPIO وواجهات الاتصال (UART وSPI وI2C) وأطراف الطاقة. راجع ورقة بيانات الشركة المصنعة لوظائف الأطراف البديلة وخيارات التكوين. ضرورية لتصميم الأنظمة المدمجة وتخطيط PCB.

مخطط توزيع أطراف حزمة through-hole dip لـ ATMEGA328-PU

لا تتوفر بيانات مفصلة لمخطط التوصيلات لـ ATMEGA328-PU.

راجع ورقة البيانات للحصول على تكوين الأطراف الكامل.

التطبيقات النموذجية

ATMEGA328-PU مناسب لـ 6 التطبيقs: Arduino-Compatible Controller Boards, Industrial Automation Control, Temperature and Environmental Monitoring, LED Lighting and Display Control, Battery-Powered Sensor Nodes, Programmable Logic and Relay Control.

🔧

Arduino-Compatible Controller Boards

The ATMEGA328-PU fits socketed Arduino-style controller boards that require a 28-pin through-hole AVR device and in-system programming. Its verified 32 KB flash, 2 KB SRAM, 1 KB EEPROM, and 20 MHz maximum clock provide a practical baseline for bootloaders, sensor handling, digital control, and serial interfaces. Install it only after confirming the board pinout, reset circuit, clock source, supply rails, and selected AVR core. A software image compiled for a different ATmega memory map or boot section may not transfer correctly.

🏭

Industrial Automation Control

ATMEGA328-PU is suitable for small automation modules where deterministic 8-bit control, digital inputs, outputs, timers, and serial diagnostics are required. The verified 32 I/O ports and 20 MHz maximum clock provide resources for sensing and actuator coordination, while the 28-PDIP package supports conventional through-hole assembly. For industrial use, verify operating temperature, ESD requirements, isolation, grounding, supply tolerance, and enclosure temperature independently; those limits are not present in the supplied verified snippets.

🧩

Temperature and Environmental Monitoring

The ATMEGA328-PU can serve as the control core for temperature, humidity, and environmental monitoring when the design uses supported digital or analog sensor interfaces. Its 32 KB flash allows application firmware, calibration logic, and communication code to coexist, while the 2 KB SRAM supports buffering and stack requirements. The supplied data does not list ADC resolution or sensor-specific timing, so sensor selection and analog accuracy must be checked against the manufacturer datasheet before finalizing the measurement path.

💡

LED Lighting and Display Control

ATMEGA328-PU can control LED lighting, indicators, and display sequences through its digital I/O and timer resources. The verified 32 I/O ports and 20 MHz maximum clock make it appropriate for multiple channels, status indicators, PWM-based dimming, and menu or animation logic when the external driver and current requirements are added appropriately. LED modules must include suitable transistor or constant-current drive; do not assume the microcontroller I/O can directly supply the full LED load.

🔋

Battery-Powered Sensor Nodes

ATMEGA328-PU can be used in battery-powered sensor nodes when firmware uses low-power modes and the board avoids unnecessary always-on loads. The verified 8-bit architecture and 20 MHz maximum clock support responsive control without requiring a larger processor, while the DIP package favors prototypes and low-volume assemblies. Battery-life calculations require sleep current, active current, regulator quiescent current, and wake-up behavior; those values are not included in the supplied verified data and must be checked before making runtime claims.

⚡

Programmable Logic and Relay Control

The ATMEGA328-PU is appropriate for small programmable controller boards that sequence relays, indicators, motors, or other discrete loads. Its 32 I/O ports and 8-bit AVR control model can represent simple state machines, debounced inputs, timing sequences, and safety interlocks. Relay contacts and inductive loads require driver transistors, flyback protection, isolation where required, and careful separation between high-current and low-level circuitry. The DIP package makes socketed serviceability attractive, but it does not remove the need for proper power and transient protection.

What is the ATMEGA328-PU?
The ATMEGA328-PU is an 8-bit AVR microcontroller from Microchip Technology with a 20 MHz maximum clock, 32 KB flash, 2 KB SRAM, and 1 KB EEPROM. According to the verified DigiKey result, it is packaged in a 28-PDIP through-hole package. It is designed for embedded-control, serial-communication, timer, digital-I/O, and Arduino-compatible applications. The DIP package is useful for prototyping and socketed assemblies, whereas surface-mount production designs may prefer a smaller package.
What are the key specifications of ATMEGA328-PU that engineers should know?
The ATMEGA328-PU is specified as an 8-bit AVR microcontroller with a maximum clock speed of 20 MHz, 32 KB flash memory, 1 KB EEPROM, 2 KB SRAM, 32 I/O ports, and a 4.5 V to 5.5 V supply range. The verified Mouser and DigiKey results also identify the part as an AVR megaAVR-family device in a 28-PDIP package. These figures define the baseline for clock, memory, I/O, supply, and package selection, while fuse settings and analog limits must be checked in the manufacturer documentation.
Where can I download the ATMEGA328-PU datasheet PDF?
The ATMEGA328-PU datasheet can be downloaded from the listed ATMEL datasheet PDF page at AllDataSheet and from the Microchip datasheet index at Datasheets.com. The supplied verified result identifies the document as a 32-page PDF under the ATMEL listing, while a separate result points to the Microchip-hosted datasheet. Use the manufacturer PDF or the product-linked copy for design review, and verify the revision, pinout, electrical limits, and programming requirements before release.
Where is the ATMEGA328-PU pinout?
The ATMEGA328-PU pinout is documented in the manufacturer datasheet and corresponds to its 28-PDIP through-hole package. The verified distributor result identifies the package as 28-PDIP, but the supplied data does not include a pin-by-pin table, so a complete verified pinout cannot be reconstructed here. Use the manufacturer datasheet to confirm power, ground, reset, programming, crystal, and I/O assignments before PCB layout or socket replacement.
What is the ATMEGA328-PU supply voltage range?
The verified DigChip result specifies a 4.5 V to 5.5 V supply-voltage range for the ATMEGA328-PU. The device should therefore be designed for a 5 V-class rail when operated within the cited range. The result also reports a 16 MHz clock-speed entry, while the verified DigiKey and Mouser results identify the same ATMEGA328-PU device as a 20 MHz part; clock configuration and fuse settings must be reconciled against the authoritative manufacturer datasheet.
Is ATMEGA328-PU compatible with Arduino boards?
ATMEGA328-PU is commonly used in Arduino-compatible 28-pin DIP controller designs because it combines the AVR architecture, in-system programming, and the 28-PDIP form factor with socketed assembly. Compatibility depends on the board pinout, bootloader, clock configuration, supply voltage, and selected Arduino core. The verified data does not identify a specific Arduino board, so verify those board-level requirements before installation.
What can replace ATMEGA328-PU?
A replacement must match the ATMEGA328-PU electrically, mechanically, and software-wise; the closest candidates may be related AVR devices, but a functional alternative is not necessarily a drop-in replacement. The supplied cross-reference results mention ATmega328PB, ATmega168, ATmega88, ATmega48, and other devices, but do not provide enough verified specifications to certify a pin-to-pin 28-PDIP substitute. Confirm package, pinout, memory, voltage, peripheral compatibility, and boot behavior before ordering.
Is ATMEGA328-PU the same as ATMEGA328-AU?
No. ATMEGA328-PU and ATMEGA328-AU are related Microchip ATmega devices, but the supplied data identifies ATMEGA328-PU as a 28-PDIP part while ATMEGA328-AU is listed as a separate site MPN without package data. Package differences prevent assuming direct substitution. Confirm the exact package, pinout, operating range, memory, and programming requirements in the manufacturer documentation.
ATMEGA328-PU vs ATMEGA328PB: which is better for an Arduino-compatible design?
ATMEGA328-PU is the verified 28-PDIP choice described in the supplied distributor data, while ATMEGA328PB appears in a cross-reference discussion but lacks verified package and electrical details here. For a socketed Arduino-compatible PCB, ATMEGA328-PU may be preferable when its 28-PDIF footprint is required; ATMEGA328PB should be selected only after confirming its package, pin compatibility, memory, and bootloader support. The cross-reference data does not establish drop-in equivalence.
When should I choose ATMEGA328-PU over a smaller AVR microcontroller?
Choose ATMEGA328-PU when the design benefits from 32 KB flash, 2 KB SRAM, 1 KB EEPROM, 32 I/O ports, and a socketed 28-PDIP package. A smaller AVR device may reduce board area or memory use, but it can also require software and pinout changes. The supplied data does not quantify the alternatives, so this choice should be based on required memory, I/O count, package availability, supply voltage, and tool-chain compatibility.
Is ATMEGA328-PU suitable for battery-powered embedded control?
ATMEGA328-PU can be considered for low-power embedded control when the board uses appropriate clock, sleep-mode, and power-management settings. The verified data confirms the 8-bit AVR architecture and 20 MHz maximum clock, but it does not provide sleep-mode current or operating-temperature values. Those specifications must be obtained from the manufacturer datasheet before making a battery-life or environmental reliability claim.
How much does ATMEGA328-PU cost and is it in stock?
The verified search results identify ATMEGA328-PU as available through DigiKey and Mouser, but the supplied snippets do not provide a reliable quantity-specific price table or a stable stock quantity. XAIPART tiers shown here are reference figures as of 2026-10-21 and must be confirmed at checkout. For commercial decisions, request the current manufacturer lifecycle status, distributor inventory, authorized-source traceability, and volume pricing.
What is the lead time for ATMEGA328-PU?
The supplied verified results show distributor listings from DigiKey and Mouser, but they do not state a numeric factory or distributor lead time. Treat the part as requiring a current quotation rather than assuming immediate availability. The lead time depends on inventory, authorized sourcing, package quantity, and manufacturing schedule; confirm the current lead time with the selected distributor as of 2026-10-21.
Does ATMEGA328-PU support RoHS, REACH, or automotive qualification?
The supplied verified data does not explicitly state RoHS, REACH, or AEC-Q100 status for ATMEGA328-PU. Compliance must therefore be recorded as unknown rather than assumed from the manufacturer name or package. For procurement, request the current Microchip product-page declaration or manufacturer documentation. Automotive qualification is a separate issue and should not be inferred merely because the device is suitable for some embedded-control applications.
What programming and tool-chain considerations apply to ATMEGA328-PU?
ATMEGA328-PU uses in-system programmable flash according to the verified product descriptions. A practical design must provide the correct reset, clock, programming interface, and supply arrangement, then use a programmer or bootloader compatible with the selected AVR tool chain. The verified snippets do not identify a specific programming tool or bootloader version, so software compatibility should be checked with the actual development environment and board schematic.

بيانات مرجعية هندسية لـ ATMEGA328-PU — المقارنة وإرشادات التصميم ومعلومات الامتثال.

دليل الاختيار

Choose ATMEGA328-PU when the design needs a verified 8-bit AVR controller with 20 MHz maximum clock, 32 KB flash, 2 KB SRAM, 1 KB EEPROM, 32 I/O ports, and a through-hole 28-PDIP package. It is a practical fit for socketed prototyping, Arduino-style boards, and conventional through-hole embedded products. Do not select ATMEGA168-20PU when 16 KB flash is insufficient for the application, and do not assume ATMEGA88PA-PU or ATMEGA48PA-PU are equivalent because their memory capacities and peripheral mappings are not provided here. ATMEGA328PB-PU may be a relevant family candidate, but the supplied evidence does not prove package, pin, memory, voltage, or software compatibility. For any substitution, verify the manufacturer datasheet and test the assembled board with the intended programmer and bootloader.

المقارنة مع البدائل

المعامل هذا المنتج ATMEGA328-AU ATMEGA328PB-PU ATMEGA168-20PU ATMEGA88PA-PU ATMEGA48PA-PU
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Architecture AVR 8-bit AVR family; exact variant unverified AVR family; exact variant unverified AVR family AVR family AVR family

أبرز الفروقات

  • Verified 32 KB flash capacity (مقابلATMEGA168-20PU)
  • Verified 2 KB SRAM and 1 KB EEPROM (مقابلATMEGA88PA-PU)
  • Through-hole 28-PDIP format (مقابلATMEGA328-AU)

ملاحظات التصميم

Reserve the exact 28-pin DIP footprint, socket or plated through-holes, decoupling locations, reset network, and programming access before committing the board layout. Because the verified data identifies a 28-PDIP package, preserve pin numbering and mechanical clearance around the socket. Do not rely on a generic 28-pin footprint until the manufacturer pinout and pin 1 orientation have been checked.

Design the supply network around the verified 4.5 V to 5.5 V range and place local decoupling close to the device power pins. Separate noisy switching or relay supplies from the controller rail, and confirm regulator start-up, load transients, and brownout behavior in the full board design. The supplied data does not provide current consumption, so thermal and power-loss calculations require manufacturer electrical data.

Do not substitute a related ATmega solely because it is described as pin compatible. The ATmega168 option has 16 KB flash versus 32 KB for ATMEGA328-PU, while the ATmega88 and ATmega48 alternatives may have lower memory capacity. A replacement must be checked for exact package, pinout, supply, clock, memory map, bootloader, fuse, and peripheral compatibility before production use.

Keep clock and reset routing short, maintain a stable ground reference, and place programming-interface components where they do not introduce noise or accidental reset conditions. For externally connected sensor or relay lines, add protection appropriate to the actual cable environment. The DIP package simplifies rework but does not eliminate high-impedance analog layout and switching-noise concerns.

The ATMEGA328-PU is a digital microcontroller rather than a power semiconductor, so SOA is not applicable. Its primary thermal concern is total board dissipation and the temperature rise of the surrounding PCB and socket at the verified maximum clock and system voltage. Estimate junction temperature only after obtaining the manufacturer power and thermal-resistance data; those values are not present in the supplied web snippets.

معلومات الامتثال

RoHS
Unknown
REACH
Unknown
AEC-Q100
Unknown
خالٍ من الرصاص
Unknown
خالٍ من الهالوجين
Unknown
المعادن المتنازع عليها
Unknown

The supplied distributor and search snippets do not explicitly state RoHS, REACH, AEC-Q100, lead-free, halogen-free, or conflict-minerals status. Compliance should be confirmed from the current Microchip product documentation.

عمليات بحث ذات صلة

ATMEGA328-PU datasheet Microchip ATMEGA328-PU ATMEGA328-PU 20MHz 32KB flash ATMEGA328-PU 28-PDIP pinout ATMEGA328-PU Arduino-compatible controller ATMEGA328-PU price and stock ATMEGA328-PU lead time ATMEGA328-PU vs ATMEGA168-20PU ATMEGA328-PU drop-in replacement ATMEGA328-PU 4.5V to 5.5V supply ATMEGA328-PU in-system programmable flash AVR 8-bit microcontroller DIP replacement Where to buy ATMEGA328-PU online Is ATMEGA328-PU RoHS compliant ATMEGA328-PU for battery powered sensor node

المكونات والمصطلحات ذات الصلة

Microchip Technology ATMEGA328-PU AVR 8-bit microcontroller AVR enhanced RISC architecture programmable microcontroller in-system programmable flash 32 KB flash memory 2 KB SRAM 1 KB EEPROM 20 MHz clock 32 I/O ports 28-PDIP DIP package through-hole mounting Arduino-compatible controller embedded control industrial automation sensor node LED lighting control UART SPI I2C RS-485 RoHS REACH AEC-Q100 ATMEGA328-AU ATMEGA328PB-PU ATMEGA168-20PU ATMEGA88PA-PU ATMEGA48PA-PU
عرض سعر سريع RFQ
املأ التفاصيل الكاملة — سيرد فريق المبيعات لدينا خلال 24 ساعة
رقم القطعة الشركة المصنعة الحزمة QTY السعر المستهدف الإجمالي
✓
تم إرسال عرض السعر!

سنرد على بريدك الإلكتروني خلال 24 ساعة

1
تم إرسال طلب عرض السعر
2
تم استلام عرض السعر
3
تم تقديم الطلب
4
الدفع
5
تم الشحن
6
تم التسليم
عرض تفاصيل طلب عرض السعر