ATTINY13A Pinout
ATtiny13A AVR MCU · 8-bit AVR MCU in a DIP-8 — same pinout as the ATtiny85, with 1KB flash and 4 ADC channels.
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | PB5 · RESET | Control | /RESET / ADC0 / dW (active-low reset) |
| 2 | PB3 | I/O | GPIO / ADC3 / CLKI |
| 3 | PB4 | I/O | GPIO / ADC2 |
| 4 | GND | GND | Ground |
| 5 | PB0 | I/O | GPIO / MOSI / AIN0 / OC0A (PWM) |
| 6 | PB1 | I/O | GPIO / MISO / AIN1 / OC0B (PWM) |
| 7 | PB2 | I/O | GPIO / SCK / ADC1 / T0 |
| 8 | VCC | Power | Supply + (1.8–5.5V) |
How to read the ATTINY13A pinout
- 01
Find pin 1
One end of the chip has a half-circle notch or a dot; with the notch facing up, the top-left pin is pin 1.
- 02
Count counter-clockwise
Count counter-clockwise from pin 1: go down the left side first, then up the right side from the bottom.
- 03
Check the table below
Look up each pin's function by number in the table below; power/ground are color-coded, and alternate-function signals are in parentheses.
Frequently asked questions
Is the ATtiny13A pinout the same as the ATtiny85?
Yes — identical 8-pin layout (PB0–PB5/RESET on the same pins, VCC pin 8, GND pin 4). The ATtiny13A just has less flash/RAM and fewer peripherals (no USI, fewer timers).
How many usable I/O pins are there?
Five (PB0–PB4) plus PB5 if you give up reset. PB5/RESET is best left as reset unless you have a high-voltage programmer to recover it.
Pinout data comes from Microchip ATtiny13A datasheet (standard DIP-8 numbering). Refer to the actual device datasheet as authoritative for the pinout.