Features High Performance, Low Power AVR 8-Bit Microcontroller Advanced RISC Architecture 120 Powerful Instructions Most Single Clock Cycle Execution 32 x 8 General Purpose Working Registers Fully Static Operation Up to 20 MIPS Througput at 20 MHz High Endurance Non-volatile Memory segments 1K Bytes of In-System Self-programmable Flash program memory 8-bit 64 Bytes EEPROM 64 Bytes Internal SRAM Microcontroller Write/Erase cyles: 10,000 Flash/100,000 EEPROM Data retention: 20 years at 85C/100 years at 25C (see page 6) with 1K Bytes Programming Lock for Self-Programming Flash & EEPROM Data Security Peripheral Features In-System One 8-bit Timer/Counter with Prescaler and Two PWM Channels 4-channel, 10-bit ADC with Internal Voltage Reference Programmable Programmable Watchdog Timer with Separate On-chip Oscillator On-chip Analog Comparator Flash Special Microcontroller Features debugWIRE On-chip Debug System In-System Programmable via SPI Port ATtiny13 External and Internal Interrupt Sources Low Power Idle, ADC Noise Reduction, and Power-down Modes ATtiny13V Enhanced Power-on Reset Circuit Programmable Brown-out Detection Circuit Internal Calibrated Oscillator I/O and Packages 8-pin PDIP/SOIC: Six Programmable I/O Lines 20-pad MLF: Six Programmable I/O Lines Operating Voltage: 1.8 - 5.5V for ATtiny13V 2.7 - 5.5V for ATtiny13 Speed Grade ATtiny13V: 0 - 4 MHz 1.8 - 5.5V, 0 - 10 MHz 2.7 - 5.5V ATtiny13: 0 - 10 MHz 2.7 - 5.5V, 0 - 20 MHz 4.5 - 5.5V Industrial Temperature Range Low Power Consumption Active Mode: 1 MHz, 1.8V: 240 A Power-down Mode: < 0.1 A at 1.8V Rev. 2535JAVR08/101. Pin Configurations Figure 1-1. Pinout ATtiny13/ATtiny13V 8-PDIP/SOIC (PCINT5/RESET/ADC0/dW) PB5 1 8 VCC (PCINT3/CLKI/ADC3) PB3 2 7 PB2 (SCK/ADC1/T0/PCINT2) (PCINT4/ADC2) PB4 3 6 PB1 (MISO/AIN1/OC0B/INT0/PCINT1) GND 4 5 PB0 (MOSI/AIN0/OC0A/PCINT0) 20-QFN/MLF (PCINT5/RESET/ADC0/dW) PB5 1 15 VCC (PCINT3/CLKI/ADC3) PB3 2 14 PB2 (SCK/ADC1/T0/PCINT2) DNC 3 13 DNC DNC 4 12 PB1 (MISO/AIN1/OC0B/INT0/PCINT1) (PCINT4/ADC2) PB4 5 11 PB0 (MOSI/AIN0/OC0A/PCINT0) NOTE: Bottom pad should be soldered to ground. DNC: Do Not Connect 10-QFN/MLF (PCINT5/RESET/ADC0/dW) PB5 1 10 VCC (PCINT3/CLKI/ADC3) PB3 2 9 PB2 (SCK/ADC1/T0/PCINT2) DNC 3 8 DNC (PCINT4/ADC2) PB4 4 7 PB1 (MISO/AIN1/OC0B/INT0/PCINT1) GND 5 6 PB0 (MOSI/AIN0/OC0A/PCINT0) NOTE: Bottom pad should be soldered to ground. DNC: Do Not Connect 2 ATtiny13 2535JAVR08/10 DNC 6 20 DNC DNC 7 19 DNC GND 8 18 DNC DNC 9 17 DNC DNC 10 16 DNC