EmbeddedRelated.com
ATTINY45-20SU

MCHPATTINY45-20SU

Microchip Technology
Same small SOIC-8 form factor with lower Flash memory (4 KB) as a lower-cost, lower-code-size option.
NRND21,861 in stock

Overview

The ATTINY45-20SU is a high-performance, low-power 8-bit AVR RISC-based microcontroller featuring 4 KB of ISP Flash memory. It is designed for applications requiring a compact SOIC-8 footprint and efficient code execution with 120 powerful instructions, most of which execute in a single clock cycle.

Why Choose This Part

This MCU offers a balance of 4 KB Flash and 256 bytes of SRAM in a small 8-pin package, making it ideal for cost-sensitive designs that exceed the capacity of the ATtiny25. It supports multiple low-power modes, including a 0.1 uA power-down mode, and can operate at up to 20 MHz for demanding tasks.

Applications

Simple Logic Replacement
Replacing discrete logic or timing circuits with a programmable solution to reduce BOM count and PCB area.
Sensor Interface
Using the on-chip ADC and analog comparator to monitor environmental sensors and trigger system wake-ups.
Consumer Electronics
Managing basic user interfaces, LED control, or power sequencing in space-constrained handheld devices.
Temperature Monitoring
Utilizing the internal temperature sensor for thermal management or environmental logging in compact enclosures.

Key Specifications

Speed 20MHz
RAM Size 256 x 8
Core Size 8-Bit
EEPROM Size 256 x 8
Peripherals Brown-out Detect/Reset, POR, PWM, WDT
Connectivity USI
Mounting Type Surface Mount
Number of I/O 6
Core Processor AVR
Package / Case 8-SOIC (0.209", 5.30mm Width)
Data Converters A/D 4x10b
Oscillator Type Internal
Program Memory Size 4KB (2K x 16)
Program Memory Type FLASH
Operating Temperature -40degC ~ 85degC (TA)
Supplier Device Package 8-SOIC
Voltage - Supply (Vcc/Vdd) 2.7V ~ 5.5V

Getting Started

Engineers can develop for the ATTINY45 using the Microchip Studio IDE and program the device via the SPI port using an AVRISP mkII or similar programmer. For debugging, the on-chip debugWIRE system is available, and the hardware can be prototyped using a standard SOIC-to-DIP adapter or specialized AVR development boards.

Part of ATtiny family » ATTINY45

ATTINY45 Family

Comparing specs that differ across variants. The current part is highlighted.

Part Number Package Stock
ATTINY45-20SU (this part) SOIC-8 21,861
ATTINY45-20SUR SOIC-8 16,292
ATTINY45-20PU DIP-8 5,989

Also Consider

ATTINY85-20SU MCHPMicrochip Technology - Offers double the Flash (8 KB) and SRAM (512 B) in the same SOIC-8 footprint for more complex firmware requirements.
ATTINY25-20SU MCHPMicrochip Technology - A lower-cost alternative with 2 KB of Flash for extremely simple applications with minimal code size.
ATMEGA328P-AU MCHPMicrochip Technology - Recommended if significantly more I/O pins, peripherals, and memory are needed in a larger TQFP-32 package.