ATtiny45 / ATtiny85 connection guide
ATtiny45 / ATtiny85 (QFN/MLF-20) connection guide. Power and reset. Program and read the signature over ISP.
| Package | Contacts | Details |
|---|---|---|
| PDIP-8 | 8 | 8 numbered contacts. See the individual package drawings for footprint dimensions. |
| SOIC-8 | 8 | 8 numbered contacts. See the individual package drawings for footprint dimensions. |
| TSSOP-8 | 8 | 8 numbered contacts. See the individual package drawings for footprint dimensions. |
| QFN/MLF-20 | 21 | 20 numbered contacts. The underside pad appears below the contact map. See the individual package drawings for footprint dimensions. |
Device variants · QFN/MLF-20
| Device | Flash | SRAM | EEPROM | Supply | Max clock | Temperature |
|---|---|---|---|---|---|---|
| ATtiny45 | 4 KiB | 256 B | 256 B | — | — | — |
| ATtiny45V-10MU | 4 KiB | 256 B | 256 B | 1.8–5.5 V | 10 MHz | -40 to +85 °C |
| ATtiny45V-10MUR | 4 KiB | 256 B | 256 B | 1.8–5.5 V | 10 MHz | -40 to +85 °C |
| ATtiny45-20MU | 4 KiB | 256 B | 256 B | 2.7–5.5 V | 20 MHz | -40 to +85 °C |
| ATtiny45-20MUR | 4 KiB | 256 B | 256 B | 2.7–5.5 V | 20 MHz | -40 to +85 °C |
| ATtiny85 | 8 KiB | 512 B | 512 B | — | — | — |
| ATtiny85V-10MU | 8 KiB | 512 B | 512 B | 1.8–5.5 V | 10 MHz | -40 to +85 °C |
| ATtiny85V-10MUR | 8 KiB | 512 B | 512 B | 1.8–5.5 V | 10 MHz | -40 to +85 °C |
| ATtiny85-20MU | 8 KiB | 512 B | 512 B | 2.7–5.5 V | 20 MHz | -40 to +85 °C |
| ATtiny85-20MUR | 8 KiB | 512 B | 512 B | 2.7–5.5 V | 20 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
- RESET is active by default. GPIO use requires disabling RESET via RSTDISBL and keeping debugWIRE inactive. For ADC0, check the reset threshold and internal pull-up while RESET is enabled. Active debugWIRE also uses this pad.
- Give unused GPIO inputs a defined level. Enable the internal pull-up or use an external pull-up or pull-down if a defined level is needed during reset. Avoid a direct rail connection that could short an accidental output.
- Leave every DNC contact electrically unconnected.
- Solder the exposed underside pad to board ground and connect the numbered GND contact.
- With power off, check for a short across the supply. Power on and measure voltage at every supply pin and at reset.
- 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 2586Q · Pin descriptions and clock source
Connection scenarios
External ADC reference
Connect a reference source to PB0 (AREF) and share its ground with the ATtiny.
- Reference voltage
- Reference source output
- →
- Ground
- Reference source return
Bench checks
- Select REFS[2:0] = x01 and feed the reference into AREF (PB0). In this mode PB0’s digital output driver and pull-up are disabled.
- Verify the external reference is within 2.0 V to VCC.
2586Q · Table 17-3 and §21.7
QFN/MLF-20 wiring map
Dashed outline shows the underside pad schematically. See the package drawing for the footprint.
1 · PB5
Active-low reset input by default. Use as GPIO only where the reset-disable fuse is supported and configured. Alternate assignments: ADC0 (ADC), PCINT5 (EXINT).
Wiring requirements
RESET, GPIO or ADC0 on PB5. RESET is active by default. GPIO use requires disabling RESET via RSTDISBL and keeping debugWIRE inactive. For ADC0, check the reset threshold and internal pull-up while RESET is enabled. Active debugWIRE also uses this pad.
Unused GPIO. Give unused GPIO inputs a defined level. Enable the internal pull-up or use an external pull-up or pull-down if a defined level is needed during reset. Avoid a direct rail connection that could short an accidental output.
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.
- ATtiny45/ATtiny85 data sheet· 2586Q · 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.
- ATtiny45 documentation and errata· Check current manufacturer documentation, ordering status and silicon revision applicability.
- ATtiny85 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.
