ATMEGA88-20MU - 8-Bit AVR MCU 20MHz 8KB Flash | Microchip
MPN: ATMEGA88-20MU β Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $0 | $0.00 |
| 10 | $0 | $0.00 |
| 100 | $0 | $0.00 |
| 500 | $0 | $0.00 |
| 1,000 | $0 | $0.00 |
ATMEGA88-20MU Overview
An 8-bit AVR microcontroller is a Harvard-architecture RISC processor in which most of its 130 instructions execute in a single clock cycle, making the device part of the broader microcontroller hierarchy: ATmega88 -> AVR 8-bit MCU family -> general-purpose microcontroller -> embedded processing IC. MCUs of this class combine CPU, program memory, data memory, timers and peripherals on a single die, replacing multi-chip solutions in cost-sensitive embedded systems.
Key features include 23 general-purpose I/O lines, 32 general-purpose working registers, three flexible timer/counters with compare modes and PWM, a byte-oriented two-wire serial interface (I2C-compatible), an SPI serial port, a USART, and programmable watchdog timer with internal oscillator. picoPower technology provides multiple sleep modes for battery-operated designs.
Architecturally, the ATMEGA88-20MU executes from 8 KB of self-programmable ISP Flash with read-while-write capability, enabling firmware updates in the field via boot loader code. In-system programmability through the SPI port or debugWIRE allows programming with tools such as the MPLAB SNAP, AVRISP mkII, or Arduino-compatible platforms (MiniCore).
Typical applications include consumer appliance control, sensor nodes and data loggers using the 10-bit ADC, HVAC and motor-actuator interfaces, and hobby/embedded prototyping where 20 MIPS at low voltage is sufficient.
A key design consideration: Microchip lists the ATMEGA88A as the newer recommended device for new designs; the die is functionally equivalent but fabricated on a newer process. Verify speed-versus-voltage derating curves for your supply rail.
This page synthesizes distributor availability, drop-in alternative cross-references, pinout data, and design notes not consolidated in the manufacturer datasheet. Pricing shown requires verification - see validation note.
Drop-in alternatives for ATMEGA88-20MU β 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-20MU (same form factor and footprint) β differing in Package, Timers, Communication Interfaces, Flash Memory, Instructions.
Quick Comparison Tool β Select alternative parts for side-by-side comparison:
ATMEGA88A-MU
β Drop-Inπ Reference alternative (not in catalog)
ATMEGA88PA-MU
β Drop-Inβ In Stock
$1.26 / Unit
View Datasheet βATMEGA88P-20MU
β Drop-Inπ Reference alternative (not in catalog)
ATMEGA88-20MUR
β Drop-Inπ Reference alternative (not in catalog)
ATMEGA48PA-MUR
β Drop-In β οΈ εζ°εΎ ιͺθ―β In Stock
$0.98 / Unit
View Datasheet βATMEGA168PA-MU
β Drop-In β οΈ εζ°εΎ ιͺθ―β In Stock
$1.72 / Unit
View Datasheet βATMEGA88-20MU Maximum Ratings & Electrical Characteristics
| Core Architecture | 8-bit AVR RISC |
| Max CPU Frequency | 20 MHz |
| Performance | 20 MIPS at 20 MHz |
| Flash Memory | 8 KB (4K x 16) ISP Flash |
| EEPROM | 512 B |
| SRAM | 1 KB |
| Supply Voltage Range | 2.7 V to 5.5 V |
| General Purpose I/O | 23 lines |
| Working Registers | 32 x 8-bit |
| Timer/Counters | 3 flexible timer/counters |
| ADC | 8-channel, 10-bit |
| On-Chip Debug | debugWIRE |
| Instructions | 130 powerful instructions, most single-cycle |
| Serial Interfaces | USART, SPI, 2-wire (I2C-compatible) |
| Power Technology | picoPower low-power with multiple sleep modes |
| Package | 32-VQFN (5x5 mm) MLF, surface mount |
| Programming | In-System Programmable (ISP), read-while-write |
| Watchdog | Programmable watchdog timer with internal oscillator |
ATMEGA88-20MU Pin Configuration
| Pin 1 | PD3 β Port D, bit 3 (GPIO / PCINT19) |
| Pin 2 | PD4 β Port D, bit 4 (GPIO / PCINT20 / XCK / T0) |
| Pin 3 | GND β Ground |
| Pin 4 | VCC β Digital supply voltage (2.7 V to 5.5 V) |
| Pin 5 | GND β Ground |
| Pin 6 | VCC β Digital supply voltage |
| Pin 7 | PB6 β Port B, bit 6 (XTAL1 / TOSC1 / PCINT6) |
| Pin 8 | PB7 β Port B, bit 7 (XTAL2 / TOSC2 / PCINT7) |
| Pin 9 | PD5 β Port D, bit 5 (GPIO / T1 / OC0B / PCINT21) |
| Pin 10 | PD6 β Port D, bit 6 (GPIO / AIN0 / OC0A / PCINT22) |
| Pin 11 | PD7 β Port D, bit 7 (GPIO / AIN1 / PCINT23) |
| Pin 12 | PB0 β Port B, bit 0 (GPIO / ICP1 / OC0A? no - ICP1/CLKO/PCINT0) |
| Pin 13 | PB1 β Port B, bit 1 (OC1A / OC1A output / PCINT1) |
| Pin 14 | PB2 β Port B, bit 2 (SS / OC1B / PCINT2) |
| Pin 15 | PB3 β Port B, bit 3 (MOSI / OC2A / PCINT3 - ISP data in) |
| Pin 16 | PB4 β Port B, bit 4 (MISO / PCINT4 - ISP data out) |
| Pin 17 | PB5 β Port B, bit 5 (SCK / PCINT5 - ISP clock) |
| Pin 18 | AVCC β Analog supply voltage for ADC |
| Pin 19 | ADC6 β ADC input channel 6 |
| Pin 20 | AREF β Analog reference voltage for ADC |
| Pin 21 | GND β Ground |
| Pin 22 | ADC7 β ADC input channel 7 |
| Pin 23 | PC0 β Port C, bit 0 (ADC0 / PCINT8) |
| Pin 24 | PC1 β Port C, bit 1 (ADC1 / PCINT9) |
| Pin 25 | PC2 β Port C, bit 2 (ADC2 / PCINT10) |
| Pin 26 | PC3 β Port C, bit 3 (ADC3 / PCINT11) |
| Pin 27 | PC4 β Port C, bit 4 (ADC4 / SDA / PCINT12 - 2-wire data) |
| Pin 28 | PC5 β Port C, bit 5 (ADC5 / SCL / PCINT13 - 2-wire clock) |
| Pin 29 | PC6 β Port C, bit 6 (RESET / debugWIRE - active low reset) |
| Pin 30 | PD0 β Port D, bit 0 (RXD / PCINT16 - USART receive) |
| Pin 31 | PD1 β Port D, bit 1 (TXD / PCINT17 - USART transmit) |
| Pin 32 | PD2 β Port D, bit 2 (INT0 / PCINT18 - external interrupt 0) |
Typical Applications
ATMEGA88-20MU is suitable for 6 applications: Analog Sensor Nodes and Data Loggers, Consumer Appliance and HVAC Control, Motor and Actuator Interface Control, Embedded Hobbyist and Arduino-Compatible Prototyping, Industrial Communication Nodes, Battery-Powered Portable Devices.
Analog Sensor Nodes and Data Loggers
The ATMEGA88-20MU fits sensor-node designs through its integrated 8-channel 10-bit ADC, which digitizes up to eight analog sensor outputs without an external converter IC, and 1 KB SRAM for local sample buffering. Placed in a 32-VQFN (5x5 mm) footprint drawing picoPower sleep currents, the device can wake on watchdog or pin-change interrupt, sample an ADC channel, timestamp via a timer/counter, and return to power-down mode. Data is exported over USART or stored in the 512 B EEPROM for calibration constants and small records. The main trade-off is SRAM size: logging more than a few hundred samples per burst requires off-chip EEPROM or SPI SRAM.
Recommended
Consumer Appliance and HVAC Control
In appliance and HVAC control boards, the ATMEGA88-20MU supplies 20 MIPS at 20 MHz from a wide 2.7 V to 5.5 V rail, comfortably handling 5 V relay-drive logic and noisy electrical environments. Three timer/counters generate PWM for fan, blower, or triac-phase control, while the 10-bit ADC reads NTC thermistors and user potentiometers across multiple channels. The 23 GPIO lines directly drive LEDs, keys and relay transistors without port expanders, and the 512 B EEPROM retains user settings through power cycles. Field firmware updates are supported by the read-while-write boot loader capability in the 8 KB ISP Flash, an important serviceability feature in installed products.
Recommended
Motor and Actuator Interface Control
For small motor and actuator subsystems, the ATMEGA88-20MU generates hardware PWM from its 8-bit and 16-bit timer/counters with compare and dead-time-capable output modes, driving H-bridge or MOSFET pre-driver inputs at up to 20 MHz timer resolution. Quadrature or index feedback can be captured on pin-change interrupt lines, while the ADC monitors current-sense resistors on any of eight channels. The USART provides command linkage to a supervisory controller over RS-485 through an external transceiver. The 2.7 V to 5.5 V supply range lets the MCU share the logic rail of common driver ICs, and the programmable watchdog timer guarantees recovery from transient faults in electromechanical environments.
Recommended
Embedded Hobbyist and Arduino-Compatible Prototyping
The ATmega88 is fully supported by the MiniCore Arduino hardware package (MCUdude, GitHub), making the ATMEGA88-20MU an accessible target for rapid prototyping in the compact 32-VQFN (5x5 mm) format when a DIP package is not wanted. With 20 MIPS throughput, 8 KB Flash and 1 KB SRAM, it executes typical Arduino sketches, and ISP programming runs through PB3/PB4/PB5 and RESET with inexpensive tools such as the MPLAB SNAP. debugWIRE enables single-wire debugging over the RESET pin - a rare feature at this price point. Limitations versus ATmega328 targets are memory size and the need for a custom boards.txt core configuration rather than stock Arduino support.
Recommended
Industrial Communication Nodes
The ATMEGA88-20MU serves as a low-cost protocol converter or remote I/O node using its byte-oriented 2-wire (I2C-compatible) interface, hardware SPI, and USART in parallel, allowing Modbus-over-RS-485, SPI sensor aggregation, and I2C peripheral expansion in one chip. Running at 20 MHz yields ample headroom for software UART or checksum-heavy protocols, and the 8 KB ISP Flash accommodates a Modbus RTU stack with a boot loader for field updates. The 2.7 V to 5.5 V operating range supports standard industrial 5 V logic levels, and the watchdog timer with its own internal oscillator meets basic fail-safe requirements. Designers should budget SRAM carefully, since buffers plus stack must fit in 1 KB.
Recommended
Battery-Powered Portable Devices
picoPower technology gives the ATMEGA88-20MU multiple sleep modes (idle, ADC noise reduction, power-save, power-down, standby) suited to coin-cell or single-cell portable products. The 2.7 V minimum supply allows direct operation from a 3 V lithium cell, removing a boost converter and its quiescent draw in simple products. In power-down mode the core stops while pin-change interrupts and the watchdog remain armed, enabling wake-on-button designs; the internal RC oscillator eliminates the crystal's cost and board area for coarse timing. The 32-VQFN (5x5 mm) package keeps the footprint small for handheld enclosures. For the lowest possible sleep currents, prefer the ATMEGA88PA-MU revision with enhanced picoPower peripherals.
Recommended
Recommended Products Summary
Engineering reference data for ATMEGA88-20MU β comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | ATMEGA88A-MU | ATMEGA88PA-MU | ATMEGA88P-20MU | ATMEGA48PA-MU | ATMEGA168PA-MU |
|---|---|---|---|---|---|---|
| Package | 32-VQFN (5x5 mm) MLF | 32-VQFN (5x5 mm) - same | 32-VQFN (5x5 mm) - same | 32-VQFN (5x5 mm) - same | 32-VQFN (5x5 mm) - same | 32-VQFN (5x5 mm) - same |
| Brand | Microchip Technology (Atmel) | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 8 KB ISP Flash | 8 KB | 8 KB | 8 KB | 4 KB (-50%) | 16 KB (+100%) |
| SRAM | 1 KB | 1 KB | 1 KB | 1 KB | 512 B (-50%) | 2 KB (+100%) |
| EEPROM | 512 B | 512 B | 512 B | 512 B | 256 B | 512 B |
| Max CPU Speed | 20 MHz (20 MIPS) | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| Lifecycle / Recommendation | Active; newer ATMEGA88A available | Recommended newer device (Microchip) | Active, picoPower revision | Active | Active, lower memory tier | Active, higher memory tier |
| Pin-to-Pin Compatibility | Reference (32-VQFN) | Pin-to-pin identical | Pin-to-pin identical | Pin-to-pin identical | Pin-to-pin identical (same family pinout) | Pin-to-pin identical (same family pinout) |
Key Differentiators
- Microchip-recommended successor available in the same footprint (vs ATMEGA88A-MU)
- Double the Flash and SRAM in the identical package (vs ATMEGA48PA-MU)
- Lower unit cost at sufficient memory (vs ATMEGA168PA-MU)
- Honest limitation - no cross-brand drop-in exists (vs PIC16-series MCUs)
Design Notes
Decouple each VCC pin (4 and 6) and AVCC (pin 18) with 100 nF ceramic capacitors placed within a few millimeters of the pads, plus one bulk 4.7-10 uF capacitor near the package. AVCC must be connected to VCC even if the ADC is unused, and should be filtered through an LC or RC network when ADC accuracy matters, per the manufacturer datasheet power-supply guidelines. The 32-VQFN exposed die area benefits from a ground ring of vias around the perimeter connecting the GND pins (3, 5, 21) to a solid ground plane.
Do not leave PC6/RESET (pin 29) floating - fit a 10 k pull-up to VCC for reliable power-up, and be aware this pin doubles as the debugWIRE single-wire debug interface; enabling debugWIRE via fuse sets DWEN and alters reset behavior. ISP programming requires PB3/PB4/PB5 (MOSI/MISO/SCK) with series resistors recommended if those pins drive external loads. Verify speed-versus-voltage derating before running 20 MHz below the full supply range (2.7 V to 5.5 V), and check fuse settings (clock source, brown-out) against the datasheet fuse tables - incorrect clock fuses are the most common cause of a 'dead' board.
The 5x5 mm 32-VQFN uses 0.5 mm pitch pads; order the PCB land pattern from the manufacturer package drawing rather than third-party footprints, since MLF/QFN pad geometry tolerances affect yield. For XTAL1/XTAL2 (pins 7-8), place the crystal and its load capacitors directly adjacent with short guarded traces over a ground plane. If the internal 8 MHz RC oscillator suffices, free pins 7-8 as GPIO to recover two I/O lines. Estimated: total PCB area for a minimal MCU circuit is well under 1 cm squared when using 0402 decoupling parts.
Keep the ADC reference path clean: route AREF (pin 20) with a dedicated 100 nF capacitor to ground and avoid switching the reference mid-conversion. Pin-change interrupts (PCINT0-23) on all GPIO allow wake-on-event designs; for EMC robustness on cable-connected lines such as PD0/PD1 (USART) or PC4/PC5 (I2C), add series termination of 22-100 ohm and keep traces short. The two-wire interface requires external pull-ups (typically 4.7 k at 100 kHz per the bus specification level used in the datasheet's interface chapter).
Compliance Information
Compliance status was not stated in the verified web data retrieved for this page. Consult the Microchip product page or distributor environmental data for current RoHS/REACH certificates.