Microchip Technology

ATMEGA32U4 - 8-bit AVR MCU, 32KB Flash, USB 2.0 | Microchip

料号: ATMEGA32U4 ✓ 量产中
有现货 1-3 个工作日内发货
2.7 V to 5.5 V Vdss 44-pin TQFP (10x10 mm) Package 16 MHz Speed 32 KB (16K x 16), In-System Programmable Memory
低至 $3.72 USD / 件
最小起订量: 1 |
价格更新于: 2026-10-11
批量定价
数量 单价 小计
1 $5.8 $5.80
10 $5.22 $52.20
100 $4.65 $465.00
500 $4.18 $2,090.00
1,000 $3.72 $3,720.00
ℹ️ 所有价格均以 USD 计价

ATMEGA32U4 概述

The Microchip ATmega32U4 is a low-power CMOS 8-bit AVR RISC microcontroller with 32 KB of In-System Programmable Flash, USB 2.0 full-speed/low-speed device controller, 2.5 KB SRAM, and 1 KB EEPROM in a 44-pin TQFP package. It executes most instructions in a single clock cycle, achieving throughputs approaching 1 MIPS per MHz and enabling a balance between power consumption and processing speed.

What is an 8-bit microcontroller? An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU core, program memory (Flash), data memory (SRAM), non-volatile storage (EEPROM), and peripherals such as timers, ADCs, and communication interfaces. The AVR family from Atmel/Microchip uses a RISC architecture with 32 general-purpose working registers directly connected to the arithmetic logic unit, allowing single-cycle register access. The ATmega32U4 sits in the broader taxonomy: microcontroller -> 8-bit MCU -> AVR family -> megaAVR class, distinguished from the tinyAVR and XMega sub-families by larger memory and richer peripherals.

Key features include 26 general-purpose I/O lines, four flexible Timer/Counters with compare modes and PWM, one high-speed Timer/Counter, a 12-channel 10-bit ADC, a USART, SPI, I2C (TWI), JTAG debug interface, and an integrated USB 2.0 full-speed/low-speed controller with on-chip transceiver. The device supports 2.7V to 5.5V operation at industrial temperature range (-40C to +85C) and includes power-save modes for battery-driven applications.

Typical applications include USB Human Interface Devices (HID) such as keyboards, mice, and game controllers, custom MIDI controllers, Arduino Leonardo / Pro Micro compatible boards, low-cost data acquisition front-ends, and industrial control panels. The integrated USB eliminates the need for an external bridge chip, reducing BOM cost and PCB area.

When designing with this device, ensure the USB D- line is properly matched and that VBUS is sensed through a voltage divider to the UVCC pin. Decouple AVCC and VCC with 100 nF ceramic capacitors placed within 5 mm of the supply pins.

直接替换替代料: ATMEGA32U4 ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。

本系列中的变体

可与以下型号直接替换的同系列型号: ATMEGA32U4 (相同外形与封装尺寸) ——差异在于 Package, RoHS Status, Throughput, USB Interface, EEPROM.

Microchip Technology
Package: 44-TQFP (10x10 mm)
EEPROM: 1 KB (1024 B)
对比 ATMEGA32U4 →
Microchip Technology
Package: 44-TQFP (10x10 mm)
RoHS Status: Compliant (lead-free, green)
Throughput: 16 MIPS at 16 MHz
对比 ATMEGA32U4 →
Microchip Technology
Package: 44-VQFN (7x7 mm), exposed pad
RoHS Status: Compliant (Green)
Throughput: Up to 16 MIPS (approx. 1 MIPS/MHz)
对比 ATMEGA32U4 →

快速对比工具——选择替代料号进行并排对比:

ATMEGA16U4-AU

✅ 直接替换
Microchip Technology
📦 TQFP-44 (10x10 mm)
AVR 8-bit RISC · 8-bit · 16 MHz · 16 KB (8K x 16) · 8 KB · 1 KB (1024 B) · 2.5 KB · 2.7 V to 5.5 V

✓ 有现货

$2.19 / 个

查看数据手册 →

ATMEGA32U4-MUR

✅ 直接替换
Microchip Technology
📦 QFN-44 (7x7 mm)
8-bit AVR RISC · 16 MHz · 32 KB (16K x 16) · 2.5 KB · 1 KB · USB 2.0 full-speed/low-speed device · 10-bit, 12-channel · JTAG (on-chip debug)

✓ 有现货

$4.86 / 个

查看数据手册 →

ATMEGA32U4-AUR

✅ 直接替换
Microchip Technology
📦 TQFP-44 (10x10 mm)
8-bit AVR RISC · 32 KB (16K x 16), self-programming ISP · 2.5 KB · 1 KB · 16 MHz · 16 MIPS at 16 MHz · 131 powerful instructions, most single-cycle · USB 2.0 full-speed/low-speed device with on-chip transceiver

✓ 有现货

$5.2 / 个

查看数据手册 →

ATMEGA32U4 最大额定值与电气特性

Architecture AVR enhanced RISC, 8-bit
Program Memory (Flash) 32 KB (16K x 16), In-System Programmable
SRAM 2.5 KB
EEPROM 1 KB
General Purpose I/O Lines 26
General Purpose Working Registers 32
最大时钟频率 16 MHz
Throughput Up to 16 MIPS (1 MIPS per MHz)
USB Interface USB 2.0 full-speed / low-speed device, on-chip transceiver
ADC 12-channel, 10-bit
Timer/Counters 4 flexible + 1 high-speed (compare modes, PWM)
Communication Interfaces 1x USART, 1x SPI, 1x I2C (TWI)
JTAG Interface Yes (on-chip debug)
Operating Voltage 2.7 V to 5.5 V
工作温度 -40 C to +85 C
封装 44-pin TQFP (10x10 mm)
RoHS 状态 Compliant (per ATMEGA32U4-AU DigiKey listing)
Programming Method ISP via SPI, JTAG, USB bootloader

ATMEGA32U4 引脚配置

Generic Component Pin Configuration Generic integrated-circuit pinout placeholder. Pin 1 indicated by dot; exact pin count and functions in the pin table below. 1 N 2 N-1 3 N-2 4 N-3 Pin Configuration See pin table below for pin functions Package-specific diagram not available
引脚 1 AVCC — Analog supply voltage for ADC
引脚 2 AREF — ADC reference voltage
引脚 3 PF1 — ADC1 / GPIO
引脚 4 PF0 — ADC0 / GPIO
引脚 5 PE6 — INT6 / GPIO
引脚 6 PE1 — TXD1 / USART TX
引脚 7 PE0 — RXD1 / USART RX
引脚 8 VCC — Digital supply voltage
引脚 9 GND — Ground
引脚 10 PE2 — HWB (Hardware Boot) / GPIO
引脚 11 PE3 — OC3A / GPIO
引脚 12 PB0 — SS / GPIO
引脚 13 PB1 — SCK / GPIO
引脚 14 PB2 — MOSI / PDI / GPIO
引脚 15 PB3 — MISO / PDO / GPIO
引脚 16 PB4 — OC2A / GPIO
引脚 17 PB5 — OC1A / GPIO
引脚 18 PB6 — OC1B / GPIO
引脚 19 PB7 — OC0A / OC1C / GPIO
引脚 20 GND — Ground
引脚 21 VCC — Digital supply voltage
引脚 22 XTAL2 — Crystal oscillator output
引脚 23 XTAL1 — Crystal oscillator input
引脚 24 UCAP — USB decoupling capacitor
引脚 25 VBUS — USB VBUS sense
引脚 26 D- — USB data minus
引脚 27 D+ — USB data plus
引脚 28 UGND — USB ground
引脚 29 UVCC — USB supply voltage
引脚 30 PD0 — OC0B / SCL / GPIO
引脚 31 PD1 — SDA / GPIO
引脚 32 PD2 — RXD1 / GPIO
引脚 33 PD3 — TXD1 / INT1 / GPIO
引脚 34 PD4 — ICP1 / INT2 / GPIO
引脚 35 PD5 — XCK1 / GPIO
引脚 36 PD6 — T1 / GPIO
引脚 37 PD7 — T0 / GPIO
引脚 38 PC7 — ICP3 / GPIO
引脚 39 PC6 — OC3A / GPIO
引脚 40 PC5 — OC4A / GPIO
引脚 41 PC4 — OC4B / GPIO
引脚 42 PC3 — OC3C / GPIO
引脚 43 PC2 — OC3B / GPIO
引脚 44 RESET — Reset input (active low)

典型应用

ATMEGA32U4 适用于 6 应用s: USB HID Keyboards and Custom Mechanical Keyboards, Arduino Leonardo and Pro Micro Compatible Boards, USB MIDI Controllers and Audio Interfaces, Custom Game Controllers and Flight Sim Panels, Industrial Data Acquisition Front-Ends, Battery-Powered HID Peripherals and Wearables.

🎧

USB HID Keyboards and Custom Mechanical Keyboards

The ATMEGA32U4's integrated USB 2.0 full-speed device controller makes it the canonical choice for USB HID keyboards, including the entire QMK mechanical keyboard ecosystem. With 32 KB Flash, the MCU can host the QMK firmware (typically 12-20 KB) plus USB stacks and keymaps, leaving room for custom macro layers. The 26 GPIO lines accommodate full 60%-100% keyboard matrices with multiple rows and columns. Native USB HID eliminates the need for an external bridge chip, lowering BOM cost. ATMEGA32U4-based boards like the Elite-C and Pro Micro dominate the custom keyboard market, running at 5 V to match standard keyboard logic levels.

🧩

Arduino Leonardo and Pro Micro Compatible Boards

The ATMEGA32U4 is the silicon heart of the Arduino Leonardo, Arduino Micro, SparkFun Pro Micro, and dozens of compatible clones, because its integrated USB enables native HID (keyboard, mouse) emulation without a separate serial chip. The MCU exposes 26 GPIO mapped to Arduino digital and analog pins, plus I2C/SPI/UART, matching standard Arduino shields. Running at 16 MHz and 5 V, the 32U4 is fully 5 V tolerant and can directly drive 5 V peripherals. For maker projects requiring USB device classes beyond serial, the 32U4 is the only AVR part in its class with on-chip USB, making it the de-facto Arduino MCU for HID, CDC, and MIDI projects.

🎧

USB MIDI Controllers and Audio Interfaces

USB MIDI is a key application area for the ATMEGA32U4 because it can present itself as a USB MIDI device class with no external logic. DJ controllers, foot switches, drum pads, and studio MIDI surfaces all use the 32U4 to send Note On/Off, Control Change, and Program Change messages over USB. The MCU's 16 MIPS throughput easily handles USB packet turnaround at 1 ms intervals, and the 12-channel 10-bit ADC reads analog potentiometers and faders. Because MIDI over USB is class-compliant, no driver is needed on modern operating systems, so the 32U4-based controller works plug-and-play on macOS, Windows, and Linux.

🎮

Custom Game Controllers and Flight Sim Panels

Flight sim builders, sim racing wheel makers, and custom gamepad manufacturers use the ATMEGA32U4 to implement USB HID game controllers with multiple axes, buttons, and rotary encoders. The integrated USB HID bootloader allows end-users to reflash firmware without a programmer, and the 12-channel ADC reads analog axes directly. With QMK or LUFA firmware, the 32U4 can implement complex input mixing, button debouncing, and rotary encoder handling. The 5 V tolerance simplifies interface to mechanical switches and Hall-effect sensors without level shifters.

🏭

Industrial Data Acquisition Front-Ends

Low-cost industrial DAQ and control panels use the ATMEGA32U4 because of its 12-channel 10-bit ADC, multiple timers, and USB connectivity for sending measurements to a host PC. The 32U4 can sample 8-12 sensors at moderate rates (10 kHz aggregate) and stream them over USB to a SCADA or logging application. The industrial temperature range (-40 C to +85 C) supports factory environments, and the watchdog timer plus brown-out detector provide robustness for unattended installations. The integrated USB simplifies cabling versus RS-232 or RS-485, reducing panel wiring cost.

📱

Battery-Powered HID Peripherals and Wearables

Battery-powered wireless keyboards, remote controls, and wearable HID devices leverage the ATMEGA32U4's multiple power-save modes to extend runtime on coin-cell or Li-Po batteries. In power-down mode the 32U4 consumes only microamps and can wake on USB or external interrupts. While the 32U4 itself lacks integrated radio, designers pair it with an external nRF24 or BLE module over SPI to add wireless. The integrated USB simplifies charging and firmware updates without an extra bridge chip. Power-aware firmware (LUFA or Arduino-based) can put the 32U4 to sleep between key events, achieving months of runtime on a small Li-Po.

What is the program memory size of ATMEGA32U4?
The ATMEGA32U4 contains 32 KB of In-System Programmable Flash program memory (16K x 16), according to the Microchip/Atmel datasheet. The Flash supports Read-While-Write operation, enabling firmware updates without halting application execution. A smaller variant, ATmega16U4, ships with 16 KB Flash and shares the same datasheet.
Does ATMEGA32U4 have built-in USB?
Yes. The ATMEGA32U4 integrates a USB 2.0 full-speed / low-speed device controller and on-chip transceiver, eliminating the need for an external bridge chip such as the FTDI FT232. This makes it the canonical choice for Arduino Leonardo, Arduino Micro, and Pro Micro boards, and for USB HID devices such as keyboards and mice.
What is the operating voltage range of ATMEGA32U4?
The ATMEGA32U4 operates from 2.7 V to 5.5 V. At 5 V, the part runs up to 16 MHz; at lower voltages the maximum clock must be reduced. The MCU supports -40 C to +85 C industrial temperature range, making it suitable for both consumer and industrial environments.
What is the difference between ATMEGA32U4 and ATMEGA16U4?
The two parts share the same datasheet and pinout; the difference is program memory. ATmega32U4 has 32 KB Flash, 2.5 KB SRAM and 1 KB EEPROM, while ATmega16U4 has 16 KB Flash, 1.25 KB SRAM and 512 B EEPROM. All peripherals, GPIO count and the USB controller are identical, so ATmega16U4 is a drop-in alternative when 16 KB Flash is sufficient.
What package does ATMEGA32U4 ship in?
The base ATMEGA32U4 comes in a 44-pin TQFP (10x10 mm) package. Variants include ATMEGA32U4-AU (44-pin TQFP, Pb-free), ATMEGA32U4-AUR (same package, tape-and-reel), and ATMEGA32U4-MU (44-pin QFN). Pinout is shared across these variants per the datasheet.
Where can I buy ATMEGA32U4 online?
As of 2026-10-11, ATMEGA32U4 is stocked at DigiKey (ATMEGA32U4-AU listed as ships today), Mouser, and LCSC. The 44-pin TQFP reel price at qty 1 starts around $5.80 on DigiKey per verified data, with volume pricing at qty 1000 dropping to roughly $3.72. Always confirm lead time, as the 32U4 family has historically been supply-constrained.
What is the price of ATMEGA32U4 at qty 100?
As of 2026-10-11, distributor pricing at qty 100 is approximately $4.65 on DigiKey, with qty 1000 volume pricing around $3.72. Prices fluctuate with supply; the ATmega32U4 has experienced allocation periods where lead times extended 30+ weeks. Check DigiKey or Mouser for live stock and quotes.
What is the lead time for ATMEGA32U4?
Lead time varies with supply. According to the verified DigiKey listing for ATMEGA32U4-AU, the part is shown as shipping today at the time of fetch (2026-10-11). However, community reports from 2021-2023 noted frequent back-orders; consult the distributor for current availability. As alternatives, ATMEGA16U4 and ATMEGA32U4-MU share the same die and are typically interchangeable for lead-time flexibility.
ATMEGA32U4 vs ATMEGA328P - which is better for Arduino projects?
The ATMEGA32U4 is better than ATMEGA328P for projects that need built-in USB (HID, CDC, MIDI) because it integrates the USB controller on-chip. ATMEGA328P is preferred for low-cost simple Arduino Uno-style projects where a separate USB-to-UART bridge is acceptable. The 32U4 has more Flash (32 KB vs 32 KB, comparable) and more peripherals, but a different pinout.
ATMEGA32U4 vs RP2040 - which should I choose for a custom PCB?
Choose RP2040 if you need lower cost ($1 vs ~$5 for the ATmega32U4 as of 2026), dual-core Cortex-M0+ performance, modern tooling, and 3.3 V I/O. Choose ATMEGA32U4 if you need 5 V tolerance, native USB, mature Arduino ecosystem (Leonardo/Micro), or lower-power sleep modes for battery HID peripherals. The RP2040 cannot run classic AVR firmware; firmware must be rewritten.
What is the best drop-in replacement for ATMEGA32U4?
The best drop-in replacement for ATMEGA32U4 on the same 44-pin TQFP footprint is ATmega16U4 (same die family, 16 KB Flash instead of 32 KB) or ATmega32U4-MU (QFN-44 package). All three share the same datasheet and pinout. For automotive-qualified replacements, consult Microchip for an AEC-Q100 equivalent in the same family.
Where can I download the ATMEGA32U4 datasheet PDF?
The official datasheet PDF is hosted by Microchip at https://ww1.microchip.com/downloads/en/devicedoc/atmel-7766-8-bit-avr-atmega16u4-32u4_datasheet.pdf. The document covers both ATmega16U4 and ATmega32U4. Mirror copies are also available at all datasheet aggregation sites, but Microchip's URL is the authoritative source.
Where can I find the ATMEGA32U4 pinout?
The ATMEGA32U4 pinout for the 44-pin TQFP (10x10 mm) is documented in the datasheet section covering package pinout, and rendered on standard pinout reference sites such as PCBWiki. The 44-pin TQFP shows pin 1 at top-left with the marker dot, and pins are numbered counter-clockwise. Key pins include VCC (digital), AV (analog), AVCC (ADC supply), UCAP (USB), D+ / D- (USB), VBUS, RESET, XTAL1/XTAL2, and the 26 GPIO mapped to ports B/C/D/E/F.
Is ATMEGA32U4 still in production in 2026?
Yes. As of 2026-10-11, the ATMEGA32U4-AU is listed as active on DigiKey with stock available, indicating continued production by Microchip Technology. The part is part of the mature megaAVR family and is widely used in commercial products including Arduino Leonardo, Pro Micro, and many USB HID keyboards.
What is the maximum clock speed of ATMEGA32U4?
The ATMEGA32U4 supports a maximum clock frequency of 16 MHz when operating between 4.5 V and 5.5 V. At lower voltages the maximum clock must be derated; for example, at 2.7 V the maximum frequency is reduced. The MCU executes one instruction per clock cycle, achieving up to 16 MIPS throughput at full clock.

工程参考数据: ATMEGA32U4 ——对比、设计指导和合规信息。

选型指南

Choose the ATMEGA32U4 when you need integrated USB device support, 5 V GPIO, mature Arduino ecosystem (Leonardo/Micro), and rock-solid bootloader tooling - it is the de-facto part for custom USB keyboards, MIDI controllers, and Arduino Leonardo clones. Choose ATMEGA16U4 if your firmware fits in 16 KB Flash - same die, lower cost, full drop-in compatibility on the TQFP-44 footprint. Choose ATMEGA32U4-MU if PCB area is constrained and you can use the QFN-44 7x7 mm package. For new designs without 5 V requirements, evaluate the RP2040 (fisk $1, dual-core) or ESP32-S3 (with Wi-Fi) - but be prepared to port firmware from the AVR toolchain. The ATMEGA32U4 remains the safest choice for production designs that must work with existing AVR firmware libraries.

与替代料对比

参数 本产品 ATMEGA16U4-AU ATMEGA32U4-MU ATMEGA32U4-AUR
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package TQFP-44 (10x10 mm) TQFP-44 (10x10 mm) - same QFN-44 (7x7 mm) - smaller footprint TQFP-44 (10x10 mm) - same, T&R
Flash Memory 32 KB 16 KB (-50%) 32 KB 32 KB
SRAM 2.5 KB 1.25 KB (-50%) 2.5 KB 2.5 KB
EEPROM 1 KB 512 B (-50%) 1 KB 1 KB
USB Interface USB 2.0 FS device, on-chip transceiver Same Same Same
Maximum Clock 16 MHz 16 MHz 16 MHz 16 MHz
GPIO Lines 26 26 26 26
Operating Voltage 2.7 V to 5.5 V 2.7 V to 5.5 V 2.7 V to 5.5 V 2.7 V to 5.5 V

关键差异点

  • Integrated USB 2.0 full-speed device controller on-chip (对比 ATMEGA328P)
  • Dual-package drop-in flexibility on the same die (对比 ATMEGA32U4-MU)
  • 5 V tolerant GPIO with native USB (对比 RP2040)

设计说明

Place the 16 MHz crystal and its load capacitors within 5 mm of pins XTAL1 (pin 23) and XTAL2 (pin 22). Keep traces short and symmetric to avoid duty-cycle distortion. Route the USB D+ (pin 27) and D- (pin 26) as a 90 ohm differential pair on the top layer with no splits, and place the 1 nF UCAP decoupling capacitor as close as possible to pin 24. The 22 ohm series resistors typically used on D+/D- reduce EMI and improve signal integrity on long cable runs.

Decouple VCC (pin 8, 21) and AVCC (pin 1) each with a 100 nF ceramic capacitor placed within 5 mm of the pin; add a 10 uF bulk capacitor near the regulator. AVCC must not exceed VCC by more than 0.3 V at any time per the datasheet. Power the VBUS sense (pin 25) through a voltage divider to UVCC if the system is bus-powered; otherwise tie VBUS to UVCC. The brown-out detector should be enabled in firmware to safely recover from supply droop.

The PE2 pin (pin 10) doubles as HWB (Hardware Boot Loader enable). If this pin is left floating, the MCU may enter bootloader mode instead of running application firmware. Either tie PE2 to ground through a 10 kOhm resistor or pull it high via the application firmware. When using the Arduino bootloader, never reassign PE2 to a peripheral without understanding the boot-mode override behavior.

合规信息

RoHS
Compliant
REACH
Unknown
AEC-Q100
Not Applicable
无铅
Yes
无卤
Unknown
冲突矿物
Unknown

RoHS compliant per ATMEGA32U4-AU DigiKey listing (Pb-free). Not AEC-Q100 qualified - industrial grade only (-40C to +85C). REACH, halogen-free, and conflict minerals status not stated in verified web data.

数据核验日期: 2026-10-11 ——数据由 XAIPART 元器件工程团队核验和整理

相关搜索

ATMEGA32U4 datasheet PDF ATMEGA32U4 price DigiKey ATMEGA32U4 pinout TQFP-44 ATMEGA32U4 Arduino Leonardo ATMEGA32U4 USB HID keyboard ATMEGA32U4 drop-in replacement ATMEGA32U4 vs ATMEGA32U4-MU ATMEGA32U4 vs ATMEGA16U4 ATMEGA32U4 QMK firmware ATMEGA32U4 lead time stock ATmega 32U4 Pro Micro alternative what is the flash size of ATMEGA32U4 ATMEGA32U4 MIDI controller ATMEGA32U4 5V microcontroller USB

相关元器件 & 术语

Microchip Technology Atmel Corporation ATMEGA32U4 ATMEGA32U4-AU ATMEGA32U4-MU ATMEGA16U4 AVR RISC architecture 8-bit microcontroller USB 2.0 full-speed TQFP-44 QFN-44 RoHS Arduino Leonardo Arduino Pro Micro QMK firmware USB HID USB MIDI JTAG ISP (In-System Programming) megaAVR family AVR enhanced RISC
快速报价
填写完整信息——我们的销售团队将在 24 小时内回复
料号 制造商 封装 QTY 目标价 小计
合计: $0.00 USD
✓
报价已提交!

我们将在 24 小时内回复您的邮件

1
询价已提交
2
已收到报价
3
已下单
4
支付
5
已发货
6
已送达
查看询价详情