Opens in a new tab

ATTINY13A-SU

8-bit AVR MCU, 1KB Flash, 64B SRAM, 10-bit ADC, USI, 1.8-5.5V in SOIC-8

3044

Effective Inventory

Image for reference only

Manufacturer Part:

ATTINY13A-SU

Package:

SOIC-8 (4.90 x 3.90 x 1.50 mm)

Brand:

Quality Commitment

Shipping & Payment

Service & Packaging

Product Manual

Other recommendations you may be interested in.

Description

Product Overview

The ATTINY13A-SU from Microchip (Atmel) is an 8-bit AVR microcontroller in an SOIC-8 package. It features 1KB Flash, 64B SRAM, 64B EEPROM, 4-channel 10-bit ADC, and a USI peripheral supporting SPI communication. Operating from 1.8V to 5.5V, it is one of the smallest and lowest-cost AVR microcontrollers available.

Key Specifications

CPU Core AVR 8-bit RISC
Maximum Frequency 20 MHz
Flash Memory 1 KB
SRAM 64 Bytes
EEPROM 64 Bytes
ADC 4-channel x 10-bit
Communication SPI (via USI)
Timers 1x 8-bit
PWM 2 channels
Comparator 1
Supply Voltage 1.8V ~ 5.5V
Package SOIC-8 (4.90 x 3.90mm)
Operating Temperature -40°C ~ +85°C

Features

  • Full AVR RISC architecture with 120 instructions
  • 1KB self-programmable Flash with read-while-write
  • 10-bit ADC with internal voltage reference options
  • USI (Universal Serial Interface) for SPI and I2C communication
  • Internal calibrated RC oscillator eliminating external clock
  • Power-on reset and brown-out detection
  • Multiple sleep modes for power saving

Applications

  • Simple logic and control functions
  • LED lighting controllers
  • Battery chargers and monitors
  • Simple sensor interfaces
  • Replacement for discrete logic and 555 timers
Product Introduction: ATTINY13A-SU Product Introduction

The ATTINY13A-SU from Microchip (formerly Atmel) is one of the smallest and most cost-effective members of the AVR microcontroller family. With 1KB of Flash program memory, 64 bytes of SRAM, and 64 bytes of EEPROM in an 8-pin SOIC package, it provides just enough resources for simple control tasks that would otherwise require discrete logic or 555 timers. The 10-bit ADC with 4 channels enables basic analog measurement capabilities. The USI (Universal Serial Interface) supports SPI communication for connecting to external peripherals. The internal calibrated RC oscillator provides accurate timing without an external crystal. Operating from 1.8V to 5.5V, the device is suitable for both battery-powered and 5V systems. In-system programming through SPI allows firmware updates in the field.

Working Principle: ATTINY13A-SU Working Principle

The ATTINY13A operates around the AVR 8-bit RISC core with a Harvard architecture (separate instruction and data memories). Most instructions execute in a single clock cycle. The 1KB Flash stores the program, 64B SRAM provides working data storage, and 64B EEPROM provides non-volatile data storage. The internal calibrated RC oscillator runs at 9.6MHz or 4.8MHz, with a clock prescaler dividing down to lower frequencies for power savings. The 8-bit Timer/Counter0 provides timing, PWM generation, and interrupt functions. The ADC uses a 10-bit successive approximation architecture with selectable internal 1.1V or VCC reference. The USI implements a simplified SPI interface using 3-wire (clock, data in, data out) communication. Six sleep modes including idle, ADC noise reduction, and power-down minimize power consumption when the CPU is not needed.

Pin Description: ATTINY13A-SU Pin Definition and Functions
Pin Name Function
1 PB5/RESET/ADC0 GPIO/Reset (via fuse)/ADC channel 0
2 PB3/ADC3/CLKI GPIO/ADC channel 3/External clock input
3 PB4/ADC2 GPIO/ADC channel 2
4 GND Ground
5 PB0/MOSI/OC0A GPIO/SPI data out/PWM output A
6 PB1/MISO/OC0B GPIO/SPI data in/PWM output B
7 PB2/SCK/ADC1 GPIO/SPI clock/ADC channel 1
8 VCC Supply voltage (1.8V-5.5V)
Application Scenarios: In which products and applications is ATTINY13A-SU used
  • LED PWM Controller: 2 PWM channels drive constant-current LED dimming; ADC reads potentiometer for brightness control
  • Battery Monitor: ADC measures battery voltage; I/O drives low-battery indicator LED; deep sleep extends measurement interval
  • 555 Timer Replacement: 1KB Flash provides far more flexibility than fixed-function 555; internal oscillator eliminates external timing components
  • Simple Sensor Interface: ADC reads analog sensor; USI (SPI) transmits data to host MCU; 8-pin footprint fits in tight spaces
Alternative Models: What chips are recommended as replacements for ATTINY13A-SU
Model Manufacturer Key Difference
ATTINY13A-SSU Microchip Same, lead-free SOIC-8
ATTINY10-TS8R Microchip 1KB, SOT-23-6, tinyAVR 0
ATTINY20-XUR Microchip 2KB, TSSOP-14, more I/O
ATTINY85-20SU Microchip 8KB Flash, 512B SRAM, SOIC-8
PIC10F200-I/P Microchip 256W Flash, 6-pin, baseline PIC

Recommend Parts

IRFS4310ZTRLPBF

IRFS4310ZTRLPBF – 100V N-Channel HEXFET Power MOSFET, 7 mΩ RDS(on), D2PAK (TO-263AB)

Brand: infineon

Package: D2PAK (TO-263AB)

IN STOCK: 11137pcs

Cargo cycle: 3-7 Days

The minimum order is 1

MSASJ105BB5475MFNA01

4.7uF 6.3V X5R MLCC, 0402, Taiyo Yuden

Brand: gigadevice

Package: 0402 (1005 Metric, 1.0 x 0.5 x 0.5 mm)

IN STOCK: 9701pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IRF3415PBF

150V N-channel power MOSFET, 43A, 41mΩ RDS(on), TO-220AB package

Brand: infineon

Package: TO-220AB

IN STOCK: 2940pcs

Cargo cycle: 3-7 Days

The minimum order is 1

105017-1001

USB Type-C receptacle connector, 24-pin, SMD

Brand: Amphenol

Package: SMD (8.9 x 7.3 x 3.2 mm, right angle)

IN STOCK: 5335pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IRLB3034PBF

IRLB3034PBF – 40V N-Channel StrongIRFET Power MOSFET (Logic Level), 1.7 mΩ (max) @ 10V; 2.0 mΩ @ 4.5V RDS(on), TO-220AB

Brand: infineon

Package: TO-220AB

IN STOCK: 9724pcs

Cargo cycle: 3-7 Days

The minimum order is 1

XC6SLX75-2FGG484I

Spartan-6 LX75 FPGA, 74637 logic cells, 132 DSP, 3096KB BRAM, 408 I/O, FBGA-484 23x23mm, -2 speed, industrial -40~100C, AMD Xilinx

Brand: xilinx

Package: FGG484 (484-ball fine-pitch BGA, 23x23mm body, 1.0mm ball pitch, 22×22 ball array, 6 I/O banks, lead-free)

IN STOCK: 890pcs

Cargo cycle: 3-7 Days

The minimum order is 1