News
IndustryTSMC’s grip on advanced chipmaking will face competitionIndustryCadence joins European Chip Design Platform to support semiconductor startups and SMEsMaking chipsMarc Hijink on ASML’s Culture, Supply Chain, and GeopoliticsProcessorsIntel's post-Nova Lake CPUs take shape as Razor Lake desktop and laptop variants surfaceAI chipsHow Google’s New AI Chip Software Helps It Battle NvidiaIndiaMore IC Packaging Plants Emerge In IndiaIndustryUS Tightens China AI Chip Access as Nvidia, TSMC and Semiconductor Stocks SlideDesignAxelera AI moves into HPC with TitaniaMaking chipsChinese envoy says chip equipment export curbs threaten EU-China trade thawIndiaSEMICON India 2026 Day 2 Sees 25 MoUs, Strategic Collaborations Across Semiconductor Value ChainIndustryTSMC’s grip on advanced chipmaking will face competitionIndustryCadence joins European Chip Design Platform to support semiconductor startups and SMEsMaking chipsMarc Hijink on ASML’s Culture, Supply Chain, and GeopoliticsProcessorsIntel's post-Nova Lake CPUs take shape as Razor Lake desktop and laptop variants surfaceAI chipsHow Google’s New AI Chip Software Helps It Battle NvidiaIndiaMore IC Packaging Plants Emerge In IndiaIndustryUS Tightens China AI Chip Access as Nvidia, TSMC and Semiconductor Stocks SlideDesignAxelera AI moves into HPC with TitaniaMaking chipsChinese envoy says chip equipment export curbs threaten EU-China trade thawIndiaSEMICON India 2026 Day 2 Sees 25 MoUs, Strategic Collaborations Across Semiconductor Value Chain
EveryChip
ATmega328P-PU.

ATmega328

8-bit AVR microcontroller used in Arduino boards

Photo: oomlout, CC BY-SA 2.0, via Wikimedia Commons

The ATmega328 is an 8-bit microcontroller from Atmel’s megaAVR line. It powers many Arduino boards like the Uno and Nano. This chip offers low power use and simple programming for embedded projects.

Share on WhatsApp

  • Used in Arduino Uno, Nano, and Pro Mini boards
  • Contains 32 KB flash, 1 KB EEPROM, and 2 KB SRAM
  • Operates between 1.8 and 5.5 volts with low power modes
  • Part of the Atmel megaAVR family, now owned by Microchip

What it is

The ATmega328 is a single-chip microcontroller developed by Atmel, now part of Microchip Technology. It belongs to the megaAVR family and uses an 8-bit RISC core with modified Harvard architecture. This device is widely recognised for its role in popular development boards such as the Arduino Uno, Nano, and Pro Mini. It provides a balance of memory, input/output lines, and low power consumption suitable for autonomous systems and hobbyist projects.

How it came about

Atmel designed this chip as part of its AVR line. Microchip Technology acquired Atmel in 2016, taking over the product lineage. The chip gained prominence through its adoption by the Arduino platform, which simplified microcontroller programming for students and engineers. Variants like the ATmega328P and ATmega328PB were later introduced to offer improved power efficiency and additional peripheral interfaces.

Inside the chip

The core processes instructions at roughly one million per second per megahertz. It includes 32 general-purpose working registers and 23 input/output lines. Memory consists of 32 KB of flash storage with read-while-write support, 1 KB of EEPROM, and 2 KB of SRAM. Communication features include a USART, SPI port, and a 2-wire interface. Six analogue-to-digital converter channels are available, expanding to eight in specific packages. Five power-saving modes help reduce energy use in battery-operated devices.

How it was made

The chip operates reliably with data retention failure rates below one part per million over twenty years at 85 degrees Celsius. It supports voltage levels between 1.8 and 5.5 volts. Packages include TQFP and QFN/MLF formats, which affect the number of available analogue input channels.

ATmega328
A drawing made by EveryChip from what this page says. It is a diagram, not a picture of the real chip.

Where it went

This microcontroller is a staple in embedded systems requiring low cost and simplicity. It is the heart of many Arduino models, enabling rapid prototyping for electronics enthusiasts. Applications range from home automation sensors to small robotic controllers. Its robust reliability makes it suitable for long-term deployments where maintenance is difficult. The chip handles tasks like reading sensors, driving displays, and managing serial communication with other devices.

Versions and family

The ATmega328P is a picoPower variant offering better energy efficiency. The ATmega328PB serves as a superset, adding more UART, I2C, and SPI peripherals compared to the P version. Automotive-grade versions of both the P and PB variants exist for vehicle applications. These siblings maintain compatibility while extending features for specialized needs. The original ATmega328 remains a common reference for basic projects.

Why it matters

Its integration into the Arduino ecosystem democratized access to microcontroller programming. Millions of students and makers have used this chip to learn electronics. It established a standard for entry-level embedded development. The availability of clones and compatible boards has kept it relevant despite newer alternatives. Its longevity demonstrates the value of simple, well-documented hardware in education and industry.

Problems and reception

Users appreciate its ease of use and extensive community support. The programming mode requires specific voltage sequences on the RESET and SCK pins, which can be tricky for beginners but is well-documented. Reliability tests show excellent data retention over decades. No major controversies or recalls are noted in the provided material. It remains a trusted component for critical and casual projects alike.

Questions people ask about ATmega328

What is the ATmega328 used for?

It is commonly found in Arduino development boards like the Uno and Nano. Engineers and hobbyists use it for low-cost, low-power embedded projects such as sensors, robots, and home automation systems.

How much memory does the ATmega328 have?

The chip includes 32 KB of ISP flash memory for code, 1 KB of EEPROM for data storage, and 2 KB of SRAM for temporary variables during operation. It also has 32 general-purpose working registers.

What is the difference between ATmega328P and ATmega328PB?

The ATmega328PB is a superset of the ATmega328P. It includes additional peripherals such as more UART, I2C, and SPI interfaces. Both are variants of the original ATmega328, with the P version focusing on lower power consumption.

Good reading and sources

Where this page comes from

The facts on this page come from the Wikipedia article "ATmega328", written by its contributors and used under the CC BY-SA 4.0 licence, and from its Wikidata record (CC0). EveryChip rewrote the text in its own words, with AI assistance, and compares every page with the article to make sure no passage is copied. It may be reused under the same CC BY-SA 4.0 licence with a link back.

It may contain mistakes, and figures change over time. Nothing here is investment or buying advice. If something is wrong, tell us. Last refreshed 2026-11-14.

Photo credits on this page

The small pictures above come from Wikimedia Commons under free licences. Some are cropped to fit.

The weekly digest

Every Monday: the chip of the day, new pages on EveryChip, and the conferences and anniversaries of the week ahead.