Microchip Technology

ATTINY5-MAH - 12MHz 512B AVR Microcontroller | Microchip

Référence : ATTINY5-MAH ✓ Actif
1.8 V to 5.5 V Vdss 8-UDFN, USON Package 12 MHz Speed 512 bytes Flash (256 x 16 bits) Memory
MOQ : 1 |

ATTINY5-MAH Présentation

The Microchip Technology ATTINY5-MAH is an 8-bit AVR RISC-based CMOS microcontroller with a 12 MHz maximum core speed, 512 bytes of Flash program memory, 32 bytes of SRAM, and four general-purpose I/O lines in an 8-UDFN USON package. According to the verified product data, it is designed for compact embedded control and low-power applications where an 8-bit controller, timer, PWM, watchdog, and brown-out reset are sufficient.

An AVR microcontroller is a small RISC-based embedded controller used to read inputs, execute firmware, and drive outputs in compact electronic systems. The ATTINY5 belongs to the TinyAVR family, combining a processor core, Flash memory, SRAM, registers, timers, and I/O in one integrated device. Its small package and modest memory footprint make it useful for dedicated control functions rather than general-purpose computing.

Verified features include 512 bytes of Flash memory organized as 256 x 16 bits, 32 bytes of SRAM, four I/O pins, a 16-bit timer/counter with two PWM channels, 16 general-purpose working registers, power-on reset, watchdog timer, and PWM support. The verified distributor listing identifies a 12 MHz core and a 1.8 V to 5.5 V supply range.

The ATTINY5-MAH uses the AVR architecture and an 8-UDFN package with an exposed pad according to the supplied product listings. The exposed-pad construction and limited pin count demand careful PCB layout, thermal-pad soldering, and signal-routing attention. The device is suitable for simple motor, lighting, sensor, and low-cost control products where firmware fits within the available memory.

Typical uses include small motor controllers, LED drivers, sensor nodes, simple keypads, and compact consumer accessories. Its 12 MHz speed provides useful timing headroom, while four I/O lines constrain designs that need more external signals. A designer should verify package-specific pin mapping and programming requirements against the manufacturer datasheet before layout release.

This page consolidates the verified distributor specifications, sourcing information, package identity, and design constraints into an engineering reference. Pricing, availability, lifecycle status, and detailed electrical limits should be reconfirmed with the manufacturer or authorized distributor before production procurement.

Alternatives de remplacement direct pour ATTINY5-MAH — même boîtier, compatible broche à broche. Les références à boîtier différent nécessitant une retouche du PCB sont exclues.

ATTINY5-MAHR

✅ Remplacement direct
📦 8-UDFN, USON
Same ATtiny5 family and 8-UDFN package; verified data does not quantify suffix-specific electrical differences

📋 Alternative de référence (hors catalogue)

ATTINY5-MAH Valeurs maximales et caractéristiques électriques

Core AVR 8-bit RISC-based CMOS
Maximum Core Speed 12 MHz
Program Memory 512 bytes Flash (256 x 16 bits)
SRAM 32 bytes
Supply Voltage Range 1.8 V to 5.5 V
General-Purpose I/O 4 lines
Working Registers 16
Timer/Counter 16-bit timer/counter with 2 PWM channels
Power-On Reset Supported
Watchdog Timer Supported
Connectivity No connectivity listed in verified data
Programming Memory Type Flash
Boîtier 8-UDFN, USON
Type de montage Surface mount

Guide de configuration des broches du ATTINY5-MAH 8-udfn, uson

Configuration des broches du ATTINY5-MAH (boîtier 8-udfn, uson). Ce circuit intégré numérique comprend des GPIO, des interfaces de communication (UART, SPI, I2C) et des broches d'alimentation. Consultez la fiche technique du fabricant pour les fonctions alternatives des broches et les options de configuration. Indispensable pour la conception de systèmes embarqués et la conception de circuits imprimés.

Schéma de brochage du boîtier 8-udfn, uson pour le ATTINY5-MAH

Aucune donnée de brochage détaillée disponible pour ATTINY5-MAH.

Consultez la fiche technique pour la configuration complète des broches.

Applications typiques

ATTINY5-MAH convient pour 6 applications: Simple Motor Speed Control, LED Dimmer and Lighting Controller, Low-Cost Sensor Node, Compact Consumer Accessory Controller, Battery-Powered Embedded Device, Simple Security or Access-Control Module.

🏭

Simple Motor Speed Control

The ATTINY5-MAH fits a basic motor-speed controller because its 16-bit timer/counter and two PWM channels can generate a controllable duty-cycle signal at up to the verified 12 MHz core speed. The MCU can interpret a start, stop, or speed command and drive the control input of an external transistor or motor-driver stage. Its four I/O lines should be allocated carefully for command input, PWM output, and status. The controller is suitable only when motor current, voltage, and transient requirements remain outside the MCU's direct drive capability.

💡

LED Dimmer and Lighting Controller

ATTINY5-MAH can control a compact LED-lighting product using its two verified PWM channels and four available I/O lines. Firmware can map a button, rotary input, or external command to brightness and operating-state changes, while a transistor or LED driver handles current that the microcontroller cannot safely supply directly. The 1.8 V to 5.5 V supply range supports low-voltage systems, although LED-current limits, switching transients, and thermal performance must be checked outside the MCU. A common-ground layout and appropriate driver decoupling are important.

🧩

Low-Cost Sensor Node

The ATTINY5-MAH is suitable for a dedicated sensor node when the measured signal can be reduced to a few digital inputs and the firmware remains within 512 bytes of Flash memory. Its four I/O lines can support a sensor output, threshold or mode signal, and a status indicator, while the 12 MHz AVR core provides basic timing and control. The supplied data does not confirm an ADC, so analog sensing would require an external converter or a specifically verified device variant. Low-power performance must be measured because the verified material does not provide sleep-current data.

📱

Compact Consumer Accessory Controller

ATTINY5-MAH can implement a small accessory controller such as a keypad interface, mode selector, or simple actuator sequencer. The 32-byte SRAM and 512-byte Flash capacity encourage a tightly scoped firmware design, while four I/O lines provide enough parallel control for a limited peripheral set. A state-machine-based program can debounce inputs and sequence outputs without an external memory device. Engineers should avoid adding high-speed communications or large UI logic without checking memory and peripheral availability, because the verified data does not identify a UART, wireless interface, or large on-chip memory.

⚡

Battery-Powered Embedded Device

ATTINY5-MAH may fit a small battery-powered embedded device when its supply voltage is within the verified 1.8 V to 5.5 V range and the product does not require a radio or large firmware image. The MCU can handle a simple power-management state machine, sensor sampling, and actuator control through its limited I/O. Actual battery suitability depends on operating current, sleep current, regulator efficiency, and wake-up behavior, none of which are specified in the supplied data. Prototype the power budget before committing to a battery enclosure or energy-harvesting design.

🔒

Simple Security or Access-Control Module

ATTINY5-MAH can serve as a small access-control sequencer for a limited number of switches, indicators, or lock-control signals. Its 12 MHz core and watchdog support are useful for basic deterministic control, while the 4 I/O lines impose a strict need for pin budgeting and possibly an external I/O expander. The device is more appropriate for a simple local actuator controller than a networked security product because wireless or wired communications are not confirmed in the verified data. Validate fail-safe behavior and power-loss response independently of the MCU.

What is ATTINY5-MAH?
ATTINY5-MAH is a Microchip Technology 8-bit AVR RISC-based CMOS microcontroller with 12 MHz core speed, 512 bytes of Flash memory, 32 bytes of SRAM, and four I/O lines. The verified product listing identifies an 8-UDFN USON package. According to the Microchip product-page data, the device belongs to the ATtiny family and includes a 16-bit timer/counter, two PWM channels, watchdog support, and power-on reset.
What are the key specifications of ATTINY5-MAH?
The ATTINY5-MAH combines a 12 MHz 8-bit AVR core with 512 bytes of Flash program memory, 32 bytes of SRAM, four general-purpose I/O lines, 16 working registers, and a 16-bit timer/counter with two PWM channels. The verified data also lists power-on reset and watchdog support, while the supply range is 1.8 V to 5.5 V. The device uses an 8-UDFN USON surface-mount package.
Where can I download the ATTINY5-MAH datasheet?
The ATTINY5-MAH datasheet can be accessed through the Microchip ATtiny5 product page and the verified Datasheets.com listing at https://www.datasheets.com/microchip/attiny5-mah. The listing identifies the device as a 12 MHz AVR with 512 bytes of Flash memory. Before making a production decision, verify the final electrical limits, package drawing, pin numbering, and programming instructions against the current manufacturer documentation.
What is the operating voltage of ATTINY5-MAH?
The verified distributor data specifies a 1.8 V to 5.5 V operating supply range for the ATTINY5-MAH. This range allows the microcontroller to operate from low-voltage battery-derived rails as well as conventional 5 V systems. The supplied data does not include detailed timing, current-consumption, or absolute-maximum limits, so those parameters should be taken from the manufacturer datasheet before final circuit design.
How much Flash memory and SRAM does ATTINY5-MAH have?
ATTINY5-MAH provides 512 bytes of Flash memory, organized as 256 x 16 bits, and 32 bytes of SRAM. According to the verified distributor listings, the Flash memory is the programmable program-memory type and the SRAM supports the device's data-storage needs. The 512-byte program space is suitable for compact control firmware, but it is not sufficient for larger application frameworks or data-heavy firmware.
Is ATTINY5-MAH suitable for small motor control applications?
ATTINY5-MAH can be suitable for simple motor-control functions because it provides a 16-bit timer/counter, two PWM channels, four I/O lines, and a 12 MHz core. The PWM outputs can support basic speed or duty-cycle control when the motor current and drive topology remain within the device's application limits. A separate transistor or motor driver is generally required because the microcontroller I/O is intended for control signaling, not direct high-current motor drive.
Can ATTINY5-MAH replace ATtiny5-MAHR?
ATTINY5-MAH and ATtiny5-MAHR appear to be closely related Microchip ATtiny5 variants, but the verified data does not provide a formal pin-to-pin replacement statement. The listings identify both as 8-UDFN devices associated with the ATtiny5 family, yet package drawing, suffix-specific temperature or qualification details, and lifecycle terms should be checked before substitution. Treat this as a conditional same-family candidate, not a confirmed drop-in replacement without manufacturer documentation.
What is the best drop-in replacement for ATTINY5-MAH?
No independently verified drop-in replacement for the ATTINY5-MAH was identified in the supplied cross-reference data. The verified results include general cross-reference tools and comparisons, but they do not establish that a specific alternative has the same 8-UDFN footprint, pinout, memory map, timing, and electrical limits. The correct replacement process is to confirm the manufacturer pinout and package drawing, then validate firmware, supply voltage, peripherals, and qualification requirements.
How does ATTINY5-MAH compare with ATtiny13A-MMU?
The supplied comparison data does not provide enough verified numeric detail to claim a drop-in relationship between ATTINY5-MAH and ATtiny13A-MMU. The comparison source references both devices and lists categories such as package, series, and compliance, but the available snippets do not establish identical pinouts or footprints. Treat them as functionally related TinyAVR devices only; confirm the exact package and pin mapping before considering substitution.
Is ATTINY5-MAH still in stock?
The verified LCSC listing describes ATTINY5-MAH as in stock and reports a starting price of $0.3117, while the DigiKey listing states that the part can be purchased and shipped today. Other distributor results also show inventory-oriented listings, but stock levels change quickly. For procurement, confirm current quantity, authorized-distributor status, and the price on the selected supplier's order page.
What is the price of ATTINY5-MAH?
The verified LCSC listing reports a starting price of $0.3117 for ATTINY5-MAH, and the supplied pricing tiers reproduce that value for the listed quantities. Prices are stated as of 2026-10-22 because distributor pricing can change without notice. The amount may exclude shipping, taxes, customs, quantity breaks, or regional pricing, so request a formal quotation before committing to a production order.
What is the lead time for ATTINY5-MAH?
The supplied distributor snippets indicate that ATTINY5-MAH is available for purchase and shipping, but they do not provide a numeric lead time. Treat the lead time as unknown rather than assuming same-day delivery. Confirm the current stock quantity, factory allocation, and replenishment schedule with the distributor; the LCSC and Components-House inventory claims should be verified at order time.
Does ATTINY5-MAH have ADC, UART, or wireless connectivity?
The verified listing specifically identifies four I/O lines, a timer/counter with two PWM channels, watchdog support, and power-on reset. It does not confirm an ADC, UART, wireless interface, or other communications peripheral in the supplied data. Do not assume those functions are present from the family name alone; use the current Microchip datasheet and pin description for the exact suffix.
What should engineers check before using ATTINY5-MAH in a PCB design?
Engineers should confirm the 8-UDFN footprint, exposed-pad connection, pin numbering, programming interface, and recommended decoupling from the current manufacturer documentation. The package has only four listed general-purpose I/O lines, so pin allocation can constrain the design. Also verify the 1.8 V to 5.5 V supply requirement, startup behavior, watchdog usage, and whether any exposed pad is electrically connected or thermally required.
What can replace ATTINY5-MAH?
The supplied data does not verify five or more true drop-in replacements for the ATTINY5-MAH. The closest related result is ATtiny5-MAHR, but the available snippet alone does not establish complete pin-to-pin compatibility. Before replacing the device, compare the manufacturer package drawing, pin names, power architecture, Flash/SRAM organization, timer functions, programming method, and qualification requirements. A functional substitute should not be called drop-in without that validation.
Is ATTINY5-MAH suitable for IoT or wearable products?
ATTINY5-MAH can serve as a compact low-resource controller in simple IoT accessories or wearable products, but the verified data does not specify wireless connectivity, deep-sleep current, or battery-life figures. Its 1.8 V to 5.5 V supply range and four I/O lines may fit small embedded designs, while 512 bytes of Flash limits firmware complexity. A wireless companion, power-management circuit, and verified low-power characterization would normally be required.
What is the ATTINY5-MAH package and pinout?
The verified product listings identify ATTINY5-MAH as an 8-UDFN, USON surface-mount package, also described as having an exposed pad. However, the supplied data does not include the numbered pin list or the complete package drawing, so the exact pin names and pad connections cannot be reproduced safely. Use the current Microchip ATtiny5 documentation for the definitive pinout before PCB routing, programming-pad placement, or rework design.

Données de référence d'ingénierie pour ATTINY5-MAH — comparaison, recommandations de conception et informations de conformité.

Guide de sélection

Choose ATTINY5-MAH for compact, low-cost embedded control when the design needs an 8-bit AVR core, 512 bytes of Flash, 32 bytes of SRAM, four I/O lines, and basic PWM. It is well suited to simple motor-control logic, LED dimming, sensor nodes, and compact accessories where firmware and pin count are limited. ATTINY5-MAHR is the closest same-family candidate in the supplied results, but the available evidence does not confirm every suffix-specific rating or lifecycle condition. Do not treat it as an automatic drop-in replacement without checking the current Microchip pinout, package drawing, electrical limits, and qualification requirements. For designs requiring ADC, UART, wireless connectivity, larger memory, or more I/O, choose a more capable verified MCU rather than forcing this part.

Comparaison avec les alternatives

Paramètre Ce produit ATTINY5-MAHR
Core Architecture AVR 8-bit RISC AVR 8-bit RISC
Maximum Core Speed 12 MHz 12 MHz
Flash Memory 512 bytes (256 x 16 bits) 512 bytes
SRAM 32 bytes 32 bytes
Package 8-UDFN, USON 8-UDFN, USON
Brand Microchip Technology Microchip Technology

Principaux différenciateurs

  • Compact AVR control with two PWM channels (vs ATTINY5-MAHR)
  • Low-voltage operating range (vs ATTINY5-MAHR)
  • Minimal-footprint embedded design (vs ATTINY5-MAHR)

Notes de conception

Route the 8-UDFN footprint exactly from the current Microchip package drawing and verify whether the exposed pad is electrically connected, thermally required, or both. Keep programming and debug access reachable for rework, and place decoupling close to the device power pins. Because the package has only four listed general-purpose I/O lines, perform pin allocation before committing to the board outline.

Design the supply for the verified 1.8 V to 5.5 V range and account for startup current, output-pin loading, and external-driver transients. The supplied data does not provide current-consumption limits or absolute-maximum ratings, so use the manufacturer datasheet for regulator headroom and decoupling values. Do not power high-current motors or LED strings directly from MCU pins; use a transistor or driver stage.

Do not assume that every ATtiny-family member has identical peripherals, pin names, or package suffixes. The verified listing confirms 512 bytes of Flash, 32 bytes of SRAM, four I/O lines, timer/PWM, watchdog, and power-on reset, but it does not confirm ADC, UART, or wireless functions. Validate the exact ATTINY5-MAH pinout and programming requirements against current Microchip documentation.

Informations de conformité

RoHS
Unknown
REACH
Unknown
AEC-Q100
Unknown
Sans plomb
Unknown
Sans halogène
Unknown
Minerais de conflit
Unknown

The supplied verified snippets do not provide authoritative compliance statements for ATTINY5-MAH. Compliance fields are therefore recorded as unknown.

Données vérifiées le : 2026-10-22 — données vérifiées et sélectionnées par l'équipe d'ingénierie composants de XAIPART

Recherches associées

ATTINY5-MAH ATTINY5-MAH datasheet Microchip ATTINY5-MAH ATTINY5-MAH 12MHz AVR ATTINY5-MAH 8-UDFN ATTINY5-MAH 512 bytes Flash ATTINY5-MAH PWM controller ATTINY5-MAH sensor node ATTINY5-MAH vs ATTINY5-MAHR ATTINY5-MAH replacement buy ATTINY5-MAH online ATTINY5-MAH price ATTINY5-MAH pinout ATTINY5-MAH lead time 8-bit AVR microcontroller 1.8V 5.5V

Composants & termes associés

Microchip Technology ATTINY5-MAH ATTINY5-MAHR ATtiny5 AVR 8-bit RISC CMOS microcontroller embedded controller Flash memory SRAM program memory timer/counter PWM watchdog timer power-on reset general-purpose I/O 8-UDFN USON surface-mount package 1.8 V to 5.5 V supply motor control LED driver sensor node low-power embedded system TinyAVR
RFQ de devis rapide
Renseignez tous les détails — notre équipe commerciale vous répondra sous 24 heures
Référence Fabricant Boîtier QTY Prix cible Total
✓
Devis envoyé !

Nous répondrons à votre e-mail sous 24 heures

1
RFQ envoyée
2
Devis reçu
3
Commande passée
4
Paiement
5
Expédié
6
Livré
Voir les détails de la RFQ