ATMEGA88-20MJ - 8-bit AVR MCU 20MHz 8KB Flash VQFN-32 | Microchip
MPN: ATMEGA88-20MJ β Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.1 | $2.10 |
| 10 | $1.89 | $18.90 |
| 100 | $1.62 | $162.00 |
| 500 | $1.41 | $705.00 |
| 1,000 | $1.24 | $1,240.00 |
ATMEGA88-20MJ Overview
An 8-bit microcontroller integrates a processor core, memory, and peripherals on a single chip, forming the lowest tier of the embedded processing hierarchy (MCU -> embedded processor -> microcontroller -> semiconductor). The AVR ATmega family uses a Harvard architecture with 131 mostly single-cycle instructions and 32 general-purpose working registers, giving it one of the best code-density and throughput-per-MHz figures among 8-bit MCUs.
Key features of the ATMEGA88-20MJ include operation from 1.8 V to 5.5 V (the 20 MHz speed grade requires 4.5 V to 5.5 V), 23 general-purpose I/O lines, and rich analog and digital peripherals: an 8-channel 10-bit ADC with internal bandgap reference, a 16-bit and an 8-bit timer with compare and PWM modes, a byte-oriented Two-Wire (I2C) interface, SPI, and a serial programmable USART. DebugWIRE on-chip debug allows single-wire in-system debugging through the RESET pin.
Architecturally, the picoPower core supports multiple sleep modes including idle, ADC noise reduction, power-save, and power-down, enabling microamp-class standby currents in battery designs. Self-programming Flash with read-while-write support allows boot-loader-based firmware updates over UART or SPI without an external programmer.
Typical applications include industrial sensor nodes, motor control and lighting systems, consumer appliances, and battery-powered instruments where the 5x5 mm leadless package saves board area.
Design consideration: at 20 MHz the part must operate from 4.5 V to 5.5 V; for 3.3 V or 1.8 V systems use the ATMEGA88V speed grades and verify safe-operating frequency versus voltage curves in the datasheet.
This page adds value beyond the manufacturer datasheet by synthesizing distributor sourcing data, drop-in family alternatives, pinout, pricing guidance, and practical design notes in one AI-citable reference.
Drop-in alternatives for ATMEGA88-20MJ β 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-20MJ (same form factor and footprint) β differing in Timers, Package, Communication Interfaces, Core Processor, EEPROM.
Quick Comparison Tool β Select alternative parts for side-by-side comparison:
ATMEGA88A-20MU
β Drop-In β οΈ εζ°εΎ ιͺθ―π Reference alternative (not in catalog)
ATMEGA88PA-20MU
β Drop-In β οΈ εζ°εΎ ιͺθ―π Reference alternative (not in catalog)
ATMEGA88PV-10MU
β Drop-In β οΈ εζ°εΎ ιͺθ―β In Stock
$2.4 / Unit
View Datasheet βATMEGA168PA-20MU
β Drop-In β οΈ εζ°εΎ ιͺθ―π Reference alternative (not in catalog)
ATMEGA328P-MU
β Drop-In β οΈ εζ°εΎ ιͺθ―β In Stock
$1.28 / Unit
View Datasheet βATMEGA88V-10MJ
β Drop-In β οΈ εζ°εΎ ιͺθ―β In Stock
$1.32 / Unit
View Datasheet βATMEGA88-20MJ Maximum Ratings & Electrical Characteristics
| Core Architecture | 8-bit AVR RISC (Harvard) |
| Maximum Clock Frequency | 20 MHz |
| Peak Throughput | Up to 20 MIPS at 20 MHz |
| Flash Program Memory | 8 KB (4K x 16), ISP, self-programming |
| SRAM | 1 KB |
| EEPROM | 512 B |
| Supply Voltage Range | 1.8 V to 5.5 V (4.5 V to 5.5 V for 20 MHz speed grade) |
| General Purpose I/O | 23 I/O lines |
| Working Registers | 32 x 8-bit general purpose |
| Instructions | 131 instructions, most single-cycle |
| ADC | 8-channel 10-bit with internal reference |
| Timers | 1 x 8-bit, 1 x 16-bit with compare/PWM |
| Communication Interfaces | I2C (Two-Wire), SPI, UART/USART |
| On-Chip Debug | DebugWIRE |
| Package | 32-VQFN (MLF) 5x5 mm |
| Mounting Type | Surface Mount |
ATMEGA88-20MJ Pin Configuration
| Pin 1 | PC6/RESET β Port C bit 6 or active-low Reset input (DebugWIRE) |
| Pin 2 | PD0/RXD β Port D bit 0, USART receive input |
| Pin 3 | PD1/TXD β Port D bit 1, USART transmit output |
| Pin 4 | PD2/INT0 β Port D bit 2, external interrupt 0 |
| Pin 5 | PD3/INT1/OC2B β Port D bit 3, external interrupt 1, Timer2 output compare B |
| Pin 6 | PD4/T0/XCK β Port D bit 4, Timer0 external clock, USART external clock |
| Pin 7 | VCC β Digital supply voltage |
| Pin 8 | GND β Ground |
| Pin 9 | PB6/XTAL1/TOSC1 β Port B bit 6, crystal oscillator input / Timer oscillator |
| Pin 10 | PB7/XTAL2/TOSC2 β Port B bit 7, crystal oscillator output / Timer oscillator |
| Pin 11 | PD5/T1/OC0B β Port D bit 5, Timer1 external clock, Timer0 output compare B |
| Pin 12 | PD6/AIN0/OC0A β Port D bit 6, analog comparator positive input, Timer0 output compare A |
| Pin 13 | PD7/AIN1 β Port D bit 7, analog comparator negative input |
| Pin 14 | PB0/ICP1/CLKO β Port B bit 0, Timer1 input capture, system clock output |
| Pin 15 | PB1/OC1A β Port B bit 1, Timer1 output compare A (PWM) |
| Pin 16 | PB2/SS/OC1B β Port B bit 2, SPI slave select, Timer1 output compare B (PWM) |
| Pin 17 | PB3/MOSI/OC2A β Port B bit 3, SPI master output, Timer2 output compare A (PWM) |
| Pin 18 | PB4/MISO β Port B bit 4, SPI master input |
| Pin 19 | PB5/SCK β Port B bit 5, SPI serial clock |
| Pin 20 | AVCC β ADC supply voltage |
| Pin 21 | ADC6 β ADC input channel 6 |
| Pin 22 | AREF β ADC analog reference input |
| Pin 23 | GND β Ground |
| Pin 24 | ADC7 β ADC input channel 7 |
| Pin 25 | PC0/ADC0 β Port C bit 0, ADC input channel 0 |
| Pin 26 | PC1/ADC1 β Port C bit 1, ADC input channel 1 |
| Pin 27 | PC2/ADC2 β Port C bit 2, ADC input channel 2 |
| Pin 28 | PC3/ADC3 β Port C bit 3, ADC input channel 3 |
| Pin 29 | PC4/ADC4/SDA β Port C bit 4, ADC channel 4, Two-Wire data line |
| Pin 30 | PC5/ADC5/SCL β Port C bit 5, ADC channel 5, Two-Wire clock line |
| Pin 31 | NC β Not connected (per datasheet) |
| Pin 32 | NC β Not connected (per datasheet) |
| Pin 33 | VCC (exposed pad) β Exposed pad, connect to VCC (per datasheet) |
| Pin 34 | GND (exposed pad) β Exposed pad, connect to GND (per datasheet) |
Typical Applications
ATMEGA88-20MJ is suitable for 6 applications: Industrial Sensor Nodes, Motor Control and PWM Systems, Battery-Powered Portable Instruments, LED Lighting and Dimming Control, Consumer Appliance Control, Embedded Learning and Prototyping.
Industrial Sensor Nodes
The ATMEGA88-20MJ fits industrial sensor acquisition nodes because its 8-channel 10-bit ADC directly digitizes thermistor, potentiometer, and 0-5 V transducer signals without an external converter, while the 20 MHz core delivers 20 MIPS for local filtering and decision logic. The 32-VQFN 5x5 mm package conserves board area in compact DIN-rail and machinery-mounted modules, and the industrial temperature capability suits control cabinets. Placed with a 16 MHz crystal or internal RC clock and the USART bridged to RS-485 transceivers, the node streams digitized data while picoPower-class sleep modes in successor revisions (ATMEGA88PA) cut standby current. The 512 B EEPROM retains calibration coefficients through power cycles without external NVM.
Recommended
Motor Control and PWM Systems
With one 16-bit timer and one 8-bit timer providing compare channels and hardware PWM, the ATMEGA88-20MJ drives DC and brushless motor H-bridges directly at 20 MHz resolution of 50 ns per PWM step. The 20 MIPS RISC core executes PID control loops with cycle-level determinism, while the 10-bit ADC reads back current shunt and back-EMF signals on up to 8 channels for closed-loop control. In a 5 V system the 23 GPIO lines source up to 20 mA each, sufficient to gate small MOSFET drivers. Typical implementations run the 16-bit timer at full clock in fast-PWM mode; the VQFN exposed GND pad provides a low-inductance return path that reduces switching-noise coupling into the analog front end.
Recommended
Battery-Powered Portable Instruments
Operating from 1.8 V to 5.5 V, the ATMEGA88-20MJ runs directly from two alkaline cells or a single lithium cell through an LDO, eliminating regulated-supply complexity in portable meters and data loggers. Sleep modes including power-down and power-save cut current to microamp levels so instruments idle for months between measurements; the asynchronous Timer/Counter can keep real-time counting while the core sleeps. The internal 1.1 V bandgap reference supports ratiometric ADC measurements without external references, and 512 B EEPROM logs calibration and limited data between sessions. Designs prioritizing battery life should specify the picoPower ATMEGA88PA-20MU drop-in revision, which further reduces deep-sleep current while keeping the identical 32-VQFN footprint.
Recommended
LED Lighting and Dimming Control
Hardware PWM from the 16-bit Timer/Counter makes the ATMEGA88-20MJ a compact LED dimming engine: at 20 MHz, 16-bit PWM resolution produces flicker-free dimming curves above 1 kHz carrier, and the 10-bit ADC can monitor current through a shunt for constant-current regulation. Multiple compare channels drive several color channels (RGB or tunable-white) independently, with 23 GPIO lines covering indicator, button, and communication duties in a single 5x5 mm package. DALI or DMX-style protocols are commonly bit-banged or driven from the USART. The VQFN-32 footprint keeps the controller beside the LED driver on dense luminaire PCBs, and the 5.5 V ceiling suits direct 5 V constant-voltage LED strip systems.
Recommended
Consumer Appliance Control
Home appliances such as fans, coffee machines, and small pumps use the ATMEGA88-20MJ as a cost-effective control core: triac or relay outputs from GPIO, capacitive-touch or mechanical button inputs read through the ADC, and NTC temperature sensing on a second ADC channel closes thermostat loops. The 20 MIPS throughput handles UI state machines and safety interlock checking concurrently, while the brown-out detector and watchdog timer provide the reset discipline expected in mains-adjacent products. Self-programming Flash allows a USART bootloader so firmware can be updated on the assembly line or in the field without a test fixture. The 32-VQFN MLF body withstands reflow assembly on high-volume appliance boards.
Recommended
Embedded Learning and Prototyping
Because the ATmega88 shares its architecture, register map, and 32-VQFN/TQFP pinout with the famous ATmega328P of Arduino fame, it remains a widely used teaching and prototyping MCU: 131 mostly single-cycle AVR instructions give students predictable timing, and the DebugWIRE single-wire debugger needs only the RESET line, minimizing harness complexity on breadboards and prototype PCBs. Free toolchains (AVR-GCC, Microchip Studio) and the abundant Arduino ecosystem provide code examples that port with a device recompile. The 8 KB Flash comfortably holds classic exercises - UART echo, ADC voltmeter, SPI/I2C sensor drivers - while teaching memory budgeting. ISP programming requires only six header pins, making lab boards trivial to design.
Recommended
Recommended Products Summary
Engineering reference data for ATMEGA88-20MJ β comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | ATMEGA88A-20MU | ATMEGA88PA-20MU | ATMEGA168PA-20MU | ATMEGA328P-MU |
|---|---|---|---|---|---|
| Package | 32-VQFN (MLF) 5x5 mm | 32-VQFN (MLF) 5x5 mm - same | 32-VQFN (MLF) 5x5 mm - same | 32-VQFN (MLF) 5x5 mm - same | 32-VQFN (MLF) 5x5 mm - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 8 KB | 8 KB | 8 KB | 16 KB | 32 KB |
| SRAM | 1 KB | 1 KB | 1 KB | 1 KB | 2 KB |
| Max Clock Frequency | 20 MHz | 20 MHz | 20 MHz | 10 MHz | 20 MHz |
| PicoPower Low Sleep Current | No (standard ATmega88 core) | No | Yes | Yes | Yes |
| Timers | 1 x 8-bit, 1 x 16-bit | 1 x 8-bit, 1 x 16-bit | 1 x 8-bit, 1 x 16-bit | 2 x 8-bit, 1 x 16-bit | 2 x 8-bit, 1 x 16-bit |
| Communication Interfaces | I2C, SPI, USART | I2C, SPI, USART | I2C, SPI, USART | I2C, SPI, USART | I2C, SPI, USART |
Key Differentiators
- Lowest-cost family entry point (vs ATMEGA168PA-20MU)
- Full 20 MHz speed in wide-stock package (vs ATMEGA88PV-10MU)
- Trade-off: not picoPower (vs ATMEGA88PA-20MU)
Design Notes
Respect the speed-versus-voltage derating: the 20 MHz grade is guaranteed only from 4.5 V to 5.5 V per the datasheet maximum frequency curves. At 3.3 V, safe operation is approximately 13.3 MHz maximum. Running 20 MHz at reduced VCC may work on a bench sample but is out of specification over temperature and lot variation. Decouple VCC and AVCC separately with 100 nF ceramics placed within 2 mm of the pins, and connect AVCC to VCC through an LC filter in mixed-signal designs to protect ADC accuracy.
The VQFN (MLF) exposed pads 33 (VCC) and 34 (GND) are electrically required, not optional thermal enhancements - the die return path depends on the GND pad. Design the land pattern with vias in the center pad solder window (typically 4-6 vias of 0.3 mm) to tie the GND pad to the ground plane, and use sufficient solder paste coverage to avoid voids. Leadless packages reflow poorly with excessive paste; follow the datasheet-recommended stencil aperture reduction around 50 percent for the center pad.
DebugWIRE shares the RESET pin with ISP programming: enabling DWEN disables external reset and normal high-voltage/ISP entry until DWEN is cleared, which has stranded many designs. Always leave a 6-pin ISP header or ensure access to an STK500/high-voltage programmer before enabling DebugWIRE. Also remember PB6/PB7 default to crystal pins - using them as GPIO requires clearing the CKOPT/fuse bits correctly, and misconfiguring clock fuses can brick the device to external-clock recovery.
Estimated: an ATmega88 running 20 MHz at 5 V dissipates roughly 0.1 W of core current (about 20 mA) plus I/O drive; with the VQFN-32 theta-JA on a standard 4-layer board (order of 40-60 C/W), junction rise stays under 10 C - no heatsinking is needed for typical MCU loads. Verify actual ICC from the datasheet active-current curves for your clock source and I/O configuration rather than relying on this estimate.
Compliance Information
Compliance status not stated in the provided web data; verify RoHS/REACH status on the Microchip product page certificate of conformance for this exact suffix (MJ).