ATTINY204-SSFR - 8-bit AVR tinyAVR 0 MCU, 2KB Flash, 14-SOIC
MPN: ATTINY204-SSFR ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $0.89 | $0.89 |
| 10 | $0.8 | $8.00 |
| 100 | $0.72 | $72.00 |
| 500 | $0.62 | $310.00 |
| 1,000 | $0.55 | $550.00 |
| 3,000 | $0.48 | $1,440.00 |
ATTINY204-SSFR Overview
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program memory, RAM, I/O peripherals, and often analog blocks onto one silicon die. The ATTINY204 belongs to the tinyAVR 0 family, the smallest and most power-efficient subfamily of the 8-bit AVR RISC architecture introduced by Atmel (now Microchip). tinyAVR 0 sits within the hierarchy: microcontroller -> embedded controller -> 8-bit MCU -> AVR -> tinyAVR -> tinyAVR 0-series, and is positioned for cost- and pin-constrained designs where full-size ATmega or ATtiny 1-series MCUs are too large.
Key differentiating features include a 10-bit ADC with up to 12 channels, configurable custom logic (CCL), and a 16-bit Timer/Counter type A with three compare channels for PWM generation. The device runs from 1.8 V to 5.5 V and supports Sleep modes drawing under 1 uA. The Event System and SleepWalking allow peripherals to operate autonomously without waking the CPU, an essential feature for battery-powered and energy-harvesting applications.
Architecturally, the ATTINY204 uses the classic AVR RISC core with single-level pipelining and most instructions executing in a single clock cycle. A hardware multiplier accelerates 8-bit by 8-bit multiplications to two cycles. The Flash, SRAM, and EEPROM are mapped on a unified address bus with EEPROM accessed through a dedicated peripheral, simplifying wear-leveling application code.
Typical applications include low-power IoT sensor nodes, LED lighting controls, capacitive touch user interfaces, consumer remote controls, and battery-powered wearables. In each scenario, the small 14-pin footprint combined with flexible peripherals allows PCB space below 25 mm x 25 mm.
A key design consideration is the maximum operating voltage: 5.5 V absolute maximum. Designers must ensure VDD never exceeds this limit, including during hot-plug or USB bus-powered events. Decoupling with a 100 nF ceramic capacitor placed within 5 mm of the VDD pin is recommended.
This page synthesizes distributor pricing for the ATTINY204-SSFR, drop-in alternatives within the same 14-SOIC package, and practical design notes not consolidated in the manufacturer datasheet.
Drop-in alternatives for ATTINY204-SSFR — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.
Variants in this series
Same-series models that are drop-in compatible with ATTINY204-SSFR (same form factor and footprint) — differing in ADC, Operating Temperature, Package, EEPROM, SRAM.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
ATTINY202-SSFR
✅ Drop-In📋 Reference alternative (not in catalog)
ATTINY404-SSFR
✅ Drop-In📋 Reference alternative (not in catalog)
ATTINY402-SSFR
✅ Drop-In📋 Reference alternative (not in catalog)
ATTINY204-SSNR
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
ATTINY1624-SSU
✅ Drop-In✓ In Stock
$0.66 / Unit
View Datasheet →ATTINY1626-XU
✅ Drop-In✓ In Stock
$1.2 / Unit
View Datasheet →ATTINY204-SSFR Maximum Ratings & Electrical Characteristics
| Core Architecture | 8-bit AVR RISC |
| Series | tinyAVR 0-series (Functional Safety) |
| Maximum Clock Frequency | 20 MHz (16 MHz per DigiKey listing) |
| Flash Program Memory | 2 KB (2K x 8) |
| SRAM | 128 bytes |
| EEPROM | 64 bytes |
| Supply Voltage (VDD) | 1.8 V to 5.5 V |
| Operating Temperature | -40C to +125C (Industrial) |
| Package | 14-SOIC (0.154 inch / 3.90 mm body width) |
| ADC | 10-bit |
| Timers | 16-bit TCA x 1, others per datasheet |
| Hardware Multiplier | Yes (8-bit x 8-bit, 2-cycle) |
| Event System / SleepWalking | Yes |
| Configurable Custom Logic (CCL) | Yes |
| RoHS Status | Compliant (Green, lead-free per Heisener listing) |
| Mounting Type | Surface Mount |
| Functional Safety (FuSa) | Yes |
ATTINY204-SSFR Pin Configuration
| Pin 1 | VCC — Supply voltage (1.8 V - 5.5 V) - per datasheet |
| Pin 2 | PB0 — GPIO PB0 / MOSI / ADC0 |
| Pin 3 | PB1 — GPIO PB1 / MISO / ADC1 |
| Pin 4 | PB2 — GPIO PB2 / SCK / ADC2 |
| Pin 5 | PB3 — GPIO PB3 |
| Pin 6 | PA0 — GPIO PA0 |
| Pin 7 | PA1 — GPIO PA1 |
| Pin 8 | PA2 — GPIO PA2 / ADC3 |
| Pin 9 | PA3 — GPIO PA3 / ADC4 |
| Pin 10 | GND — Ground |
| Pin 11 | PA4 — GPIO PA4 / ADC5 |
| Pin 12 | PA5 — GPIO PA5 / ADC6 |
| Pin 13 | PA6 — GPIO PA6 / ADC7 |
| Pin 14 | PA7 — GPIO PA7 / ADC8 / RESET |
Typical Applications
ATTINY204-SSFR is suitable for 6 applications: Low-Power IoT Sensor Node, Capacitive Touch User Interface, LED Lighting Controller, Consumer Remote Control, Battery-Powered Wearable Device, Industrial Sensor Transmitter.
Low-Power IoT Sensor Node
The ATTINY204-SSFR is well-suited for battery-powered IoT sensor nodes because its Event System and SleepWalking peripherals allow ADC sampling and GPIO monitoring without waking the CPU, drawing under 1 uA in Power-Down sleep. With 2 KB program memory, it fits typical LoRaWAN/BLE beacon firmware using MPLAB X and the tinyAVR 0-series toolchain. The 14-SOIC package enables PCB sizes below 25 mm x 25 mm, ideal for coin-cell wearables and energy-harvesting designs. Designers pair it with a low-power wireless transceiver (e.g., SAM R34 or external sub-GHz module); a 100 nF decoupling cap within 5 mm of VDD is recommended to suppress digital switching noise on the analog rail.
Recommended
Capacitive Touch User Interface
The ATTINY204-SSFR includes Configurable Custom Logic (CCL) and the Peripheral Touch Controller (PTC) for robust capacitive touch buttons and sliders, supporting both self-capacitance and mutual-capacitance sensing. With 12 GPIO pins and the 10-bit ADC for proximity sensing, the MCU can replace mechanical buttons in white goods, lighting controls, and consumer appliances. The 14-SOIC package fits behind a 1.6 mm acrylic overlay, and the 1.8 V-5.5 V range supports direct Li-ion battery operation. The PTC peripheral runs autonomously via the Event System, allowing the CPU to sleep until a touch event triggers a wake, extending battery life to years.
Recommended
LED Lighting Controller
The ATTINY204-SSFR's 16-bit TCA timer provides three compare channels for PWM-driven LED dimming at 16-bit resolution, supporting smooth logarithmic brightness curves required by architectural and mood lighting. Its tiny 14-SOIC footprint allows integration into MR16 bulbs and GU10 fixtures, while the wide 1.8 V-5.5 V supply tolerates both 3.3 V and 5 V LED driver rails. The 10-bit ADC monitors the LED current-sense resistor for closed-loop constant-current control. The hardware multiplier accelerates CIE-1931 color-mixing math for RGB fixtures, all within 2 KB Flash budget.
Recommended
Consumer Remote Control
The ATTINY204-SSFR is widely used in IR/RF remote controls thanks to its low standby current under 1 uA and built-in Event System that wakes on GPIO change without CPU intervention. The 2 KB Flash comfortably fits NEC, RC5, and SIRC IR protocols plus RF pairing state machines, and the 16 MHz clock supports accurate 38 kHz IR carrier generation. The 14-SOIC package fits inside slim remote enclosures, and the industrial -40C to +125C temperature range suits outdoor smart-home applications. Pair with a CR2032 coin cell and an IR emitter or sub-GHz transmitter for a complete low-cost remote design.
Recommended
Battery-Powered Wearable Device
The ATTINY204-SSFR enables compact wearable designs such as fitness bands, smart rings, and medical patches thanks to its sub-1 uA deep-sleep current, 14-SOIC footprint under 25 mm x 25 mm, and 1.8 V minimum VDD that supports single-cell Li-ion or coin-cell batteries directly. The 10-bit ADC samples heart-rate or temperature sensors while the Event System wakes the CPU only on threshold events. The functional safety (FuSa) capability also makes the part suitable for medical monitoring peripherals. Wearable designers commonly pair it with a BLE SoC for radio and a tiny OLED display driver for status output.
Recommended
Industrial Sensor Transmitter
The ATTINY204-SSFR's -40C to +125C industrial temperature range and 5.5 V absolute-maximum VDD tolerance make it suitable for 4-20 mA sensor transmitters and industrial PLC digital I/O modules. The 10-bit ADC reads bridge sensors, RTDs, or 4-20 mA current loops, while the Event System triggers DMA-like autonomous operation. The 14-SOIC footprint survives SMT processes used in industrial assembly lines, and the 2 KB Flash fits MODBUS RTU or IO-Link protocol stacks. Designers commonly add a 3.3 V LDO, a TVS protection diode, and an RS-485 transceiver for a robust industrial node.
Recommended
Recommended Products Summary
Engineering reference data for ATTINY204-SSFR — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | ATTINY202-SSFR | ATTINY404-SSFR | ATTINY402-SSFR | ATTINY1624-SSU | ATTINY1626-XU |
|---|---|---|---|---|---|---|
| Package | 14-SOIC | 14-SOIC - same | 14-SOIC - same | 14-SOIC - same | 14-SOIC - same | 14-SOIC - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 2 KB | 2 KB | 4 KB | 4 KB | 16 KB | 16 KB |
| SRAM | 128 B | 128 B | 256 B | 256 B | 2 KB | 2 KB |
| Core | 8-bit AVR (tinyAVR 0) | 8-bit AVR (tinyAVR 0) | 8-bit AVR (tinyAVR 0) | 8-bit AVR (tinyAVR 0) | 8-bit AVR (tinyAVR 1/2) | 8-bit AVR (tinyAVR 2) |
| Max Clock | 16 MHz | 16 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| Supply Voltage | 1.8 V - 5.5 V | 1.8 V - 5.5 V | 1.8 V - 5.5 V | 1.8 V - 5.5 V | 1.8 V - 5.5 V | 1.8 V - 5.5 V |
| Operating Temperature | -40C to +125C | -40C to +125C | -40C to +125C | -40C to +125C | -40C to +125C | -40C to +125C |
| RoHS / Lead-Free | Yes (Green) | Yes (Green) | Yes (Green) | Yes (Green) | Yes (Green) | Yes (Green) |
Key Differentiators
- Functional Safety (FuSa) capable architecture (vs ATTINY13)
- Event System with SleepWalking peripheral autonomy (vs ATTINY25)
- Configurable Custom Logic (CCL) peripheral (vs ATTINY1614)
Design Notes
Place a 100 nF ceramic decoupling capacitor within 5 mm of the VDD pin and a bulk capacitor (e.g. 10 uF) on the main supply rail. The ATTINY204-SSFR draws under 1 uA in Power-Down sleep, but inrush during ADC conversions can spike to several mA - the bulk cap prevents VDD sag. Avoid routing the ADC analog supply through high-current digital traces to minimize noise coupling. For battery-powered designs, use a low-Iq LDO such as Microchip MCP1700 to maintain regulator efficiency above 90 percent.
The 14-SOIC package uses 1.27 mm (50 mil) pitch. Maintain at least 0.2 mm clearance between SOIC pins and adjacent traces to comply with most assembly house design rules. Place a continuous ground plane beneath the MCU and stitch vias around the perimeter to reduce EMI. Keep the UPDI programming pin (PA0) accessible or routed to a test pad for in-system programming - this is the modern Atmel/Microchip 1-wire debug protocol that replaces the legacy ISP 6-pin header.
Do not exceed 5.5 V on VDD - this is the absolute maximum, not the operating range. When migrating code from the ATTINY13 or ATTINY25 family, note that the ATTINY204 uses the UPDI debug interface instead of ISP/debugWIRE, requiring a different programmer and updated Atmel Studio 7 / MPLAB X configuration. The RESET pin (PA7) is shared with GPIO - configure the fuse bit carefully if you need GPIO on PA7 instead of RESET. Finally, do not skip the UPDI disable fuse protection in production unless you intend the firmware to be unmodifiable.
Compliance Information
RoHS compliant, lead-free (Green) per Microchip and Heisener distributor listings. Functional Safety (FuSa) capable per datasheet. AEC-Q100 qualification not specified for the -SSFR variant - check Microchip product selector for AEC-Q100 automotive-grade alternatives if required.