ATTINY9-TSHR - 12MHz 1KB AVR Microcontroller | Microchip Technology
N.º da peça: ATTINY9-TSHR ✓ AtivoATTINY9-TSHR Visão geral
A microcontroller is a programmable semiconductor that combines a CPU core, nonvolatile program memory, working RAM, input/output ports, and embedded peripherals on one device. The ATtiny9 belongs to the ATtiny family of AVR microcontrollers, a low-power RISC architecture commonly used for simple sensing, control, and signal-generation tasks. Its compact package and limited resource footprint make it suitable for space-constrained products rather than connectivity-heavy or high-compute systems.
The ATTINY9-TSHR provides 1 KB of ISP Flash memory, 32 bytes of SRAM, four general-purpose I/O lines, 16 general-purpose working registers, and a 16-bit timer/counter with two PWM channels. It also includes an internal oscillator, an analog-to-digital converter, a watchdog-related feature set, and an ISP programming interface. The 12 MHz maximum speed provides useful timing headroom for basic control loops, while the four I/O pins constrain designs to signals that fit the small package.
Typical applications include simple sensor nodes, LED and light-control modules, compact motor or actuator controllers, battery-powered accessories, and small embedded products that require local logic rather than a high-performance processor. The ATtiny9 family is also associated with low-power and cost-sensitive embedded systems in which deterministic timing, simple control, and compact PCB area matter more than large memory capacity or extensive communications.
The principal design trade-off is resource limitation. Four I/O pins leave little room for multiple sensors, displays, or communications peripherals, and 1 KB of Flash requires compact firmware with careful attention to library size. Use the manufacturer pin-description table when assigning tracks, and confirm that the selected ISP programming and clocking arrangement satisfies the product's startup and update requirements.
This page combines the verified ATTINY9-TSHR specifications, package information, application guidance, cross-reference alternatives, and practical design notes to help engineers evaluate this AVR microcontroller before layout and firmware development begin.
Alternativas drop-in para ATTINY9-TSHR — mesmo encapsulamento, compatível pino a pino. Peças de encapsulamento diferente que exigem retrabalho na PCB são excluídas.
Variantes desta série
Modelos da mesma série compatíveis como drop-in com ATTINY9-TSHR (mesmo formato e footprint) — diferindo em Package, Timer/Counter, Product Type, ADC, Program Memory Size.
ATTINY9-TS8R
✅ Drop-InConsulte o preço
Ver ficha técnica →ATTINY10-TS8R
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
ATTINY10-TSHRA0
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
ATTINY4-TSHR
✅ Drop-InConsulte o preço
Ver ficha técnica →ATTINY5-TSHR
✅ Drop-InConsulte o preço
Ver ficha técnica →ATTINY9-TSHR Classificações máximas e características elétricas
| Product Type | 8-bit AVR RISC-based microcontroller |
| Program Memory Size | 1 KB (512 x 16) |
| Flash Memory Type | ISP Flash |
| RAM Size | 32 x 8 bytes |
| Number of I/O Lines | 4 |
| General-Purpose Working Registers | 16 |
| Maximum Clock Speed | 12 MHz |
| Timer/Counter | 16-bit with two PWM channels |
| ADC | Internal analog-to-digital converter |
| Oscillator | Internal oscillator |
| Encapsulamento | SOT-23-6 |
| Packaging | Tape and reel |
| Core Processor | AVR 8-bit |
| Series | ATtiny AVR |
| Programming Interface | In-system programming |
Guia de Configuração de Pinos do ATTINY9-TSHR sot-23-6
Configuração de pinos para ATTINY9-TSHR (pacote sot-23-6). Este CI digital inclui GPIO, interfaces de comunicação (UART, SPI, I2C) e pinos de alimentação. Consulte o datasheet do fabricante para funções alternativas dos pinos e opções de configuração. Essencial para projeto de sistemas embarcados e layout de PCB.
Nenhum dado detalhado de pinagem disponível para ATTINY9-TSHR.
Consulte a ficha técnica para a configuração completa dos pinos.
Aplicações típicas
ATTINY9-TSHR é adequado para 6 aplicaçãos: Compact Sensor Node, LED and Light Control, Battery-Powered Accessory, Simple Motor or Actuator Controller, Low-Cost Consumer Control Module, Portable Measurement Instrument.
Compact Sensor Node
ATTINY9-TSHR fits a compact sensor node that needs local thresholding and control rather than high application processing. Its 1 KB of ISP Flash supports a focused firmware routine, while 32 bytes of SRAM provides limited working storage for simple state machines. The internal analog-to-digital converter can sample a basic sensor signal, and the 16-bit timer/counter with two PWM channels can support periodic sampling or actuator timing. The SOT-23-6 package helps reduce board area. Because only four general-purpose I/O lines are available, design the sensor interface around a shared bus or a simple analog threshold rather than multiple discrete signals.
Recomendado
LED and Light Control
ATTINY9-TSHR is appropriate for small LED, indicator, or light-sequencing modules where a dedicated controller can reduce system size. Its two PWM channels allow dimming or proportional control of two independent outputs, while the 16-bit timer/counter supports timing sequences and periodic updates. Four I/O pins are sufficient for a small button-controlled or sensor-triggered lighting design, but the developer should budget flash space carefully because animation tables and general-purpose library code can consume the 1 KB program memory quickly. The SOT-23-6 footprint supports compact LED modules and downstream lighting controls.
Recomendado
Battery-Powered Accessory
ATTINY9-TSHR can serve as the control element in a battery-powered accessory where the required logic is limited to a button, sensor, indicator, or simple actuator. The internal oscillator removes the need for an external clock in many designs, and the low-power AVR family is suited to reducing inactive-state consumption. Firmware should use the device's low-power operating modes, disable unused peripherals, and minimize external pull-up leakage. Its 1 KB Flash and 32-byte SRAM constrain application size, so the best results come from a tightly defined control function rather than a feature-heavy accessory. Verify sleep-mode current and wake-up behavior for the final battery design.
Recomendado
Simple Motor or Actuator Controller
ATTINY9-TSHR can control a small actuator when the design needs basic position, timing, or speed logic rather than advanced motion algorithms. Its two hardware PWM channels are useful for producing modulation or drive signals, and the 16-bit timer/counter supports accurate intervals and duty-cycle generation. The four I/O lines can accommodate limited direction, enable, and feedback signals, although complex H-bridge interfaces may exceed the available pins. Firmware must be concise because the program memory is only 1 KB. A MOSFET-based driver stage, current limiting, and appropriate protection are required when the controlled load exceeds the microcontroller's direct drive capability.
Recomendado
Low-Cost Consumer Control Module
ATTINY9-TSHR supports small consumer-control modules that perform one defined function, such as button interpretation, mode selection, timing, or status indication. Its 8-bit AVR core and 12 MHz maximum speed are sufficient for deterministic low-complexity logic, and the SOT-23-6 package reduces board footprint. The internal ADC can support a basic analog input, but the four available I/O lines constrain simultaneous interfaces. Developers should reserve flash space for boot and update logic if ISP programming is used in production, and should validate low-power behavior because unplugged or battery-operated modules are judged by standby consumption as well as active performance.
Recomendado
Portable Measurement Instrument
ATTINY9-TSHR can be used in a compact measurement instrument when the product only requires acquisition control, threshold comparison, calibration storage, and a simple display or data output. The internal ADC reduces the number of external analog components, while the timer/counter can establish sampling intervals or drive timing signals. Its limited 1 KB Flash and 32-byte SRAM are suitable for tightly bounded instrument firmware but not for buffering large sample sets. Use external storage or a higher-capacity MCU when calibration tables, communications protocols, or multiple sensors are required. Firmware architecture should separate sampling from display or transfer routines to keep memory use predictable.
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para ATTINY9-TSHR — comparação, orientação de projeto e informações de conformidade.
Guia de seleção
Comparação com alternativas
| Parâmetro | Este produto | ATTINY9-TS8R | ATTINY10-TS8R | ATTINY10-TSHRA0 | ATTINY4-TSHR | ATTINY5-TSHR |
|---|---|---|---|---|---|---|
| Package | SOT-23-6 | 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 | Microchip Technology |
| Core | 8-bit AVR | 8-bit AVR | 8-bit AVR | 8-bit AVR | 8-bit AVR | 8-bit AVR |
Principais diferenciais
- Compact ATtiny resource profile (vs ATTINY10-TS8R)
- Dedicated two-channel PWM resource (vs ATTINY4-TSHR)
- Integrated conversion and internal timing support (vs ATTINY5-TSHR)
Notas de projeto
Route the ISP programming signals, power, ground, and reset-related functions according to the manufacturer pin-description table before assigning the four general-purpose I/O lines. Keep the SOT-23-6 land pattern mechanically compatible with the selected package drawing and place local supply decoupling close to the device pins. Because the package has very little pin capacity, assign the external netlist before committing the PCB footprint.
Design the supply path for the device's documented voltage limits and current behavior, including startup and ISP programming states. Place input capacitance at the supply pins and verify regulator stability with the actual wiring and load. For battery-powered designs, measure active and sleep current at the system level because external pull-ups, indicator LEDs, and ADC input networks can dominate the MCU's own consumption.
Treat the 1 KB Flash and 32-byte SRAM as hard design constraints. Avoid importing large Arduino libraries, generic protocol stacks, or elaborate display drivers without checking their compiled footprint. Also do not assume that another ATtiny device with the same SOT-23-6 outline is pin-compatible: compare reset behavior, ISP pins, I/O functions, ADC channels, timer outputs, supply limits, and fuse defaults in the manufacturer documents.
Use short, quiet routing for oscillator, reset, and ISP signals, and keep switching or high-current traces away from sensitive analog inputs. If the internal ADC monitors a low-level sensor, provide a defined return path and use grounding and filtering techniques appropriate to the signal source. Validate timing and analog behavior in the final layout because the small package can make grounding and decoupling choices especially influential.
Informações de conformidade
Compliance status was not stated in the retrieved ATTINY9-TSHR material. The AEC-Q100 field is not applicable because this part is a general-purpose microcontroller rather than an automotive-qualified device.