Microchip Technology

ATTINY13A-SH - 8-Bit 20MHz AVR Microcontroller | Microchip

Артикул: ATTINY13A-SH ✓ Активен
2.5 V, 3.3 V, and 5 V Vdss 8-SOIC Package 20 MHz Speed 1 KB Memory
MOQ: 1 |

ATTINY13A-SH Обзор

Microchip Technology ATTINY13A-SH is an 8-bit AVR tinyAVR microcontroller with a 20 MHz maximum clock, 1 KB in-system programmable Flash, 64 bytes EEPROM, and 64 bytes SRAM in an 8-pin SOIC package. The device provides 6 I/O ports and operates from low-voltage supplies identified in the verified data as 2.5 V, 3.3 V, and 5 V. According to the Microchip manufacturer datasheet, its enhanced RISC architecture executes powerful instructions in a single clock cycle, delivering throughput approaching 1 MIPS per MHz.

An 8-bit microcontroller is a compact embedded-processing semiconductor that integrates a CPU core, program memory, data memory, I/O, and peripherals on one chip. The ATtiny13A belongs to the TinyAVR family and uses the AVR enhanced RISC architecture. Within the product hierarchy, it is an 8-bit RISC microcontroller, an embedded controller, and a semiconductor designed for cost-sensitive control tasks that require modest memory, limited I/O, and low power consumption.

The primary features include 1 KB of Flash program memory, 64 bytes of EEPROM, 64 bytes of SRAM, 20 MHz operation, six I/O ports, and an AVR instruction set with 90 powerful instructions. The manufacturer describes most instructions as completing in a single clock cycle. These characteristics make the ATTINY13A-SH suitable for compact embedded controllers, simple timers, basic logic sequencers, small motor-control functions, and low-pin-count sensing systems where a larger MCU would add unnecessary cost and board area.

Technically, the ATTINY13A combines a one-cycle-per-instruction AVR core with limited but deterministic resources. Its 1 KB Flash supports compact firmware, while the 64-byte SRAM and 64-byte EEPROM provide working and nonvolatile data storage. The device is offered in a surface-mount 8-SOIC package, allowing automated assembly and compact PCB placement. The verified distributor data identifies the device as active and lists it as an 8-bit AVR microcontroller with a 20 MHz clock.

Typical applications include small appliance controls, sensor interfaces, LED-sequencing modules, compact motor controllers, battery-operated products, and simple industrial automation nodes. For these applications, the decisive benefits are the six available I/O ports, 1 KB program-memory capacity, low-voltage operation, and compact SOIC-8 footprint. A design requiring substantially more code space, RAM, peripheral capability, or pins should use a larger ATtiny or ATmega-class controller instead.

A critical design consideration is to verify the complete operating-voltage envelope, clock configuration, reset behavior, and programming interface against the manufacturer datasheet before PCB release. Decoupling capacitors should be placed close to the supply pin, and unused inputs should be brought to a defined logic level. ISP programming should be exposed when firmware updates or production programming are required, rather than relying on an inaccessible programming interface.

This page combines the verified manufacturer specifications, distributor availability, package details, sourcing information, and practical selection guidance with a strict analysis of same-footprint drop-in alternatives. It also distinguishes genuine drop-in options from unavailable or unverifiable replacements so engineers can evaluate migration risk before modifying a PCB.

Аналоги без доработки для ATTINY13A-SH — тот же корпус, pin-to-pin совместимость. Компоненты в других корпусах, требующие переработки PCB, исключены.

ATTINY13A-SF

✅ Прямая замена
📦 8-SOIC
20 MHz and 1 KB Flash ratings are unchanged (0% difference in these verified key parameters); ordering-suffix qualification details require confirmation

📋 Справочный аналог (нет в каталоге)

ATTINY13A-SU

✅ Прямая замена ⚠️ Характеристики не проверены
📦 8-SOIC
20 MHz and 1 KB Flash ratings are unchanged (0% difference in these verified key parameters); ordering-suffix qualification details require confirmation

📋 Справочный аналог (нет в каталоге)

ATTINY13A-SH Максимальные параметры и электрические характеристики

Architecture AVR enhanced RISC
CPU Type 8-bit microcontroller
Maximum Clock Speed 20 MHz
Flash Memory 1 KB
Flash Organization 512 x 16 bits
EEPROM 64 bytes
SRAM 64 bytes
I/O Ports 6 ports
Supported Supply Levels 2.5 V, 3.3 V, and 5 V
Корпус 8-SOIC
Тип монтажа Surface mount
Instruction Count 90 instructions
Execution Capability Most instructions in one clock cycle
Throughput Approaching 1 MIPS per MHz
Program Memory Type In-system programmable Flash
Статус жизненного цикла Active

Конфигурация выводов ATTINY13A-SH

SOIC-8 Package Pinout Diagram SOIC-8 8-pin small outline IC, 3.9x4.9mm, P1.27mm, JEDEC MS-012. 1 8 2 7 3 6 4 5 SOIC-8
Контакт 1 PB0/MOSI/DI/SDA/OC1A — Port B0 with multiplexed programming, serial, and timer functions
Контакт 2 PB1/MISO/DO/OC1A/OC1B — Port B1 with multiplexed programming, serial, and timer functions
Контакт 3 PB2/SCK/OC1B/PCINT — Port B2 with multiplexed programming, timer, and pin-change functions
Контакт 4 GND — Ground supply connection
Контакт 5 PB3/ADC3/PCINT3 — Port B3 with multiplexed analog and pin-change functions
Контакт 6 PB4/ADC2/PCINT2 — Port B4 with multiplexed analog and pin-change functions
Контакт 7 VCC — Supply voltage input
Контакт 8 PB5/ADC1/PCINT1/OC0B — Port B5 with multiplexed analog, pin-change, and timer functions

Типичное применение

ATTINY13A-SH подходит для 6 применениеs: Compact Sensor Interface Controller, LED Sequencing and Indicator Control, Battery-Operated Utility Controller, Small Motor and Actuator Control, Small Appliance and Household Control, Programmable Logic and Test Fixture.

🧩

Compact Sensor Interface Controller

The ATTINY13A-SH fits compact sensor-interface designs that require several digital inputs, modest logic processing, and persistent configuration data without allocating a larger microcontroller package. Its six I/O ports provide direct connections for sensors, indicators, and control signals, while the 20 MHz AVR core can execute many instructions per clock cycle and approach 1 MIPS per MHz according to the Microchip manufacturer datasheet. The 64-byte EEPROM can retain calibration flags or device settings, and the 64-byte SRAM supports temporary measurement data and control variables. The designer should implement compact state-machine logic, verify the complete ADC-related pin configuration in the datasheet, and provide local supply decoupling. This part is most attractive when the required code fits within 1 KB of Flash and PCB area is more valuable than unused peripheral capacity.

💡

LED Sequencing and Indicator Control

The ATTINY13A-SH is well suited to LED sequencing, status indication, and decorative lighting modules because six I/O ports are enough to drive or control multiple indicators while the 20 MHz core provides more timing headroom than many simple timer-only controllers. The AVR architecture executes most instructions in a single clock cycle, allowing the firmware to combine timing, input handling, and output updates in a compact program. Its 1 KB Flash limit encourages efficient table-based or state-machine implementations, while the 64-byte EEPROM can retain a selected mode or sequence offset. The device is particularly useful where each LED needs only a simple on-off level and the system does not require a high-current LED driver. External transistors or constant-current drivers remain necessary when indicator current exceeds the device's I/O capability.

⚡

Battery-Operated Utility Controller

The ATTINY13A-SH can serve as the central controller in a battery-operated utility product when its low-voltage operation and compact resource set match the design. Verified sources identify supported supply levels of 2.5 V, 3.3 V, and 5 V, allowing the MCU to operate directly from suitable low-energy rails or alongside a compact regulator. Its six I/O ports can monitor switches and drive low-load control elements, and the 64-byte EEPROM provides a small amount of nonvolatile state retention. The 20 MHz clock permits responsive control without requiring a larger processor, although active-mode energy use must be minimized through clock selection and sleep periods. Because the verified snippets do not provide detailed sleep-current figures, battery-life calculations should use the manufacturer datasheet rather than assumed consumption values. The compact 8-SOIC footprint also helps preserve board area in miniaturized products.

🏭

Small Motor and Actuator Control

The ATTINY13A-SH can implement basic timing and direction control for a small motor or actuator system when the external drive current remains outside the MCU's direct output rating. Six I/O ports support limit inputs, enable controls, and pulse or direction signals, while the 20 MHz AVR core is fast enough for deterministic sequencing and input debouncing. The manufacturer describes most instructions as completing in one clock cycle, helping the firmware maintain stable control timing without a complex external logic device. The 64-byte SRAM is adequate for basic counters and state variables, while the 1 KB Flash constraint favors focused control routines. Designers should use transistor or MOSFET drivers, flyback protection for inductive loads, and separate supply paths where motor transients could disturb the MCU rail.

🔧

Small Appliance and Household Control

The ATTINY13A-SH is appropriate for a simple household appliance controller where the product needs a few inputs, discrete outputs, a compact program, and nonvolatile operating settings. Its 1 KB Flash and 64-byte SRAM are suitable for straightforward state machines, timing functions, and button handling rather than complex user interfaces. Six I/O ports allow a designer to connect switches, indicators, or a small display segment without introducing a larger-pin-count MCU. The identified 3.3 V and 5 V supply options support both modern low-voltage control boards and legacy 5 V products. The main limitation is code capacity: menu structures, communications stacks, and extensive diagnostics may exceed the available Flash, making a larger TinyAVR such as ATTINY20-XUR or ATTINY87-SUR more appropriate. Firmware should also include startup and brownout behavior appropriate to mains-adjacent appliances.

🖥️

Programmable Logic and Test Fixture

The ATTINY13A-SH can implement a compact programmable sequencer or test fixture controller for low-pin-count DUT routing and stimulus control. Its six I/O ports can operate digital stimulus lines or sense fixture status, while the 20 MHz AVR core provides useful timing resolution for deterministic test sequences. The 1 KB Flash capacity is adequate for a narrowly defined test recipe, and the 64-byte EEPROM can store fixture setup values or a short pattern table. This use case works best when the fixture does not need high-speed communication, large buffers, or extensive data logging. ISP programming should be accessible so test recipes can be changed efficiently, and unused inputs should be terminated to avoid false transitions. If a production system requires higher channel count or more complex protocol support, a larger TinyAVR-family controller should be evaluated instead.

Сводка рекомендуемых товаров

ATTINY13A-SUR Same-family surface-mount controller for board design evaluation Используется в: Compact Sensor Interface Controller, Battery-Operated Utility Controller, Small Appliance and Household Control ATTINY20-XUR Microchip Technology Используется в: Compact Sensor Interface Controller, LED Sequencing and Indicator Control, Battery-Operated Utility Controller, Small Motor and Actuator Control, Small Appliance and Household Control, Programmable Logic and Test Fixture ATTINY87-SUR Microchip Technology Используется в: Compact Sensor Interface Controller, LED Sequencing and Indicator Control, Battery-Operated Utility Controller, Small Motor and Actuator Control, Small Appliance and Household Control, Programmable Logic and Test Fixture ATTINY13A-SF Same-package ATtiny13A ordering variant Используется в: LED Sequencing and Indicator Control, Small Motor and Actuator Control, Programmable Logic and Test Fixture
What is the operating voltage of ATTINY13A-SH?
The ATTINY13A-SH supports identified supply levels of 2.5 V, 3.3 V, and 5 V. According to the Microchip ATtiny13A manufacturer datasheet, DS40002307A, the device belongs to the low-power CMOS TinyAVR family and is designed for AVR embedded-control applications. These verified supply levels make it suitable for low-voltage battery-powered equipment and conventional 3.3 V or 5 V control systems, although the designer should still check the complete electrical limits and operating conditions in the datasheet before committing a design.
What are the key specifications of ATTINY13A-SH that engineers should know?
The ATTINY13A-SH combines a 20 MHz 8-bit AVR core with 1 KB of Flash, 64 bytes of EEPROM, 64 bytes of SRAM, and six I/O ports in an 8-SOIC package. According to the Microchip ATtiny13A manufacturer datasheet, DS40002307A, most instructions execute in a single clock cycle, allowing throughput to approach 1 MIPS per MHz. These are the principal constraints for firmware size, data retention, timing, and board-space decisions when choosing this low-cost embedded controller.
How fast does ATTINY13A-SH operate?
The ATTINY13A-SH operates at up to 20 MHz. DigiKey's verified listing identifies the part as an 8-bit AVR microcontroller with a 20 MHz clock, while the Microchip manufacturer datasheet explains that most AVR instructions execute within a single clock cycle. This allows throughput to approach 1 MIPS per MHz. The actual operating clock must be derived from the selected external clock arrangement and fuse configuration, so both timing margins and the power cost of the faster operating state should be evaluated.
Where can I download the ATTINY13A-SH datasheet PDF?
The official ATTINY13A-SH datasheet PDF is available from Microchip at the supplied manufacturer link ending in ATtiny13A-Data-Sheet-DS40002307A.pdf. According to the manufacturer document, it covers the low-power CMOS 8-bit AVR architecture, the one-clock-cycle instruction execution behavior, memory organization, electrical characteristics, and device details. Octopart and AllDataSheet also provide third-party access, but the Microchip PDF should be treated as the primary technical source for engineering decisions.
Where can I find the ATTINY13A-SH pinout?
The ATTINY13A-SH pinout is shown in the Microchip ATtiny13A manufacturer datasheet, DS40002307A, together with the 8-SOIC package drawing. The eight pins include power, ground, programming interfaces, and multiplexed I/O functions. Because PB0 through PB5 also provide programming, ADC, or timer-related functions on supported devices, engineers should use the package pin table and alternate-function descriptions rather than infer every function from the port name alone.
How much memory does ATTINY13A-SH have?
The ATTINY13A-SH provides 1 KB of in-system programmable Flash, 64 bytes of EEPROM, and 64 bytes of SRAM. Mouser and DigiKey both report the 1 KB Flash and 64-byte EEPROM figures, while DigiKey identifies a 512 x 16-bit Flash organization. According to the Microchip ATtiny13A manufacturer datasheet, DS40002307A, the memory arrangement supports compact embedded programs, while the limited SRAM requires careful attention to stack depth, buffers, and variable allocation.
Where can I buy ATTINY13A-SH online?
The ATTINY13A-SH can be purchased through Microchip-authorized distributors and regional component suppliers, with DigiKey, Mouser, and LCSC among the verified sources. LCSC lists the part as in stock with a starting price of $0.3594 as of 2026-10-29, while DigiKey describes the part as available to buy and ship. Availability and volume pricing can change, so engineers should confirm the exact suffix, package, lifecycle status, and quantity break before issuing a purchase order.
What is the price of ATTINY13A-SH?
The verified lowest listed starting price for ATTINY13A-SH is $0.3594 as of 2026-10-29, as reported by LCSC. The price tiers shown on this page retain that verified reference value because no additional quantity-break schedule was supplied in the source data. Therefore, the figure should be treated as a starting-price reference rather than a guaranteed quotation at 10, 100, 500, or 1000 units. Current distributor checkout pricing may differ by stock, region, and order volume.
What is the lead time for ATTINY13A-SH and is it in stock?
The ATTINY13A-SH is listed as active and LCSC identifies it as in stock as of 2026-10-29, but the verified data does not state a numerical factory lead time. DigiKey also describes the component as available to buy and ship. For production planning, engineers should confirm current manufacturer and distributor inventory, scheduled-lead-time data, and safety stock rather than assuming immediate availability at every quantity. The absence of a stated lead-time value prevents a more precise purchasing commitment.
What can replace ATTINY13A-SH?
The directly orderable same-footprint options identified for ATTINY13A-SH are ATTINY13A-SF and ATTINY13A-SU, both listed as 8-SOIC devices within the same ATtiny13A family. Their published key ratings remain 20 MHz and 1 KB of Flash, while the ordering suffix may represent a qualification or ordering difference that must be checked against the datasheet. No independently verified cross-brand, pin-compatible replacement was found, so ATTINY13A-SH should not be substituted with a functionally similar but pin-different MCU without a board redesign.
Is ATTINY13A-SH the same as ATTINY13A-SF?
ATTINY13A-SH and ATTINY13A-SF share the same 8-SOIC footprint and the verified 20 MHz, 1 KB Flash, 64-byte EEPROM, and 64-byte SRAM ratings. Their ordering suffixes are not interchangeable proof of identical qualification, so engineers should compare the package drawing, temperature grade, and lifecycle information in the Microchip ordering table. The two devices are suitable drop-in candidates only after those suffix-specific requirements and the existing PCB footprint have been confirmed.
ATTINY13A-SH vs ATTINY13A-SU - which is better for a new design?
Choose ATTINY13A-SH when its verified ordering code matches the environmental and procurement requirements of the product; choose ATTINY13A-SU only after confirming its qualification details. The two parts share the ATtiny13A 8-bit AVR core, 20 MHz clock, 1 KB Flash, 64-byte EEPROM, 64-byte SRAM, six I/O ports, and 8-SOIC package. According to the Microchip manufacturer datasheet, DS40002307A, core performance is therefore the same, making suffix-specific availability and qualification the decisive factors.
When should I choose ATTINY13A-SH over another 8-bit AVR microcontroller?
Choose ATTINY13A-SH when the application needs only six I/O lines, 1 KB of program memory, 64 bytes of EEPROM, and 64 bytes of SRAM. Its 20 MHz AVR core provides substantial timing capability for a compact controller, while the 8-SOIC package simplifies automated assembly. Select a larger ATtiny or ATmega device when code size, RAM, timer channels, communication peripherals, or pin count exceed the ATtiny13A limits; otherwise, ATTINY13A-SH can minimize cost, size, and design complexity.
Is ATTINY13A-SH suitable for a battery-powered sensor controller?
The ATTINY13A-SH is suitable for a small battery-powered sensor controller when its 2.5 V, 3.3 V, and 5 V identified supply levels, low-power CMOS design, 20 MHz processing capability, and six I/O ports meet the system's requirements. According to the Microchip ATtiny13A manufacturer datasheet, DS40002307A, the device is based on the low-power CMOS AVR architecture. The final battery-life calculation must include actual sleep current, active duty cycle, regulator efficiency, and the sensor load, which are not specified in the verified distributor snippets.
What is the best cross-brand equivalent for ATTINY13A-SH?
No independently verified cross-brand equivalent was found for ATTINY13A-SH in the supplied substitute and cross-reference results. The available evidence confirms ATtiny13A-family ordering variants and generic cross-reference tools, but it does not establish a different manufacturer's part as pin-to-pin compatible with the 8-SOIC ATtiny13A layout. Selecting a cross-brand MCU solely by matching clock speed and memory would be unsafe because pin multiplexing, interrupt vectors, timers, ADC behavior, and programming interfaces may differ.

Справочные инженерные данные для ATTINY13A-SH — сравнение, рекомендации по проектированию и информация о соответствии.

Руководство по выбору

Choose ATTINY13A-SH when a product needs a compact 8-bit AVR controller with six I/O ports, 1 KB of Flash, 64 bytes of EEPROM, 64 bytes of SRAM, and operation at up to 20 MHz. It is well suited to small sensing, indication, sequencing, appliance-control, and fixture-control products where board area and cost matter more than unused peripheral capacity. ATTINY13A-SF is the clearest same-family alternative when its suffix-specific qualification and commercial terms better fit the procurement plan; verify its exact ordering details before substitution. ATTINY13A-SU may also fit the same 8-SOIC footprint, but the supplied web evidence does not independently establish every electrical value. Move to ATTINY20-XUR or ATTINY87-SUR when firmware, RAM, pin count, timers, or communication requirements exceed the ATtiny13A limits. No verified cross-brand drop-in was found, so an MCU from another manufacturer should not be treated as pin-compatible without complete electrical, mechanical, and firmware verification.

Сравнение с аналогами

Параметр Этот товар ATTINY13A-SF ATTINY13A-SU
Package 8-SOIC 8-SOIC 8-SOIC
Brand Microchip Technology Microchip Technology Microchip Technology
Flash Memory 1 KB 1 KB 1 KB
I/O Ports 6 ports 6 ports 6 ports
CPU Architecture 8-bit AVR enhanced RISC 8-bit AVR enhanced RISC 8-bit AVR enhanced RISC

Ключевые отличия

  • Maintains the verified ATtiny13A performance and memory profile (против ATTINY13A-SF)
  • Uses the same compact 8-SOIC footprint (против ATTINY13A-SF)
  • Provides six I/O ports for compact embedded-control designs (против ATTINY13A-SU)

Заметки по проектированию

Place the required supply bypass capacitor directly between the VCC pin and the ground return, with a short and low-inductance path. The verified sources identify 2.5 V, 3.3 V, and 5 V operating levels, but they do not provide the regulator's complete dropout, startup, or active-current curves. Use those values from the manufacturer datasheet to verify battery life and startup behavior. Do not size the regulator only from the average MCU current because the 20 MHz clock and switched I/O transitions can create transient demand.

Route the six-port control system and ISP programming interface so the device can be programmed after board assembly. The ATtiny13A datasheet notes that MPLAB Snap and ISP programming can use an 8-pin single-in-line connector arrangement with programming and reset signals. Preserve access to the programming interface, keep sensitive sensor or timing inputs away from fast switching nodes, and provide a defined state for every unused input. These steps prevent a functionally correct firmware image from becoming inaccessible or unreliable in the finished assembly.

Do not estimate firmware capacity from the ATtiny13A family's apparent simplicity. The verified limit is only 1 KB of Flash and 64 bytes of SRAM, so recursive calls, large buffers, libraries, and asynchronous serial handling can exhaust RAM. Compile with the intended AVR toolchain, review the map file, and remove diagnostic code before production. If the firmware approaches the memory limit or needs a protocol beyond the six available I/O ports, move to ATTINY20-XUR or ATTINY87-SUR rather than forcing a functionally similar cross-family part onto the board.

Keep the SOIC-8 footprint and pin assignments identical to the target PCB when evaluating ATTINY13A-SF or ATTINY13A-SU. Confirm land pattern dimensions against the package drawing, maintain the manufacturer's recommended copper and clearance geometry, and verify orientation with the pin-1 marker. Although the devices are listed as the same 8-SOIC package, ordering suffixes can encode qualification or commercial distinctions. A mechanically similar package is not sufficient evidence of a safe drop-in migration.

Информация о соответствии

RoHS
Unknown
REACH
Unknown
AEC-Q100
Unknown
Без свинца
Unknown
Без галогенов
Unknown
Конфликтные минералы
Unknown

The supplied verified sources do not contain explicit RoHS, REACH, AEC-Q100, lead-free, halogen-free, or conflict-minerals declarations. No compliance status has been inferred from the package, manufacturer, or general industry practice.

Данные проверены: 2026-10-29 — данные проверены и курируются командой компонентной инженерии XAIPART

Похожие запросы

ATTINY13A-SH ATTINY13A-SH datasheet PDF Microchip ATTINY13A-SH ATTINY13A-SH 20MHz 1KB Flash ATTINY13A-SH 8-SOIC pinout ATTINY13A-SH sensor controller ATTINY13A-SH vs ATTINY13A-SF ATTINY13A-SH drop-in replacement ATTINY13A-SH buy price ATTINY13A-SH in stock ATTINY13A-SH supply voltage 8-bit AVR 6 I/O 64 byte EEPROM

Связанные компоненты & термины

Microchip Technology ATTINY13A-SH ATTINY13A-SF ATTINY13A-SU ATtiny13A TinyAVR AVR enhanced RISC architecture 8-bit RISC microcontroller embedded microcontroller semiconductor in-system programmable Flash EEPROM SRAM MIPS per MHz MPLAB Snap In-Circuit Serial Programming ISP programming 8-SOIC SOIC family surface-mount technology SMD package I/O port 2.5 V 3.3 V 5 V
Быстрый запрос цены (RFQ)
Заполните все данные — наша команда продаж ответит в течение 24 часов
Артикул Производитель Корпус QTY Целевая цена Итого
✓
Запрос цены отправлен!

Мы ответим на ваш email в течение 24 часов

1
RFQ отправлен
2
Предложение получено
3
Заказ оформлен
4
Оплата
5
Отправлено
6
Доставлено
Просмотреть детали RFQ