Skip to main content
PartAndStock
Blog

What Is the ATtiny13? 8-Pin Small AVR Microcontroller

November 10, 2026 4 min read
Quick answer

The ATtiny13 is Microchip's (formerly Atmel) 8-pin, 1 KB flash, very small 8-bit AVR microcontroller. It is ideal for simple, single-task jobs (LED effects, timers, PWM); it is the smaller sibling of the ATtiny85. 1 KB of flash is very tight, most Arduino libraries don't fit, so you program in plain C.

The ATtiny13 is Microchip's (formerly Atmel) 8-pin, very small AVR microcontroller. With only 1 KB of flash it is ideal for simple, single-task embedded jobs; it is the smaller sibling of the ATtiny85. For the concept, see what is a microcontroller.

What is the ATtiny13 used for?

LED effects, simple timers, PWM motor/LED control, button reading and single-purpose small controllers. Its tiny body and low cost make it a favourite for small tasks where "you don't need an Arduino".

Specifications

ParameterValue
Core8-bit AVR
Flash1 KB
Pins8 (6 GPIO)
Supply1.8 – 5.5 V

Watch out

1 KB of flash is very tight; Arduino libraries usually don't fit, so you program in plain C. The ADC input and hardware serial port are limited. If you need more memory/peripherals, the ATtiny85 (8 KB) or ATmega328P is more suitable.

Equivalents

  • ATtiny85: same 8 pins, 8 KB flash (more capable).
  • ATtiny25/45: smaller members of the ATtiny85 family.
  • PIC10F/PIC12F: Microchip's small PIC alternatives.

Find it in our catalog

Use the ATtiny13 search.

Frequently Asked Questions

What is the ATtiny13?+
The ATtiny13 is Microchip's (formerly Atmel) 8-pin, 1 KB flash, very small 8-bit AVR microcontroller. It is ideal for simple, single-task embedded jobs (LEDs, timers, PWM).
What is the difference between the ATtiny13 and the ATtiny85?+
Both are 8-pin; the ATtiny13 has 1 KB and the ATtiny85 has 8 KB of flash. If you need more code/peripherals the ATtiny85 is preferred; for very small jobs the ATtiny13 is enough.
Can the ATtiny13 be programmed with Arduino?+
It can be programmed with the Arduino IDE, but 1 KB of flash is very tight; most Arduino libraries don't fit. It is usually programmed in plain C (avr-gcc).
What is an equivalent to the ATtiny13?+
The more capable ATtiny85 (8 KB); the small family ATtiny25/45; and, on the PIC side, the PIC10F/PIC12F.