Microchip Technology

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

부품 번호: ATTINY45-20SU ✓ 활성
3.3 V / 5 V Vdss 8-pin SOIC Package 20 MHz Speed 4 KB Memory
MOQ: 1 |

ATTINY45-20SU 개요

The Microchip Technology ATTINY45-20SU is a low-power 8-bit AVR RISC microcontroller operating at up to 20 MHz, with 4 KB of in-system programmable flash memory and an 8-pin SOIC package. It provides 256 bytes of SRAM, 256 bytes of EEPROM, six general-purpose I/O lines, and four 10-bit ADC channels in a compact surface-mount footprint.

An 8-bit microcontroller is a compact programmable semiconductor that executes instructions from embedded flash memory, stores working data in SRAM, and reads or changes external signals through general-purpose I/O pins. The ATTINY45 belongs to the ATtiny family of AVR microcontrollers, combining low-power CMOS design, RISC processing, timer resources, serial communication, and mixed-signal measurement in one device.

Key features include a maximum clock frequency of 20 MHz, 4 KB of ISP flash, 256 bytes of EEPROM, 256 bytes of SRAM, 32 general-purpose working registers, and six I/O pins. The integrated four-channel 10-bit ADC supports analog measurement, while the Universal Serial Interface and timer/counter resources enable compact control and communication designs without requiring separate interface ICs.

The device uses the AVR enhanced RISC architecture and combines programmable flash, SRAM, EEPROM, timers, interrupts, and the ADC in one IC. Its 8-bit word size suits compact embedded control, sensor conditioning, actuator control, and simple serial-interface designs. The limited memory footprint favors concise firmware and direct peripheral access rather than complex operating systems or high-bandwidth data processing.

Typical applications include small sensor nodes, industrial control modules, lighting controls, motor-command interfaces, programmable logic controllers, and compact battery-operated products. Its six I/O lines can support digital inputs, outputs, serial communication, and analog measurements when the ADC inputs are selected instead.

Designers should preserve the RESET pin behavior, use ISP-compatible programming connections, and account for the limited 4 KB program-memory capacity. Decoupling and grounding remain important because fast switching edges and analog measurements can couple into adjacent pins. The SOIC-8 footprint simplifies assembly but requires adequate copper spacing for clean routing between analog and digital signals.

This page combines the manufacturer specifications, pin and programming guidance, application analysis, parameter comparisons, and practical design notes needed to evaluate the ATTINY45-20SU alongside compatible ATtiny family options.

드롭인 대체품: ATTINY45-20SU — 동일 패키지, 핀 호환. PCB 재작업이 필요한 다른 패키지 부품은 제외됩니다.

이 시리즈의 변형

다음과 드롭인 호환되는 동일 시리즈 모델: ATTINY45-20SU (동일 폼 팩터 및 풋프린트) — 차이점: EEPROM, Package, SRAM, ADC, Flash Memory.

Microchip Technology
EEPROM: 64 bytes
Package: 8-pin SOIC (SO-8, 150 mil)
SRAM: 64 bytes
비교 대상: ATTINY45-20SU →
Microchip Technology
EEPROM: 512 bytes
Package: 8-SOIC
SRAM: 512 bytes
비교 대상: ATTINY45-20SU →

ATTINY85-20SU

✅ 드롭인 ⚠️ 사양 미검증
Microchip Technology
📦 8-pin SOIC
8-bit RISC-based microcontroller · AVR enhanced RISC · 20 MHz · 8 KB (4K × 16) · 512 bytes · 512 bytes · 6 lines · 32 registers

가격 문의

데이터시트 보기 →

ATTINY85-20SH

✅ 드롭인 ⚠️ 사양 미검증
Microchip Technology
📦 8-pin SOIC
8-bit AVR microcontroller · 20 MHz · 8 KB · 512 bytes · 512 bytes · 6 pins · 8 bits · 4 channels

가격 문의

데이터시트 보기 →

ATTINY25-20SU

✅ 드롭인 ⚠️ 사양 미검증
Microchip Technology
📦 8-pin SOIC
8-bit RISC-based CMOS microcontroller · AVR enhanced RISC · 20 MHz · 2 KB · 1K x 16 · 128 bytes · 128 bytes · 6

가격 문의

데이터시트 보기 →

ATTINY25-20SSHR

✅ 드롭인
📦 8-pin SOIC
Flash decreases from 4 KB to 2 KB and the temperature-grade suffix differs, while the 20 MHz clock rating and 8-pin SOIC footprint remain compatible.

📋 참조 대체품 (카탈로그에 없음)

ATTINY45V-10SUR

✅ 드롭인
📦 8-pin SOIC
Maximum clock decreases from 20 MHz to 10 MHz, a 50% reduction, while 4 KB flash, AVR architecture, and 8-pin SOIC footprint remain compatible.

📋 참조 대체품 (카탈로그에 없음)

ATTINY45-20SU 최대 정격 & 전기적 특성

Product Type 8-bit AVR RISC-based microcontroller
Maximum CPU Frequency 20 MHz
Flash Memory 4 KB
Program Memory Organization 2K x 16 words
EEPROM 256 bytes
SRAM 256 bytes
General-Purpose I/O Lines 6 lines
General-Purpose Working Registers 32 registers
ADC Resolution 10 bits
ADC Channels 4 channels
Timer/Counters One 8-bit timer/counter with compare modes and one high-speed timer/counter
Serial Interface Universal Serial Interface (USI)
Interrupt Support Internal and external interrupts
Operating Voltage 3.3 V / 5 V
패키지 8-pin SOIC
실장 유형 Surface mount
Programming Interface In-Circuit Serial Programming (ICSP)
Programming Memory Type In-System Programmable flash

ATTINY45-20SU 8-pin soic 핀 구성 가이드

ATTINY45-20SU(8-pin soic 패키지)의 핀 구성입니다. 이 디지털 IC에는 GPIO, 통신 인터페이스(UART, SPI, I2C), 전원 핀이 포함되어 있습니다. 대체 핀 기능과 구성 옵션은 제조사 데이터시트를 참조하십시오. 임베디드 시스템 설계와 PCB 레이아웃에 필수적입니다.

ATTINY45-20SU의 8-pin soic 패키지 핀아웃 다이어그램

다음에 대한 상세 핀아웃 데이터 없음: ATTINY45-20SU.

다음을 참조하십시오: 데이터시트 전체 핀 구성은 다음을 참조하십시오.

일반적인 애플리케이션

ATTINY45-20SU 적합 용도: 6 애플리케이션s: Compact Sensor Node, Industrial Control Module, LED Lighting Controller, Battery-Powered Household Device, Motor Command Interface, Programmable Logic Controller.

🧩

Compact Sensor Node

The ATTINY45-20SU fits compact sensor nodes because its four-channel 10-bit ADC can sample multiple analog inputs while six I/O lines handle switches, indicators, or an external interface. At up to 20 MHz, the AVR core can sample, filter, and transmit compact sensor data without requiring a larger processor. Its 4 KB flash constrains the firmware, so periodic readings and short communication routines are preferable to large buffering or logging functions. A regulated supply, local decoupling, and a protected RESET path are essential for reliable operation.

🏭

Industrial Control Module

The ATTINY45-20SU can implement a small industrial control module for discrete logic, limit detection, and simple actuator sequencing. Six I/O lines provide enough parallel digital I/O for inputs, outputs, status LEDs, and an external driver, while the timers support repeatable timing operations. The 20 MHz maximum clock provides useful margin for deterministic control code, although the 4 KB program space requires concise routines. Industrial products should also verify the exact operating-temperature grade and isolation requirements before production release.

💡

LED Lighting Controller

The ATTINY45-20SU is suitable for LED lighting control when the design requires timed dimming, mode selection, and several digital outputs. Its timer/counter resources can establish stable update periods, while the USI can support a compact serial control link to a master or another lighting module. The four-channel 10-bit ADC can also support potentiometer-based dimming or analog light-level feedback. Keep switching-current paths away from ADC inputs, use transistor drivers rather than driving loads directly from the I/O pins, and validate the external driver's thermal margin.

📱

Battery-Powered Household Device

The ATTINY45-20SU supports battery-powered household devices that require low-duty-cycle sensing and modest processing. Its low-power 8-bit architecture can remain in a reduced-activity state between user actions, while the six I/O lines operate buttons, indicators, or a simple output. The 20 MHz clock permits rapid startup and short control routines, and 256 bytes of SRAM is adequate for lightweight state tracking. Firmware should use the sleep modes documented by Microchip to reduce average consumption, and the battery platform should include low-voltage cutoff protection.

🔧

Motor Command Interface

The ATTINY45-20SU can serve as the command interface for a small motor or actuator system where the MCU interprets inputs, applies timing, and controls a driver stage. Six I/O lines are sufficient for control signals, direction, enable, and a status connection, while the timer resources help generate repeatable control intervals. Because MCU pins cannot safely drive motor windings directly, the design needs an appropriate transistor or integrated driver stage with flyback protection. Check timing and stall-current behavior across the complete battery or supply range.

⚡

Programmable Logic Controller

The ATTINY45-20SU is suitable for a compact programmable logic controller handling discrete inputs, timed outputs, and simple alarm logic. The 20 MHz AVR core executes deterministic control sequences, and the integrated timers, interrupts, and four-channel ADC reduce the need for external components. Its 4 KB flash and 256-byte SRAM limit program complexity, making state-machine architecture and compact lookup tables preferable to large communication stacks. Production designs should add input filtering, output isolation, watchdog support, and careful separation between field wiring and the MCU ground.

What are the key specifications of ATTINY45-20SU?
The ATTINY45-20SU is an 8-bit AVR microcontroller rated for operation up to 20 MHz, with 4 KB of ISP flash, 256 bytes of SRAM, 256 bytes of EEPROM, six I/O lines, and a four-channel 10-bit ADC. According to the Microchip ATtiny45 product page and manufacturer datasheet, it also includes 32 working registers, timer/counter resources, a Universal Serial Interface, and internal plus external interrupts. The device is supplied in an 8-pin SOIC package for compact embedded-control designs.
Where can I download the ATTINY45-20SU datasheet PDF?
The ATTINY45-20SU datasheet PDF is available through the manufacturer datasheet link on this page and from the ATtiny45 product resources on Microchip's website. The PDF describes the 20 MHz AVR device, 4 KB ISP flash, 256-byte SRAM, 256-byte EEPROM, ADC, timers, USI, electrical characteristics, and package information. Use the pin-description table and recommended operating conditions in the manufacturer datasheet when assigning PCB tracks and validating worst-case timing.
Where can I find the ATTINY45 pinout?
The ATTINY45 pin configuration is shown in the ATtiny45-20SU manufacturer datasheet and on the ATtiny45 product page, where MPLAB Snap programming through an 8-pin single-in-line connector is also described. The device uses an 8-pin SOIC package and exposes six general-purpose I/O lines together with power, ground, and reset functions. Use the datasheet pin table to confirm analog multiplexing and avoid assigning a signal to a power or reset terminal.
ATTINY45 vs ATTINY85: Which microcontroller should I choose?
Choose the ATTINY45 when 4 KB of flash is sufficient, while the ATTINY85 provides 8 KB for larger firmware. The ATTINY85 is a pin-compatible 8-pin sibling with the same six I/O lines, but its program memory is twice the ATTINY45's 4 KB. The Microchip family comparison and cross-reference information also identify shared package and peripheral characteristics, so firmware size and required SRAM should drive the final choice.
What can replace ATTINY45-20SU?
The closest direct replacements are pin-compatible ATtiny family devices with the same 8-pin SOIC footprint and at least the required clock and I/O resources. The ATTINY85-20SU offers 8 KB of flash instead of 4 KB, while the ATTINY25 variants reduce flash capacity. Before replacing the device, verify that the original firmware fits the substitute's program memory and that all ADC, timer, USI, reset, and interrupt functions remain unchanged.
Is ATTINY45-20SU suitable for Arduino-style projects?
The ATTINY45-20SU can be used in Arduino-style embedded projects because the ATtiny45 supports in-system programming and provides GPIO, ADC, timers, and serial-interface resources. The device has only 4 KB of flash and 256 bytes of SRAM, so simple sketches work best; complex libraries and buffered serial applications may exceed its memory budget. Confirm the programming-tool support, bootloader space, and pin mapping before committing the board layout.
How do you program an ATTINY45-20SU?
Program the ATTINY45-20SU through its In-Circuit Serial Programming interface using a compatible AVR programmer such as the MPLAB Snap system described by Microchip. The programming connection uses power, ground, reset, and serial programming signals through an 8-pin single-in-line connector. The manufacturer also confirms ISP flash support, allowing firmware to be written and rewritten without removing the device from the assembled circuit.
Does ATTINY45-20SU support USB?
No native USB support is listed for the ATTINY45-20SU because the device is a small AVR microcontroller focused on GPIO, timers, ADC, and Universal Serial Interface functions. USB can potentially be added with external circuitry, but that implementation would require a suitable USB controller and careful signal, power, and firmware design. The ATtiny85 family comparison likewise identifies USB as a feature not integrated into the smallest ATtiny devices.
What is the pin-compatible difference between ATTINY45-20SU and ATTINY85-20SU?
The ATTINY85-20SU preserves the ATTINY45-20SU's 8-pin footprint, 20 MHz maximum clock, and six I/O lines while increasing flash from 4 KB to 8 KB. The additional 4 KB can simplify firmware organization or accommodate larger application code. Device selection still requires checking the 256-byte SRAM limit and confirming that the replacement's ADC, timer, USI, and interrupt behavior matches the original board design.
ATTINY45-20SU vs ATTINY45V-10SUR: Which is the better replacement?
The ATTINY45-20SU is the better choice when the design requires the full 20 MHz clock rating, while the ATTINY45V-10SUR is limited to 10 MHz. Both are identified as 8-pin SOIC AVR devices with 4 KB flash, so the package and memory remain compatible. However, reducing maximum clock by 50% can alter timing-sensitive firmware, communication baud-rate assumptions, and the overall power-versus-performance balance.
Where can I buy ATTINY45-20SU online?
Use the Request a Quote form on this page to request availability, order quantity, and a quotation for the ATTINY45-20SU. The manufacturer product page and distributor listings confirm the exact MPN, but live stock and commercial terms can change independently of technical documentation. Provide the required quantity, delivery location, and packaging preference so the quotation can reflect the current supply position.
What is the price of ATTINY45-20SU?
Use the Request a Quote form on this page for the current commercial quotation for ATTINY45-20SU. The structured pricing area is updated separately and may use quote-first handling, so a static figure would not reliably represent current availability or volume terms. For design budgeting, treat the product's price as variable until a quotation for the required quantity is returned.
What is the lead time for ATTINY45-20SU?
Request the current lead time and minimum order quantity through the Request a Quote form on this page. Lead time depends on the exact MPN suffix, requested quantity, packaging, and current distributor inventory rather than on the electrical specification. When ordering equivalents, specify the exact 8-pin SOIC package and required commercial grade so the quotation covers the intended assembly process.
Is ATTINY45-20SU in stock?
Current ATTINY45-20SU inventory should be confirmed through the Request a Quote form on this page. Manufacturer and distributor product pages establish that the part is a standard catalog MCU, but listing-page inventory can change quickly and may differ by package suffix. The quote request can include your target quantity and target date to establish a current supply commitment.
What is the best cross-brand equivalent for ATTINY45-20SU?
No cross-brand drop-in equivalent is established for the ATTINY45-20SU because its replacement depends on exact AVR peripheral behavior, programming compatibility, memory mapping, and 8-pin SOIC pinout rather than general electrical similarity. The Microchip cross-reference search is the appropriate tool for evaluating approved Microchip alternatives. Until a candidate is verified for pin, clock, memory, ADC, timer, and USI compatibility, changing manufacturers may require firmware and board changes.

엔지니어링 참조 데이터: ATTINY45-20SU — 비교, 설계 지침 및 규정 준수 정보.

선택 가이드

Select the ATTINY45-20SU when the design needs an 8-bit AVR controller with up to 20 MHz operation, 4 KB of ISP flash, 256 bytes of SRAM, six I/O lines, and an integrated four-channel 10-bit ADC in an 8-pin SOIC package. It is particularly suitable for compact sensing, lighting, industrial-control, and low-cost actuator designs whose firmware remains within the 4 KB limit. Choose the ATTINY85-20SU when the same pinout is needed but twice the flash capacity can simplify code organization or add features. Choose the ATTINY25-20SU only when 2 KB of flash is sufficient and the lower memory demand justifies restricting firmware growth. Consider the ATTINY45V-10SUR only when a 10 MHz maximum clock is acceptable and timing can be revalidated. No cross-brand replacement should be selected without confirming exact pinout, programming method, timer behavior, ADC characteristics, and firmware compatibility.

대체품과의 비교

파라미터 이 제품 ATTINY85-20SU ATTINY85-20SH ATTINY25-20SU ATTINY25-20SSHR ATTINY45V-10SUR
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 8-pin SOIC 8-pin SOIC 8-pin SOIC 8-pin SOIC 8-pin SOIC 8-pin SOIC
Maximum CPU Frequency 20 MHz 20 MHz 20 MHz 20 MHz 20 MHz 10 MHz
Flash Memory 4 KB 8 KB 8 KB 2 KB 2 KB 4 KB
Programming Interface In-Circuit Serial Programming In-Circuit Serial Programming In-Circuit Serial Programming In-Circuit Serial Programming In-Circuit Serial Programming In-Circuit Serial Programming

주요 차별점

  • Balanced memory capacity for compact embedded firmware (vs ATTINY25-20SU)
  • Higher maximum clock than the reduced-speed ATtiny45 variant (vs ATTINY45V-10SUR)
  • Lower flash demand than the ATtiny85 sibling (vs ATTINY85-20SU)
  • Six dedicated general-purpose I/O lines with integrated analog conversion (vs ATTINY85-20SU)

설계 노트

Route the ATTINY45-20SU power pin through a short, low-impedance path and place the recommended bypass capacitor close to the device. Keep switching-node and high-current return paths away from ADC inputs because the four-channel 10-bit converter can be affected by coupling from fast edges. Use a common ground reference between the MCU and analog front end, and keep ISP test pads accessible without long traces that increase susceptibility to programming or EMI problems.

Account for the complete 20 MHz operating mode and the device-specific supply current from the manufacturer datasheet when sizing the regulator and energy budget. The 4 KB flash, 256-byte SRAM, and 256-byte EEPROM favor compact code, but adding buffers, libraries, or logging can exceed program memory. Enabling sleep modes and peripheral shutdown can reduce current between events, although actual battery life must be measured with the complete product load.

Do not assume that an ATtiny45 board can be replaced by a higher-speed or lower-memory device without reviewing the firmware. The ATTINY45V-10SUR operates at up to 10 MHz rather than 20 MHz, so delay loops and communication timing can change. The ATTINY25 variants provide only 2 KB of flash, which is 50% less than the ATTINY45's 4 KB. Confirm memory usage, baud-rate assumptions, timer periods, and peripheral usage before approving a substitute.

Preserve the manufacturer's pin configuration and leave programming access on the PCB. The RESET terminal should have the recommended pull-up arrangement and remain accessible through the ISP connector. Avoid placing sensitive analog traces directly beside fast-changing I/O or USI routes; route them across a solid ground reference when possible. For ADC-based designs, sample only after the source impedance and acquisition network satisfy the manufacturer's settling requirements.

규정 준수 정보

RoHS
Unknown
REACH
Unknown
AEC-Q100
Not Applicable
무연
Unknown
무할로겐
Unknown
분쟁 광물
Unknown

The ATTINY45-20SU is an industrial microcontroller rather than an automotive-qualified AEC-Q100 device. RoHS, REACH, lead-free, halogen-free, and conflict-minerals status require confirmation from the exact manufacturer product documentation or declaration.

관련 검색

attiny45 20su datasheet attiny45 pinout attiny45 datasheet attiny45 vs attiny85 attiny45 arduino attiny45 price attiny45 programming attiny45 usb ATTINY45-20SU datasheet pdf ATTINY45-20SU pinout ATTINY45-20SU equivalent ATTINY45-20SU replacement ATTINY45-20SU schematic Microchip ATTINY45-20SU

관련 부품 & 용어

Microchip Technology ATTINY45-20SU ATTINY45 ATTINY85-20SU ATTINY85-20SH ATTINY25-20SU ATTINY25-20SSHR ATTINY45V-10SUR AVR enhanced RISC architecture 8-bit microcontroller embedded microcontroller semiconductor In-System Programmable flash Universal Serial Interface USI In-Circuit Serial Programming ICSP MPLAB Snap 4-channel 10-bit ADC 8-pin SOIC SOIC-8 surface-mount package AEC-Q100 RoHS REACH EEPROM SRAM
빠른 견적 RFQ
상세 정보를 모두 입력하십시오 — 영업팀이 24시간 이내에 답변드립니다
부품 번호 제조사 패키지 QTY 목표 가격 합계
✓
견적이 제출되었습니다!

24시간 이내에 이메일로 답변드리겠습니다

1
RFQ 제출됨
2
견적 접수됨
3
주문 완료
4
결제
5
배송됨
6
배송 완료
RFQ 상세 보기