Microchip Technology

ATTINY25-20SU - 20MHz 8-Bit AVR MCU | Microchip Technology

N.º de pieza: ATTINY25-20SU ✓ Activo
8-pin SOIC Package 20 MHz Speed 2 KB Memory
MOQ: 1 |

ATTINY25-20SU Descripción general

The Microchip Technology ATTINY25-20SU is an 8-bit AVR RISC-based CMOS microcontroller with a 20 MHz maximum clock, 2 KB of ISP Flash memory, 128 bytes of EEPROM, 128 bytes of SRAM, six general-purpose I/O lines, and a 4-channel 10-bit ADC. The device is offered in an 8-pin SOIC package for compact embedded control designs.

An 8-bit microcontroller is a compact embedded-processing device that executes firmware from nonvolatile Flash memory while using SRAM for working data. The ATTINY25 belongs to the ATtiny family of low-power RISC-based CMOS controllers, combining a general-purpose CPU, timers, serial interfaces, analog conversion, and interrupt handling in a small integrated circuit. Its reduced instruction set is designed for straightforward control logic, sensor reading, and communication tasks rather than high-throughput embedded computing.

Key device resources include 2 KB of Flash, 128 bytes of EEPROM, 128 bytes of SRAM, 32 general-purpose working registers, six I/O lines, an 8-bit timer/counter with compare modes, a high-speed timer/counter, a Universal Serial Interface, internal and external interrupts, and a 4-channel 10-bit ADC. The 20 MHz operating speed provides greater timing headroom than lower-frequency ATtiny implementations, while the picoPower architecture supports applications where energy efficiency is important.

The six available I/O pins provide access to the device's timer functions, USI serial interface, ADC inputs, and other peripherals. Because the package exposes only six I/O lines, pin multiplexing must be considered carefully. The 128-byte SRAM is modest, making firmware size and stack usage important design variables. ISP programming and the ATtiny family’s established development ecosystem support compact prototypes, production programming, and field configuration workflows.

Typical uses include compact sensor nodes, simple motor or actuator controllers, lighting modules, compact consumer accessories, and industrial control blocks where low power, low cost, and a small footprint are more important than high memory capacity. The 10-bit ADC supports analog sensing, while the USI can serve serial communication duties when the selected peripheral functions do not conflict with other pin assignments.

A practical design constraint is simultaneous peripheral use: the ADC, timers, and USI can share the same six I/O pins. Plan pin allocation before finalizing the PCB, keep decoupling close to VCC, and verify the operating voltage and timing requirements in the manufacturer datasheet. This page consolidates the manufacturer specifications, distributor information, replacement constraints, and application guidance for engineers evaluating the ATTINY25-20SU.

Alternativas directas para ATTINY25-20SU — mismo encapsulado, compatible pin a pin. Se excluyen las piezas de otro encapsulado que requieren retrabajo de la PCB.

Variantes de esta serie

Modelos de la misma serie compatibles directamente con ATTINY25-20SU (mismo factor de forma y huella) — difiere en Package, Programming Interface, SRAM.

Microchip Technology
Package: 8-pin SOIC (SO-8, 150 mil)
Programming Interface: In-system serial programming (ISP)
SRAM: 64 bytes
Comparar con ATTINY25-20SU →

ATTINY25-20SSU

✅ Sustitución directa
📦 8-pin SOIC
Same 20 MHz ATtiny25 device and 8-pin SOIC footprint; -SSU differs in temperature-grade suffix, so operating-temperature limits require verification

📋 Alternativa de referencia (no en el catálogo)

ATTINY25-20SUR

✅ Sustitución directa
📦 8-pin SOIC
Same 20 MHz ATtiny25 electrical base and 8-pin SOIC footprint; -SUR changes the packing/shipping suffix rather than the core device specifications

📋 Alternativa de referencia (no en el catálogo)

ATTINY25-20SSUR

✅ Sustitución directa
📦 8-pin SOIC
Same 20 MHz ATtiny25 core and 8-pin SOIC footprint; -SSUR combines a different temperature-grade suffix with reel packing

📋 Alternativa de referencia (no en el catálogo)

ATTINY25-20SU Valores máximos y características eléctricas

Product Type 8-bit RISC-based CMOS microcontroller
Architecture AVR enhanced RISC
Frecuencia de reloj máxima 20 MHz
Flash Memory 2 KB
Flash Organization 1K x 16
EEPROM Memory 128 bytes
SRAM 128 bytes
General-Purpose I/O Lines 6
General-Purpose Working Registers 32
ADC Resolution 10 bits
ADC Channels 4
Timer/Counter One 8-bit timer/counter with compare modes
High-Speed Timer/Counter One 8-bit high-speed timer/counter
Serial Interface Universal Serial Interface (USI)
Programming Interface In-System Programming (ISP)
Encapsulado 8-pin SOIC
Tipo de montaje Surface mount

Configuración de pines de ATTINY25-20SU

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
Pin 1 PB0 — General-purpose I/O line PB0
Pin 2 PB1 — General-purpose I/O line PB1
Pin 3 PB2 — General-purpose I/O line PB2
Pin 4 PB3 — General-purpose I/O line PB3
Pin 5 GND — Ground connection
Pin 6 PB4 — General-purpose I/O line PB4
Pin 7 VCC — Power supply connection
Pin 8 PB5 — General-purpose I/O line PB5

Aplicaciones típicas

ATTINY25-20SU es adecuado para 6 aplicacións: Compact Analog Sensor Controller, LED Lighting and Dimming Control, Simple Motor and Actuator Control, Battery-Powered IoT Sensor Node, Serial Interface Bridge and Configuration Module, Consumer Accessory Controller.

🧩

Compact Analog Sensor Controller

The ATTINY25-20SU fits compact analog-sensing modules because it combines a 4-channel, 10-bit ADC with a 20 MHz AVR processor and only six I/O lines. The microcontroller can sample sensors, apply scaling or threshold logic, and update an actuator or indicator without requiring a larger mixed-signal processor. Its 2 KB Flash and 128 bytes of SRAM constrain application code and buffering, so acquisition should use streaming or single-sample processing rather than large data buffers. The principal design trade-off is limited analog and digital pin multiplexing, which requires assigning ADC channels and communication functions before the PCB layout is finalized.

💡

LED Lighting and Dimming Control

The ATTINY25-20SU is appropriate for compact LED-lighting modules where timing, dimming, and user-interface logic must be implemented economically. The 20 MHz clock allows efficient pulse-width modulation and debounced switch handling, while six I/O lines can support button inputs and LED-control outputs when the timer resources are allocated carefully. With 128 bytes of SRAM and 2 KB of Flash, the firmware should remain focused on control rather than elaborate graphics or communications. The design advantage is low component count; the main limitation is ensuring PWM outputs, fault signals, and any serial interface do not compete for the same pins.

🏭

Simple Motor and Actuator Control

The ATTINY25-20SU can act as the sequencing controller for small motors, relays, solenoids, or actuator boards. Its timers support repeatable timing operations, while the six I/O lines can drive discrete control signals through external transistor or driver circuitry. Because the MCU does not directly provide high current output, the design must include suitable driver stages, flyback protection, and logic-level compatibility checks. The 20 MHz CPU offers useful timing margin for simple closed-loop routines, but the limited Flash and SRAM favor straightforward state machines over feature-heavy motion algorithms.

🧩

Battery-Powered IoT Sensor Node

The ATTINY25-20SU suits small battery-powered IoT sensor nodes where low-power operation, low cost, and limited board area are priorities. The picoPower AVR architecture supports sleep-based designs, while the 10-bit ADC can measure battery or sensor voltages and the Universal Serial Interface can support a compact external communications device. Firmware should use the low-power modes and peripheral sleep features described by Microchip to control average current. The 128-byte SRAM and 2 KB Flash are adequate for compact sensing and packet-preparation logic but not for large local buffering or sophisticated protocol stacks.

🌐

Serial Interface Bridge and Configuration Module

The ATTINY25-20SU can implement a compact serial configuration or protocol-conversion module using its Universal Serial Interface and interrupts. It is useful for reading a sensor, translating a simple command set, or controlling another device through a few discrete outputs. The 20 MHz processing speed supports deterministic service routines, and ISP programming simplifies firmware updates in assembled modules. Designers must map the USI pins carefully because the same six I/O pins also carry ADC and timer functions. Firmware should include timeout handling and a defined electrical interface so an external host can recover reliably from communication errors.

📱

Consumer Accessory Controller

The ATTINY25-20SU is well matched to compact consumer accessories that combine several switches, indicators, and simple sensor inputs. Its small 8-pin SOIC footprint, six I/O lines, and 20 MHz clock support economical USB-powered designs. The MCU can implement debouncing, state management, LED effects, and power sequencing within its 2 KB Flash and 128-byte SRAM limits. For designs needing more memory, protocol handling, or pins, a larger ATtiny or ATmega device is the better architectural choice. Otherwise, the ATTINY25 provides a compact platform for low-cost, deterministic accessory control.

What is the ATTINY25-20SU?
The ATTINY25-20SU is an 8-bit, low-power CMOS microcontroller based on the AVR enhanced RISC architecture. It operates at up to 20 MHz and provides 2 KB of ISP Flash, 128 bytes of EEPROM, 128 bytes of SRAM, six I/O lines, a 4-channel 10-bit ADC, timers, and a Universal Serial Interface. According to the Microchip ATtiny25 product page, the device is designed for compact embedded-control applications in an 8-pin SOIC package.
What are the key specifications of ATTINY25-20SU?
The ATTINY25-20SU provides a 20 MHz maximum clock, 2 KB of ISP Flash, 128 bytes of EEPROM, 128 bytes of SRAM, six general-purpose I/O lines, 32 working registers, and a 4-channel 10-bit ADC. The Microchip ATtiny25 product page also identifies an 8-bit timer/counter, an 8-bit high-speed timer/counter, a Universal Serial Interface, and internal and external interrupt support. These resources make the MCU suitable for small control, timing, analog-sensing, and serial-interface tasks.
Where can I download the ATTINY25-20SU datasheet PDF?
The official ATTINY25-20SU technical information is available through the Microchip ATtiny25 product page and the linked manufacturer documentation. The ATtiny25 family datasheet covers electrical characteristics, memory organization, peripherals, clocking, programming, and package information. Engineers should use the Microchip documentation for the complete pin-description table, timing limits, and current-consumption conditions before finalizing a design.
Where can I find the ATTINY25-20SU pinout?
The ATTINY25-20SU pinout is documented in the Microchip ATtiny25 family datasheet and its package drawings. In the 8-pin SOIC, pin 1 is PB0, pins 2 through 4 are PB1, PB2, and PB3, pin 5 is GND, pin 6 is PB4, pin 7 is VCC, and pin 8 is PB5. Use the manufacturer pin-description table when assigning alternate-function signals and when assigning PCB tracks.
What is the difference between ATTINY25 and ATTINY85?
The principal difference is embedded memory and peripheral capacity: the ATTINY25 has 2 KB of Flash and 128 bytes of SRAM, while the ATTINY85 provides 8 KB of Flash and 512 bytes of SRAM according to the listed technical comparison. Both belong to the ATtiny 8-bit AVR family and can support similar control functions, but the ATTINY85 is preferable when firmware, serial buffering, or timing resources require more capacity. Firmware and peripheral planning should be reviewed before interchange.
ATTINY25-20SU vs ATTINY25-20SSU - which is better?
The ATTINY25-20SU and ATTINY25-20SSU are closely related 20 MHz ATtiny25 devices in the 8-pin SOIC family, but the suffix distinguishes their specified operating-temperature grades. The ATTINY25-20SU is the correct choice when the design requires the temperature grade associated with the -20SU ordering code. Confirm the exact limits in the Microchip ordering-information table before treating either part as a substitute.
Can ATTINY25-20SU replace ATTINY25-20SUR?
The ATTINY25-20SUR has the same base ATTINY25 device and 20 MHz speed rating as the ATTINY25-20SU, but the final suffix normally identifies the packing or shipping configuration. Because a reel-form package can differ from the original shipping format, engineers should not treat it as an unconditional drop-in replacement. Confirm the original package option, programming markings, and orderable configuration in the Microchip part-numbering documentation.
What is the best drop-in replacement for ATTINY25-20SU?
The closest drop-in candidates are orderable ATTINY25-20-series devices using the same 8-pin SOIC footprint, such as ATTINY25-20SSU, ATTINY25-20SUR, and ATTINY25-20SSUR. Their exact suitability depends on the temperature-grade and packing suffix. Because those suffixes can change ordering details rather than the electrical die, verify the operating-temperature limit and mechanical packing method before approving a substitution.
Is ATTINY25-20SU suitable for a compact sensor controller?
The ATTINY25-20SU is suitable for a compact sensor controller when the design needs low-power 8-bit processing, a 10-bit ADC, and few external signals. Its six I/O lines and four ADC channels support small analog-sensing systems, while 20 MHz operation provides timing margin. Limit firmware and stack usage to the available 128 bytes of SRAM, and avoid assigning ADC, USI, and timer functions to conflicting pins.
How should I power and decouple ATTINY25-20SU?
Place the supply bypass capacitor close to the VCC pin and connect the ground return to a low-impedance ground plane. The exact capacitor value and operating-voltage limits should be taken from the manufacturer’s recommended application circuit and electrical-characteristics table. Keep the VCC and GND traces short, avoid routing sensitive analog inputs beside switching nodes, and confirm the regulator’s startup and ripple behavior under the selected load.
How do I program ATTINY25-20SU?
The ATTINY25-20SU supports In-System Programming, allowing firmware to be programmed through the ISP interface in the assembled circuit. The Microchip ATtiny25 documentation defines the ISP programming signals and connection requirements. Follow the manufacturer’s recommended programmer, connector, and reset sequence, and verify the installed fuse settings before production programming so clock and boot behavior match the firmware assumptions.
Where to buy ATTINY25-20SU online?
Use the “Request a Quote” form on this page to request ATTINY25-20SU availability, lead time, and quantity pricing from XAIPART. The exact ordering code identifies the manufacturer’s 20 MHz ATtiny25 device in an 8-pin SOIC package. For production planning, include the required reel or tube packing, target quantity, and date by which material must arrive so the sourcing response can address the complete request.
What is the price of ATTINY25-20SU?
The ATTINY25-20SU price depends on order quantity, packaging option, market conditions, and current supplier availability. Use the “Request a Quote” form on this page to request the current unit and volume-break pricing for the exact MPN. The form also allows the required package format and production quantity to be stated so the quote reflects the actual procurement configuration.
What is the lead time and stock status for ATTINY25-20SU?
Current stock and lead time for ATTINY25-20SU should be confirmed through the “Request a Quote” form on this page. Include the required quantity, target delivery date, and acceptable reel or tube packaging in the request. This approach produces a procurement response tied to the exact MPN instead of relying on a generic listing that may describe a different suffix, package, or quantity break.
Is ATTINY25-20SU compliant with RoHS and REACH?
The ATTINY25-20SU’s RoHS and REACH status should be confirmed for the exact orderable suffix using the current Microchip product documentation or a written compliance statement from XAIPART. A family-level declaration may not cover every package, temperature, or customer-specific configuration. Request the material compliance record with the quotation so procurement receives documentation for the exact MPN being released.

Datos de referencia de ingeniería para ATTINY25-20SU — comparación, orientación de diseño e información de cumplimiento.

Guía de selección

Choose the ATTINY25-20SU for compact embedded-control designs requiring a 20 MHz AVR core, 2 KB of Flash, six I/O lines, and a 4-channel 10-bit ADC in an 8-pin SOIC. It is especially attractive for small sensor nodes, lighting modules, and simple actuator controllers where board area and component count matter. Choose ATTINY25-20SSU when its temperature-grade suffix matches the deployment environment more closely; choose ATTINY25-20SUR when reel packing is required; choose ATTINY25-20SSUR when the corresponding temperature and packing combination is appropriate. All three share the same electrical base and footprint, but the suffix must be checked before substitution. Move to a larger ATtiny or ATmega device if firmware, RAM, serial buffering, or available I/O exceeds the ATTINY25’s limits.

Comparación con alternativas

Parámetro Este producto ATTINY25-20SSU ATTINY25-20SUR ATTINY25-20SSUR
Package 8-pin SOIC 8-pin SOIC 8-pin SOIC 8-pin SOIC
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology
CPU Architecture AVR enhanced RISC, 8-bit AVR enhanced RISC, 8-bit AVR enhanced RISC, 8-bit AVR enhanced RISC, 8-bit
Maximum Clock Frequency 20 MHz 20 MHz 20 MHz 20 MHz
Flash Memory 2 KB 2 KB 2 KB 2 KB
EEPROM 128 bytes 128 bytes 128 bytes 128 bytes
SRAM 128 bytes 128 bytes 128 bytes 128 bytes
General-Purpose I/O Lines 6 6 6 6
ADC 4-channel, 10-bit 4-channel, 10-bit 4-channel, 10-bit 4-channel, 10-bit

Diferenciadores clave

  • Compact 8-pin implementation (frente a ATTINY25-20SSU)
  • 20 MHz processing headroom in a small package (frente a ATTINY25-20SUR)
  • Integrated analog conversion (frente a ATTINY25-20SSUR)

Notas de diseño

Place the VCC bypass capacitor immediately adjacent to pin 7 and provide the shortest practical return from pin 5 to the ground plane. Route high-current or switching signals away from the ADC-capable PB pins to reduce coupling into analog measurements. The ATTINY25-20SU exposes only six I/O lines, so the PCB should be checked against the final peripheral allocation rather than relying only on the nominal pin count.

Keep the MCU core voltage and external sensor levels within the manufacturer’s specified operating limits. If the board uses a regulated 3.3 V or 5 V rail, confirm the corresponding operating range for the exact suffix before release. Sleep modes can reduce average consumption in sensor nodes, but peripheral clocks, ADC activity, and pull states must be controlled deliberately to obtain the intended battery life.

Do not select a replacement solely from the base ATtiny25 name because the -20, temperature, and packing suffixes can change procurement conditions. Before substituting ATTINY25-20SSU, ATTINY25-20SUR, or ATTINY25-20SSUR, verify the orderable configuration, temperature range, pinout, and packing method in the Microchip documentation. Also budget Flash and SRAM carefully because software copied from a larger ATtiny device may not fit.

Información de cumplimiento

RoHS
Unknown
REACH
Unknown
AEC-Q100
Not Applicable
Libre de plomo
Unknown
Libre de halógenos
Unknown
Minerales en conflicto
Unknown

Exact-suffix material compliance declarations were not identified. Confirm RoHS, REACH, lead-free, halogen-free, and conflict-minerals documentation with Microchip or through the XAIPART Request a Quote process.

Datos verificados el: 2026-11-23 — datos verificados y seleccionados por el equipo de ingeniería de componentes de XAIPART

Búsquedas relacionadas

attiny25 20su datasheet attiny25 pinout attiny25 datasheet attiny25 price attiny25 vs attiny85 attiny25 20ssu attiny25 programming attiny25 20sur ATTINY25-20SU pinout ATTINY25-20SU datasheet PDF ATTINY25-20SU replacement ATTINY25-20SU equivalent Microchip ATTINY25-20SU ATTINY25-20SU application circuit

Componentes & términos relacionados

Microchip Technology ATTINY25-20SU ATTINY25 ATTINY25-20SSU ATTINY25-20SUR ATTINY25-20SSUR ATtiny85 AVR enhanced RISC architecture 8-bit microcontroller RISC-based CMOS microcontroller picoPower In-System Programming Universal Serial Interface 10-bit ADC 2 KB Flash memory 128-byte EEPROM 128-byte SRAM 8-pin SOIC SOIC package family surface-mount package embedded control sensor node LED lighting control industrial automation
RFQ de presupuesto rápido
Complete los detalles — nuestro equipo de ventas responderá en un plazo de 24 horas
Número de pieza Fabricante Encapsulado QTY Precio objetivo Total
✓
¡Presupuesto enviado!

Responderemos a su correo electrónico en un plazo de 24 horas

1
RFQ enviado
2
Presupuesto recibido
3
Pedido realizado
4
Pago
5
Enviado
6
Entregado
Ver detalles del RFQ