Microchip Technology

ATTINY85-20SF - 20MHz 8-Bit AVR MCU | Microchip

MPN: ATTINY85-20SF ✓ Aktif
MOQ: 1 |

ATTINY85-20SF Ringkasan

The Microchip ATTINY85-20SF is a compact 8-bit AVR microcontroller designed for embedded control, low-power automation, hobby electronics, and connected peripheral applications. Its 20 MHz maximum operating speed provides useful processing headroom for protocol handling, timing, state machines, and user-interface logic in a small 8-pin surface-mount package.

What is an AVR microcontroller? An AVR is an 8-bit reduced-instruction-computing microcontroller, a category within embedded processors and semiconductors. It combines a processor core, flash program memory, static RAM, EEPROM, timers, serial interfaces, and analog or digital peripherals in one integrated circuit. The ATTINY85 family occupies the lower end of that hierarchy, making it suitable for compact controllers rather than high-performance embedded systems.

The ATTINY85-20SF supports the operating features associated with the ATTINY85 family, including programmable timers, GPIO, serial communication, and analog conversion functions commonly used for sensing, actuation, and communications. Its 20 MHz operating specification permits faster task scheduling and communication timing than lower-speed ATtiny devices, while the eight-pin package keeps the PCB footprint compact. An on-chip system oscillator also supports applications that do not require an external timing reference.

The architecture is based on an 8-bit AVR core using Harvard-style program and data memory separation. Flash memory retains the firmware when power is removed, RAM supports working variables and stack operations, and EEPROM provides nonvolatile storage for calibration data, configuration values, or counters. Peripherals such as timers and serial interfaces reduce the need for external components in standalone embedded designs.

Typical uses include LED controllers, motor and relay interfaces, sensor-hub nodes, compact timers, LED lighting effects, programmable logic, and USB-to-serial projects. The small pin count encourages space-constrained construction, but each multifunction pin must be allocated carefully when programming. Boards based on the device may add a bootloader interface, oscillator, regulator, and USB bridge to create a convenient development environment.

Layout planning is as important as firmware design. Keep decoupling close to the supply pins, provide a stable return path for high-speed switching pins, and follow the manufacturer pin and package guidance exactly. Because the ATTINY85 offers limited I/O, prioritize pins that simultaneously support interrupts, timer capture, PWM, or communication functions. Firmware should also use watchdog and brownout behavior where appropriate for unattended equipment.

This product record combines the exact-orderable identifier with package, pinout, sourcing, and engineering guidance. It also distinguishes genuine same-package drop-in candidates from functionally similar microcontrollers that require different boards, helping engineers evaluate replacements without overlooking footprint, firmware, and peripheral differences.

Pilihan pengganti yang segera untuk ATTINY85-20SF — sama paket, pin-pin kompatibel. Bahagian paket yang berbeza memerlukan kerja ulang PCB diasingkan.

Varietas dalam siri ini

Model serupa yang kompatibel dengan pengganti yang segera ATTINY85-20SF (sama faktor bentuk dan kaki).

ATTINY85-20SU

✅ Masuk Drop-In ⚠️ Spesifikasi Tidak Disahkan
Microchip Technology
📦 SOIC-8
8-bit RISC-based microcontroller · AVR enhanced RISC · 20 MHz · 8 KB (4K × 16) · 512 bytes · 512 bytes · 6 lines · 32 registers

Hubungi untuk harga

Lihat Datasheet →

ATTINY85-20SS

✅ Masuk Drop-In ⚠️ Spesifikasi Tidak Disahkan
📦 SOIC-8
Same ATTINY85 family and 20 MHz speed designation; ordering code and packaging configuration may differ, with no specified frequency difference.

📋 Alternatif rujukan (tidak dalam katalog)

ATTINY85-20SF Penilaian maksimum & Ciri-ciri Elektrik

Tiada spesifikasi tersedia

Konfigurasi Pin ATTINY85-20SF

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 PB3/RESET/dI — Multifunction port B pin, reset input, and data input
Pin 2 PB4 — Multifunction port B pin
Pin 3 GND — Ground connection
Pin 4 PB5 — Multifunction port B pin
Pin 5 PB0 — Multifunction port B pin
Pin 6 PB1 — Multifunction port B pin
Pin 7 PB2 — Multifunction port B pin
Pin 8 VCC — Power supply connection

Aplikasi Biasa

ATTINY85-20SF patut untuk 6 aplikasis: Compact LED and Lighting Controllers, Battery-Powered Sensor Nodes, Motor and Relay Control, USB-Connected Hobby Projects, Programmable Timers and Sequencers, Low-Cost Serial Control Modules.

💡

Compact LED and Lighting Controllers

ATTINY85-20SF is useful in small LED lighting controllers because the device can combine programmable timing, multiple GPIO outputs, and serial configuration in an eight-pin footprint. Its 20 MHz operating designation leaves processing margin for animated effects, button handling, status feedback, and simple communication between lighting modules. The compact package also helps limit board size when the controller must fit inside a fixture, novelty product, or decorative enclosure. A practical design should use timer-based scheduling instead of long delay loops, configure unused pins carefully, and route LED current through suitable driver transistors rather than loading an I/O pin directly.

🧩

Battery-Powered Sensor Nodes

ATTINY85-20SF can serve as the low-power controller in a small sensor node that periodically reads an analog or digital sensor and transmits a compact status message. The eight-pin package leaves little room for peripherals, so the design should use its interrupt, timer, and ADC multiplexing efficiently and place the sensor close to the relevant input. Sleep between measurements and use a timer or external interrupt to wake the controller. Battery performance depends on regulator losses and the wake duration, so measure current across the complete sleep and active cycles rather than estimating runtime from microcontroller current alone.

🏭

Motor and Relay Control

ATTINY85-20SF is appropriate for small relay, solenoid, or low-current motor-control modules where timed sequences, interlocks, and limited status outputs are required. The 20 MHz operating point provides useful timing headroom for debouncing inputs, switching outputs, and managing multiple actuators. Because the controller must not be exposed to motor transients or excessive coil current, use driver transistors, flyback protection, and a separate supply path where needed. Firmware should include startup delays, bounded motion timers, and safe output states. A hardware reset and clearly defined fail-safe behavior are important for systems where an unexpected actuator state creates a risk.

🔧

USB-Connected Hobby Projects

ATTINY85-20SF is widely suited to USB-connected hobby electronics because a compact board can combine the microcontroller, voltage regulation, USB interface circuitry, and programming support. It supports small projects involving buttons, indicators, sensors, serial commands, or programmable automation while remaining much smaller than a conventional development board. The ATTINY85 does not implement USB natively, so the external interface and bootloader must handle enumeration and programming. Engineers should verify connector orientation, adapter voltage levels, boot-delay behavior, and fuse settings before deploying multiple boards. Keep the design’s current budget within the USB interface’s capability.

⏱️

Programmable Timers and Sequencers

ATTINY85-20SF can implement compact programmable timers, interval counters, and multi-stage sequencers using its timer resources and GPIO outputs. The 20 MHz speed designation supports responsive event handling and precise software scheduling without requiring a separate timing IC. Applications include appliance delays, test fixtures, signage, laboratory triggers, and repeated process sequences. Prefer hardware timers over software delays because they continue from stable clock references and reduce sensitivity to other code execution. Design the output driver so that each programmable interval remains bounded after reset or firmware corruption, and provide a physical reset or service input for field recalibration.

🌐

Low-Cost Serial Control Modules

ATTINY85-20SF works well in a compact serial-control module that receives commands, validates them, and drives a small number of outputs. Its 8-bit processing core and 20 MHz operating point can support framed protocols, command parsing, acknowledgement bytes, and simple configuration storage without requiring a large microcontroller. The limited pin count makes it especially useful when a module has one communication interface and a handful of status or actuator lines. Engineers should define protocol timeout behavior, escape handling, and invalid-command responses in firmware. Testing should include malformed frames and power-up traffic so the module cannot enter an unintended output state.

What is ATTINY85-20SF?
The ATTINY85-20SF is a compact 8-bit AVR microcontroller from Microchip Technology intended for embedded control applications. It combines a programmable processor core, nonvolatile program memory, working RAM, EEPROM, timers, GPIO, and serial-interface functions in one small integrated circuit. The “85” identifies the device family, while “20” denotes the maximum clock-rate option in the Microchip ordering system. Its low pin count makes it especially useful for compact LED controllers, timers, sensor nodes, hobby projects, and auxiliary peripheral controllers where a larger microcontroller would add unnecessary board area.
How do I use ATTINY85-20SF?
Use ATTINY85-20SF by connecting its supply and ground pins, programming the flash memory through a compatible programmer, and assigning the remaining pins to inputs, outputs, communications, and analog functions. Start with the manufacturer’s pinout and application guidance, then configure the clock, timers, ADC, and serial interface in the development tool. Add the required bypass capacitor near the device and use pull-up resistors where the selected communication interface requires them. Because the package has limited I/O, create a pin-assignment plan before writing firmware so that interrupts, PWM outputs, and programming signals do not conflict.
What is the ATTINY85-20SF pinout?
The ATTINY85 uses an 8-pin surface-mount arrangement with VCC and ground plus six multifunction port pins. In the standard ATTINY85 numbering, pin 1 is PB3/RESET/dI, pin 2 is PB4, pin 3 is GND, pin 4 is PB5, pin 5 is PB0, pin 6 is PB1, pin 7 is PB2, and pin 8 is VCC. These functions can be reused for interrupts, timers, PWM, serial communication, or analog inputs. Verify the exact package drawing and pin table in the manufacturer datasheet before assigning PCB tracks or programming a new board.
Where can I download the ATTINY85-20SF datasheet?
The official ATTINY85-20SF documentation is available through Microchip Technology’s ATTINY85 product page and the linked manufacturer datasheet. The datasheet contains the authoritative pin descriptions, electrical characteristics, memory organization, peripheral details, package dimensions, recommended operating conditions, and ordering information. Use the manufacturer document rather than an informal pin diagram when laying out a PCB or selecting decoupling. The product-page link can also provide the latest notices, lifecycle information, and related programming or development tools associated with the ATTINY85 family.
Where can I buy ATTINY85-20SF and what is the price?
Use the “Request a Quote” form on this page to request the current ATTINY85-20SF price, stock status, minimum order quantity, and lead time. The form is the appropriate route for an exact-orderable assembly including the manufacturer’s package and suffix codes. For production planning, request quantity breaks that match your forecast and clarify whether the component will be supplied in tape-and-reel, tray, or another authorized packaging format. Avoid substituting a different ATtiny suffix without checking its package, frequency, temperature range, and ordering code.
What is the lead time for ATTINY85-20SF?
The current lead time for ATTINY85-20SF should be confirmed through the “Request a Quote” form on this page because lead time can vary with order quantity, packaging, date code, and market conditions. Include your planned annual usage, prototype quantity, and production forecast in the request. For new designs, also request lifecycle status and an allocation plan rather than relying on an isolated spot-availability statement. This approach is particularly important for small eight-pin packages, where a different reel or tube format may not be interchangeable with the production assembly line.
Is ATTINY85-20SF in stock?
Current ATTINY85-20SF inventory should be checked through the “Request a Quote” form on this page. Stock messages can be misleading when they represent only a small quantity, a non-production package, or a date-code-limited lot, so request the exact suffix, package, quantity, and delivery schedule. For an ongoing production program, ask for a scheduled allocation and supply-notification option. This allows procurement to distinguish immediately available engineering quantities from quantities suitable for a repeatable assembly process.
ATTINY13A-SFR vs ATTINY85-20SF — which is better?
Choose ATTINY85-20SF when the design benefits from the higher-frequency ATTINY85 device family and its broader set of peripherals; choose ATTINY13A-SFR when the smaller ATTINY13A architecture and lower resource requirements are sufficient. The devices are related AVR microcontrollers, but they are not automatically interchangeable: memory capacity, timer resources, ADC features, interrupt vectors, package dimensions, and pin multiplexing can differ. Compare the complete manufacturer data for both exact orderable part numbers before considering a board-level substitution, and recompile or revise firmware whenever the selected device changes.
ATTINY402 vs ATTINY85 — which microcontroller should I choose?
Choose ATTINY402 when its newer device architecture, resources, and package offer a better fit for the design; choose ATTINY85-20SF when its established 8-pin AVR architecture, compact footprint, and 20 MHz-class operating point are preferable. ATTINY402 is not a direct ATTINY85 pin-compatible substitute merely because both are AVR-family products. Their memories, peripherals, electrical characteristics, tooling, and package assignments must be reviewed separately. Use ATTINY402 for a clean new-design evaluation and ATTINY85-20SF when maintaining an existing ATTINY85-based PCB or reusing established firmware and hardware.
When should I choose ATTINY85-20SF over ATTINY13A-SFR?
Choose ATTINY85-20SF over ATTINY13A-SFR when the project needs more processing speed, memory, timer capability, or peripheral flexibility than the ATTINY13A offers. The ATTINY85 family is well suited to compact controllers that must combine multiple I/O functions, communications, timing, and control logic while retaining a small eight-pin footprint. Choose ATTINY13A-SFR instead when its lower resource demand is sufficient and minimizing cost or board complexity is the main objective. Confirm the exact comparison at the function level because package similarity alone does not make the two devices software- or pin-compatible.
Is ATTINY85-20SF suitable for battery-powered projects?
ATTINY85-20SF can be used in battery-powered projects when the firmware, operating mode, and external circuitry control energy use effectively. The device can sleep between infrequent events and use its timers or interrupts to wake for periodic work, while unused ports should be configured appropriately. Actual battery life depends on the supply voltage, regulator efficiency, sensor load, communication activity, and the time spent awake, so no fixed runtime should be assumed. For low-power designs, measure current at the battery terminals and review the device’s sleep-mode and reset behavior in the manufacturer datasheet.
What can replace ATTINY85-20SF?
The closest replacements must preserve the ATTINY85’s 8-pin footprint, supply arrangement, port functions, and the electrical behavior expected by the existing firmware. ATTINY85-20SU and ATTINY85-20SS are same-family candidates to evaluate because they are available in comparable SOIC-8 configurations and use the same 20 MHz speed designation. They should still be checked against the exact package drawing, temperature grade, and ordering information before procurement. Devices with more pins, different voltage limits, or different port multiplexing are not true drop-in replacements and normally require PCB changes.
What is the best Microchip equivalent for ATTINY85-20SF?
ATTINY85-20SU is the leading same-manufacturer candidate to evaluate because it preserves the ATTINY85 family and 20 MHz speed designation while using the comparable eight-pin SOIC format. Its suitability for an installed design still depends on matching the exact body dimensions, lead geometry, pin functions, temperature rating, and active product status. Because the ATTINY85 is memory-constrained, changing only the ordering suffix normally preserves the device identity, but procurement should still confirm the exact MPN and manufacturer documentation. A functional match without an identical footprint is not a drop-in replacement.
How do I program ATTINY85-20SF?
Program ATTINY85-20SF with an ISP-capable tool using the reset and programming signal arrangement defined by the manufacturer. Depending on the board, this may involve a dedicated programmer header, a bootloader, or a development board that translates USB communication into the target’s serial programming interface. Install the matching device support in the selected AVR toolchain, select the correct device variant, set the programmed clock configuration, and verify the fuse settings before committing code. A failed upload can leave incorrect fuse values, so keep a recovery path that can reset or reprogram the device through the ISP interface.
Can ATTINY85-20SF be used for Arduino and Digispark-style projects?
ATTINY85-20SF is commonly used for compact Arduino-compatible and Digispark-style projects because its small package and bootloader ecosystem allow a complete USB-connected controller to fit into a compact board. Firmware and board definitions must target ATTINY85 correctly, including its timer resources, pin mapping, ADC channels, and memory limitations. USB-to-serial adapter behavior can affect bootloading and programming reliability, so verify signal levels and connector orientation on a prototype. The ATTINY85 itself does not contain a USB peripheral, and any USB connection depends on the external interface circuitry and bootloader arrangement.
What are the key specifications of ATTINY85-20SF that engineers should know?
The key engineering points for ATTINY85-20SF are its 8-bit AVR architecture, 20 MHz maximum operating-frequency designation, eight-pin surface-mount footprint, limited GPIO resources, and mix of flash, RAM, EEPROM, timers, ADC, and serial functions. Its small pin count creates a compact solution but requires careful multiplexing of port functions. Designers must also account for supply decoupling, startup and reset behavior, oscillator configuration, memory usage, and the differences between ordering suffixes. Consult the exact manufacturer datasheet for numerical memory capacity, electrical limits, temperature range, and package dimensions before releasing a production design.
What are common ATTINY85-20SF design mistakes?
Common ATTINY85-20SF design mistakes include assigning functions without checking the multifunction pin table, using the wrong fuse or clock configuration, and forgetting that ADC inputs are also ordinary I/O pins. Board-level mistakes include placing the bypass capacitor away from the supply pins, failing to provide a dependable reset condition, and using a serial interface without the required pull-up arrangement. Firmware mistakes include enabling interrupts before their drivers are ready, relying on delays instead of timers, and exceeding the device’s memory or interrupt-handling capacity. Review the schematic against the pin table and test programming and reset behavior on every board revision.

Data referensi kejuruteraan untuk ATTINY85-20SF — perbandingan, panduan rancangan, dan maklumat kesediaan

Panduan Pilihan

Choose ATTINY85-20SF for a new compact embedded controller that requires the ATTINY85 platform, a 20 MHz operating point, and an eight-pin SOIC-8 footprint. ATTINY85-20SU and ATTINY85-20SS are the practical same-family alternatives to evaluate when the exact ordering code or production packaging differs; because they retain the same core family and frequency designation, they can minimize firmware and board changes. Before finalizing any substitution, verify the package drawing, lead geometry, temperature grade, lifecycle status, and ordering information for the exact suffix. Do not treat ATtiny13A, ATtiny402, or larger AVR devices as drop-in replacements merely because they use a similar ecosystem. Their memory capacities, peripheral resources, pin multiplexing, and toolchain requirements differ. For projects where the ATTINY85’s memory or I/O limitations are already close, moving to a larger controller may reduce development risk more than choosing another eight-pin suffix.

Perbandingan dengan Gantian

Parametr Produk Ini ATTINY85-20SU ATTINY85-20SS
Package SOIC-8 SOIC-8 SOIC-8
Brand Microchip Technology Microchip Technology Microchip Technology
Maximum CPU Frequency 20 MHz 20 MHz 20 MHz
CPU Architecture 8-bit AVR 8-bit AVR 8-bit AVR
GPIO Pin Count 6 dedicated GPIO pins 6 dedicated GPIO pins 6 dedicated GPIO pins
Programming Interface ISP ISP ISP

Penyeberangsung Jelas

  • Maintains the same 20 MHz operating designation as the target (vsATTINY85-20SU)
  • Provides a same-family alternative without changing the core architecture (vsATTINY85-20SS)
  • Maintains pin compatibility for existing eight-pin boards (vsATTINY85-20SS)

Catatan Desain

Place the device-supply bypass capacitor as close as practical to the VCC and GND pins, and route the ground return directly to the device ground pin rather than through a long peripheral-current path. This eight-pin controller can switch LED, relay, or motor-control signals, and those loads may create fast current transients. Keep those return currents away from the supply pin so voltage noise does not destabilize the microcontroller. Follow the manufacturer’s package dimensions and land pattern, verify lead orientation on the physical part, and reserve the programming interface when a board must be programmed after assembly.

Calculate the regulator margin from the maximum actuator or peripheral current rather than the microcontroller’s operating current alone. The ATTINY85 can control loads indirectly through transistors, but relay coils, solenoids, and motors can create supply steps and inductive transients. Use a supply path sized for the total load, local bulk capacitance near the load, and flyback protection for inductive elements. Also account for the voltage drop through protection diodes or series elements. If the controller is battery powered, measure sleep current and wake-up peaks on the complete board because regulator efficiency may dominate the MCU’s contribution.

Avoid assigning pins solely by their port names; several ATTINY85 pins have alternative timer, interrupt, ADC, and serial functions that can conflict with a chosen peripheral. Build a pin-allocation table before schematic capture, reserve the programming and reset functions, and verify that the external interface uses the correct logic levels. Check oscillator and fuse settings after programming because an incorrect configuration can make subsequent downloads fail. Include a reset path and, where safety matters, default every actuator output to its inactive state before enabling the associated firmware routine.

Keep communication and programming traces short, route them away from motor and relay wiring, and provide pull-ups or pull-downs only where the selected interface requires them. The small package offers limited escape routing, so determine whether the chosen connector and programming header can coexist without long loops or impedance discontinuities. Series damping can help when a connector or cable produces ringing, while a defined ground reference reduces susceptibility to noise. Prototype the power, programming, and communication paths together because separately verifying firmware can conceal an unstable power or reset arrangement.

Maklumat Kesediaan

RoHS
Unknown
REACH
Unknown
AEC-Q100
Unknown
Bosong logam timbal
Unknown
Bosong halogen
Unknown
Mineral konflik
Unknown

Compliance attributes require confirmation against the exact Microchip ordering code and current product documentation. The automotive qualification field remains unknown because the exact ordered variant and qualification report were not established.

Data disahkan pada: 2026-11-28 — data yang disahkan dan disusun semula oleh pasukan kejuruteraan komponen XAIPART

Pencarian Berhubungan

attiny85 examples what is attiny85 attiny13a vs attiny85 how to use attiny85 attiny402 vs attiny85 attiny85 pinout attiny85 datasheet attiny85 projects attiny85 microcontroller attiny85 programmer attiny85 programming attiny85 digispark attiny85 usb attiny85 voltage attiny85 arduino

Komponen dan Tanda berkaitan

Microchip Technology ATTINY85-20SF ATTINY85-20SU ATTINY85-20SS ATTINY85 AVR 8-bit microcontroller embedded controller microcontroller semiconductor Harvard architecture ISP UART ADC PWM EEPROM flash memory SRAM timer GPIO SOIC-8 QFN family surface mount SMD
RFRC Saring Pantas
Isikan butiran lengkap — pasukan jualan kami akan bertindak balas dalam masa 24 jam
Nombor Bahagian Pengeluar Pakej QTY Harga Target Lengkap
✓
Pesan diskon sudah disubmit!

Kami akan bertindak balas kepada emel anda dalam tempoh 24 jam

1
RFQ Diserahkan
2
kutipan Diterima
3
Order Dipesan
4
Pembayaran
5
Dihantar
6
Diantar
Lihat Perincian RFQ