Power Supply vs. Maximum Frequency
The ATtiny13A has a unique clock, featuring an internal clock that runs at 128kHz, or an RC clock that runs 4.8MHz
or 9.6MHz along with a divide by 8 fuse. The maximum frequency is 20MHz with an external clock (not a crystal!).
The default clock is the internal RC oscillator running at 9.6MHz with the ÷8 enabled, for a clock of 1.2MHz.
Maximum Frequency Calculator for ATtiny13A
|I/O Pins ||6|
|ADC Channels ||4|
|RT Counter (w/osc)||0|
|Timers (8-bit) ||1|
|Timers (16-bit) ||0|
|PWM (8-bit) ||2|
|PWM (16-bit) ||0|
|Price (1's) ||$0.97|
|Power Consumption (approximate) ||1mA + (0.58mA/MHz)|
|Maximum I/O Current (per pin) ||40mA|
|Maximum I/O Current (total) ||200mA (PDIP)|
Link to ATtiny13A datasheet from Atmel's website.
ATtiny13A "Minimal" Circuit Diagram
circuit below shows a programming port and reset circuit. By default the unit runs an 9.6MHz internal RC oscillator,
divided by 8, for a 1.2MHz system clock.