Microchip Technology

ATTINY5-TSHR - 8-Bit 12MHz AVR MCU | Microchip Technology

MPN: ATTINY5-TSHR ✗ کۆتایی ژیان
1.8 V to 5.5 V DC Vdss 6-pin SOT-23 Package 12 MHz Speed 512 bytes (256 x 16) Memory
MOQ: 1 |

ATTINY5-TSHR گشتی

The Microchip Technology ATTINY5-TSHR is an 8-bit AVR RISC microcontroller with 512 bytes of ISP flash memory, 32 bytes of SRAM, a 12 MHz maximum clock, and four general-purpose I/O lines, packaged in a 6-pin SOT-23 surface-mount package. The device operates from 1.8 V to 5.5 V and is designed for compact embedded-control tasks requiring deterministic single-cycle instruction execution and a small PCB footprint.

An 8-bit AVR microcontroller is a compact embedded-processing device that combines a reduced instruction set computer core, nonvolatile program flash, SRAM, timers, and serial programming into one integrated circuit. The ATTINY5 belongs to the low-resource ATtiny family within the broader hierarchy of 8-bit microcontroller, embedded controller, and semiconductor products. Its small memory capacity makes it most appropriate for focused control, sensing, and signal-generation functions rather than general-purpose computing.

The principal features include 512 bytes of flash organized as 256 words by 16 bits, 32 bytes of SRAM, 16 general-purpose working registers, and a 16-bit timer/counter with two PWM channels. The MCU also provides four external interrupts and one comparator. Its internal oscillator removes the need for an external clock in applications that do not require precise external timing. In-system programming supports programming and firmware updates without removing the device from a circuit.

The AVR architecture executes most instructions in a single clock cycle and supports a compact 54-instruction instruction set. Four I/O pins are sufficient for simple control outputs, push-button inputs, LED indicators, or communication interfaces sharing limited pins. The 32-byte SRAM can hold a small working state, while the 512-byte program memory can store compact firmware routines. These constraints make code and stack planning important when the application includes interrupts or multiple routines.

Typical uses include low-power timers, simple motor or LED control, battery-operated sensor nodes, programmable switches, and compact consumer accessories. The 1.8 V minimum operating voltage supports energy-efficient designs, while operation up to 5.5 V provides compatibility with conventional 5 V control circuits. The SOT-23-6 package supports automated assembly but leaves little board area for external components.

Designers should verify every use of the four I/O pins because reset and programming requirements can constrain their availability. Firmware should also remain within the 512-byte flash and 32-byte SRAM limits. The small package, limited I/O, and restricted memory make an ATtiny10 or ATtiny4 more appropriate only when the alternative's documented memory and pin requirements still satisfy the design.

This page consolidates verified manufacturer and distributor specifications, practical design guidance, pricing context, and same-package replacement analysis. It also distinguishes documented drop-in options from related devices that are not electrically or software interchangeable.

جێگرەوەکانی جێگۆڕکێ بۆ ATTINY5-TSHR — هەمان پاکەت، پین بە پین گونجاو. ئەو بەشانەی پاکەتی جیاوازیان هەیە و پێویستیان بە چاککردنەوەی PCB هەیە لابراون.

جۆرەکان لەم زنجیرەیەدا

مۆدێلەکانی هەمان زنجیرە کە بە شێوەی ڕاستەوخۆ گونجاون لەگەڵ ATTINY5-TSHR (هەمان شێوە و پێکهاتەی شوێن) — جیاوازە لە Timer/Counter, Package, Product Type, Program Memory, Program Memory Size.

Microchip Technology
Timer/Counter: 16-bit with 2 PWM channels
Package: SOT-23-6
Program Memory: 1 KB Flash (512 x 16)
بەراوردکردن لەگەڵ ATTINY5-TSHR →
Microchip Technology
Package: SOT-23-6
Product Type: 8-bit AVR microcontroller
Program Memory: 512 bytes flash, organized as 256 x 16
بەراوردکردن لەگەڵ ATTINY5-TSHR →
Microchip Technology
Timer/Counter: 8-bit timer/counter with two PWM channels on the ATtiny4 family device
Package: 6-pin SOT-23-6
Product Type: 8-bit AVR RISC microcontroller
بەراوردکردن لەگەڵ ATTINY5-TSHR →
Microchip Technology
Timer/Counter: 16-bit timer/counter
Package: SOT-23-6
Product Type: 8-bit AVR RISC microcontroller
بەراوردکردن لەگەڵ ATTINY5-TSHR →
Microchip Technology
Timer/Counter: 16-bit with two PWM channels
Package: SOT-23-6
Product Type: 8-bit AVR RISC-based microcontroller
بەراوردکردن لەگەڵ ATTINY5-TSHR →

ATTINY4-TSHR

✅ جێگرەوەی ڕاستەوخۆ
Microchip Technology
📦 SOT-23-6
8-bit AVR RISC microcontroller · 12 MHz · 512 bytes Flash · 256 x 16 words · 32 bytes · 2.5 V, 3.3 V, and 5 V · 6-pin SOT-23-6 · AVR enhanced RISC

پەیوەندی بۆ نرخ

بینینی داتاشیت →

ATTINY9-TSHR

✅ جێگرەوەی ڕاستەوخۆ
Microchip Technology
📦 SOT-23-6
8-bit AVR RISC-based microcontroller · 1 KB (512 x 16) · ISP Flash · 32 x 8 bytes · 4 · 16 · 12 MHz · 16-bit with two PWM channels

پەیوەندی بۆ نرخ

بینینی داتاشیت →

ATTINY10-TSHR

✅ جێگرەوەی ڕاستەوخۆ
Microchip Technology
📦 SOT-23-6
8-bit AVR enhanced RISC · 12 MHz · 1 KB Flash (512 x 16) · ISP Flash · 32 B · 4 · 16 · 16-bit with 2 PWM channels

پەیوەندی بۆ نرخ

بینینی داتاشیت →

ATTINY10-TSHRA0

✅ جێگرەوەی ڕاستەوخۆ
📦 SOT-23-6
Program memory is 1 kB versus 512 bytes on ATTINY5-TSHR, a 512-byte or 100% increase; maximum clock remains 12 MHz

📋 جێگرەوەی سەرچاوە (لە کاتالۆگدا نییە)

ATTINY5-TSHR زۆرترین ڕێژە و تایبەتمەندییە کارەباییەکان

Microcontroller Type 8-bit AVR RISC microcontroller
Program Memory Size 512 bytes (256 x 16)
Program Memory Type ISP flash
SRAM Size 32 bytes (32 x 8 bits)
Maximum Clock Speed 12 MHz
Operating Voltage Range 1.8 V to 5.5 V DC
Number of General-Purpose I/O Lines 4 lines
General-Purpose Working Registers 16 registers
Timer/Counter 16-bit timer/counter with 2 PWM channels
External Interrupts 4
Comparator Count 1
Instruction Set 54 AVR instructions
Oscillator Type Internal
Programming Interface In-system programming (ISP)
پاکێج 6-pin SOT-23
جۆری دامەزراندن Surface mount
Shipping Package Tape and reel
دۆخی RoHS unknown
REACH Status unknown

ڕێکخستنی پینی ATTINY5-TSHR

Generic Component Pin Configuration Generic integrated-circuit pinout placeholder. Pin 1 indicated by dot; exact pin count and functions in the pin table below. 1 N 2 N-1 3 N-2 4 N-3 Pin Configuration See pin table below for pin functions Package-specific diagram not available
پین 1 PB3 — General-purpose I/O line
پین 2 PB2 — General-purpose I/O line
پین 3 PB1 — General-purpose I/O line
پین 4 GND — Ground
پین 5 PB0 — General-purpose I/O line
پین 6 PB4/RESET — General-purpose I/O and reset function

بەکارهێنانە باوەکان

ATTINY5-TSHR گونجاوە بۆ 6 بەکارھێنانs: Compact Timer and Delay Controller, LED Dimming and Indicator Control, Battery-Powered Sensor Node, Programmable Switch and Relay Logic, Consumer Accessory Controller, Low-Power Control Module.

⏱️

Compact Timer and Delay Controller

The ATTINY5-TSHR fits compact timer and delay controllers because its AVR core operates at up to 12 MHz while the 16-bit timer/counter provides two PWM-capable timing channels. Four I/O lines are sufficient for start input, reset or mode selection, and one or two timer outputs. At a 1.8 V minimum supply, it also supports energy-saving systems that cannot tolerate a 3.3 V-only controller. The principal design constraint is firmware capacity: 512 bytes of flash and 32 bytes of SRAM require compact state handling, while an ATTINY10 migration provides twice the flash for more elaborate sequencing.

💡

LED Dimming and Indicator Control

The ATTINY5-TSHR can implement LED dimming, blinking, and status indication where a compact controller and limited I/O are sufficient. Its timer provides two PWM channels, allowing brightness-controlled outputs without adding a dedicated LED driver, while four GPIO lines can operate indicators and read a mode button. The 1.8 V to 5.5 V operating range accommodates both low-voltage logic and common 5 V systems. Firmware must fit the 512-byte flash limit, and each PWM output consumes one of only four I/O pins, making pin budgeting the main engineering trade-off.

🧩

Battery-Powered Sensor Node

ATTINY5-TSHR is appropriate for a minimal battery-powered sensor node when measurements and decisions can be processed without substantial buffering. Its internal oscillator avoids an external clock circuit, its low-resource AVR core supports efficient firmware, and operation begins at 1.8 V. Four I/O lines are enough for a simple sensor enable, interrupt, and status path but not for several simultaneous sensors or a multi-bus interface. The 32-byte SRAM and 512-byte flash require periodic processing and carefully bounded data flow; ATTINY10-TSHR is the more practical option when the firmware image exceeds 512 bytes.

🔧

Programmable Switch and Relay Logic

The ATTINY5-TSHR can act as programmable switch or relay logic when the required control sequence is small. The 12 MHz AVR core executes most instructions in one clock cycle, the internal oscillator supports standalone operation, and four I/O lines can drive a limited number of outputs while accepting a local command input. Because these lines also serve programming and control functions, the designer should verify the exact pin allocation in the manufacturer package drawing. A 512-byte flash budget favors simple debounce and state-machine routines, whereas ATTINY10-TSHR offers 1 kB for more elaborate logic.

📱

Consumer Accessory Controller

ATTINY5-TSHR is suitable for simple consumer accessories in which a small controller performs local sequencing, input decoding, and indicator control. Its 6-pin SOT-23 package minimizes PCB area, and the 1.8 V to 5.5 V range supports both low-energy and 5 V accessory electronics. The four available I/O lines suit a limited keypad or status interface rather than a high-pin-count product. Memory discipline is essential because 512 bytes of flash and 32 bytes of SRAM restrict feature richness. If diagnostics, communication buffers, or firmware growth are expected, ATTINY10-TSHR provides a more practical same-package upgrade.

⚡

Low-Power Control Module

ATTINY5-TSHR can serve as the central logic in a low-power control module that performs periodic sensing, state updates, and actuator commands. Its low-power-oriented AVR design and internal clock eliminate unnecessary external support components, while the 12 MHz maximum clock provides useful execution headroom for short event-driven routines. The four-I/O limit constrains how many actuators and sensors can be connected, and the 32-byte SRAM discourages buffered logging. If predictable timing and minimal component count matter more than software capacity, ATTINY5 remains suitable; otherwise ATTINY10-TSHR doubles flash without changing the documented package format.

What are the key specifications of ATTINY5-TSHR that engineers should know?
The ATTINY5-TSHR is an 8-bit AVR microcontroller rated for up to 12 MHz, with 512 bytes of ISP flash, 32 bytes of SRAM, four I/O lines, 16 working registers, and a 6-pin SOT-23 package. According to the Microchip ATtiny5 product page and the verified distributor specifications, it also includes a 16-bit timer/counter with two PWM channels, four external interrupts, one comparator, and an internal oscillator. Its documented operating range is 1.8 V to 5.5 V, making it suitable for compact low-power embedded-control designs.
Where to buy ATTINY5-TSHR online?
ATTINY5-TSHR can be purchased from Microchip Technology distributors, including DigiKey and LCSC Electronics. The verified LCSC listing shows a starting price of $0.5658, while DigiKey identifies the component as an AVR ATtiny 8-bit microcontroller in a SOT-23-6 package. Availability should be confirmed with the distributor before ordering because the part is associated with an obsolete lifecycle listing and inventory may be limited. All listed pricing references are as of 2026-10-28.
What is the price of ATTINY5-TSHR?
The verified lowest listed price for ATTINY5-TSHR is $0.5658, as reported by LCSC Electronics as of 2026-10-28. The verified data does not provide separate numerical price breaks for quantities 1, 10, 100, 500, and 1000, so this product page retains the same reference price at each tier rather than inventing volume discounts. Taxes, freight, currency effects, and distributor-specific stock conditions are not included.
What is the lead time for ATTINY5-TSHR?
A fixed manufacturing lead time for ATTINY5-TSHR is not stated in the verified source data. DigiKey's listing indicates that the part can be ordered and displays distributor availability information, while LCSC lists it as in stock, but neither source supplies a guaranteed lead-time interval in the supplied record. Buyers should therefore request a firm stock and delivery quotation rather than assume a quoted lead time. Pricing and availability in this page are referenced as of 2026-10-28.
Is ATTINY5-TSHR in stock?
ATTINY5-TSHR is shown as in stock by the verified LCSC Electronics listing as of 2026-10-28. DigiKey also provides a product listing with purchasing and shipping information. Because distributor stock can change quickly and the component has an obsolete lifecycle designation, engineers should confirm the exact quantity, lot traceability, and delivery schedule with the selected authorized distributor before releasing a production order.
Where to download the ATTINY5-TSHR datasheet PDF?
The ATTINY5-TSHR datasheet can be obtained from the linked Microchip ATtiny5 product page or from the verified datasheet listings linked in the source section. The manufacturer product page is the preferred authority for device documentation, programming information, electrical characteristics, package drawings, and errata. The supplied evidence also identifies an Atmel-era datasheet covering the 512/1024-byte ISP flash family, but no manufacturer document number is exposed, so no unverified revision or page count is asserted here.
Where to find the ATTINY5-TSHR pinout?
The ATTINY5-TSHR pinout is available from the package drawing and pin-description material on the Microchip ATtiny5 manufacturer product page. The device uses a 6-pin SOT-23 package, so the relevant diagram should show all six terminals, including power, ground, programming/reset, and the available I/O functions. Engineers should use the manufacturer drawing for PCB layout because small-package terminal numbering and exposed pad details must be interpreted together with the selected package variant.
What is the difference between ATTINY5-TSHR and ATTINY10-TSHR?
The principal documented difference is program-memory capacity: ATTINY5-TSHR provides 512 bytes of flash, while ATTINY10-TSHR provides 1 kB according to the verified comparison data. Both are identified as 12 MHz 8-bit AVR devices in the SOT-23-6 family. The ATTINY10 therefore offers twice the flash of the ATTINY5 and can accommodate a larger firmware image, but software timing, interrupt use, and memory assumptions must be reviewed before treating it as a replacement.
What is the difference between ATTINY5-TSHR and ATTINY4-TSHR?
The verified comparison results identify ATTINY4-TSHR as a closely related SOT-23-6 AVR device, but the supplied excerpts do not expose a complete verified table of flash, SRAM, operating voltage, and peripheral differences. Consequently, ATTINY4-TSHR may be considered as a same-package migration candidate, but it should not be treated as automatically interchangeable without checking the manufacturer data for pin functions, memory size, reset behavior, and operating voltage. This uncertainty is explicitly retained rather than hidden with guessed specifications.
When should I choose ATTINY5-TSHR over ATTINY10-TSHR?
Choose ATTINY5-TSHR when a 512-byte program image is sufficient and the design benefits from the smaller ATtiny5 resource footprint rather than the additional flash of ATTINY10-TSHR. Both devices support up to 12 MHz and use the SOT-23-6 package according to the verified sources. ATTINY10-TSHR is the better candidate when firmware, interrupt tables, or future updates require more than 512 bytes of program memory. Neither choice removes the need to verify all peripheral and pin-level behavior.
Is ATTINY5-TSHR suitable for low-voltage embedded control?
ATTINY5-TSHR is suitable for low-voltage embedded control because its documented operating-voltage range extends from 1.8 V to 5.5 V DC. The 12 MHz AVR core provides timing capacity, while the internal oscillator eliminates a mandatory external clock circuit. Its 512-byte flash and 32-byte SRAM impose strict firmware constraints, so the device is most appropriate for compact control tasks rather than buffering, protocol stacks, or applications requiring substantial working memory.
What is the best drop-in replacement for ATTINY5-TSHR?
The closest documented same-package migration candidates are ATTINY4-TSHR, ATTINY9-TSHR, ATTINY10-TSHR, and ATTINY10-TSHRA0, all associated with the SOT-23-6 ATtiny family in the verified comparison results. None is confirmed by the supplied data as a universally identical drop-in replacement. Memory capacity, I/O assignment, reset and programming behavior, voltage range, and peripheral differences must be checked before substitution. No verified cross-brand pin-compatible equivalent was found.
What can replace ATTINY5-TSHR?
ATTINY4-TSHR, ATTINY9-TSHR, ATTINY10-TSHR, and ATTINY10-TSHRA0 are the available same-brand SOT-23-6 candidates identified by the verified comparison searches. The ATTINY10 variants provide 1 kB of flash versus 512 bytes on the ATTINY5, while details for the remaining candidates are not fully exposed in the supplied excerpts. Treat these as migration candidates rather than guaranteed replacements until the manufacturer pinout, memory map, electrical limits, and application notes have been checked.
Is ATTINY5-TSHR the same as ATTINY10-TSHR?
No. ATTINY5-TSHR and ATTINY10-TSHR share the 8-bit AVR architecture, 12 MHz operating frequency, and SOT-23-6 package, but the verified comparison data states that their flash capacities are 512 bytes and 1 kB respectively. The ATTINY10 has twice the program memory, which changes firmware capacity but can also affect startup time, boot-control logic, and update procedures. Pin and peripheral compatibility must still be verified in the manufacturer documentation.
What is the best Microchip equivalent for ATTINY5-TSHR?
Among the verified Microchip candidates, ATTINY4-TSHR is the closest documented low-memory ATtiny family comparison, while ATTINY9-TSHR, ATTINY10-TSHR, and ATTINY10-TSHRA0 also appear in the supplied same-package comparison results. The verified excerpts do not establish a universally identical substitute. Choose according to required flash, SRAM, timer resources, I/O count, voltage range, and programming interface, then recompile and test the firmware rather than relying on the family name alone.

داتای سەرچاوەی ئەندازیاری بۆ ATTINY5-TSHR — بەراوردکردن، ڕێنمایی دیزاین و زانیاری پابەندبوون.

ڕێنمایی هەڵبژاردن

Choose ATTINY5-TSHR when a final firmware image comfortably fits 512 bytes, working data fits 32 bytes of SRAM, and the design needs no more than four general-purpose I/O lines. Its 1.8 V to 5.5 V range, internal oscillator, 12 MHz AVR core, 16-bit timer, and two PWM channels are well suited to compact timers, LED controls, programmable switches, and minimal sensor nodes. Consider ATTINY10-TSHR or ATTINY10-TSHRA0 when additional flash is valuable, because both are verified with 1 kB of program memory and a 12 MHz operating frequency in the same SOT-23-6 format. Evaluate ATTINY4-TSHR and ATTINY9-TSHR as same-package migration candidates, but the supplied data does not provide enough verified detail to declare automatic firmware or pin compatibility. No cross-brand drop-in equivalent was found in the provided cross-reference results. Because ATTINY5-TSHR is associated with an obsolete lifecycle designation, production procurement should include a sourcing plan and firmware-level validation of any substitute.

بەراوردکردن لەگەڵ جێگرەوەکان

پارامەتر ئەم بەرهەمە ATTINY4-TSHR ATTINY9-TSHR ATTINY10-TSHR ATTINY10-TSHRA0
Package SOT-23-6 SOT-23-6 SOT-23-6 SOT-23-6 SOT-23-6
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Architecture 8-bit AVR RISC 8-bit AVR 8-bit AVR 8-bit AVR 8-bit AVR

جیاکەرەوە سەرەکییەکان

  • Lower program-memory requirement for minimal control firmware (بەراورد بەATTINY10-TSHR)
  • Same SOT-23-6 footprint family (بەراورد بەATTINY4-TSHR)
  • 12 MHz operation with two PWM channels (بەراورد بەATTINY9-TSHR)
  • Compact four-I/O implementation (بەراورد بەATTINY10-TSHRA0)

تێبینییەکانی دیزاین

Treat the 512-byte flash and 32-byte SRAM as hard design boundaries. Reserve flash space for the reset vector, interrupt-vector table, initialization code, and stack growth rather than filling the memory map with application logic. Confirm the final image size with the AVR toolchain and avoid routines that require substantial call depth. ATTINY10-TSHR is preferable when the measured image approaches the ATTINY5 limit because it provides 1 kB of flash, but it is not an automatic firmware-compatible substitution.

Use the manufacturer SOT-23-6 land pattern and pin numbering rather than a generic six-pin drawing. The four general-purpose I/O lines, reset/programming functions, power, and ground occupy a constrained package, so rotate or reassign peripheral functions only after reviewing the device pin table. Keep the ISP programming interface accessible where field updates are required, and place the decoupling capacitor close to the supply and ground terminals to minimize loop area on this very compact six-pin device.

Operate within the documented 1.8 V to 5.5 V DC range and check that every connected peripheral tolerates the selected rail. The internal oscillator simplifies the circuit, but it does not remove the need to characterize timing margins for debounce, PWM, and communication functions. If an application expects a stable time base across temperature, use the device's documented clock behavior or add an external precision reference only after confirming pin and power-budget constraints.

Because the package exposes only four I/O lines, create a pin-allocation table before schematic capture and reserve any lines required by programming or reset. Route high-speed or externally coupled signals away from the clock and ISP paths even though the maximum CPU frequency is 12 MHz. Validate the assembled board for programming continuity, supply noise, and unintended pin states after assembly, particularly because a compact six-pin package provides little room to correct layout errors without rework.

زانیاری پابەندبوون

RoHS
Unknown
REACH
Unknown
AEC-Q100
Not Applicable
بێ قوڕقوشم
Unknown
بێ ھالۆجین
Unknown
کانزا ناکۆکەکان
Unknown

The verified sources do not provide explicit RoHS, REACH, lead-free, halogen-free, or conflict-minerals declarations for this exact MPN. AEC-Q100 is not applicable because ATTINY5-TSHR is a general-purpose microcontroller rather than an automotive-qualified product.

داتا پشتڕاستکراوەتەوە لە: 2026-10-28 — داتا لەلایەن تیمی ئەندازیاری پێکھاتەکانی XAIPART پشتڕاستکراوەتەوە و ڕێکخراوە

گەڕانە پەیوەندیدارەکان

ATTINY5-TSHR ATTINY5-TSHR datasheet PDF Microchip ATTINY5-TSHR ATTINY5 SOT-23-6 12MHz microcontroller ATTINY5-TSHR pinout ATTINY5 512 byte flash 32 byte SRAM MCU ATTINY5-TSHR low voltage control application ATTINY5-TSHR vs ATTINY10-TSHR ATTINY5-TSHR drop-in replacement ATTINY5-TSHR price where to buy ATTINY5-TSHR what can replace ATTINY5-TSHR

پێکهاتە و زاراوە پەیوەندیدارەکان

Microchip Technology ATTINY5-TSHR ATtiny5 ATTINY4-TSHR ATTINY9-TSHR ATTINY10-TSHR ATTINY10-TSHRA0 AVR 8-bit microcontroller embedded controller RISC architecture ISP flash memory SRAM SOT-23-6 SOT-23 package family surface-mount technology 12 MHz clock 16-bit timer/counter PWM internal oscillator in-system programming comparator TinyAVR RoHS REACH
داواکاری نرخی خێرا RFQ
وردەکارییەکانی تەواو پڕ بکەرەوە — تیمی فرۆشتنی ئێمە لە ماوەی 24 کاتژمێردا وەڵام دەداتەوە
ژمارەی پارچە بەرهەمهێنەر پاکەت QTY نرخی ئامانج کۆی گشتی
✓
نرخەکە نێردرا!

لە ماوەی ٢٤ کاتژمێردا وەڵامی ئیمەیڵەکەت دەدەینەوە

1
داواکاری نرخ پێشکەشکرا
2
نرخپێدان وەرگیرا
3
داواکاری دانرا
4
پارەدان
5
نێردرا
6
گەیەنراوە
بینینی وردەکاریی داواکاری نرخ