Opens in a new tab

ATMEGA328-AU

8-bit AVR MCU, 20 MHz, 32KB Flash, 2KB SRAM, TQFP-32, 1.8-5.5V

13892

Effective Inventory

Image for reference only

Manufacturer Part:

ATMEGA328-AU

Package:

TQFP-32 (7 x 7 x 1.0 mm)

Brand:

Quality Commitment

Shipping & Payment

Service & Packaging

Product Manual

Description

Product Overview

The ATMEGA328-AU is an 8-bit AVR RISC microcontroller from Microchip Technology with 32 KB ISP Flash, 2 KB SRAM, 1 KB EEPROM, 23 GPIO lines, and operating frequency up to 20 MHz. It features a rich peripheral set including USART, SPI, I2C, 10-bit ADC, and multiple timers in a compact TQFP-32 package.

Key Specifications

Core 8-bit AVR RISC
Max Frequency 20 MHz
Flash Memory 32 KB
SRAM 2 KB
EEPROM 1 KB
ADC 8-channel 10-bit (TQFP/QFN)
Communication USART, SPI, I2C (TWI)
Package TQFP-32 (7 x 7 mm)

Features

  • 131 powerful instructions, most single clock cycle execution
  • 32 x 8 general purpose working registers
  • In-system programming (ISP) via boot program
  • Read-while-write self-programming Flash
  • 6 sleep modes for power optimization

Applications

  • Arduino Uno and compatible boards
  • Embedded control and automation
  • Sensor interface and data logging
  • Motor control and power management
Product Introduction: ATMEGA328-AU Product Introduction

The ATMEGA328-AU is an 8-bit AVR RISC microcontroller from Microchip Technology, widely known as the heart of the Arduino Uno platform. It combines 32 KB ISP Flash memory with read-while-write capability, 2 KB SRAM, and 1 KB EEPROM in a TQFP-32 package. The device achieves throughputs approaching 1 MIPS per MHz, balancing power consumption and processing speed. With a comprehensive peripheral set including USART, SPI, I2C, 10-bit ADC, and flexible timer/PWM modules, it is well-suited for a wide range of embedded control applications.

Working Principle: ATMEGA328-AU Working Principle

The ATMEGA328-AU executes instructions from its AVR RISC core with a 2-stage pipeline, achieving near-single-cycle execution for most instructions. The Harvard architecture separates program and data memory buses for concurrent access. The 32 general-purpose registers are directly connected to the ALU, allowing single-cycle register-to-register operations. In-system programming allows firmware updates without removing the device. Multiple sleep modes (Idle, ADC Noise Reduction, Power-save, Power-down, Standby) minimize power consumption for battery-operated applications.

Pin Description: ATMEGA328-AU Pin Definition and Functions
Pin Name Type Function
1 PD3 (INT1/OC2B) I/O Port D, INT1, Timer2 compare B
9 PB6 (XTAL1/TOSC1) I/O Crystal oscillator input
10 PB7 (XTAL2/TOSC2) I/O Crystal oscillator output
17 PB3 (MOSI/OC2A) I/O SPI MOSI, Timer2 compare A
18 PB4 (MISO) I/O SPI MISO
19 PB5 (SCK) I/O SPI clock
23-30 PC0-PC7 I/O Port C, ADC0-ADC5, I2C (SDA/SCL)
4,6 VCC, AVCC Power Digital and analog supply
5,21 GND Ground Ground
Application Scenarios: In which products and applications is ATMEGA328-AU used
  • Arduino and compatible development boards
  • Embedded sensor interface and data acquisition
  • Motor speed control and power management
  • Home automation and smart IoT devices
  • Consumer electronics and portable instruments
Alternative Models: What chips are recommended as replacements for ATMEGA328-AU
Manufacturer Part Number Package Notes
Microchip ATMEGA328PB-AU TQFP-32 Enhanced version, 2nd SPI/UART/I2C
Microchip ATMEGA328P-AU TQFP-32 picoPower variant, lower consumption
Microchip ATMEGA328-MU QFN-32 Smaller QFN package
GigaDevice GD32E230K8U6 QFN-32 ARM Cortex-M23, 32-bit upgrade
Microchip ATMEGA328P-PU PDIP-28 Through-hole DIP version

Recommend Parts

ISL95855HRTZ-T

IMVP8 3+2+1 phase buck controller, R3 technology, 4.5-25V input, 48-TQFN

Brand: Renesas

Package: 48-TQFN (6×6 mm, exposed pad)

IN STOCK: 2156pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IRFB4020PBF

200V N-Channel HEXFET Power MOSFET, 31A, 68 mΩ RDS(on), TO-220AB

Brand: infineon

Package: TO-220AB

IN STOCK: 14149pcs

Cargo cycle: 3-7 Days

The minimum order is 1

NRF52832-QFAA-T

Nordic BLE SoC, ARM Cortex-M4 @ 64MHz, 64KB Flash, 32KB RAM, QFN-48

Package: See datasheet

IN STOCK: 10958pcs

Cargo cycle: 3-7 Days

The minimum order is 1

UCC28740DR

CVCC Flyback Controller, 700V startup, opto feedback, <10mW no-load, SOIC-7

Brand: TI

Package: SOIC-7 (4.9 x 3.9 x 1.75 mm)

IN STOCK: 4840pcs

Cargo cycle: 3-7 Days

The minimum order is 1

MMUN2211LT1G

NPN digital transistor, R1=10kΩ R2=10kΩ, 50V, 100mA, SOT-23-3, pre-biased BRT switch

Brand: Onsemi

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

IN STOCK: 8500pcs

Cargo cycle: 3-7 Days

The minimum order is 1

PIC32MX795F512L-80I/PF

32-bit PIC32MX MCU with Ethernet/CAN/USB, 80MHz, 512KB Flash, TQFP-100, industrial

Brand: MICROCHIP

Package: TQFP-100 (14 x 14 mm)

IN STOCK: 7912pcs

Cargo cycle: 3-7 Days

The minimum order is 1