ATMEGA88-20MI - 8-bit AVR MCU 20MHz 8KB Flash | Microchip
MPN: ATMEGA88-20MI ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.1 | $2.10 |
| 10 | $1.85 | $18.50 |
| 100 | $1.55 | $155.00 |
| 500 | $1.32 | $660.00 |
| 1,000 | $1.15 | $1,150.00 |
ATMEGA88-20MI Overview
A microcontroller (MCU) is a single-chip computer that integrates a processor core, program memory, data memory, and peripherals such as timers and communication interfaces. Within the embedded-systems hierarchy, an 8-bit RISC MCU like the ATmega88 family sits below 32-bit MCUs and application processors, making it the workhorse of cost-sensitive, low-power control tasks in the power management and embedded control stack.
Key features include an advanced RISC architecture with 131 powerful instructions, most executable in a single clock cycle; 32 general-purpose 8-bit working registers; three flexible timer/counters with compare modes; and in-system self-programmable Flash. Peripherals include a serial programmable USART, byte-oriented Two-Wire Interface (TWI/I2C), SPI serial interface, an 8-channel 10-bit ADC, an analog comparator, and internal calibrated RC oscillator options.
Technical depth: the AVR Harvard architecture fetches instructions and data over separate buses, sustaining one MIPS per MHz. debugWIRE provides on-chip debugging over the RESET line with a single wire, and the picoPower techniques reduce active and sleep current. Brown-out detection, internal/external interrupt sources, and a watchdog timer round out robust-system features.
Typical applications include industrial control systems, robotics, sensor nodes, HVAC and appliance control, and battery-powered instrumentation where 5 V operation, 10-bit ADC sampling, and low cost matter. The 32-VQFN 5x5 mm footprint suits compact two-layer PCBs.
Design consideration: at 20 MHz and 5 V the device meets its timing window only above 4.5 V; below 4.5 V the maximum clock must be derated per the datasheet frequency-voltage curve.
This page synthesizes distributor sourcing data, drop-in alternatives within the same footprint, and practical design notes not found in the manufacturer datasheet.
Drop-in alternatives for ATMEGA88-20MI — 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-20MI (same form factor and footprint) — differing in Package, Flash Memory, Supply Voltage Range, Operating Temperature, Communication Interfaces.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
ATMEGA88-20MU
✅ Drop-In✓ In Stock
Contact for price
View Datasheet →ATMEGA88PA-MMHR
✅ Drop-In✓ In Stock
$2.05 / Unit
View Datasheet →ATMEGA88PA-MU
✅ Drop-In ⚠️ 参数待验证✓ In Stock
$1.26 / Unit
View Datasheet →ATMEGA88A-MU
✅ Drop-In ⚠️ 参数待验证📋 Reference alternative (not in catalog)
ATMEGA168-20MU
✅ Drop-In ⚠️ 参数待验证✓ In Stock
Contact for price
View Datasheet →ATMEGA48V-10MMU
✅ Drop-In✓ In Stock
$1.39 / Unit
View Datasheet →ATMEGA48PA-MUR
✅ Drop-In ⚠️ 参数待验证✓ In Stock
$0.98 / Unit
View Datasheet →ATMEGA88-20MI Maximum Ratings & Electrical Characteristics
| Core Architecture | 8-bit AVR RISC |
| Max CPU Frequency | 20 MHz |
| Flash Program Memory | 8 KB (4K x 16) |
| SRAM | 1 KB |
| EEPROM | 512 B |
| Operating Voltage Range | 1.8 V to 5.5 V |
| General Purpose I/O | 23 lines |
| Timers/Counters | 3 (two 8-bit, one 16-bit) |
| ADC | 8-channel, 10-bit |
| Communication Interfaces | USART, SPI, TWI (I2C) |
| Throughput | Up to 20 MIPS at 20 MHz |
| On-chip Debug | debugWIRE |
| Package | 32-VQFN (5x5 mm), MLF |
| Operating Temperature | -40C to +85C (Industrial) |
| Mounting Type | Surface Mount |
| Analog Comparator | Yes, 1 channel |
| Interrupt Sources | Internal and external |
ATMEGA88-20MI Pin Configuration
| Pin 1 | PD3 — Port D, bit 3 (GPIO / external interrupt INT1) |
| Pin 2 | PD4 — Port D, bit 4 (GPIO / Timer1 external clock) |
| Pin 3 | GND — Ground |
| Pin 4 | VCC — Digital supply voltage |
| Pin 5 | GND — Ground |
| Pin 6 | VCC — Digital supply voltage |
| Pin 7 | PB6 — Port B, bit 6 (XTAL1/TOSC1 - oscillator input) |
| Pin 8 | PB7 — Port B, bit 7 (XTAL2/TOSC2 - oscillator output) |
| Pin 9 | PD5 — Port D, bit 5 (GPIO / Timer0 OC0B) |
| Pin 10 | PD6 — Port D, bit 6 (GPIO / OC0A / AIN0) |
| Pin 11 | PD7 — Port D, bit 7 (GPIO / AIN1) |
| Pin 12 | PB0 — Port B, bit 0 (GPIO / ICP1 / PCINT0) |
| Pin 13 | PB1 — Port B, bit 1 (GPIO / OC1A / PCINT1) |
| Pin 14 | PB2 — Port B, bit 2 (GPIO / SS / OC1B / PCINT2) |
| Pin 15 | PB3 — Port B, bit 3 (GPIO / MOSI / OC2A / PCINT3) |
| Pin 16 | PB4 — Port B, bit 4 (GPIO / MISO / PCINT4) |
| Pin 17 | PB5 — Port B, bit 5 (GPIO / SCK / PCINT5) |
| Pin 18 | AVCC — ADC supply voltage (connect to VCC through LC filter) |
| Pin 19 | ADC6 — Analog input channel 6 (ADC-only pin) |
| Pin 20 | AREF — ADC analog reference voltage |
| Pin 21 | GND — Ground |
| Pin 22 | ADC7 — Analog input channel 7 (ADC-only pin) |
| Pin 23 | PC0 — Port C, bit 0 (ADC8 input / PCINT8) |
| Pin 24 | PC1 — Port C, bit 1 (ADC9 input / PCINT9) |
| Pin 25 | PC2 — Port C, bit 2 (ADC10 input / PCINT10) |
| Pin 26 | PC3 — Port C, bit 3 (ADC11 input / PCINT11) |
| Pin 27 | PC4 — Port C, bit 4 (ADC12 / SDA / PCINT12) |
| Pin 28 | PC5 — Port C, bit 5 (ADC13 / SCL / PCINT13) |
| Pin 29 | PC6 — RESET (active-low, also debugWIRE pin) |
| Pin 30 | PD0 — Port D, bit 0 (RXD USART input / PCINT16) |
| Pin 31 | PD1 — Port D, bit 1 (TXD USART output / PCINT17) |
| Pin 32 | PD2 — Port D, bit 2 (GPIO / INT0 / PCINT18) |
Typical Applications
ATMEGA88-20MI is suitable for 6 applications: Industrial Control Systems, Battery-Powered Sensor Nodes, HVAC and Appliance Control, Hobby and Arduino-Compatible Boards, Motor Control and Robotics, Automotive Auxiliary Electronics.
Industrial Control Systems
The ATMEGA88-20MI fits industrial control nodes because its -40C to +85C industrial rating, 20 MIPS throughput, and watchdog plus brown-out detection deliver dependable operation in electrically noisy factory environments. Its 8-channel 10-bit ADC digitizes analog sensor inputs such as potentiometers and current shunts directly, while the USART and SPI handle HMI and PLC communication. In a typical PLC I/O module the MCU runs at 16 MHz from a 5 V rail, scans digital inputs at 1 kHz, and drives relay outputs through GPIO with transistor buffers. The 1 KB SRAM supports state machines and small PID loops without an RTOS, keeping software simple and deterministic. Compared to unqualified commercial-grade parts, the MI temperature grade prevents field failures in unheated cabinets.
Recommended
Battery-Powered Sensor Nodes
The ATmega88 family's power-down and power-save sleep modes, combined with wakeup on external interrupt or watchdog timer, make the ATMEGA88-20MI effective for battery-operated telemetry where the MCU sleeps most of the time. A 3 V coin cell or two AA cells directly power the 1.8 V to 5.5 V input range, eliminating an LDO in minimal designs. The 10-bit ADC samples temperature, humidity, or light sensors through the internal reference, and results are transmitted over TWI to a radio module or over USART to a GSM modem. Duty-cycling at one wake-up per minute with 1 ms of active time per wake reduces average current to microamp levels; selecting the ATMEGA88PA-MU variant lowers this further with its picoPower silicon and optimized brown-out detector consumption.
Recommended
HVAC and Appliance Control
White-goods and HVAC controller boards use the ATMEGA88-20MI because it consolidates keypad scanning, display driving, NTC temperature reading, and AC relay control in a single 5 V-tolerant 8-bit MCU. The three timer/counters generate PWM for blower speed control and phase-angle dimming while the 10-bit ADC reads thermistors with the internal 2.56 V reference. The 32-pad 5x5 mm VQFN fits low-cost single-board layouts, and the industrial temperature grade survives condensing, high-heat appliance interiors when combined with conformal coating. Firmware typically implements a super-loop scanning at 100 Hz with watchdog protection, storing calibration in the 512 B EEPROM. debugWIRE through the RESET pin allows in-cabinet firmware updates during production line programming with just an Atmel-ICE and one wire.
Recommended
Hobby and Arduino-Compatible Boards
The ATmega88 is directly supported by Arduino-compatible core packages such as the MiniCore and MegaCore hardware packages, so the ATMEGA88-20MI suits custom, cost-optimized boards that reuse the enormous AVR open-source ecosystem: avr-gcc, avrdude, USBasp bootloaders, and thousands of libraries. Its 8 KB Flash accommodates compact sketches with sensor and serial libraries after disabling the bootloader, and the 32-VQFN 5x5 mm package permits hand-placement with a hot plate or hot-air rework. Designers often clock it at the internal 8 MHz RC oscillator to eliminate the crystal and its two I/O pins (PB6/PB7), freeing them as GPIO. Educational and prototyping boards benefit from debugWIRE debugging, which requires no extra debug pins beyond the shared RESET line.
Recommended
Motor Control and Robotics
Small robot platforms use the ATMEGA88-20MI as the main controller because the 16-bit Timer 1 generates dual PWM channels for H-bridge speed control while Timer 0 services quadrature encoder counting on pin-change interrupts. The 20 MIPS budget at 20 MHz executes PID velocity loops at 1 kHz alongside sensor fusion for line-following or obstacle avoidance, all within the 1 KB SRAM. The 5 V GPIO directly drives logic-level MOSFET gate drivers such as driver ICs through the SPI or GPIO, and the analog comparator supports fast over-current shutdown when the ADC is busy. Robustness features matter here: the watchdog recovers from brown-out dips when motors stall, and the industrial rating covers outdoor chassis temperatures far beyond office ranges.
Recommended
Automotive Auxiliary Electronics
In 12 V automotive auxiliary modules such as seat-position memories, lighting sequencers, and aftermarket accessory controllers, the ATMEGA88-20MI's industrial -40C to +85C rating, brown-out detector, and 5 V tolerance align with typical module requirements when fed from a clamped and regulated 5 V rail. The 512 B EEPROM stores calibration and learned positions across key-off cycles, while the TWI interface talks to fan controllers and EEPROM-expandable peripherals. Careful design is required: this part is not AEC-Q100 qualified, so use is limited to non-safety auxiliary functions, with load-dump clamping handled by upstream TVS diodes and a pre-regulator. The 8-channel ADC reads analog position feedback from potentiometers, and PWM outputs drive LED indicators with visible dimming curves at 200 Hz.
Recommended
Recommended Products Summary
Engineering reference data for ATMEGA88-20MI — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | ATMEGA88-20MU | ATMEGA88PA-MMHR | ATMEGA168-20MU | ATMEGA48V-10MMU |
|---|---|---|---|---|---|
| Package | 32-VQFN (5x5 mm) | 32-VQFN (5x5 mm) - same | 32-VQFN (5x5 mm) - same | 32-VQFN (5x5 mm) - same | 32-VQFN (5x5 mm) - 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 |
| Max CPU Frequency | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 10 MHz |
| Operating Voltage | 1.8 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 (20MHz grade) | 1.8 V to 5.5 V |
| Power Technology | Standard ATmega88 (picoPower family features) | Standard ATmega88 | picoPower (lower sleep current) | Standard ATmega168 | Low-voltage ATmega48V |
| Peripherals (ADC/Timers/Comms) | 8ch 10-bit ADC, 3 timers, USART/SPI/TWI | 8ch 10-bit ADC, 3 timers, USART/SPI/TWI | 8ch 10-bit ADC, 3 timers, USART/SPI/TWI | 8ch 10-bit ADC, 3 timers, USART/SPI/TWI | 8ch 10-bit ADC, 3 timers, USART/SPI/TWI |
Key Differentiators
- Industrial temperature grade in compact VQFN (vs ATMEGA88-20MU)
- picoPower successor available as drop-in upgrade (vs ATMEGA88PA-MMHR)
- Cost/memory balance inside a pin-compatible family (vs ATMEGA168-20MU)
- Trade-off: half the Flash of the family, full peripheral set (vs ATMEGA48V-10MMU)
Design Notes
Estimated: at 20 MHz / 5.5 V the ATmega88 active current is on the order of 10-15 mA per the datasheet active-supply curves; add 10 mA per 20 mA of GPIO sink/source within the 200 mA total device limit. Size the 5 V regulator for MCU load plus all driven loads, and decouple each VCC/AVCC pad with 100 nF ceramics placed within 2 mm of the pads. The exposed die pad must be soldered to a ground flood - it is the primary ground and thermal connection on the VQFN-32 package; unsoldered pads cause erratic brown-out resets.
Route AVCC (pin 18) to VCC through an LC filter (10 uH + 10 uF) and keep AREF (pin 20) quiet with 100 nF to ground; ADC6/ADC7 (pins 19/22) are ADC-only and must not carry digital traffic, or converter accuracy degrades beyond 1 LSB. Keep the crystal (if used at PB6/PB7) within 5 mm with 12-22 pF load capacitors and a guard ring to ground. The debugWIRE signal shares RESET (pin 29): leave room for a series resistor footprint so debugWIRE can be disabled and ISP re-enabled in production.
Respect the frequency-versus-voltage derating curve: 20 MHz is only guaranteed at 4.5 V to 5.5 V. Running 20 MHz from a 3.3 V rail causes intermittent failures that pass at room temperature and fail over temperature. Also, RSTDISBL and DWEN fuse mistakes can permanently lock out ISP programming - always prototype fuse changes with an Atmel-ICE and high-voltage recovery capability. When migrating firmware from ATmega48 or ATmega168, recompile rather than reuse binaries: register maps and interrupt vector tables differ between family members.
All 23 GPIOs support pin-change interrupts (PCINT0-23), which is convenient for encoder and keypad inputs, but enable internal pull-ups deliberately - floating inputs draw dynamic current and add EMI susceptibility. For SPI bus shared with SD cards or flash, keep traces under 10 cm at 8 MHz SCK and series-terminate the clock with 22 ohm if the board uses a two-layer stack. The USART can tolerate up to 1 Mbps at 20 MHz with 0.0% error at U2X=1, per datasheet baud-rate tables.
Compliance Information
Compliance status must be verified on the Microchip product page or DigiKey ATMEGA88-20MI listing (product 660529) before production. Not AEC-Q100 qualified - not an automotive-qualified part number.