# ATtiny85 8-Bit AVR Microcontroller (DIP-8)

- **Manufacturer**: Microchip / Atmel
- **Type**: Chip
- **Year**: 2005
- **URL (German)**: https://pinoutdb.org/component/attiny85
- **URL (English)**: https://pinoutdb.org/en/component/attiny85
- **Description**: 20MHz, 8kB Flash, 512B SRAM, 512B EEPROM, debugWIRE, DIP-8
- **Datasheets & Links**:
  - [ATtiny85 Datasheet (PDF)](http://ww1.microchip.com/downloads/en/DeviceDoc/atmel-2586-avr-8-bit-microcontroller-attiny25-attiny45-attiny85_datasheet.pdf) (datasheet)

## View: DIP-8 Top View (Package: dip)

| Pin | Signal Name | Type | Alternative Functions / Description |
| :--- | :--- | :--- | :--- |
| 1 | RESET/PB5 | Digital | Reset Input (Active Low; pull HIGH with 10kΩ for normal operation) [Reset], ADC0 — ADC Channel 0 Input [Analog], dW — debugWIRE Interface (single-wire debug) [Digital], PCINT5 — Pin Change Interrupt 5 [Digital] |
| 2 | XTAL1/PB3 | Digital | XTAL1 — Crystal Oscillator Input [Oscillator], OC1B — Timer/Counter1 Compare Match B Output (PWM) [PWM], ADC3 — ADC Channel 3 Input [Analog], PCINT3 — Pin Change Interrupt 3 [Digital] |
| 3 | XTAL2/PB4 | Digital | XTAL2 — Crystal Oscillator Output [Oscillator], OC1B — Timer/Counter1 Compare Match B Inverted Output (PWM) [PWM], ADC2 — ADC Channel 2 Input [Analog], PCINT4 — Pin Change Interrupt 4 [Digital] |
| 4 | GND | Ground | System Ground (0V) [Ground] |
| 5 | AREF/PB0 | Digital | MOSI — USI Data Output / SPI MOSI [SPI], SDA — USI Two-Wire Data (I2C SDA when using USI in TWI mode) [I2C], OC0A — Timer/Counter0 Compare Match A Output (PWM) [PWM], OC1A — Timer/Counter1 Compare Match A Output (PWM) [PWM], AIN0 — Analog Comparator Positive Input [Analog], AREF — External Analog Reference (when selected via ADMUX) [Reference], PCINT0 — Pin Change Interrupt 0 [Digital] |
| 6 | PB1 | Digital | MISO — USI Data Input / SPI MISO [SPI], AIN1 — Analog Comparator Negative Input [Analog], OC0B — Timer/Counter0 Compare Match B Output (PWM) [PWM], OC1A — Timer/Counter1 Compare Match A Inverted Output (PWM) [PWM], PCINT1 — Pin Change Interrupt 1 [Digital] |
| 7 | PB2 | Digital | SCK — USI Clock / SPI Clock [SPI], SCL — USI Two-Wire Clock (I2C SCL when using USI in TWI mode) [I2C], ADC1 — ADC Channel 1 Input [Analog], T0 — Timer/Counter0 External Clock Input [Clock], INT0 — External Interrupt 0 [Digital], PCINT2 — Pin Change Interrupt 2 [Digital] |
| 8 | VCC | Power | Positive Power Supply (1.8V – 5.5V) [Power] |


---
Source: PinoutDatabase (https://pinoutdb.org). Verify against the manufacturer datasheet before production use.
