ATtiny13 Microcontroller Overview
The ATtiny13 is a low-power 8-bit CMOS microcontroller based on the enhanced AVR RISC architecture. With its advanced instruction set and single-clock cycle instruction execution time, the ATtiny13 achieves a data throughput of up to 1 MIPS/MHz, helping to alleviate the trade-off between power consumption and processing speed in a system.
ATtiny13 Features
- High Performance
- Low Power Consumption
- On-chip Analog Comparator
- 120 Powerful Instructions
- Most Single Clock Cycle Execution
- Fully Static Operation
- Internal Calibrated Oscillator
- Industrial Temperature Range
- Enhanced Power-on Reset Circuit
- DebugWIRE On-chip Debug System
- In-System Programmable via SPI Port
- External and Internal Interrupt Sources
- Programmable Brown-out Detection Circuit
- Programmable Watchdog Timer with Separate On-chip Oscillator
- Low Power Idle, ADC Noise Reduction, and Power-down Modes

ATtiny13 Specification
Parameter | Value |
---|---|
Flash Memory | 1K bytes |
EEPROM | 64 bytes |
SRAM | 64 bytes |
General purpose I/O lines | 6 |
General working registers | 32 x 8 |
Timer/counter | 1 * 8-bit (with compare mode) |
ADC channels | 4 * 10-bit |
PWM Channels | 2 |
Operating Voltage | 2.7 - 5.5V |
Package | 8-pin PDIP/SOIC |
ATtiny13 Pin Configuration

Pin Description
Pin Number | Pin Name | Function |
---|---|---|
1 | PB5 | Digital I/O Pin |
2 | PB3 | Digital I/O Pin |
3 | PB4 | Digital I/O Pin |
4 | GND | Ground |
5 | VCC | Power Supply (5V) |
6 | PB2 | Digital I/O Pin |
7 | PB1 | Digital I/O Pin |
8 | PB0 | Digital I/O Pin |
ATtiny13 Block Diagram

ATtiny13 Applications
- LED Blinking: traffic lights, warning lights, or decorative lights.
- Sensor Control: temperature, light, and humidity sensors.
- Motor Control: robotics or automated systems.
- Security Systems: door locks, alarms, and access control systems.
- Audio Systems: amplifiers, equalizers, and sound filters.
- Timing and Clocks: timers for measuring the duration of an event.
- Display Control: LCDs, LEDs, and OLEDs.