Overview
The ATtiny13 is a compact, 8-bit microcontroller from Microchip's AVR family. Known for its simplicity, low power consumption, and suitability for space-constrained and battery-operated projects, it is ideal for beginner-level and minimalistic embedded systems.
Specifications
- CPU: 8-bit AVR RISC architecture
- Clock Speed: Up to 9.6 MHz
- Flash Memory: 1 KB
- SRAM: 64 bytes
- EEPROM: 64 bytes
- I/O Pins: 6 GPIO pins
- ADC: 10-bit ADC with 4 channels
- Package: DIP-8 or SOIC-8
- Operating Voltage: 2.7V to 5.5V
Key Features
- Low-power operation with multiple sleep modes for extended battery life
- PWM support for controlling LEDs or motors
- High-speed and efficient processing in a compact package
- Easy programming via the Arduino IDE or AVR Studio
- Support for interrupts, timers, and watchdog functionality
Pinout
Pin | Function |
---|---|
1 (PB5/RESET) | Reset or GPIO |
2 (PB3) | GPIO or ADC input |
3 (PB4) | GPIO or ADC input |
4 (GND) | Ground |
5 (PB0) | GPIO or ADC input |
6 (PB1) | GPIO or ADC input |
7 (PB2) | GPIO or ADC input |
8 (VCC) | Power Supply (+2.7V to +5.5V) |
Applications
- LED Lighting: Creating lighting effects, dimmers, or indicators
- Wearables: Power-efficient designs for fitness trackers or health monitors
- Robotics: Simple motor controllers for small bots
- Sensor Projects: Data acquisition from temperature, light, or pressure sensors
- DIY Gadgets: Compact control systems for personal projects
Programming
- Bootloader: Load programs via the Arduino IDE
- ISP: Use tools like USBasp or AVRISP for In-System Programming
- Arduino IDE Support: Program directly with an appropriate board manager installed
Popular tools and platforms include:
- Arduino UNO (as ISP programmer)
- USBasp Programmer
- Standalone AVR Studio