ATTINY13-20SU - 8-Bit 20MHz AVR MCU | Microchip Technology
料号: ATTINY13-20SU ✓ 量产中ATTINY13-20SU 概述
An 8-bit AVR microcontroller is a compact embedded-control device that executes instructions from programmable Flash through an AVR reduced-instruction-set computer core. The ATTINY13 belongs to the ATtiny family within the broader hierarchy of microcontrollers, embedded processors, and semiconductors. Its combination of limited memory, mixed-signal peripherals, and a small package makes it suitable for compact controls, sensor interfaces, and simple timing systems.
Core features include 20 MHz operation, 1 KB ISP Flash, 64-byte SRAM, 64-byte EEPROM, a four-channel 10-bit ADC, and six I/O pins. The internal EEPROM supports persistent configuration or calibration data, while in-system programming allows firmware to be loaded without removing the device. The ADC can monitor up to four analog channels, enabling compact products that need more than simple digital switching.
The AVR architecture provides an 8-bit instruction set with separate program and data-memory spaces. At 20 MHz, the manufacturer describes throughput as 20 MIPS. The small 1 KB Flash capacity sharply limits code size, so peripheral initialization, application logic, and delay routines must be sized carefully. The 64-byte SRAM should be treated as a tight working-memory budget for applications with buffering or interrupt-heavy routines.
Typical uses include low-cost sensor nodes, simple motor and relay controllers, compact LED indicators, battery-operated instruments, and educational AVR projects. The ADC makes the device useful for potentiometers, light sensors, thermistors, and other analog inputs. Its small footprint also suits hobbyist boards and custom compact modules where a larger microcontroller would add unnecessary cost and board area.
When designing around the ATTINY13-20SU, prioritize code and SRAM budgeting, use ISP programming correctly, and follow the manufacturer's pin-description table when assigning PCB tracks. Confirm ADC reference and input limits against the operating voltage. Because the MCU has only six I/O pins, choose peripheral multiplexing carefully and provide the decoupling and programming interface recommended in the manufacturer documentation.
This page combines the exact core specifications, verified same-package replacement candidates, pin and package guidance, application-focused design notes, and a parameter comparison intended to accelerate engineering selection without repeating the complete manufacturer datasheet.
直接替换替代料: ATTINY13-20SU ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。
本系列中的变体
可与以下型号直接替换的同系列型号: ATTINY13-20SU (相同外形与封装尺寸) ——差异在于 Package, Register File, SRAM, ADC Resolution, Core Architecture.
ATTINY13A-SSU
✅ 直接替换联系询价
查看数据手册 →ATTINY13-20SSQ
✅ 直接替换📋 参考替代料(不在目录中)
ATTINY13-20SJ
✅ 直接替换📋 参考替代料(不在目录中)
ATTINY13-20SSU
✅ 直接替换📋 参考替代料(不在目录中)
ATTINY15L-1SI
✅ 直接替换📋 参考替代料(不在目录中)
ATTINY13-20SU 最大额定值与电气特性
| Device Type | 8-bit AVR RISC microcontroller |
| 最大时钟频率 | 20 MHz |
| Throughput | 20 MIPS at 20 MHz |
| Flash Memory | 1 KB in-system programmable Flash |
| SRAM | 64 byte |
| EEPROM | 64 byte |
| Register File | 32 byte |
| ADC Resolution | 10 bit |
| ADC Channels | 4 channels |
| I/O Pins | 6 pins |
| 电源电压 | 2.7 V to 5.5 V |
| 封装 | 8-pin SOIC |
| 安装类型 | Surface mount |
| Programming Method | In-system programming |
ATTINY13-20SU 8-pin soic 引脚配置指南
ATTINY13-20SU(8-pin soic 封装)的引脚配置。 该数字 IC 包含 GPIO、通信接口(UART、SPI、I2C)和电源引脚。请参阅制造商数据手册以了解复用引脚功能和配置选项。对嵌入式系统设计和 PCB 布局至关重要。
暂无详细引脚数据: ATTINY13-20SU.
请参阅 数据手册 以查看完整引脚配置。
典型应用
ATTINY13-20SU 适用于 6 应用s: Compact Sensor Node, Simple Motor Controller, LED Status Indicator, Battery-Powered Instrument, Educational AVR Platform, Small Appliance Interface.
Compact Sensor Node
The ATTINY13-20SU fits compact sensor nodes because its four-channel 10-bit ADC can digitize several analog inputs while the six I/O pins support the sensor interface and control signals. At up to 20 MHz, the AVR core can sample and filter data quickly enough for slow industrial, environmental, or wearable measurements. Its 64-byte EEPROM can retain calibration constants, while the 1 KB Flash budget requires concise acquisition and filtering routines. Designers should keep sampling schedules and data handling simple to avoid exhausting SRAM or program memory.
推荐
Simple Motor Controller
The ATTINY13-20SU can control small motors, solenoids, or relays where a full-featured MCU would be unnecessary. Six I/O pins leave enough flexibility for control outputs, a limit input, and status indication, and the 20 MHz clock supports responsive edge detection and timing. Its limitations are important: only 1 KB of Flash and 64 bytes of SRAM are available, so complex motion algorithms should be avoided. Use suitable driver transistors, flyback protection, and separate logic rails where necessary.
推荐
LED Status Indicator
A compact LED indicator is a natural use for the ATTINY13-20SU because six I/O pins can drive multiple LEDs through current-limiting resistors or a driver. The 20 MHz AVR core can implement timers, button debouncing, and status sequences without an external clock component, while the small 8-pin SOIC package supports dense control boards. Keep animation tables small because Flash is limited to 1 KB and SRAM to 64 bytes. For low-duty-cycle operation, a sleep-oriented design can further reduce energy use in battery installations.
推荐
Battery-Powered Instrument
The ATTINY13-20SU works in battery-powered instruments where low cost, low power, and mixed-signal capability matter more than memory capacity. Its 2.7 V to 5.5 V operating range accommodates common regulated battery rails, and the ADC can monitor supply, temperature, or a resistive sensor. The 64-byte EEPROM is useful for saving a small number of calibration or configuration values. Power consumption depends on the active mode, ADC activity, and sleep configuration, so the final duty cycle should be evaluated against the manufacturer's electrical characteristics.
推荐
Educational AVR Platform
The ATTINY13-20SU is well suited to introductory AVR projects because it combines a familiar RISC architecture, in-system programming, 20 MHz operation, and a four-channel 10-bit ADC in only eight pins. Students can learn GPIO control, timers, ADC conversion, EEPROM retention, and serial debugging on a compact board. Its restricted 1 KB Flash and 64-byte SRAM also provide useful lessons in memory budgeting. A standard AVR programming interface and ISP programming method make it practical for education and prototype development.
推荐
Small Appliance Interface
The ATTINY13-20SU can act as a secondary controller in a small appliance where buttons, LEDs, a timer, and one analog sensor must be coordinated. Six I/O pins and the four-channel ADC provide adequate control for a deliberately simple product, and in-system programming supports production firmware updates. Product designers should partition functions carefully because interrupt service routines and temporary variables compete for only 64 bytes of SRAM. Use the device only where its 1 KB Flash limit and six available I/O pins align with the appliance's fixed feature set.
推荐
推荐产品汇总
工程参考数据: ATTINY13-20SU ——对比、设计指导和合规信息。
选型指南
与替代料对比
| 参数 | 本产品 | ATTINY13A-SSU | ATTINY13-20SSQ | ATTINY13-20SJ | ATTINY13-20SSU | ATTINY15L-1SI |
|---|---|---|---|---|---|---|
| Package | 8-pin SOIC | 8-pin SOIC | 8-pin SOIC | 8-pin SOIC | 8-pin SOIC | 8-pin SOIC |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Architecture | 8-bit AVR RISC | 8-bit AVR RISC | 8-bit AVR RISC | 8-bit AVR RISC | 8-bit AVR RISC | 8-bit AVR RISC |
| Flash Memory | 1 KB ISP Flash | 1 KB | 1 KB | 1 KB | 1 KB | 1 KB |
| EEPROM | 64 byte | 64 byte | 64 byte | 64 byte | 64 byte | 64 byte |
| Programming Method | In-system programming | In-system programming | In-system programming | In-system programming | In-system programming | In-system programming |
关键差异点
- Four-channel analog conversion in an eight-pin MCU (对比 ATTINY15L-1SI)
- Direct continuity with the original ATtiny13 design (对比 ATTINY13A-SSU)
- 20 MHz execution within a very small memory footprint (对比 ATTINY102-MFR)
设计说明
Route the ISP signals, reset circuit, supply, and ground so an external programmer can operate without removing the microcontroller. Keep the ISP interface accessible or provide test pads, and follow the manufacturer reference schematic for signal conditioning. With only six I/O pins, assign multiplexed functions before laying out the PCB because changing pin allocation later can require a board respin.
Place the supply bypass capacitor close to the power and ground pins and keep the return path short. If analog measurements are important, account for supply noise, ADC reference stability, and source impedance at the selected 10-bit resolution. The operating range is 2.7 V to 5.5 V, but external sensors and interface logic must use compatible logic levels.
The 1 KB Flash and 64-byte SRAM impose strict code and data budgets. Avoid large libraries, deep call chains, buffered logging, and interrupt routines that create excessive temporary variables. Measure the compiled program size and worst-case stack usage before production, and use EEPROM writes only for values that genuinely require nonvolatile storage because each write consumes limited endurance.
Use the manufacturer's 8-pin SOIC land pattern and pin numbering without inferring pin functions from another ATtiny device. Keep sensitive analog traces away from switching nodes and programming signals. If the ADC is used, provide a defined reference source and consider local filtering where source impedance could prevent the converter from settling within the acquisition time.
合规信息
Compliance declarations require confirmation from the applicable manufacturer declaration or product documentation.