Welcome to Hong Kong Bitfoic Electronics Co., Ltd
Home > Components >ATtiny13 8-bit AVR Microcontroller: Pinout, Features and Datasheet[Video&FAQ]

ATtiny13 8-bit AVR Microcontroller: Pinout, Features and Datasheet[Video&FAQ]

3/15/2023

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

 

ATtiny13 Overview

 

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.

 

ATtiny13 CAD Model

 

Symbol

 

Figure1-Symbol

Figure1-Symbol

 

Footprint

Figure2-Footprint

 

ATtiny13 Pinout

Figure3-ATtiny13 Pinout

 

 

ATtiny13 Pin Configuration

 

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)

 

ATtiny13 Features

 

  • High Performance, Low Power AVR® 8-Bit Microcontroller
  • Advanced RISC Architecture

– 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

 

  • High Endurance Non-volatile Memory Segments

– 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

 

  • Peripheral Features

– 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

 

  • Special Microcontroller Features

– 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

 

  • I/O and Packages

– 8-pin PDIP/SOIC: Six Programmable I/O Lines

– 20-pad MLF: Six Programmable I/O Lines

 

  • Operating Voltage:

– 1.8 - 5.5V for ATtiny13V

– 2.7 - 5.5V for ATtiny13

 

  • Speed Grade

– 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

  • Industrial Temperature Range
  • Low Power Consumption

– Active Mode:

  • 1 MHz, 1.8V: 240 µA

– Power-down Mode:

  • < 0.1 µA at 1.8V

 

Note: Complete technical details can be found in the ATtiny13 Datasheet, linked at the bottom of this page.

 

 ATtiny13 Block Diagram

 

 

Figure4-ATtiny13 block diagram

Figure4-ATtiny13 block diagram

 

 

ATtiny13 Alternative Parts

 

ATtiny2313A (Exact Alternative with the new release)

ATtiny417, ATtiny28L, ATtiny48, ATmega88PA, ATmega8A, ATmega8515, ATmega8535,  ATmega645A, ATmega645A, ATmega6490

 

ATtiny13 Package

 

Figure5-ATtiny13 Package

Figure5-ATtiny13 Package

 

 

 

 

ATTINY13 vs ATTINY13A

 

 

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.

 

ATTINY13 vs ATTINY13A pdf

 

ATtiny13 Datasheet

 

ATtiny13 microcontroller PDF

 

 

ATtiny13A Manufacturer

 

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.

Frequently Asked Questions
1. What is the difference between ATtiny13 and attiny85?
2. What language does ATtiny use?
3. Is ATtiny a microcontroller?
4. What are the details of ATtiny13A?
logo
Bitfoic is a professional electronic components distributor founded in 2013. Adhering to our business philosophy of customer first and people-oriented, we have won the favor of our customers and established an excellent reputation in international Partner.
Related Articles
  • CR2025 vs CR2016: Which one you should choose ?
    CR2025 vs CR2016: Which one you should choose ?
    5/8/2024 29

    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 >
  • How to resolve the WiFi and ADC2 Sharing Dilemma?
    How to resolve the WiFi and ADC2 Sharing Dilemma?
    4/19/2024 47

    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 Pinout Explanation and How to Use?
    ESP32-CAM Pinout Explanation and How to Use?
    4/18/2024 141

    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 >
  • Stand-Alone Linear Li-Ion / Li-Polymer Charge Management Controller MCP73833
    Stand-Alone Linear Li-Ion / Li-Polymer Charge Management Controller MCP73833
    4/9/2024 71

    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 >
  • Optocoupler IC 4N35: Pinout, Datasheet, Features and Applications
    Optocoupler IC 4N35: Pinout, Datasheet, Features and Applications
    3/26/2024 132

    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 >
Microchip Technology
In Stock: 3456
Popular parts number