Phone

    00852-6915 1330

ATTINY13A Microcontroller: Arduino, Datasheet, Pinout [Video&FAQ]

  • Contents

Product Overview

The ATtiny13A 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 ATtiny13A achieves throughputs approaching 1 MIPS per MHz allowing the system designer to optimize power consumption versus processing speed.

 

This blog will introduce ATTINY13A systematically from its features, pinout to its specifications, applications, also including programming ATTiny13 with Arduino Uno and so much more.

 

Catalog

Product Overview

Programming ATTiny13 with Arduino Uno

ATTINY13A Features

ATTINY13A Pinout

ATTINY13A Applications

ATtiny13A Alternative

ATTINY13A Block Diagram

ATTINY13A vs ATTINY13

ATTINY13A Specification

ATTINY13A Manufacturer

ATTINY13A Datasheet

Using Warnings

ATTINY13A FAQ

 

Programming ATTiny13 with Arduino Uno

Here is a video of programming ATTiny13 with Arduino Uno.

 

ATTINY13A 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 Througput 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 Cycles: 10,000 Flash/100,000 EEPROM

– Data retention: 20 Years at 85°C/100 Years at 25°C (see page 12)

– 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 with Software Disable Function

– Internal Calibrated Oscillator

 

  • I/O and Packages

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

– 10-pad VDFN: Six Programmable I/O Lines

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

 

  • Operating Voltage:

– 1.8 – 5.5V

 

  • Speed Grade:

– 0 – 4 MHz @ 1.8 – 5.5V

– 0 – 10 MHz @ 2.7 – 5.5V

– 0 – 20 MHz @ 4.5 – 5.5V

 

  • Industrial Temperature Range

 

  • Low Power Consumption

– Active Mode:

  • 190 µA at 1.8 V and 1 MHz

– Idle Mode:

  • 24 µA at 1.8 V and 1 MHz

 

ATTINY13A Pinout

The following figure is the diagram of ATTINY13A pinout.

 

ATTINY13A Pinout

ATTINY13A Pinout

 

ATTINY13A Applications

  • Building Automation
  • Security
  • Consumer Electronics
  • Industrial
  • Sensing & Instrumentation
  • Lighting
  • Portable Devices

 

ATtiny13A Alternative

ATtiny13

 

ATTINY13A Block Diagram

The following figure shows the block diagram of ATTINY13A.

 

ATTINY13A Block Diagram

ATTINY13A Block Diagram

 

ATTINY13A vs ATTINY13

A-grade AVRs are minor improvements over the previous iteration; these improvements vary from chip to chip, e.g. the difference between ATtiny2313 and ATtiny2313A is different from the difference between ATmega128 and ATmega128A.

 

To be more specific, the ATtiny13 is the original version and uses a different process technology than the ATtiny13A. The A-suffixed parts are fabricated with a low power process marketed as "picoPower", and the main difference is that they generally consume less power at the same voltage and frequency.

 

ATTINY13A vs ATTINY13

ATTINY13A vs ATTINY13

 

Regarding differences from the point of view of code compatibility, I see no reason why the ATtiny13A would not be code and binary compatible with programs written for the ATtiny13. However, the reverse is not strictly the case: While the instruction sets and most peripherals are identical, the ATtiny13A has the extra registers PRR (Power Reduction Register) and BODCR (Brown-Out Detector Control Register).

 

ATTINY13A Specification

Max ADC Resolution (bits) 10
Program Memory Size (KB) 1
Number of Comparators 1
CPU Speed (MIPS/DMIPS) 20
Data EEPROM (bytes) 64
Max 8 Bit Digital Timers 1
Ethernet None
Program Memory Type Flash
ADC Channels 4
Low Power Yes
Operating Voltage 1.8 - 5.5
outputcomparatorPWM 2
Pin Count 8
Temp Range (°C) -165

 

ATTINY13A Manufacturer

Microchip Technology Inc. is a leading provider of microcontroller and analog semiconductors, providing low-risk product development, lower total system cost and faster time to market for thousands of diverse customer applications worldwide. Headquartered in Chandler, Arizona, Microchip offers outstanding technical support along with dependable delivery and quality.

 

ATTINY13A Datasheet

You can download this datasheet for ATTINY13A–Datasheet from the link given below:

ATTINY13A Datasheet

 

Using Warnings

Note: Please check their parameters and pin configuration before replacing them in your circuit.

 

ATTINY13A FAQ

What is ATtiny?

ATINY is a contraction of "ATEEZ and destiny" and signifies that ATEEZ's future is together with their fans.

 

How do I program ATtiny13A Arduino Nano?

Connect the ATtiny85 to your Uno board. (Do not forget to add a 10uf cap on reset and ground of your Arduino.) Use jumper wire for connections or MAKE A SHIELD USING PERF BOARD AND DIP8 SOCKET. Select the right clock frequency for ATtiny85 select 8 MHz and for ATtiny13A select 9.6 MHz.

 

What is the pin 3 of the ATtiny 13?

Pin 3 is defined in hardware as PB4, now let’s take a look at the edited code: //We will replace "LED_BUILTIN" with "4" since ATtiny does not have a built-in led! // initialize digital Pin 3 of ATtiny 13 (defined in hardware as 4) as an output.

 

What is the ATtiny13A based on?

AVR® enhanced RISC architecture

 

How many MIPS per MHz does the ATtiny13A achieve throughputs?

1 MIPS per MHz

 

Kynix

Kynix was founded in 2008, specializing in the electronic components distribution business. We adhere to honesty and ethics as our business philosophy and have gradually established an excellent reputation and credibility in our international business. With the accurate quotation, excellent credit, reasonable price, reliable quality, fast delivery, and authentic service, we have won the praise of the majority of customers.

Join our mailing list!

Be the first to know about new products, special offers, and more.

Leave a Reply

We'd love to hear from you! Feel free to share your thoughts and comments below. Rest assured, your email address will remain private.

Name *
Email *
Captcha *
Rating:

Kynix

  • How to purchase

  • Order
  • Search & Inquiry
  • Shipping & Tracking
  • Payment Methods
  • Contact Us

  • Tel: 00852-6915 1330
  • Email: info@kynix.com
  • Follow Us

authentication

Kynix

© 2008-2026 kynix.com all rights reserve.