ATTINY402-SSN Microcontrollers - MCU by Microchip Technology

Status: Active
Series: ATTINY402
RoHS: Compliant
Download Datasheet Visit Manufacturer Site View Pricing & Stock

The ATtiny402 is a microcontroller using the 8-bit AVR®  processor with a hardware multiplier, running at up to 20 MHz and 4 KB Flash, 256B SRAM, and 128B of EEPROM in an 8-pin package. The series uses the latest technologies from Microchip with a flexible and low-power architecture, including an Event System and SleepWalking, accurate analog features, and advanced peripherals.

Where to Buy

Prices starting from US$0.37

Distributor Stock
Logo for RS
from US$0.47
in stock
Buy Now
Logo for Microchip Technology
Microchip Technology
from US$0.37
in stock
Buy Now
Logo for Newark Electronics
Newark Electronics
from US$0.45
in stock
Buy Now
Logo for element14
from US$0.48
in stock
Buy Now
Logo for Farnell
from US$0.47
in stock
Buy Now
Logo for Distrelec
from US$0.47
in stock
Buy Now
Logo for Transfer Multisort Elektronik
Transfer Multisort Elektronik
from US$0.46
in stock
Buy Now
Logo for Future Electronics
Future Electronics
from US$0.42
in stock
Buy Now
Logo for Avnet America
Avnet America
from US$0.50
Buy Now
Logo for Avnet Asia
Avnet Asia
Buy Now
Logo for Avnet Silica
Avnet Silica
Buy Now


135 instructions
Hardware multiplier
Ultra Low Power (ULP)
Power Down
3 Channels Event System
Configurable Custom Logic (CCL)
6 Channel 10-bit ADC with Voltage Reference
2x 16-bit Timer (TCA / TCB)
Cyclical Redundancy Check (CRC/SCAN)
Watchdog Timer (WDT)
Power-On Reset (POR)
Brown-Out Detection (BOD)
Single pin programming and debugging interface (UPDI)
Operation Voltage: 1.8V – 5.5V


Program Memory Type Flash
Program Memory Size (KB) 4
Data EEPROM (bytes) 128
Capture/Compare/PWM (CCP) 0
Max 8 Bit Digital Timers 0
Number of ADCs 0
ADC Channels 12
Max ADC Resolution (bits) 10
Number of Comparators 1
Temp. Range Min. -40
Temp. Range Max. 125
Operation Voltage Max.(V) 5.5
Operation Voltage Min.(V) 1.8
Pin Count 8
Low Power No
Pins | Packaging 8 | SOIC
Temp Range -40C to +105C
Packing Media Tube (100)


Application Notes
TB3229 - Getting Started with General Purpose Input/Output (GPIO)
TB3262 - AVR1000b: Getting Started with Writing C-Code for AVR MCUs
AN3407 - Using Matrix Keypad with AVR® Devices
AN_1619 - AVR040: EMC Design Considerations
AN3320 - AVR318: Dallas 1-Wire Master on tinyAVR and megaAVR
AN2665 - Interfacing AVR Microcontrollers with Serial memories
AN_8016 - AVR323: Interfacing GSM Modems
AN_2568 - AVR911: AVR Open-source Programmer
AN2519 - AVR Microcontroller Hardware Design Considerations
AN_2540 - AVR104: Buffered Interrupt Controlled EEPROM Writes
AN_2551 - AVR132: Using the Enhanced Watchdog Timer
AN_2575 - AVR106: C Functions for Reading and Writing to Flash Memory
AN_42789 - AVR42789: Writing to Flash on the New tinyAVR Platform Using Assembly
AN2648 - Selecting and Testing 32 KHz Crystal Oscillators for AVR Microcontrollers
AN2468 - Production Programming of Microchip AVR and SAM Microcontrollers
AN2547 - Digital Sound Recorder using DAC with tinyAVR 1-series
AN2522 - Core Independent Brushless DC Fan Control Using CCL AVR Microcontrollers
AN2548 - Core Independent Ultrasonic Distance Measurement with the tinyAVR 1-series
AN2543 - Temperature Logger with ATtiny817 and SD Card
AN2387 - Core Independent Nightlight Using Configurable Custom Logic on ATtiny1617
AN2371 - Manchester Encoder Using USART and CCL on ATtiny817
AN2451 - Getting Started with Core Independent Peripherals on AVR Microcontrollers
AN2447 - Measure VCC/Battery Voltage Without Using I/O Pin on tinyAVR and megaAVR
AN2400 - Using Event System on ATtiny817
AN2515 - AVR Low-power Techniques
AN2466 - Using Atmel-ICE for AVR Programming In Mass Production
AN2434 - Interfacing Quadrature Encoder Using CCL with TCA and TCB
AN2521 - CRCSCAN on tinyAVR 0- and 1-series, and megaAVR 0-series
AN2551 - Noise Countermeasures for ADC Applications
AN2572 - ADC Oversampling with tinyAVR 0- and 1-series, and megaAVR 0-series
AN2573 - ADC Basics with tinyAVR 0- and 1-series, and megaAVR 0-series
AN1982 - Interrupt System in tinyAVR 0- and 1-series, and megaAVR 0-series
AN1983 - Writing to Flash and EEPROM on the tinyAVR 1-series
AN2607 - Pillbox Alarm Application for the AVR P4 FEB
AN2632 - Guide to IEC 60730 Class B Compliance with tinyAVR® 1-series
AN2634 - Bootloader for tinyAVR 0- and 1-series, and megaAVR 0-series
AN2634 UART Source Code - Bootloader for tinyAVR 0- and 1-series, and megaAVR 0-series
AN2636 - Migration Between tinyAVR® 1-series and tinyAVR 0-series
AN2658 - USART in One-Wire Mode
AN2701 - Digital Signal Processing Performance of the 8-bit AVR Core
AN2712 - Getting Started with tinyAVR® 0-series
AN2541 - Functional Safety Demonstrator Using ATtiny3217
AN2747 - Robustness on tinyAVR 0- and 1-series, and megaAVR 0-series
AN2751 - Process Scheduling on an 8-bit Microcontroller
AN2799 - Using the Petit FAT File System Module with AVR Microcontrollers
TB3213 - Getting Started with RTC
TB3218 - Getting Started with Configurable Custom Logic (CCL)
TB3209 - Getting Started with ADC
TB3211 - Getting Started with AC
TB3217 - Getting Started with TCA
TB3214 - Getting Started with TCB
TB3216 - Getting Started with USART
AN3007 - Getting Started with FreeRTOS on megaAVR 0-series

Environmental Information

JEDEC Indicator e3
ROHS Compliant
China EFUP Compliant
Device Weight (g) 0.078
Shipping Weight (kg) 0.25
Lead Count 8
Package Type SOIC
Package Width or Size .150In(3.90mm)
Soldering Composition Matte Tin

Alternative Descriptions

4kB, 0-series, SOIC8, 105C, Green, Tube | Microchip Technology
Mcu, 8Bit, 20Mhz, Soic-8 | Newark Electronics
MCU, 8BIT, 20MHZ, SOIC-8 | element14
Microchip Microcontroller AVR 20MHz 4KB / 256B SOIC-8 | Distrelec
IC: AVR microcontroller | Transfer Multisort Elektronik
Microchip, ATTINY402-SSN | RS
MCU 8-Bit ATTINY402 AVR RISC 4KB Flash 1.8V to 5.5V 8-Pin SOIC Tray | Avnet America

Frequently Asked Questions

Where can I find additional details, specifications and documents for a ATTINY402-SSN?

Additional datasheets, footprints and schematics for ATTINY402-SSN are listed on our Part Details page. You can also find images and similar parts to ATTINY402-SSN on this page.

What pricing and inventory information can I view?

Distributor pricing and stock information is available for ATTINY402-SSN on our Product Comparison page. Access via the 'View Pricing & Stock' button to view ATTINY402-SSN price breaks, MOQs, lead times, inventory and SKUs from distributors.

What category does ATTINY402-SSN fall under?

The ATTINY402-SSN is listed under Semiconductors - ICs > Microcontrollers - MCU > 8 Bit Microcontrollers - MCU.

Can I view similar or alternative parts?

You can view similar parts to ATTINY402-SSN when available in the 8 Bit Microcontrollers - MCU range under the specifications section at the bottom of the details page.

Who can I contact for technical support of the product?

Submit any questions directly to the customer support team of the distributor listing the product. For the ATTINY402-SSN you can contact the distributor directly for product support, shipping queries etc.

Is the ATTINY402-SSN RoHS compliant?

Yes. This part has been flagged as RoHS Compliant by Microchip Technology.

Which authorised distributors for ATTINY402-SSN have stock available?

Authorised distributors including Microchip Technology, Newark Electronics, element14, Farnell and Distrelec have stock available or on a lead time for ATTINY402-SSN.

How do I check stock and lead times for all distributors?

Stock availability and lead times will be displayed for ATTINY402-SSN often in real-time on the comparison pages.

What if I can't find stock of ATTINY402-SSN?

You can fill out our help required form which you can use to request a quote for ATTINY402-SSN from some of our verified obsolescence suppliers. Alternatively, contact us via our web chat in the bottom left of your screen and one of our team will try to help.

We use cookies to improve your experience. See our privacy policy.