ATtiny88 connection guide
ATtiny88 (PDIP-28) connection guide. Power and reset. Program and read the signature over ISP.
| Package | Contacts | Details |
|---|---|---|
| QFN-28 | 29 | 28 numbered contacts. The underside pad appears below the contact map. See the individual package drawings for footprint dimensions. |
| PDIP-28 | 28 | 28 numbered contacts. See the individual package drawings for footprint dimensions. |
| TQFP-32 | 32 | 32 numbered contacts. See the individual package drawings for footprint dimensions. |
| UFBGA-32 | 32 | 32 numbered contacts. See the individual package drawings for footprint dimensions. |
| QFN-32 | 33 | 32 numbered contacts. The underside pad appears below the contact map. See the individual package drawings for footprint dimensions. |
Device variants · PDIP-28
| Device | Flash | SRAM | EEPROM | Supply | Max clock | Temperature |
|---|---|---|---|---|---|---|
| ATtiny88 | 8 KiB | 512 B | 64 B | — | — | — |
| ATtiny88-PU | 8 KiB | 512 B | 64 B | 1.8–5.5 V | 12 MHz | -40 to +85 °C |
Power and reset
RequiredUse a current-limited supply at a voltage permitted by the order code and system clock. Tie the listed supply pins to that rail. Fit one 100 nF ceramic capacitor close to each supply-and-ground pair. Use a 10 kΩ reset pull-up for this bench circuit.
- Target rail
- Bench supply positive
- Ground
- Bench supply return
- Reset
Bench checks
- With power off, check for a short across the supply. Power on and measure voltage at every supply pin and at reset.
- This bench circuit powers AVCC directly from VCC with the ADC idle. For ADC conversions, feed AVCC from VCC through a low-pass filter.
- Check the board against the selected package before substituting ATtiny88. In PDIP-28, pin 21 is PC7 on ATtiny88 and AREF on ATmega168 and ATmega8. On the 32-pin TQFP and QFN pinouts, ATtiny88 uses pin 20 for PC7 where ATmega168 and ATmega8 use AREF.
- Check the clock source configured by CKSEL. If a used part expects an external clock, provide it before attempting serial programming.
AN2519 §§2–3 and 8008H · Pin descriptions and clock source
Connection scenarios
Connect an SPI peripheral in master mode
This example uses PB2 as the peripheral chip-select output. Use compatible signal voltages and share ground with the peripheral.
- Chip select
- →
- Peripheral CS
- Master data out
- →
- Peripheral MOSI
- Master data in
- Peripheral MISO
- →
- Serial clock
- →
- Peripheral SCK
- Common ground
- Peripheral GND
Bench checks
- Hold PB2/SS HIGH. A LOW clears MSTR in SPCR, switches the SPI to slave mode, and makes MOSI and SCK inputs.
- PB2 can drive a peripheral’s chip select. Its output level has no effect on MSTR.
8008H · §14.3.2
PDIP-28 wiring map
9 · PB6
General-purpose digital I/O. Alternate assignments: PCINT6 (EXINT), CLKI (CPU).
Wiring requirements
Reusing an ATmega board. Check the board against the selected package before substituting ATtiny88. In PDIP-28, pin 21 is PC7 on ATtiny88 and AREF on ATmega168 and ATmega8. On the 32-pin TQFP and QFN pinouts, ATtiny88 uses pin 20 for PC7 where ATmega168 and ATmega8 use AREF.
After reset · GPIO driver is high impedance during reset. Clock, debug, and alternate-function use depend on fuse and peripheral configuration.
Manufacturer documents
Each package lists the documented order codes and variants covered by this map. Select the marked model to see its peripheral assignments and memory. Check the exact order code and datasheet revision before laying out a PCB.
- ATtiny88 data sheet· 8008H · Pin configuration, electrical characteristics, ordering table and serial programming.
- ATtiny_DFP Device Family Pack· Machine-readable device definition: package contacts, peripheral routes, and memory sizes.
- AVR Microcontroller Hardware Design Considerations· Power supply, reset network, and programmer connection guidance.
- ATtiny88 documentation and errata· Check current manufacturer documentation, ordering status and silicon revision applicability.
- AVR source register· Source identifiers, applicability, retrieval dates, and SHA-256 digests.
