ATtiny85 Pinout
ATtiny85 · DIP-8 / SOIC-8
Eight-pin AVR with six usable I/O. Pin 1 is RESET and doubles as an I/O only if you burn a fuse that makes the chip hard to reprogram.
| Pin | Name | Function |
|---|---|---|
| 1 | PB5 / RESET | Reset. Usable as I/O only with RSTDISBL fuse set. |
| 2 | PB3 / ADC3 | I/O, ADC, crystal XTAL1 |
| 3 | PB4 / ADC2 | I/O, ADC, crystal XTAL2 |
| 4 | GND | Ground |
| 5 | PB0 / MOSI / SDA | I/O, PWM, ISP MOSI, I²C data |
| 6 | PB1 / MISO | I/O, PWM, ISP MISO |
| 7 | PB2 / SCK / SCL | I/O, ADC1, ISP clock, I²C clock |
| 8 | VCC | Supply, 2.7–5.5 V |
Things that catch people out
- Burning RSTDISBL to reclaim PB5 means you need a high-voltage programmer to recover the chip.
- ISP programming uses pins 1, 5, 6, 7 plus power.
Need this part on a board? PCBEditor generates the schematic and PCB from a prompt.
Open the editor →