What Is the ATtiny13? 8-Pin Small AVR Microcontroller
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
| Parameter | Value |
|---|---|
| Core | 8-bit AVR |
| Flash | 1 KB |
| Pins | 8 (6 GPIO) |
| Supply | 1.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.