Microchip Technology

ATTINY13A-PU - 20MHz 8-Bit AVR MCU | Microchip

Référence : ATTINY13A-PU ✓ Actif
1.8 V to 5.5 V Vdss 8-PDIP Package 20 MHz Speed 1 KB Memory
MOQ : 1 |

ATTINY13A-PU Présentation

The Microchip ATTINY13A-PU is an 8-bit AVR microcontroller with a 20 MHz maximum clock, 1 KB of in-system programmable flash, and an 8-PDIP package. It operates from 1.8 V to 5.5 V and provides 64 bytes of EEPROM, 64 bytes of SRAM, a 32-byte register file, and a four-channel 10-bit ADC. The ATTINY13A-PU combines these resources in an 8-pin through-hole package for compact embedded control.

An 8-bit microcontroller is a programmable semiconductor that executes instructions from embedded flash memory and uses registers, SRAM, and peripherals to control a system. The ATtiny13A belongs to the TinyAVR family within the AVR architecture and provides a practical balance of processing speed, memory, analog measurement, and low power operation for cost-sensitive embedded products. Its small pin count makes it especially useful where board area and simplicity are important.

Core resources include 1 KB of flash, 64 bytes of SRAM, 64 bytes of EEPROM, and a 32-byte register file. The four-channel 10-bit ADC supports analog sensing, while the AVR enhanced RISC architecture executes instructions in a single clock cycle. At 20 MHz, the processor can approach 20 MIPS of instruction throughput under suitable operating conditions. In-system programming supports programming and reprogramming through the ICSP interface.

The device is based on a low-power CMOS process and uses the AVR enhanced RISC architecture. The picoPower implementation is intended to improve power efficiency relative to the original ATtiny13 while retaining a familiar programming model and peripheral arrangement. A limited 1 KB flash capacity favors compact control routines, pin-change interrupts, timers, communication state machines, and other tasks that do not require a large application framework.

Typical uses include LED lighting controls, small motor or actuator controllers, simple keypads, compact sensor interfaces, teaching boards, and low-cost embedded products. The four ADC channels make the device useful for reading resistive or analog sensors, while its GPIO pins can operate digital inputs and outputs. The 8-PDIP format also simplifies breadboard prototyping, hand assembly, repair, and educational experiments.

Designers should allocate the small SRAM carefully and avoid duplicating library functions that consume substantial flash. Place the decoupling capacitor close to VCC, use the reset and programming pins according to the manufacturer data sheet, and verify ADC input limits against the selected operating voltage. When timing, brown-out detection, or power-consumption behavior is important, review the device-specific electrical characteristics before production release.

This product record combines the manufacturer data sheet, programming resources, package information, and application-oriented guidance. It also identifies the clearest same-package drop-in alternative and explains the hardware and software checks that should accompany any replacement decision.

Alternatives de remplacement direct pour ATTINY13A-PU — même boîtier, compatible broche à broche. Les références à boîtier différent nécessitant une retouche du PCB sont exclues.

Variantes de cette série

Modèles de la même série directement compatibles avec ATTINY13A-PU (même facteur de forme et même empreinte) — différant par Architecture, Flash Memory.

Microchip Technology
Architecture: AVR RISC architecture
Flash Memory: 1 KB (512 x 16)
Comparer avec ATTINY13A-PU →

ATTINY13-20PU

✅ Remplacement direct
📦 8-PDIP
Same 8-PDIP footprint and 20 MHz clock rating; original ATtiny13 is not picoPower and has revised brown-out, power-on-reset, and analog characteristics.

📋 Alternative de référence (hors catalogue)

ATTINY13A-PU Valeurs maximales et caractéristiques électriques

Microcontroller Type 8-bit AVR microcontroller
Architecture AVR enhanced RISC
Fréquence d'horloge maximale 20 MHz
Maximum Throughput 20 MIPS at 20 MHz
Operating Voltage Range 1.8 V to 5.5 V
Flash Memory 1 KB
Program Memory Organization 512 x 16 words
EEPROM 64 bytes
SRAM 64 bytes
Register File 32 bytes
ADC Resolution 10 bits
ADC Channel Count 4 channels
Process Technology Low-power CMOS
Boîtier 8-PDIP
Programming Interface In-system programming via ICSP
Type de montage Through-hole

Configuration des broches de ATTINY13A-PU

DIP-8 Package Pinout Diagram DIP-8 8-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 8 2 7 3 6 4 5 DIP-8
Broche 1 PC2 — GPIO and ADC input
Broche 2 PC3 — GPIO and ADC input
Broche 3 GND — Ground reference
Broche 4 RESET / PB4 — Reset input and alternate PB4 GPIO function
Broche 5 PB3 — General-purpose I/O and ADC input
Broche 6 PB2 — General-purpose I/O and ADC input
Broche 7 PB1 — General-purpose I/O and ADC input
Broche 8 VCC — Power supply input

Applications typiques

ATTINY13A-PU convient pour 6 applications: Compact LED Lighting Controller, Small Motor and Actuator Control, Analog Sensor Interface, Battery-Powered IoT Sensor Node, Educational Electronics and Maker Board, Appliance Button and Status Interface.

💡

Compact LED Lighting Controller

The ATTINY13A-PU suits small LED lighting modules because it combines a 20 MHz AVR core with a four-channel 10-bit ADC and enough GPIO for switch inputs and dimming outputs. The microcontroller can evaluate analog control signals, update multiple LED channels, and apply timer-based fading without requiring a larger controller. Its low-power CMOS implementation is useful when the product spends most of its time idle. The 1 KB flash limit requires compact routines, and the 64-byte SRAM should be checked carefully against buffering requirements.

🏭

Small Motor and Actuator Control

ATTINY13A-PU can serve as the controller in a small stepper, relay, or actuator subsystem where a compact 8-pin controller and deterministic timing are more important than large memory capacity. Timers and GPIO outputs can generate control sequences, while the four ADC channels can monitor current or position-related analog signals. Because the device has only 64 bytes of SRAM and 1 KB of flash, firmware should use compact state machines and avoid large motion libraries.

🧩

Analog Sensor Interface

The four-channel, 10-bit ADC in ATTINY13A-PU enables compact interfaces for resistive sensors, potentiometers, dividers, and simple analog feedback loops. Operating from 1.8 V to 5.5 V allows the microcontroller to fit both low-voltage and conventional 5 V systems. Designers must confirm that sensor voltages remain within the ADC input range and account for acquisition time and source impedance. The limited 1 KB flash and 64-byte SRAM favor direct measurement routines over elaborate data-processing frameworks.

🔋

Battery-Powered IoT Sensor Node

ATTINY13A-PU is appropriate for a small battery-operated IoT node that periodically wakes, reads a sensor, updates an indicator, and sleeps again. Its picoPower architecture is designed to improve low-power operation, while the 20 MHz clock provides enough performance for short foreground tasks. The 8-PDIP package simplifies prototype construction and rework. Battery life still depends on the chosen sleep mode, sensor load, GPIO leakage, and firmware behavior, which must be evaluated as a complete system rather than from processor clock data alone.

🔧

Educational Electronics and Maker Board

ATTINY13A-PU is well suited to breadboard-based electronics education because its 8-PDIP form exposes the MCU, supply, reset, programming, and I/O connections without requiring a fine-pitch PCB. Students can learn GPIO control, timers, ADC conversion, serial output, and ISP programming with a small footprint. The part can also be programmed through the Arduino IDE using suitable AVR tooling and the correct board definition. The 1 KB flash limit encourages concise examples and makes compilation-size awareness part of the learning experience.

🏠

Appliance Button and Status Interface

ATTINY13A-PU can implement a compact keypad, status-indicator, or simple appliance-control interface. Its GPIO resources support button scanning and LED indication, while the ADC may be used for analog switch or feedback monitoring. The 20 MHz AVR core provides quick response without requiring an external processor, and the through-hole package is practical for hand assembly and field replacement. Firmware should include debouncing and state handling, while keeping stack and SRAM use within the device's 64-byte memory limit.

Récapitulatif des produits recommandés

ATTINY13A Base device family for compact LED control Utilisé dans : Compact LED Lighting Controller, Small Motor and Actuator Control, Analog Sensor Interface, Battery-Powered IoT Sensor Node, Educational Electronics and Maker Board, Appliance Button and Status Interface ATTINY13 Legacy AVR family reference for firmware migration Utilisé dans : Compact LED Lighting Controller, Small Motor and Actuator Control, Battery-Powered IoT Sensor Node, Educational Electronics and Maker Board, Appliance Button and Status Interface ATTINY85 TinyAVR reference when greater memory is required Utilisé dans : Analog Sensor Interface
What are the key specifications of ATTINY13A-PU that engineers should know?
The ATTINY13A-PU is an 8-bit AVR microcontroller rated for operation from 1.8 V to 5.5 V, with a maximum clock frequency of 20 MHz. It provides 1 KB of flash, 64 bytes of EEPROM, 64 bytes of SRAM, a 32-byte register file, and a four-channel 10-bit ADC in an 8-PDIP package. According to the Microchip ATtiny13A Data Sheet DS40002307A, its enhanced RISC architecture can approach 20 MIPS of throughput at 20 MHz.
Where can I download the ATTINY13A-PU datasheet PDF?
The official ATTINY13A-PU datasheet PDF is available from Microchip at https://www.microchip.com/content/dam/mchp/documents/MCU08/ProductDocuments/DataSheets/ATtiny13A-Data-Sheet-DS40002307A.pdf. The document covers the electrical characteristics, pin configuration, flash and SRAM organization, ADC, timers, power behavior, and programming interfaces. Use the manufacturer document for production design decisions because it defines the electrical limits and test conditions for the ATtiny13A family.
Where can I find the ATTINY13A-PU pinout?
The ATTINY13A-PU uses an 8-PDIP package with pin 1 identified by the package marker. The manufacturer pin configuration identifies pin 1 as PC2, pin 2 as PC3, pin 3 as GND, pin 4 as RESET or PB4, pin 5 as PB3, pin 6 as PB2, pin 7 as PB1, and pin 8 as VCC. Confirm these assignments against the pin-description table in the ATtiny13A Data Sheet DS40002307A before routing a new PCB.
What is the attiny13a pu datasheet specification summary?
The ATTINY13A-PU specification summary includes an 8-bit AVR enhanced RISC core, 20 MHz maximum clock, 1.8 V to 5.5 V operation, 1 KB flash, 64 bytes EEPROM, 64 bytes SRAM, and a four-channel 10-bit ADC. Its through-hole package is designated 8-PDIP. These values are stated by Microchip in the ATtiny13A Data Sheet DS40002307A and distinguish it from larger 8-pin AVR devices with more flash, RAM, and GPIO.
How do I program an ATTINY13A-PU?
The ATTINY13A-PU is programmed through its In-System Programming interface using ICSP. Microchip documents an 8-pin single-in-line connector carrying programming and control signals, with the programmer connected to a host over USB. Programming can also be performed with a compatible AVR programmer and AVRDUDE-compatible tooling. Confirm connector orientation, supply voltage, and the selected ATtiny13A device entry before erasing or programming the 1 KB flash memory.
Can ATTINY13A-PU be programmed with the Arduino IDE?
Yes, ATTINY13A-PU can be programmed through the Arduino IDE using a compatible AVR toolchain, the correct ATtiny13A board definition, and an ISP-capable programmer. The Arduino IDE workflow is separate from the ISP connector described in the Microchip product page. Select the exact device, clock source, and fuse settings appropriate to the board, then verify the uploaded program through the UART or another available status indication method.
What can replace ATTINY13A-PU on the same 8-pin PCB?
ATTINY13-20PU is the clearest documented drop-in replacement because it uses the same 8-PDIP footprint and operates at 20 MHz, matching the ATtiny13A-PU clock rating. Microchip application note AVR520 states that the ATtiny13A is functionally identical and a drop-in replacement for the ATtiny13, although some electrical characteristics changed with the manufacturing process. Review brown-out, power-on-reset, and analog behavior before substituting older silicon.
Is ATTINY13A-PU the same as ATTINY13-20PU?
ATTINY13A-PU and ATTINY13-20PU share the 8-PDIP footprint and 20 MHz clock rating, but they are not identical in every electrical characteristic. Microchip application note AVR520 describes the ATtiny13A as a functionally identical drop-in replacement for the ATtiny13 while noting changes in manufacturing-dependent characteristics. In particular, validate brown-out detector and power-on-reset behavior, output levels, and power consumption if the replacement affects production behavior.
What is the best Microchip equivalent for ATTINY13A-PU?
ATTINY13-20PU is the best same-package Microchip equivalent identified for a direct hardware substitution because both are 8-pin DIP devices with a 20 MHz clock. The ATtiny13A remains preferable for new picoPower designs because it offers lower power consumption in many operating modes. The substitution is hardware-compatible, but firmware timing, brown-out settings, and analog-module behavior should be checked against the manufacturer migration information.
ATTINY13A vs ATTINY85: which microcontroller fits a small project?
Choose the ATTINY13A-PU when an 8-pin DIP footprint, 20 MHz operation, 1 KB flash, and four ADC channels are sufficient. Choose an ATTINY85 when the design needs substantially more program memory, SRAM, GPIO, and timer resources than the ATtiny13A provides. Both belong to the low-power TinyAVR family, but the larger ATtiny85 is more capable and less convenient to prototype on an eight-pin DIP board.
When should I choose ATTINY13A-PU over ATTINY13-20PU?
Choose ATTINY13A-PU for new low-power designs, especially battery-operated products where picoPower efficiency is important. Its picoPower implementation can reduce current consumption compared with the original ATtiny13 in applicable operating modes while retaining a 20 MHz clock and 8-PDIP footprint. Choose ATTINY13-20PU mainly for an existing 8-pin board when its availability or an exact legacy configuration is preferred and revised electrical behavior has been validated.
Is ATTINY13A-PU suitable for ADC-based sensor interfaces?
Yes, ATTINY13A-PU is suitable for compact sensor interfaces because it includes a four-channel 10-bit ADC and operates from 1.8 V to 5.5 V. The selected sensor output must remain within the ADC input-voltage limits for the operating supply. Use the manufacturer data sheet to select the ADC reference, acquisition timing, input-capacitance requirements, and pin multiplexing for the available PB and PC channels.
How much flash and SRAM does ATTINY13A-PU have?
ATTINY13A-PU provides 1 KB of in-system programmable flash, organized as 512 x 16 words, together with 64 bytes of SRAM and 64 bytes of EEPROM. The small memory footprint favors compact control code, but large libraries can consume the flash and RAM quickly. According to the Microchip ATtiny13A Data Sheet DS40002307A, use linker and compiler size reports during development to identify functions that need optimization.
Where can I buy ATTINY13A-PU and check its current price?
Use the Request a Quote form on this page to request the current ATTINY13A-PU price, stock position, minimum order quantity, and lead time. The part is offered in an 8-PDIP package by Microchip Technology. Quote requests are the appropriate channel for current commercial terms because distributor inventory and pricing can change without notice, particularly for older but actively catalogued microcontroller packages.
What is the lead time for ATTINY13A-PU?
The current ATTINY13A-PU lead time and stock quantity should be requested through the Request a Quote form on this page. Lead time can vary with order quantity, package configuration, and current manufacturing conditions. The ATTINY13A-PU is an 8-PDIP, 20 MHz AVR microcontroller with 1 KB flash, so a complete order should identify the exact suffix ATTINY13A-PU rather than a different package or speed option.
Is ATTINY13A-PU currently active and available for design use?
Microchip maintains an active product page for the ATtiny13A family, and the ATTINY13A-PU is listed as an active 8-PDIP ordering configuration in the product listings. The device combines a 20 MHz clock, 1.8 V to 5.5 V operating range, and 1 KB flash. For current lifecycle confirmation and order planning, submit the exact MPN through the Request a Quote form on this page.

Données de référence d'ingénierie pour ATTINY13A-PU — comparaison, recommandations de conception et informations de conformité.

Guide de sélection

Choose ATTINY13A-PU for new compact designs that need a 20 MHz 8-bit AVR core, 1 KB flash, 64 bytes of SRAM, four ADC channels, and an 8-PDIP through-hole footprint. Its picoPower implementation is especially appropriate for low-power products, while operating from 1.8 V to 5.5 V supports both low-voltage and 5 V systems. Choose ATTINY13-20PU when maintaining an existing 8-pin board, securing legacy inventory is more important, and changes to brown-out, power-on-reset, analog behavior, and power consumption have been validated. Do not select the smaller-speed ATtiny13 variants merely because they use a similar eight-pin footprint; timing requirements can make them unsuitable replacements. If 1 KB flash or 64 bytes of SRAM is insufficient, move to a larger TinyAVR device rather than adding complexity to the firmware.

Comparaison avec les alternatives

Paramètre Ce produit ATTINY13-20PU
Brand Microchip Technology Microchip Technology
Package 8-PDIP 8-PDIP - same package
Core 8-bit AVR enhanced RISC 8-bit AVR
Maximum Clock Frequency 20 MHz 20 MHz
Programming Interface In-system programming via ICSP In-system programming via ICSP

Principaux différenciateurs

  • PicoPower implementation within the same legacy footprint (vs ATTINY13-20PU)
  • Direct 20 MHz same-package substitution path (vs ATTINY13-20PU)
  • Compact ADC-equipped control platform (vs ATTINY13-20PU)

Notes de conception

Place the required supply-decoupling capacitor close to the VCC and GND pins, and keep the analog and digital return path compact. For battery-powered products, compare active, idle, and sleep current using the same clock, voltage, and GPIO configuration. The picoPower architecture can reduce consumption in suitable modes, but total system life is also affected by sensor leakage, pull resistors, and external circuitry.

Reserve the ICSP signals and follow the manufacturer connector recommendation when designing the programming header. Maintain clearances around exposed ICSP pads and avoid routing high-current or switching-node copper across the analog inputs. Since the ATtiny13A-PU uses an 8-PDIP footprint, verify every assigned signal against the manufacturer pin table before releasing artwork; RESET and PB4 share a physical pin.

Do not treat the 1 KB flash and 64-byte SRAM limits as negligible. Large Arduino or C library portions may exceed the available program space, and stack-heavy interrupt routines can exhaust SRAM. Compile early, inspect map and memory-use reports, and remove duplicate library functionality. When replacing an ATtiny13 with the ATtiny13A, also retest brown-out detection, power-on reset, ADC behavior, and timing-sensitive outputs.

Keep ADC sources within the permitted input range at the selected operating voltage and account for source impedance during conversion. Route the analog input away from switching nodes and provide a stable reference configuration. For pulse-width or timer-driven outputs, confirm pin multiplexing and timer resources in the manufacturer pin and register descriptions; the limited I/O count makes an incorrect alternate-function assignment easy to overlook.

Informations de conformité

RoHS
Unknown
REACH
Unknown
AEC-Q100
Unknown
Sans plomb
Unknown
Sans halogène
Unknown
Minerais de conflit
Unknown

No explicit RoHS, REACH, AEC-Q100, lead-free, halogen-free, or conflict-minerals status is stated for the exact ATTINY13A-PU ordering code. Obtain the current manufacturer product compliance declarations before production release.

Données vérifiées le : 2026-11-03 — données vérifiées et sélectionnées par l'équipe d'ingénierie composants de XAIPART

Recherches associées

attiny13a pu datasheet attiny13a pu pinout attiny13a pu programming attiny13a pu dip 8 attiny13a-pu arduino attiny13a pu datasheet pdf attiny13a pinout attiny13a datasheet attiny13a price attiny13a programming attiny13a vs attiny85 attiny13a projects attiny13a programming with arduino ATTINY13A-PU equivalent ATTINY13A-PU replacement

Composants & termes associés

Microchip Technology ATTINY13A-PU ATTINY13A ATTINY13-20PU ATTINY85 ATtiny13 AVR enhanced RISC architecture 8-bit microcontroller TinyAVR picoPower low-power CMOS In-System Programming ICSP 10-bit ADC 1.8 V to 5.5 V operation 20 MHz clock 1 KB flash memory 64-byte SRAM 64-byte EEPROM 8-PDIP package through-hole package brown-out detector power-on reset Arduino IDE MPLAB Snap
RFQ de devis rapide
Renseignez tous les détails — notre équipe commerciale vous répondra sous 24 heures
Référence Fabricant Boîtier QTY Prix cible Total
✓
Devis envoyé !

Nous répondrons à votre e-mail sous 24 heures

1
RFQ envoyée
2
Devis reçu
3
Commande passée
4
Paiement
5
Expédié
6
Livré
Voir les détails de la RFQ