Microchip Technology

ATTINY402-SSN - 20MHz 8-Bit AVR MCU | Microchip Technology

MPN: ATTINY402-SSN ✓ Aktif
8-pin SOIC Package 20 MHz Speed 4 KB (4K x 8 bits) Memory
MOQ: 1 |

ATTINY402-SSN Genel Bakış

The Microchip Technology ATTINY402-SSN is an 8-bit AVR tinyAVR 0-series microcontroller with a maximum clock frequency of 20 MHz, 4 KB of Flash memory, 256 bytes of SRAM, and 128 bytes of EEPROM in an 8-pin SOIC package. It uses an AVR RISC processor with a hardware multiplier and integrates Event System, SleepWalking, and accurate analog peripherals for compact embedded-control designs.

A microcontroller is a programmable semiconductor that combines a CPU core, memory, and peripherals on one integrated circuit. Within the product hierarchy, the ATTINY402-SSN belongs to the tinyAVR 0-series, which is a low-power branch of the 8-bit AVR family. The architecture is intended for autonomous peripheral operation, small firmware footprints, and energy-efficient control systems where a larger processor would add unnecessary cost or board area.

The device operates at up to 20 MHz and includes a hardware multiplier for faster arithmetic operations. Its 4 KB Flash memory provides program storage, while 256 bytes of SRAM accommodate working variables and stack operations. Nonvolatile EEPROM of 128 bytes is available for data that must persist between power cycles. The Event System allows peripherals to communicate through hardware events, and SleepWalking lets selected peripheral functions operate while the system is otherwise in a low-power sleep state.

Microchip describes accurate analog features as part of the tinyAVR 0-series architecture. These characteristics make the ATTINY402-SSN suitable for systems that combine digital control with sensor input, threshold decisions, or basic analog signal conditioning. Its eight-pin package also limits the number of external connections, encouraging compact implementations in consumer, industrial, and embedded products.

Typical applications include low-power sensor nodes, compact motor and actuator controllers, building-control interfaces, battery-operated accessories, and small industrial monitoring modules. In these systems, the microcontroller can evaluate digital inputs, operate timers and communication interfaces, perform limited analog measurements, and place unused sections of the design into a low-power state.

PCB design should account for the limited eight-pin footprint by reserving an accessible programming or debug connection and a stable decoupling capacitor near the supply pin. Confirm the complete pin-description table and recommended application circuit in the manufacturer datasheet before assigning every signal, especially when reset, analog, or programming functions share package pins.

This page combines the manufacturer device specifications with package-level design guidance, drop-in family options, and a practical comparison of programming, memory, and sourcing considerations. It is intended to help engineers evaluate the ATTINY402-SSN before starting a compact, low-power AVR design.

Drop-in alternatifler için ATTINY402-SSN — aynı paket, pin-başına uyumlu. PCB yeniden montajı gerektiren farklı paket bileşenleri dışlanmıştır.

Bu Serideki Variantlar

Yedek parça uyumlu olan aynı serideki modeller ATTINY402-SSN (aynı form faktörü ve ayağa oturma) — farklı olan Package, ADC, Core, Flash Memory, Hardware Multiplier.

Microchip Technology
Package: 8-SOIC (3.90 mm body width)
ADC: 10-bit, up to 12-bit via oversampling
Core: 8-bit AVR RISC
İle Karşılaştır ATTINY402-SSN →
Microchip Technology
Package: 8-pin SOIC (SOIC-8, narrow body)
ADC: 10-bit, up to 115 ksps, up to 6 analog channels
Core: AVR 8-bit RISC with hardware multiplier
İle Karşılaştır ATTINY402-SSN →

ATTINY402-SSNR

✅ Yerleştirme
📦 8-pin SOIC
Core frequency 20 MHz, Flash 4 KB, SRAM 256 bytes, and EEPROM 128 bytes are unchanged; ordering suffix differs by 0 electrical-parameter percentage points.

📋 Katalogda Olmayan Referans Alternatifi

ATTINY402-SSFR

✅ Yerleştirme
📦 8-pin SOIC
Core frequency 20 MHz and 4 KB Flash remain unchanged; the alternate suffix changes the ordering and temperature-grade configuration without a stated core-frequency difference.

📋 Katalogda Olmayan Referans Alternatifi

ATTINY412-SSNR

✅ Yerleştirme ⚠️ Onaylanmamış Özellikler
Microchip Technology
📦 8-pin SOIC
tinyAVR 1 · AVR 8-bit RISC with hardware multiplier · 8-bit · 20 MHz · 4 KB (4K x 8) · 256 bytes · 128 bytes · 1.8 V to 5.5 V

Fiyat için iletişime geçin

Veri Şablonunu Görüntüle →

ATTINY3224-SSU

✅ Yerleştirme ⚠️ Onaylanmamış Özellikler
📦 8-pin SOIC
Pin count remains 8 and the device remains in the tinyAVR family; memory and peripheral differences require verification, reducing confidence from a 100% to a 70% parameter match.

📋 Katalogda Olmayan Referans Alternatifi

ATTINY202-SSN

✅ Yerleştirme ⚠️ Onaylanmamış Özellikler
Microchip Technology
📦 8-pin SOIC
8-bit AVR · tinyAVR 0 · 20 MHz · 2 KB (2K x 8 bits) · 128 bytes · 64 bytes · Present · 8-pin SOIC

Fiyat için iletişime geçin

Veri Şablonunu Görüntüle →

ATTINY402-SSN Maksimum Değerlendirmeler & Elektriksel Özellikler

Processor Type 8-bit AVR RISC
Product Series tinyAVR 0-series
Azami Saat Hızı 20 MHz
Flash Memory 4 KB (4K x 8 bits)
SRAM 256 bytes
EEPROM 128 bytes
Hardware Multiplier Present
Event System Present
SleepWalking Present
Analog Features Accurate analog peripherals
Paket 8-pin SOIC
Montaj Türü Surface mount
Industrial Temperature Grade Up to 105 °C

ATTINY402-SSN Pin Yapısı

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 PD3/AIN3 — General-purpose digital input/output and analog input channel
Pin 2 PD4/AIN4 — General-purpose digital input/output and analog input channel
Pin 3 GND — Ground connection
Pin 4 RESET/ADC0 — Reset and analog-to-digital converter channel 0
Pin 5 PA0/AIN0 — General-purpose digital input/output and analog input channel 0
Pin 6 PA1/AIN1 — General-purpose digital input/output and analog input channel 1
Pin 7 PA2/AIN2 — General-purpose digital input/output and analog input channel 2
Pin 8 VCC — Power supply connection

Tipik Uygulamalar

ATTINY402-SSN için uygundur 6 uygulamas: Battery-Powered Sensor Node, Compact Motor and Actuator Controller, Industrial Threshold Monitor, Smart Building Sensor Interface, LED Lighting Controller, Portable Accessory Controller.

🧩

Battery-Powered Sensor Node

The ATTINY402-SSN fits battery-powered sensor nodes that need local control without the overhead of a larger microcontroller. Its Event System allows sensor and timer activity to be handled through hardware events, while SleepWalking lets selected peripherals operate while the CPU remains in a low-power state. The 4 KB Flash provides room for acquisition logic, filtering, threshold management, and communication routines, while 256 bytes of SRAM supports temporary measurement data. The 128-byte EEPROM can retain calibration values or a configuration identifier across power cycles. Actual battery life depends on the sensor load, sampling interval, sleep mode, and active peripheral configuration, so the final power budget should be measured on the assembled design.

🏭

Compact Motor and Actuator Controller

The ATTINY402-SSN is suitable for compact motor, valve, and actuator controllers where the control algorithm must combine fast timing with limited board space. Operation up to 20 MHz gives the 8-bit AVR processor additional headroom for motion sequencing, fault detection, and closed-loop updates. The hardware multiplier accelerates arithmetic operations that can be useful in proportional control or signal-processing routines. With 4 KB of Flash, 256 bytes of SRAM, and 128 bytes of EEPROM, the device can hold control code plus small parameter sets while maintaining a small eight-pin footprint. Event System connectivity can coordinate timer and peripheral events, reducing polling overhead. Power-device drivers, protection networks, and heat-management components must be designed separately because the MCU controls the system rather than directly driving the load.

🏭

Industrial Threshold Monitor

The ATTINY402-SSN can serve as the local controller in an industrial threshold-monitoring module that evaluates sensor conditions and reports a state through a digital interface. Its accurate analog features support signal conditioning and measurement tasks, while the hardware multiplier helps process acquired values without moving every operation to a host processor. At 20 MHz, the device can maintain predictable control-loop timing for relatively simple mechanisms. The eight-pin SOIC package keeps the controller compact but requires careful pin multiplexing when analog inputs, communication signals, reset access, and power are all needed. For factory equipment, add suitable transient protection, isolation, grounding, and enclosure practices according to the installation environment. The MCU's industrial ordering suffix supports use in equipment rated up to 105 °C.

🧩

Smart Building Sensor Interface

The ATTINY402-SSN fits compact building-sensor interfaces that convert switches, occupancy inputs, or environmental sensors into a common digital signal. Its 4 KB Flash can hold protocol state machines and configuration logic, while Event System support allows timer-driven sampling or communication tasks to interact through hardware events. The 256-byte SRAM is adequate for small message buffers, and 128 bytes of EEPROM can store endpoint settings or calibration constants. The device's eight-pin package simplifies space-constrained sensor modules, although pin sharing requires careful review of the manufacturer pin table. Low-power operation is important in battery-powered wireless endpoints, making SleepWalking useful for reducing CPU wake-ups. A production design should validate radio coexistence, ESD requirements, and the sensor's standby current rather than assuming MCU-only specifications determine system power.

💡

LED Lighting Controller

The ATTINY402-SSN can control compact LED lighting modules where dimming, timing, and status indication must be implemented locally. Its 20 MHz AVR core provides enough execution capability for PWM updates, fade sequencing, button handling, and communication tasks in a small design. Event System hardware events can coordinate timer-driven modulation with external input activity, helping reduce software polling. The 4 KB Flash and 128-byte EEPROM allow lighting profiles or configuration values to be stored locally, although profile count depends on their size. Eight pins support the required LED drive, control input, and communications only when functions are multiplexed carefully. Keep the MCU supply quiet and separate high-current LED paths from sensitive signal routing. LED drivers and transistors should be selected for the load because the microcontroller pins are intended for logic-level control rather than direct lamp current.

📱

Portable Accessory Controller

The ATTINY402-SSN is appropriate for compact portable accessories that combine user inputs, status LEDs, and one or more low-power sensors. The 8-bit architecture is well matched to simple control logic, while the hardware multiplier and 20 MHz clock provide margin for debouncing, state management, and protocol handling. Four kilobytes of Flash accommodates application firmware and small lookup tables, and 256 bytes of SRAM handles short-lived working data. SleepWalking can reduce the need to wake the core for every peripheral event, which is valuable in battery-operated products. The device must still be paired with appropriate power-path, protection, and charger circuitry for portable equipment. Firmware should include brownout handling, safe shutdown behavior, and validated defaults so an interrupted power condition cannot leave an actuator or indicator in an unsafe state.

What are the key specifications of ATTINY402-SSN that engineers should know?
The ATTINY402-SSN is an 8-bit tinyAVR 0-series microcontroller rated for operation up to 20 MHz, with 4 KB of Flash, 256 bytes of SRAM, and 128 bytes of EEPROM. It also provides a hardware multiplier, Event System, SleepWalking, and accurate analog features in an 8-pin SOIC package. According to the Microchip ATtiny202/402 complete datasheet, these resources support compact control systems requiring fast event handling, low-power operation, and modest firmware storage.
Where can I download the ATTINY402-SSN datasheet PDF?
The ATTINY402-SSN datasheet PDF is available through the official Microchip document link on this page. The document covers the shared ATtiny202/402 family, including the AVR processor, memory organization, peripherals, electrical characteristics, and package information. Use the pin-description table in that manufacturer datasheet to confirm signal assignments before laying out the eight-pin SOIC footprint or programming the device.
What is the ATTINY402-SSN pinout and where is pin 1?
The ATTINY402-SSN uses an eight-pin SOIC with pin 1 located at the top-left of the package when the notch points upward. Its pins provide power, ground, programming access, reset, general-purpose I/O, and analog-capable inputs according to the manufacturer pin-description table. Because several pins can serve more than one function, use the package diagram and pin table together when assigning PCB tracks.
How do I program an ATTINY402-SSN with Arduino?
An ATTINY402-SSN can be programmed through a compatible AVR programmer or programming adapter that supports the ATtiny402 device signature and its programming interface. Arduino tooling can be used when the board-support package and programmer driver recognize the ATtiny402 correctly. The manufacturer ATtiny202/402 complete datasheet should be consulted for programming voltage, clock, and interface requirements before connecting the programmer.
What programmer is compatible with the ATTINY402-SSN?
The ATTINY402-SSN requires a programmer that supports the ATtiny202/402 family and provides the required programming interface, clock, and target voltage. A general AVR ISP programmer can be suitable when its software profile includes the ATTINY402 signature. Check the programmer documentation, the manufacturer programming section, and the selected board-support package before applying signals to the PCB.
ATTINY402 vs ATTINY85: which is better for a compact control design?
The ATTINY402-SSN is generally better when a design benefits from 20 MHz operation, 4 KB of Flash, 256 bytes of SRAM, Event System, and SleepWalking within an eight-pin package. The ATTINY85 is a different tinyAVR family, so firmware, peripheral support, and board layouts should not be assumed interchangeable. Select the ATTINY402 when its event-driven architecture and memory balance align with the control task.
What can replace ATTINY402-SSN?
The closest same-family drop-in choices include ATTINY402-SSNR and ATTINY402-SSFR, both in the eight-pin SOIC footprint, while ATTINY412-SSN, ATTINY3224-SSU, and ATTINY202-SSN offer different memory or ordering configurations within the related tinyAVR family. Confirm pin functions, clock requirements, memory demand, temperature grade, and peripheral compatibility in the manufacturer documentation before treating any option as a production replacement.
Is ATTINY402-SSN suitable for low-power sensor applications?
The ATTINY402-SSN is suitable for low-power sensor applications because SleepWalking permits selected peripheral activity while the CPU remains in a low-power state, and the Event System can reduce firmware intervention. With 128 bytes of EEPROM, the device can retain a limited amount of configuration or calibration data. The final battery life depends on the selected sleep mode, sensor current, duty cycle, and active peripherals.
When should I choose ATTINY402-SSN over ATTINY202-SSN?
Choose ATTINY402-SSN over ATTINY202-SSN when the application benefits from 4 KB of Flash instead of 2 KB, 256 bytes of SRAM instead of 128 bytes, and 128 bytes of EEPROM instead of 64 bytes. The additional memory gives firmware and data more headroom while retaining the same eight-pin family context. Choose ATTINY202-SSN only when its lower memory capacity is sufficient and minimizing resource use is more important.
Where can I buy ATTINY402-SSN online and what is its current price?
Use the Request a Quote form on this page to ask for ATTINY402-SSN pricing, availability, minimum order quantity, and current lead time. Quote requests provide a direct purchasing path without embedding a price that may change with market conditions or order volume. Specify the required quantity, tube or reel preference, and target delivery location when submitting the request.
What is the lead time and stock status for ATTINY402-SSN?
Request the current ATTINY402-SSN stock position, lead time, and minimum order quantity through the Request a Quote form on this page. Availability can vary with the exact ordering code and shipment configuration, so the form should state whether tube or tape-and-reel delivery is acceptable. Microchip's ATTINY402 product page remains the appropriate reference for device-family status and ordering information.
Is ATTINY402-SSN in stock for immediate shipment?
Current ATTINY402-SSN inventory should be confirmed through the Request a Quote form on this page because stock changes by order quantity and shipment configuration. Include the target quantity, package delivery preference, and required date in the request. This gives purchasing teams a current response without relying on a static stock statement that could become inaccurate.
What is the ATTINY402-SSN lifecycle status?
Microchip currently lists the ATTINY402 family as an active product on its official product page. The ATTINY402-SSN ordering code combines the 8-pin SOIC configuration with the relevant ordering suffix. For long-term procurement, confirm the exact suffix, supply-chain status, and lifecycle commitments through the Request a Quote form on this page.
Does ATTINY402-SSN meet RoHS and REACH requirements?
The manufacturer product information identifies ATTINY402-SSN as a green device, but the detailed RoHS and REACH declarations should be confirmed for the exact ordering code and current shipment configuration. Use the manufacturer datasheet and regulatory document set for formal compliance decisions. If your qualification process requires a declaration or material report, request the applicable document with your purchasing inquiry.
Can an ATTINY402-SSN be programmed with an Arduino-compatible toolchain?
An Arduino-compatible workflow can be used only when the installed core, compiler configuration, and programmer driver explicitly support the ATTINY402 device signature and memory layout. The ATTINY402 uses 4 KB of Flash, 256 bytes of SRAM, and 128 bytes of EEPROM, so code written for a different AVR family may require peripheral and linker-script changes. Verify programming voltage and ISP behavior against the manufacturer datasheet before production use.

Mühendislik referans verileri: ATTINY402-SSN — karşılaştırma, tasarım rehberi ve uyumluluk bilgileri.

Seçim Kılavuzu

Choose ATTINY402-SSN when the design needs an eight-pin AVR controller with up to 20 MHz operation, 4 KB of Flash, 256 bytes of SRAM, Event System, SleepWalking, and a hardware multiplier. It is well suited to compact sensor, actuator, lighting, and portable-control products where board area and power are important. Select ATTINY402-SSNR or ATTINY402-SSFR only after confirming the ordering, shipment, and temperature requirements of the intended assembly. Consider ATTINY412-SSN or ATTINY3224-SSU when their additional resources or peripherals are needed and their device-specific pin behavior has been verified. ATTINY202-SSN is attractive for simpler products because it uses the same 20 MHz and eight-pin family context, but its Flash and SRAM are each 50% smaller. For every option, confirm programming support, reset behavior, analog functions, supply limits, and peripheral mapping in the manufacturer documentation before releasing a production PCB.

Alternatiflerle Karşılaştırma

Parametre Bu Ürün ATTINY402-SSNR ATTINY402-SSFR ATTINY412-SSN ATTINY3224-SSU ATTINY202-SSN
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 8-pin SOIC 8-pin SOIC - same package 8-pin SOIC - same package 8-pin SOIC - same package 8-pin SOIC - same package 8-pin SOIC - same package
Processor Architecture 8-bit AVR with hardware multiplier 8-bit AVR with hardware multiplier 8-bit AVR with hardware multiplier tinyAVR 0-series, 8-bit AVR tinyAVR family, 8-bit AVR 8-bit AVR with hardware multiplier
Ordering and Shipment Configuration ATTINY402-SSN in tube packaging ATTINY402-SSNR ordering configuration ATTINY402-SSFR ordering configuration ATTINY412-SSN ordering configuration ATTINY3224-SSU ordering configuration ATTINY202-SSN ordering configuration

Ana Farklılayıcılar

  • Higher memory capacity within the related eight-pin tinyAVR family (karşılaştırma:ATTINY202-SSN)
  • Direct family configuration matching for existing ATTINY402 boards (karşılaştırma:ATTINY412-SSN)
  • Event-driven control with an 8-bit hardware multiplier (karşılaştırma:ATTINY3224-SSU)
  • Exact same-device ordering option for flexible procurement (karşılaştırma:ATTINY402-SSNR)

Tasarım Notları

Place the supply decoupling capacitor immediately between the VCC and GND pins, with a short and low-inductance return path. Preserve access to the programming interface and RESET/ADC0 function because the eight-pin package provides limited routing flexibility. Use the manufacturer recommended decoupling value and layout from the ATtiny202/402 complete datasheet, and avoid placing high-current switching paths between the capacitor and the supply pin.

Treat analog-capable pins as potential high-impedance sources and keep their copper routes away from clocks, motor-control edges, and switching-supply nodes. The ATTINY402-SSN combines digital I/O and analog inputs in an eight-pin SOIC, so pin multiplexing can force otherwise unrelated signals near each other. Check the pin-description table before assigning a function and follow the manufacturer's recommended analog grounding and decoupling arrangement.

Do not assume that any 8-bit AVR programming tool supports the ATTINY402 signature, memory map, and clock configuration. Select a programmer and software package explicitly compatible with the ATtiny202/402 family, and confirm the target voltage before connecting it. Also verify all eight pins after assigning multiplexing functions; an incorrect reset or programming connection can appear as a failed firmware download or an unresponsive controller.

Estimate average current from the MCU's active and sleep contributions, then add the current required by sensors, communications, indicators, and external logic. SleepWalking can reduce CPU wake-ups, but peripheral clocks and continuously powered blocks may remain active. Validate the complete sleep current on hardware because PCB leakage, pull networks, regulators, and external devices can dominate the final power budget even when the controller itself is efficient.

Uyumluluk Bilgisi

RoHS
Unknown
REACH
Unknown
AEC-Q100
Not Applicable
Kadmiyumdan Arınmış
Unknown
Klorofillerden Arınmış
Unknown
Çatışma Minerali
Unknown

Manufacturer product information identifies ATTINY402-SSN as a green device, but exact RoHS, REACH, lead-free, halogen-free, and conflict-minerals declarations were not stated in the referenced product data.

Veri doğrulanma tarihi: 2026-11-23 — XAIPART bileşen mühendislik ekibi tarafından doğrulanmış ve derlenmiş veri

İlgili Aramalar

attiny402 ssn attiny402 development board attiny402 datasheet attiny402 programming attiny402 price attiny402 vs attiny85 attiny402 programmer attiny402 programming with arduino attiny402 ssnr attiny402 ssfr ATTINY402-SSN datasheet pdf ATTINY402-SSN pinout ATTINY402-SSN replacement ATTINY402-SSN equivalent

İlgili Bileşenler ve Terimler

Microchip Technology ATTINY402-SSN ATTINY402-SSNR ATTINY402-SSFR ATTINY412-SSN ATTINY3224-SSU ATTINY202-SSN ATtiny402 tinyAVR 0-series AVR RISC processor 8-bit microcontroller microcontroller semiconductor Event System SleepWalking hardware multiplier Flash memory SRAM EEPROM 8-pin SOIC SOIC family surface-mount package industrial temperature grade analog peripherals low-power embedded control
Hızlı Teklif RFQ
Detayları tam doldurun — satış ekibimiz 24 saat içinde yanıt verecek
Parça Numarası Üretici Paket QTY Hedef Fiyat Genişletilmiş
✓
Teklif gönderildi!

24 saat içinde e-postanıza yanıt vereceğiz

1
RFQ Gönderildi
2
Teklif Alındı
3
Sipariş Yerleştirildi
4
Ödeme
5
Gönderildi
6
Teslim Edildi
RFQ Detaylarını Görüntüle