The high-performance, low-power Microchip 8-bit AVR® RISC-based microcontroller combines 1 KB ISP Flash memory, 64B SRAM, 64B EEPROM, a 32B register file, and a 4-channel 10-bit A/D converter. The device supports a throughput of 20 MIPS at 20 MHz and operates between 2.7-5.5 volts. By executing powerful instructions in a single clock cycle, the device achieves throughputs approaching one MIPS per MHz, balancing power consumption and processing speed.
How to program ATtiny13A with Arduino
Catalog
The ATtiny13 is a low-power CMOS 8-bit microcontroller based on the AVR-enhanced RISC architecture. By executing powerful instructions in a single clock cycle, the ATtiny13 achieves throughputs approaching 1 MIPS per MHz allowing the system designer to optimize power consumption versus processing speed.
Symbol
Figure1-Symbol
Footprint
Figure2-Footprint
Figure3-ATtiny13 Pinout
Pin Number |
Pin Name |
Description |
1 |
(PCINT5/RESET/ADC0/dW)PB5 |
Pin of Port B Bit 5 or ADC Input Channel 0 or debugWIRE I/O or Pin Change Interrupt 0, source 3 or Reset pin mainly used for programming |
2 |
(PCINT3/CLKI/ADC3) PB3 |
Bidirectional I/O Pin of Port B Bit 3 or ADC Input Channel 3 or External Clock Input or Pin Change Interrupt 0, source 3 |
3 |
(PCINT4/ADC2) PB4 |
Bidirectional I/O Pin of Port B Bit 4 or ADC Input Channel 2 or Pin Change Interrupt 0, source 4 |
4 |
GND |
Ground Pin of MCU |
5 |
PB0 (MOȘI/AIN0/OC0A/PCINT0) |
Bidirectional I/O Pin of Port B Bit 0 or SPI MOSI used for programming or Analog comparator + or Pin change interrupt0, source 0 or Timer/Counter0 compare Match A Out |
6 |
PB1 (MISO/AIN1/OC0B/INT0/PCINT1) |
Bidirectional I/O Pin of Port B Bit 1 or Analog comparator input - or External input 0 input or Timer/Counter1 Compare Match B Out or Pin Change Interrupt 0, source 1 or SPI MISO used for programming |
7 |
PB2 (SCK/ADC1/T0/PCINT2) |
Bidirectional I/O Pin of Port B Bit 2 or ADC Input Channel 1 or Timer/Counter0 Clock Source or Serial Clock input or Pin Change Interrupt 0, source 2 or external clock input, used for programming |
8 |
VCC |
Positive Pin of MCU (+5V) |
– 120 Powerful Instructions
– Most Single Clock Cycle Execution
– 32 x 8 General Purpose Working Registers
– Fully Static Operation – Up to 20 MIPS Throughput at 20 MHz
– 1K Bytes of In-System Self-programmable Flash program memory
– 64 Bytes EEPROM – 64 Bytes Internal SRAM
– Write/Erase cyles: 10,000 Flash/100,000 EEPROM
– Data retention: 20 years at 85°C/100 years at 25°C
– Programming Lock for Self-Programming Flash & EEPROM Data Security
– One 8-bit Timer/Counter with Prescaler and Two PWM Channels
– 4-channel, 10-bit ADC with Internal Voltage Reference
– Programmable Watchdog Timer with Separate On-chip Oscillator
– On-chip Analog Comparator
– debugWIRE On-chip Debug System
– In-System Programmable via SPI Port
– External and Internal Interrupt Sources
– Low Power Idle, ADC Noise Reduction, and Power-down Modes
– Enhanced Power-on Reset Circuit
– Programmable Brown-out Detection Circuit
– Internal Calibrated Oscillator
– 8-pin PDIP/SOIC: Six Programmable I/O Lines
– 20-pad MLF: Six Programmable I/O Lines
– 1.8 - 5.5V for ATtiny13V
– 2.7 - 5.5V for ATtiny13
– ATtiny13V: 0 - 4 MHz @ 1.8 - 5.5V, 0 - 10 MHz @ 2.7 - 5.5V
– ATtiny13: 0 - 10 MHz @ 2.7 - 5.5V, 0 - 20 MHz @ 4.5 - 5.5V
– Active Mode:
– Power-down Mode:
Note: Complete technical details can be found in the ATtiny13 Datasheet, linked at the bottom of this page.
Figure4-ATtiny13 block diagram
ATtiny2313A (Exact Alternative with the new release)
ATtiny417, ATtiny28L, ATtiny48, ATmega88PA, ATmega8A, ATmega8515, ATmega8535, ATmega645A, ATmega645A, ATmega6490
Figure5-ATtiny13 Package
|
ATTINY13 |
ATTINY13A |
Max ADC Resolution (bits) |
10 |
10 |
Program Memory Size (KB) |
1 |
1 |
Number of Comparators |
1 |
1 |
CPU Speed (MIPS/DMIPS) |
20 |
20 |
Data EEPROM (bytes) |
64 |
64 |
Max 8-Bit Digital Timers |
1 |
1 |
Ethernet |
None |
None |
Program Memory Type |
Flash |
Flash |
ADC Channels |
4 |
4 |
Low Power |
No |
Yes |
Operation Voltage Max.(V) |
5.5 |
5.5 |
Operation Voltage Min.(V) |
1.8 |
1.8 |
output comparator PWM |
2 |
2 |
Pin Count |
8 |
8 |
Temp. Range Max. |
85 |
125 |
Temp. Range Min. |
-40 |
-40 |
Summary |
The high-performance, low-power Microchip 8-bit AVR® RISC-based microcontroller combines 1 KB ISP Flash memory, 64B SRAM, 64B EEPROM, a 32B register file, and a 4-channel 10-bit A/D converter. The device supports a throughput of 20 MIPS at 20 MHz and operates between 2.7-5.5 volts. By executing powerful instructions in a single clock cycle, the device achieves throughputs approaching one MIPS per MHz, balancing power consumption and processing speed. |
The Microchip picoPower® 8-bit AVR® RISC-based microcontroller features 1 KB of ISP Flash, 64B EEPROM, 64B SRAM, 32B register file, and 4-channel 10-bit A/D converter. The device achieves up to 20 MIPS throughput at 20 MHz at 1.8-5.5V operation. By executing powerful instructions in a single clock cycle, the ATtiny13A achieves throughputs approaching one MIPS per MHz allowing you to optimize power consumption versus processing speed. |
Microchip Technology Incorporated is a leading provider of smart, connected, and secure embedded control solutions. Customers may construct the best designs possible with the help of its user-friendly development tools and wide range of products, which minimize total system cost and time to market while reducing risk. More than 120,000 customers use the company's solutions in the industrial, automotive, consumer, aerospace and defense, communications, and computer sectors. Microchip, with headquarters in Chandler, Arizona, provides excellent technical assistance, consistent delivery, and high-quality products.
CR2025 is a type of lithium coin cell battery. It's a small, round, flat battery commonly used in various electronic devices such as watches, calculators, remote controls, key fobs, and small electronic gadgets. The "CR" in its name stands for lithium manganese dioxide chemistry, and "2025" refers to its dimensions: 20mm diameter and 2.5mm height. These batteries are known for their long shelf life and stable voltage output, making them popular choices for low-power devices.
Read More >ESP32-CAM can be used in various Internet of Things situations and is suitable for home smart devices, industrial wireless control, wireless Monitoring, QR wireless identification, wireless positioning system signals, and other IoT applications are ideal solutions for IoT applications.
Read More >ESP32-CAM is a development board with an ESP32-S chip, an OV2640 camera, a microSD card slot, and several GPIOs for connecting peripherals. ESP32-CAM is a small-sized camera module. The module can work independently as the smallest system, with a size of only 27*40.5*4.5mm.
Read More >The MCP73833/4 is a highly advanced linear charge management controller for use in space-limited, cost sensitive applications. Both a 10-lead, MSOP and a 10-lead, DFN packaging measuring 3 mm by 3 mm are offered for the MCP73833/4. In addition to its tiny size, the MCP73833/4 is perfect for portable applications because it requires a few additional components.
Read More >In the realm of electronics, where connectivity and isolation are paramount, the 4N35 optocoupler IC stands as a beacon of reliability and versatility. This small yet mighty device plays a crucial role in ensuring signal integrity and safety across a wide range of applications. In this article, we delve into the intricacies of the 4N35 optocoupler IC, exploring its datasheet, pinout, circuit diagram, and diverse uses.
Read More >