ATMEGA32U4-AU - 8-bit AVR MCU, 16MHz, 32KB Flash, USB | Microchip
Référence : ATMEGA32U4-AU ✓ Actif| Qté | Prix unitaire | Total |
|---|---|---|
| 1 | $5.8 | $5,80 |
| 10 | $5.4 | $54,00 |
| 100 | $4.95 | $495,00 |
| 500 | $4.55 | $2 275,00 |
| 1 000 | $4.25 | $4 250,00 |
ATMEGA32U4-AU Présentation
An 8-bit AVR microcontroller (AVR = Alf and Vegard's RISC processor) is a modified-Harvard RISC MCU family from Microchip (originally Atmel) that executes most instructions in a single clock cycle and is widely used in Arduino, USB HID, and keyboard-firmware designs. In the broader taxonomy it sits inside the MCU hierarchy as: microcontroller -> embedded controller -> semiconductor -> integrated circuit. The 'U4' suffix specifically denotes on-chip USB hardware, distinguishing the part from non-USB siblings such as ATmega32A.
Key features of this ATmega32U4 variant include 16 MIPS throughput at 16 MHz, 131 powerful instructions, 32 programmable I/O lines, an on-chip USB 2.0 transceiver that eliminates an external PHY, hardware multiplier, six sleep modes for power-sensitive applications, and an industrial -40C to +85C operating range. The non-J (AU) suffix indicates the 44-pin TQFP package in industrial temperature grade.
The architecture pairs an advanced RISC core with non-volatile program memory, on-chip SRAM and EEPROM, plus a rich peripheral set including ADC, timers/USART, SPI, TWI (I2C), and the USB device controller with up to 8 endpoints. The USB module removes the BOM cost of an external FTDI bridge, which is why the ATmega32U4 is the silicon heart of the Arduino Leonardo, Arduino Micro, Pro Micro, and many QMK-based custom keyboards.
Typical applications include USB Human Interface Devices (keyboards, mice, MIDI controllers), Arduino-compatible boards, custom mechanical-keyboard controllers, USB-to-UART bridges, USB data-acquisition front-ends, and low-cost consumer HID peripherals. When designing with this MCU, place the 22 ohm USB D+/D- source-series resistors close to the pins, fit a 1uF VBUS decoupling capacitor, and ensure the HWB/PE2 strap pin is pulled correctly to enter bootloader mode.
Alternatives de remplacement direct pour ATMEGA32U4-AU — même boîtier, compatible broche à broche. Les références à boîtier différent nécessitant une retouche du PCB sont exclues.
Variantes de cette série
Modèles de la même série directement compatibles avec ATMEGA32U4-AU (même facteur de forme et même empreinte) — différant par Package, Debug Interface, Core Architecture, RoHS Status, ADC.
Outil de comparaison rapide — sélectionnez des références alternatives pour une comparaison côte à côte :
ATMEGA32U4-AUR
✅ Remplacement direct✓ En stock
$5.2 / unité
Voir la fiche technique →ATMEGA32U4-MUR
✅ Remplacement direct✓ En stock
$4.86 / unité
Voir la fiche technique →ATMEGA16U4-AU
✅ Remplacement direct✓ En stock
$2.19 / unité
Voir la fiche technique →ATMEGA32A-AU
✅ Remplacement direct✓ En stock
$2.95 / unité
Voir la fiche technique →ATMEGA32U4-AU Valeurs maximales et caractéristiques électriques
| Core Architecture | 8-bit AVR RISC |
| CPU Speed | 16 MHz |
| Throughput | 16 MIPS at 16 MHz |
| Flash Program Memory | 32 KB (16K x 16) |
| SRAM | 2.5 KB |
| EEPROM | 1 KB |
| Tension d'alimentation | 2.7 V to 5.5 V (verified 4.5-5.5V in some sources; full range per datasheet) |
| I/O Pins | 32 programmable |
| USB | USB 2.0 full-speed / low-speed device, on-chip transceiver |
| ADC | 12-channel, 10-bit |
| Timers | 4 (2x 8-bit, 2x 16-bit) |
| Communication | USB, USART, SPI, TWI (I2C) |
| Debug Interface | JTAG / debugWIRE |
| Boîtier | 44-pin TQFP (10x10 mm, 0.8 mm pitch) |
| Type de montage | Surface Mount |
| Température de fonctionnement | -40 C to +85 C (industrial) |
| Instruction Set | 131 instructions, mostly single-cycle |
| Statut RoHS | Compliant |
Configuration des broches de ATMEGA32U4-AU
| Broche 1 | PE6 — Port E bit 6 (INT6) |
| Broche 2 | AVCC — Analog supply voltage |
| Broche 3 | AGND — Analog ground |
| Broche 4 | AREF — ADC reference voltage |
| Broche 5 | PF0 — Port F bit 0 (ADC0) |
| Broche 6 | PF1 — Port F bit 1 (ADC1) |
| Broche 7 | PF2 — Port F bit 2 (ADC2 / TCK) |
| Broche 8 | PF3 — Port F bit 3 (ADC3 / TMS) |
| Broche 9 | PF4 — Port F bit 4 (ADC4 / TDO) |
| Broche 10 | PF5 — Port F bit 5 (ADC5 / TDI) |
| Broche 11 | PF6 — Port F bit 6 (ADC6) |
| Broche 12 | PF7 — Port F bit 7 (ADC7 / TDI) |
| Broche 13 | VCC — Digital supply voltage |
| Broche 14 | GND — Digital ground |
| Broche 15 | PE2 — Port E bit 2 (HWB - bootloader strap) |
| Broche 16 | PD0 — Port D bit 0 (OC0B) |
| Broche 17 | PD1 — Port D bit 1 (OC0A) |
| Broche 18 | PD2 — Port D bit 2 |
| Broche 19 | PD3 — Port D bit 3 |
| Broche 20 | PD4 — Port D bit 4 |
| Broche 21 | PD5 — Port D bit 5 |
| Broche 22 | PD6 — Port D bit 6 |
| Broche 23 | PD7 — Port D bit 7 |
| Broche 24 | PB0 — Port B bit 0 (OC1A) |
| Broche 25 | PB1 — Port B bit 1 (OC1B) |
| Broche 26 | PB2 — Port B bit 2 (OC1C) |
| Broche 27 | PB3 — Port B bit 3 (OC2A) |
| Broche 28 | PB4 — Port B bit 4 |
| Broche 29 | PB5 — Port B bit 5 |
| Broche 30 | PB6 — Port B bit 6 (XTAL1) |
| Broche 31 | PB7 — Port B bit 7 (XTAL2) |
| Broche 32 | VCC — Digital supply voltage |
| Broche 33 | GND — Digital ground |
| Broche 34 | PC6 — Port C bit 6 (OC3A) |
| Broche 35 | PC7 — Port C bit 7 (OC4A) |
| Broche 36 | PE7 — Port E bit 7 (INT7 / CLKO) |
| Broche 37 | D- — USB Data minus |
| Broche 38 | D+ — USB Data plus |
| Broche 39 | UGND — USB ground |
| Broche 40 | UVCC — USB supply voltage |
| Broche 41 | PE4 — Port E bit 4 (INT4) |
| Broche 42 | PE5 — Port E bit 5 (INT5) |
| Broche 43 | RESET — Reset input (active low) |
| Broche 44 | VCC — Digital supply voltage |
Applications typiques
ATMEGA32U4-AU convient pour 6 applications: USB HID Keyboards (Mechanical Keyboards), Arduino Leonardo / Micro Compatible Boards, USB MIDI Controllers, USB Data Acquisition Front-Ends, USB-to-UART Bridges (Composite CDC-ACM Devices), Low-Cost Consumer HID Peripherals.
USB HID Keyboards (Mechanical Keyboards)
The ATMEGA32U4-AU is the de-facto silicon choice for custom mechanical keyboards because its on-chip USB 2.0 full-speed device controller eliminates the external FTDI bridge used by older AVR MCUs, allowing a single USB cable to deliver both power and HID data. With 32 KB of self-programming Flash, QMK firmware fits comfortably even on 100+ key matrices, while 2.5 KB of SRAM handles scan-loop state. The 32 programmable I/O lines map directly to 8 rows x 16 columns or larger scanned matrices. Per QMK community practice, the AU TQFP-44 variant is preferred over the QFN-44 MU on hand-soldered Pro Micro clones because the 0.8 mm pitch is feasible with a soldering iron.
Recommandé
Arduino Leonardo / Micro Compatible Boards
The ATMEGA32U4-AU is the exact MCU on the official Arduino Leonardo and Arduino Micro boards, providing HID, CDC ACM (virtual COM), and keyboard emulation directly through the integrated USB module. Its 16 MHz clock, 32 KB Flash and 2.5 KB SRAM precisely match the Arduino IDE's 'Arduino Leonardo' board definition, allowing sketches to upload via the built-in bootloader over USB without an external programmer. Per Microchip datasheet doc 7766, the bootloader lives in the upper 4 KB of Flash and is invoked by tying PE2/HWB to ground at reset. The 12-channel 10-bit ADC and four timers are sufficient for analog sensors, PWM motor control, and servo projects typical of the Leonardo platform.
Recommandé
USB MIDI Controllers
USB MIDI class devices map naturally onto the ATMEGA32U4-AU's USB endpoint architecture, where each MIDI endpoint corresponds to one of the eight USB endpoints available on the part. With 32 GPIO and the high PWM count from its 16-bit timer1, the chip can scan up to 64 button / potentiometer / encoder inputs while still transmitting MIDI-over-USB at full-speed 12 Mbps. The 2.5 KB SRAM comfortably holds 64-byte USB buffers plus 256-byte MIDI ring buffers; the 32 KB Flash hosts USB-MIDI class descriptors and event-handler logic. Per the LUFA USB stack (the de-facto firmware library), the ATmega32U4 supports the full class-driver model without external pull-ups because internal pull-ups can be enabled on D-.
Recommandé
USB Data Acquisition Front-Ends
When the goal is to expose analog measurements over USB without writing an external driver, the ATMEGA32U4-AU's combined 12-channel 10-bit ADC plus USB device capability is a low-cost option: each ADC sample is packetized and delivered as a CDC ACM stream to the host at up to 1 kSps aggregate. The 32 KB Flash hosts the LUFA CDC class driver plus an acquisition loop, while 2.5 KB SRAM buffers bursts. Typical applications include hobby oscilloscope front-ends, USB thermometers, USB strain-gauge readers, and four-channel USB voltmeters. Per Microchip datasheet, the ADC achieves 10 effective bits at 15 kSps and linearity is +/- 2 LSB INL, which is sufficient for indicator-grade USB instrumentation.
Recommandé
USB-to-UART Bridges (Composite CDC-ACM Devices)
The ATMEGA32U4-AU acts as a low-cost USB-to-UART bridge by enumerating both a generic CDC ACM interface and a HID interface on the same USB device, eliminating FTDI chips in designs that need both a virtual COM port and a control channel. With the on-chip USB device controller supporting 4 endpoints in addition to EP0 control, the part can expose EP1 as a HID control channel and EP2/EP3 as a CDC ACM bulk-in/bulk-out pair. Per the LUFA CDC class driver reference, throughput is sufficient for 921600 bps serial streams with 4 ms latency. The 2.7-5.5V operating range and industrial temperature grade make this bridge suitable for both 3.3V and 5V logic domains.
Recommandé
Low-Cost Consumer HID Peripherals
The ATMEGA32U4-AU is widely used for low-volume consumer HID products - remote controls, presenter tools, foot pedals, custom mice, and arcade controllers - because the integrated USB stack and Arduino-style tooling reduce firmware cost. Its 32 KB Flash is sufficient for HID class descriptors plus a feature-rich button-handling state machine, while 2.5 KB SRAM supports a 16-deep macro buffer for keyboard-stream features. The 4 timers (two 8-bit, two 16-bit) provide PWM-driven RGB LED control plus input scanning at 1 kHz, matching what USB HID polling requires. Per Microchip, the 32 GPIO can be partitioned into 16 inputs and 16 outputs with no external decoder, keeping the BOM cost of a finished HID peripheral under $3 in volume.
Recommandé
Récapitulatif des produits recommandés
Données de référence d'ingénierie pour ATMEGA32U4-AU — comparaison, recommandations de conception et informations de conformité.
Guide de sélection
Comparaison avec les alternatives
| Paramètre | Ce produit | ATMEGA32U4-AUR | ATMEGA16U4-AU | ATMEGA32A-AU |
|---|---|---|---|---|
| Package | TQFP-44 (10x10 mm, 0.8 mm pitch) | TQFP-44 (10x10 mm) - same | TQFP-44 (10x10 mm) - same | TQFP-44 (10x10 mm) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 32 KB | 32 KB | 16 KB (-50%) | 32 KB |
| SRAM | 2.5 KB | 2.5 KB | 1.25 KB (-50%) | 2 KB (-20%) |
| Integrated USB | Yes (USB 2.0 FS device) | Yes | Yes | No - external PHY required |
| CPU Speed | 16 MHz | 16 MHz | 16 MHz | 16 MHz |
| Supply 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 |
| Operating Temperature | -40 C to +85 C (industrial) | -40 C to +85 C | -40 C to +85 C | -40 C to +85 C |
| Unit Price (qty 1000) | ~$4.25 | ~$4.10 | ~$3.50 | ~$3.20 |
Principaux différenciateurs
- Integrated USB 2.0 FS device eliminates external PHY/bridge (vs ATMEGA32A-AU)
- Identical silicon in a reel-friendly AUR package (vs ATMEGA32U4-AUR)
- Double the Flash and SRAM versus ATmega16U4 (vs ATMEGA16U4-AU)
Notes de conception
Place two 22 ohm source-series resistors close to the USB D+ (pin 38) and D- (pin 37) lines. Add a 1uF X5R decoupling capacitor on UVCC (pin 40) and a 100 nF decoupling capacitor on each VCC (pins 13, 32, 44). Per Microchip layout note, keep the D+/D- traces length-matched and routed as a differential pair over a continuous ground plane; this is mandatory for USB-IF compliance.
Pin PE2 (HWB, pin 15) is the bootloader strap. To enter the USB bootloader, drive PE2 low at reset (tie to GND through a 10 kohm resistor or hold with the host button). If you leave PE2 floating, the chip always boots from address 0x0000 - which is fine for production but blocks field firmware updates without an ISP programmer.
Decouple AVCC (pin 2) with a 100 nF ceramic plus a 10 uF bulk capacitor, and tie AGND (pin 3) to GND at a single point near the MCU. Drive AREF (pin 4) with a 100 nF bypass to AGND. For accurate 10-bit ADC readings, avoid routing digital signals under the analog AVCC/AGND island and place the chip away from switching regulator inductors to keep the analog reference clean.
The ATMEGA32U4-AU has six software-selectable sleep modes (Idle, ADC Noise Reduction, Power-save, Power-down, Standby, Extended Standby). Per the datasheet, Power-down mode drops current to <10 uA at 3.3V with the Watchdog Timer running, making it the right state for USB-suspend-aware HID devices that must wake the host on a key press through an INTx pin.
Informations de conformité
RoHS compliant per Microchip product page. Industrial temperature grade -40C to +85C. Not AEC-Q100 qualified - automotive applications should consider ATmega32U4-MU with extended temperature or migrate to a SAM Cortex-M AEC-Q100 part.