ATMEGA32U4 - 8-bit AVR MCU, 32KB Flash, USB 2.0 | Microchip
部品番号: ATMEGA32U4 ✓ 生産中| 数量 | 単価 | 小計 |
|---|---|---|
| 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 |
ATMEGA32U4 概要
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.
クイック比較ツール — 並列比較する代替部品を選択:
ATMEGA16U4-AU
✅ ドロップイン✓ 在庫あり
$2.19 / 個
データシートを見る →ATMEGA32U4-MUR
✅ ドロップイン✓ 在庫あり
$4.86 / 個
データシートを見る →ATMEGA32U4-AUR
✅ ドロップイン✓ 在庫あり
$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 ピン構成
| ピン 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.
おすすめ
おすすめ製品の概要
エンジニアリング参考データ: ATMEGA32U4 — 比較、設計ガイダンス、コンプライアンス情報。
選定ガイド
代替品との比較
| パラメータ | この製品 | 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 (vs ATMEGA328P)
- Dual-package drop-in flexibility on the same die (vs ATMEGA32U4-MU)
- 5 V tolerant GPIO with native USB (vs 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 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.