ATMEGA88-20AU - 8-Bit AVR MCU 8KB Flash 20MHz | Microchip
MPN: ATMEGA88-20AU β Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.63 | $3.63 |
| 10 | $3.27 | $32.70 |
| 100 | $2.91 | $291.00 |
| 500 | $2.62 | $1,310.00 |
| 1,000 | $2.33 | $2,330.00 |
ATMEGA88-20AU Overview
An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, program memory, data memory, and peripherals such as timers, serial interfaces, and analog-to-digital converters. The AVR family sits within the broader hierarchy of 8-bit MCUs, which in turn belong to the microcontroller class of embedded processors. The ATmega88 is built on Microchip's picoPower AVR RISC architecture, executing most instructions in a single clock cycle from 32 general-purpose working registers.
Key features include 8 KB ISP Flash with read-while-write capability, 1 KB SRAM, 512 B EEPROM, 23 general-purpose I/O lines, three flexible timer/counters with compare modes, an 8-channel 10-bit ADC, a programmable watchdog timer, and debugWIRE on-chip debugging. The device supports 20 MIPS at 20 MHz and offers multiple sleep modes for low-power operation.
The ATmega88 uses a Harvard architecture with separate program and data buses, allowing simultaneous instruction fetch and data access. Its 130-instruction set is optimized for C compiler efficiency, and the on-chip debugWIRE interface provides non-intrusive emulation using only the RESET pin, eliminating the need for a dedicated debug header.
Typical applications include consumer electronics, industrial control, battery management, sensor nodes, and legacy ATmega8 design migrations. The 32-TQFP package with 0.8 mm pitch suits automated assembly, and the wide 2.7-5.5 V supply range supports both 3.3 V and 5 V systems.
When designing with this device, decouple VCC and AVCC with 100 nF ceramic capacitors placed close to the pins, and connect the AREF pin through a low-impedance path when using the ADC. The RESET pin requires an external pull-up for reliable power-on reset.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet, providing engineers with a single reference for selection, replacement, and layout decisions.
Drop-in alternatives for ATMEGA88-20AU β same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.
Variants in this series
Same-series models that are drop-in compatible with ATMEGA88-20AU (same form factor and footprint) β differing in Package, Timers, Operating Temperature, Maximum Clock Frequency, ADC Channels.
Quick Comparison Tool β Select alternative parts for side-by-side comparison:
ATMEGA88P-20AU
β Drop-Inβ In Stock
$3.15 / Unit
View Datasheet βATMEGA88A-AU
β Drop-Inβ In Stock
$1.52 / Unit
View Datasheet βATMEGA88-20AUR
β Drop-Inπ Reference alternative (not in catalog)
ATMEGA88V-10AU
β Drop-Inβ In Stock
$1.58 / Unit
View Datasheet βATMEGA168-20AU
β Drop-Inβ In Stock
$1.82 / Unit
View Datasheet βATMEGA48-20AU
β Drop-Inβ In Stock
$1.6 / Unit
View Datasheet βATMEGA88-20AU Maximum Ratings & Electrical Characteristics
| Core Architecture | 8-bit AVR RISC |
| Program Memory Size | 8 KB (4K x 16) Flash |
| SRAM | 1 KB |
| EEPROM | 512 B |
| Maximum Clock Frequency | 20 MHz |
| Throughput | 20 MIPS at 20 MHz |
| Supply Voltage Range | 2.7 V to 5.5 V |
| General Purpose I/O Lines | 23 |
| General Purpose Working Registers | 32 |
| ADC Channels | 8-channel, 10-bit |
| Timer/Counters | Three flexible timer/counters with compare modes |
| Package | 32-TQFP (7x7 mm, 0.8 mm pitch) |
| Mounting Type | Surface Mount |
| Operating Temperature | -40C to +85C |
| Instruction Set | 130 powerful instructions, most single-clock cycle |
| Debug Interface | debugWIRE on-chip debugging |
| RoHS Status | Compliant |
| Life Cycle Stage | ACTIVE |
ATMEGA88-20AU Pin Configuration
| Pin 1 | PB0 β Port B, bit 0 (also ICP1) |
| Pin 2 | PB1 β Port B, bit 1 (also OC1A) |
| Pin 3 | PB2 β Port B, bit 2 (also SS/OC1B) |
| Pin 4 | PB3 β Port B, bit 3 (also MOSI/OC2A) |
| Pin 5 | PB4 β Port B, bit 4 (also MISO) |
| Pin 6 | PB5 β Port B, bit 5 (also SCK) |
| Pin 7 | PB6 β Port B, bit 6 (also XTAL1/TOSC1) |
| Pin 8 | PB7 β Port B, bit 7 (also XTAL2/TOSC2) |
| Pin 9 | RESET β Reset input (active low) |
| Pin 10 | VCC β Digital supply voltage |
| Pin 11 | GND β Ground |
| Pin 12 | XTAL2 β Crystal oscillator output |
| Pin 13 | XTAL1 β Crystal oscillator input |
| Pin 14 | PD0 β Port D, bit 0 (also RXD) |
| Pin 15 | PD1 β Port D, bit 1 (also TXD) |
| Pin 16 | PD2 β Port D, bit 2 (also INT0) |
| Pin 17 | PD3 β Port D, bit 3 (also INT1/OC2B) |
| Pin 18 | PD4 β Port D, bit 4 (also T0/XCK) |
| Pin 19 | PD5 β Port D, bit 5 (also T1/OC0B) |
| Pin 20 | PD6 β Port D, bit 6 (also AIN0/OC0A) |
| Pin 21 | PD7 β Port D, bit 7 (also AIN1) |
| Pin 22 | PC0 β Port C, bit 0 (also ADC0) |
| Pin 23 | PC1 β Port C, bit 1 (also ADC1) |
| Pin 24 | PC2 β Port C, bit 2 (also ADC2) |
| Pin 25 | PC3 β Port C, bit 3 (also ADC3) |
| Pin 26 | PC4 β Port C, bit 4 (also ADC4/SDA) |
| Pin 27 | PC5 β Port C, bit 5 (also ADC5/SCL) |
| Pin 28 | PC6 β Port C, bit 6 (also RESET) |
| Pin 29 | AREF β Analog reference voltage for ADC |
| Pin 30 | AVCC β Analog supply voltage for ADC |
| Pin 31 | GND β Ground |
| Pin 32 | PC7 β Port C, bit 7 (also ADC7) |
Typical Applications
ATMEGA88-20AU is suitable for 6 applications: Consumer Electronics Control, Industrial Sensor Nodes, Battery-Powered Portable Devices, Legacy ATmega8 Design Migration, Motor and Actuator Control, Embedded Data Logging.
Consumer Electronics Control
The ATMEGA88-20AU fits consumer electronics control because its 8 KB Flash and 23 GPIO lines handle user-interface logic, button scanning, and LED driving without external glue logic. Running at 20 MHz for 20 MIPS, it executes control loops fast enough for appliance front panels and remote-control receivers. The 2.7-5.5 V supply range allows direct operation from either 3.3 V or 5 V rails, simplifying power architecture. Placed on a 32-TQFP footprint, it occupies only 7x7 mm, leaving board space for RF or display modules. A trade-off is that the 8 KB Flash limits complex menu systems; designs needing graphics or large lookup tables should migrate to the pin-compatible ATMEGA168-20AU with 16 KB Flash.
Recommended
Industrial Sensor Nodes
The ATMEGA88-20AU suits industrial sensor nodes because its 8-channel 10-bit ADC digitizes analog transducer outputs directly, eliminating external ADC chips. The 23 GPIO lines interface with digital sensors, relays, and status LEDs, while three timer/counters generate precise PWM for actuator control. Operating from 2.7 V to 5.5 V, it tolerates the noisy supply rails common in factory automation. The debugWIRE interface allows in-circuit debugging through the RESET pin, reducing production connector cost. In a typical node, the MCU samples a temperature or pressure sensor at 1 kHz, filters the reading, and transmits over UART or SPI. The main limitation is the 1 KB SRAM, which constrains buffer-heavy protocols; designs with large data payloads should consider the ATMEGA168-20AU.
Recommended
Battery-Powered Portable Devices
The ATMEGA88-20AU works in battery-powered portable devices because it operates down to 2.7 V, extending usable life from 3.7 V Li-ion cells, and offers multiple sleep modes that cut current between active periods. At 20 MHz it delivers 20 MIPS for responsive user interaction, then drops to microamp-level sleep to preserve charge. The 8 KB Flash stores application code plus a boot loader for field updates, and 512 B EEPROM retains calibration data without external memory. A typical design wakes the MCU on a button or timer interrupt, performs a measurement, updates a display, and returns to sleep. For the lowest possible current, the pin-compatible ATMEGA88P-20AU with picoPower technology is the better choice, reducing active and sleep currents further.
Recommended
Legacy ATmega8 Design Migration
The ATMEGA88-20AU is a common migration target for legacy ATmega8 designs because Microchip application note AVR094 documents the conversion path and the two devices are pin compatible in the 32-pin TQFP package. The ATmega88 adds read-while-write Flash, more timer features, and a richer peripheral set while retaining the familiar AVR instruction set, so existing assembly or C code ports with minimal changes. The 8 KB Flash matches the ATmega8 capacity, and the 20 MHz speed grade preserves timing margins. Engineers migrating should re-validate fuse settings, interrupt vector tables, and register names that changed between families. For designs that outgrew the ATmega8, the pin-compatible ATMEGA168-20AU doubles Flash to 16 KB without a PCB change.
Recommended
Motor and Actuator Control
The ATMEGA88-20AU handles motor and actuator control because its three timer/counters generate multiple independent PWM channels for H-bridge or stepper drivers, while the 10-bit ADC reads current-sense and position feedback signals. At 20 MHz, the control loop closes fast enough for small brushed DC motors and stepper positioning in printers, toys, and lab equipment. The 23 GPIO lines drive direction, enable, and fault signals directly. A typical implementation uses Timer1 in fast PWM mode for speed control and the ADC to monitor motor current for stall detection. The 8 KB Flash is adequate for trapezoidal or simple PID control; complex field-oriented control for BLDC motors would require the larger ATMEGA168-20AU or a dedicated motor-control MCU.
Recommended
Embedded Data Logging
The ATMEGA88-20AU supports embedded data logging because its 512 B EEPROM stores calibration constants and configuration without external memory, while the 1 KB SRAM buffers sensor samples before writing to an external SPI Flash or SD card. The 8-channel 10-bit ADC captures analog inputs, and the UART or SPI interface streams logged data to a host. Running at 20 MHz, the MCU can sample and timestamp data at kilohertz rates. A typical logger wakes on a timer, reads several ADC channels, stores readings in a ring buffer, and periodically flushes to non-volatile storage. The 8 KB program Flash limits the complexity of on-device compression or file-system code; designs needing FAT file systems should use the pin-compatible ATMEGA168-20AU with 16 KB Flash.
Recommended
Recommended Products Summary
Engineering reference data for ATMEGA88-20AU β comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | ATMEGA88P-20AU | ATMEGA88A-AU | ATMEGA168-20AU | ATMEGA48-20AU |
|---|---|---|---|---|---|
| Package | 32-TQFP (7x7) | 32-TQFP (7x7) - same | 32-TQFP (7x7) - same | 32-TQFP (7x7) - same | 32-TQFP (7x7) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 8 KB | 8 KB | 8 KB | 16 KB | 4 KB |
| SRAM | 1 KB | 1 KB | 1 KB | 1 KB | 512 B |
| EEPROM | 512 B | 512 B | 512 B | 512 B | 256 B |
| Maximum Frequency | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| Supply Voltage | 2.7 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 2.7 V to 5.5 V | 2.7 V to 5.5 V |
| GPIO Lines | 23 | 23 | 23 | 23 | 23 |
| ADC Channels | 8-channel, 10-bit | 8-channel, 10-bit | 8-channel, 10-bit | 8-channel, 10-bit | 8-channel, 10-bit |
| Low-Power Technology | Standard AVR | picoPower | picoPower | Standard AVR | Standard AVR |
Key Differentiators
- Standard AVR power profile vs picoPower (vs ATMEGA88P-20AU)
- 8 KB Flash balance vs larger and smaller siblings (vs ATMEGA168-20AU)
- 20 MHz speed grade vs 10 MHz V-variant (vs ATMEGA88V-10AU)
Design Notes
Decouple both VCC (pin 10) and AVCC (pin 30) with 100 nF ceramic capacitors placed as close to the pins as possible, and add a 10 uF bulk capacitor on the board rail. AVCC must be connected even when the ADC is unused. For ADC accuracy, connect AREF through a low-impedance path and avoid sharing the analog ground return with high-current digital traces. Estimated: at 20 MHz and 5 V, core current is on the order of several milliamps, so a 100 nF decoupling capacitor per supply pin is sufficient for typical loads.
Route the crystal between XTAL1 (pin 13) and XTAL2 (pin 12) with the shortest possible traces and place the load capacitors symmetrically to ground. Keep the crystal away from switching nodes and clock lines. The RESET pin (pin 9) requires an external pull-up resistor, typically 10 kOhm, and a 100 nF capacitor to ground for noise immunity. The debugWIRE interface shares the RESET pin, so ensure the programmer can drive it without contention from the pull-up.
Do not leave AVCC unconnected, as this can cause erratic ADC readings and increased current consumption. Verify the fuse settings for the clock source before production; the default factory fuse may select the internal 8 MHz oscillator rather than an external crystal. When migrating from ATmega8, re-check interrupt vector addresses and register names, as Microchip application note AVR094 documents several differences. Always confirm the speed-grade voltage curve in the manufacturer datasheet, since the 20 MHz rating may require a higher minimum supply than the 2.7 V absolute minimum.
Compliance Information
RoHS compliance is indicated by distributor listings. REACH, halogen-free, and conflict-minerals status were not stated in the provided data and are marked unknown. The device is not AEC-Q100 qualified; automotive designs should use an automotive-grade variant.