ATTINY84A-PU - 8-Bit 20MHz AVR MCU with 8KB Flash | Microchip
料号: ATTINY84A-PU ✗ 停产ATTINY84A-PU 概述
A microcontroller is a compact programmable controller that integrates a CPU core, memory, I/O ports, timers, and communication peripherals on one semiconductor die. The ATTINY84A belongs to the ATtiny AVR family, whose product hierarchy is 8-bit AVR RISC microcontroller, general-purpose microcontroller, embedded processor, and semiconductor. Its combination of 12 I/O lines, serial programming, and analog conversion capability makes it useful for compact embedded-control boards.
Key features include 8 KB ISP flash memory, 512 bytes of EEPROM, 512 bytes of SRAM, 32 general-purpose working registers, 12 general-purpose I/O lines, and a 10-bit ADC. The AVR architecture provides a rich instruction set for embedded control, while the 20 MHz maximum clock rate supports more responsive control loops than its 10 MHz counterparts. Two timer/counters with PWM outputs support motor, dimming, and waveform-generation tasks.
The ATTINY84A also integrates a Universal Serial Interface, as identified by the published product overview, for serial communication using external or internal peripherals. In-System Serial Programming and in-circuit debugging are supported through the dedicated programming interface. This combination allows firmware to be programmed directly on the assembled PCB without a separate socketed programmer.
Typical uses include compact sensor controllers, LED dimmers, small motor-control boards, programmable timers, and communication modules. Its 14-pin PDIP package is particularly suitable for breadboard prototyping, through-hole educational platforms, and low-volume designs where a surface-mount package would complicate assembly.
When laying out a design, confirm that every ADC input has an appropriate analog reference and that unused I/O pins are left in a defined state. Because the -PU ordering code denotes a 14-pin PDIP package, verify that the PCB footprint matches the 0.300-inch, 7.62 mm row spacing specified by the package data before committing a new design.
This page consolidates distributor availability information, verified memory and clock specifications, practical application guidance, and clearly qualified drop-in alternatives. It also identifies the parts and parameters that must be checked before treating another AVR device as a replacement.
直接替换替代料: ATTINY84A-PU ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。
本系列中的变体
可与以下型号直接替换的同系列型号: ATTINY84A-PU (相同外形与封装尺寸) ——差异在于 Package, Programming Interface.
ATTINY84-20PU
✅ 直接替换📋 参考替代料(不在目录中)
ATTINY84V-10PU
✅ 直接替换📋 参考替代料(不在目录中)
ATTINY84A-PU
✅ 直接替换 ⚠️ 规格未核验联系询价
查看数据手册 →ATTINY44A-PU
✅ 直接替换 ⚠️ 规格未核验📋 参考替代料(不在目录中)
ATTINY24A-PU
✅ 直接替换 ⚠️ 规格未核验联系询价
查看数据手册 →ATTINY84A-PU 最大额定值与电气特性
| Product Type | 8-bit AVR RISC-based microcontroller |
| 最大时钟频率 | 20 MHz |
| Program Flash Memory | 8 KB (4K x 16) |
| EEPROM Memory | 512 bytes |
| SRAM Size | 512 bytes (512 x 8) |
| General-Purpose I/O Lines | 12 |
| General-Purpose Working Registers | 32 |
| Timer/Counter Count | 2 (8-bit/16-bit) |
| PWM Channels | 2 |
| ADC Resolution | 10-bit |
| Universal Serial Interface | 1 |
| 封装 | 14-PDIP (0.300 inch, 7.62 mm pitch) |
| 安装类型 | Through-hole |
| Programming Interface | In-System Serial Programming (ISP) |
| Debugging Support | In-Circuit Debugging |
ATTINY84A-PU 引脚配置
| 引脚 1 | PC1/B1/ADC1 — Port C input/output pin, port B alternate function, and ADC input |
| 引脚 2 | PC0/B0/ADC0 — Port C input/output pin, port B alternate function, and ADC input |
| 引脚 3 | PD0/OC0A — Port D input/output pin and timer/counter output |
| 引脚 4 | PD1/OC0B — Port D input/output pin and timer/counter output |
| 引脚 5 | PD2/OC1A — Port D input/output pin and timer/counter output |
| 引脚 6 | PD3/OC1B — Port D input/output pin and timer/counter output |
| 引脚 7 | VCC — Power supply input |
| 引脚 8 | GND — Ground reference |
| 引脚 9 | PB2/OC1A/OC1C/PCINT2 — Port B input/output, timer/counter output, and pin-change interrupt input |
| 引脚 10 | PB1/OC1B/PCINT1 — Port B input/output, timer/counter output, and pin-change interrupt input |
| 引脚 11 | PB0/OC0A/PCINT0 — Port B input/output, timer/counter output, and pin-change interrupt input |
| 引脚 12 | PA7/ADC7/ICP1 — Port A input/output, ADC input, and input capture input |
| 引脚 13 | PA6/ADC6/PCINT6 — Port A input/output, ADC input, and pin-change interrupt input |
| 引脚 14 | PA5/ADC5/PCINT5 — Port A input/output, ADC input, and pin-change interrupt input |
典型应用
ATTINY84A-PU 适用于 6 应用s: Compact Analog Sensor Controller, LED Dimming and Lighting Control, Small DC Motor and Fan Control, Programmable Timer and Sequencer, Low-Speed Serial Communication Module, Educational and Breadboard Controller.
Compact Analog Sensor Controller
The ATTINY84A-PU fits compact sensor nodes because it combines a confirmed 10-bit ADC, 8 KB of program flash, 512 bytes of SRAM, and 12 general-purpose I/O lines in a 14-pin PDIP package. The ADC can digitize analog sensor outputs while the AVR core applies filtering, scaling, and threshold logic. Place the device near the sensor interface to reduce analog trace length, and use the available EEPROM to retain calibration offsets. The 20 MHz clock provides processing margin for compensation and digital filtering, although the complete analog front end still requires suitable reference and conditioning components.
推荐
LED Dimming and Lighting Control
The ATTINY84A-PU can generate PWM-controlled LED dimming using its two timer/counters and two PWM channels. Its 20 MHz maximum clock allows fast PWM updates, while 12 I/O lines leave room for buttons, status indicators, and communication links. The device's 512-byte EEPROM is useful for storing brightness levels or user configuration. For a lighting board, keep the LED current driver separate from the MCU supply path, provide local supply decoupling, and confirm that the selected output-pin drive current satisfies the manufacturer electrical limits.
推荐
Small DC Motor and Fan Control
The two PWM-capable timer/counters in the ATTINY84A-PU support speed commands for small DC motors, fans, or solenoids. At 20 MHz, the controller can execute feedback routines and update multiple PWM outputs, while 12 I/O pins provide inputs for switches, tachometer signals, and interlocks. Because the microcontroller is intended for logic-level control, use a transistor or integrated driver for the motor rather than driving the load directly. Add flyback protection for inductive loads and verify startup current, thermal conditions, and grounding before applying power.
推荐
Programmable Timer and Sequencer
The ATTINY84A-PU is appropriate for programmable timers, event sequencers, and repetitive control tasks because it includes two 8-bit/16-bit timer/counters, 32 working registers, and 8 KB of flash. The 20 MHz clock provides ample headroom for multiple timing channels and state-machine logic, while the 14-pin PDIP package simplifies breadboard or through-hole prototyping. Use hardware timers for timing-critical intervals rather than software delays, and define safe outputs during reset so motors, relays, or indicators do not enter an unintended state at power-up.
推荐
Low-Speed Serial Communication Module
The ATTINY84A-PU's Universal Serial Interface and 12 I/O pins support low-speed serial links for configuration, remote-control, or simple sensor-network nodes. The 20 MHz AVR core can service character framing and protocol handling, while 512 bytes of SRAM accommodate modest receive and transmit buffers. Through-hole packaging makes the controller easy to prototype on a perfboard or breadboard. Verify the logic levels, baud-rate tolerance, connector pinout, and isolation requirements when interfacing the module to 3.3 V, 5 V, or RS-232 equipment.
推荐
Educational and Breadboard Controller
The 14-pin PDIP package, 0.300-inch lead spacing, 20 MHz clock, and 12 I/O lines make the ATTINY84A-PU particularly practical for educational and rapid-prototyping boards. It fits standard breadboards without fine-pitch soldering and provides enough flash, SRAM, EEPROM, timers, PWM, and ADC resources for introductory sensor, motor, and embedded-C exercises. The ISP connection supports in-circuit programming on the assembled board. Because the family is NRND, classroom laboratories should treat the part as a legacy teaching device and verify availability before adopting it for new curricula.
推荐
推荐产品汇总
工程参考数据: ATTINY84A-PU ——对比、设计指导和合规信息。
选型指南
与替代料对比
| 参数 | 本产品 | ATTINY84-20PU | ATTINY84V-10PU | ATTINY44A-PU | ATTINY24A-PU |
|---|---|---|---|---|---|
| Package | 14-DIP (0.300 inch, 7.62 mm pitch) | 14-DIP - same | 14-DIP - same | 14-DIP - same family footprint | 14-DIP - same family footprint |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
关键差异点
- A-series device with a confirmed 10-bit ADC at the full 20 MHz class speed (对比 ATTINY84V-10PU)
- Higher confirmed flash capacity within the same 14-pin AVR family (对比 ATTINY44A-PU)
- Documented 20 MHz option with the same flash class (对比 ATTINY84-20PU)
设计说明
Place the MCU's supply bypass capacitor close to the VCC and GND pins, and route the ground return directly to the device ground rather than through a switching-node return path. Because the supplied sources do not state the exact operating-voltage range, confirm that voltage from the manufacturer datasheet before assigning a 3.3 V or 5 V rail. For motor, relay, or LED-driver boards, separate the noisy power stage from the MCU supply and validate the rail during load transients.
Use the 14-DIP footprint with 0.300-inch, 7.62 mm row spacing and verify pin 1 orientation against the manufacturer package drawing. The 12 I/O pins include analog-capable lines, so keep sensitive ADC inputs short, away from PWM edges and switching nodes, and over a continuous ground reference. Add the ISP connector according to Microchip's programming recommendations and preserve access to the reset line for reliable in-circuit programming.
Do not treat a shared package as proof of firmware compatibility. ATTINY84-20PU and ATTINY84V-10PU retain the 14-pin format, but device signatures, analog features, timing, and some peripheral behavior can differ. Validate the compiled image size against the replacement's flash, rebuild with the correct device definition, and review fuse and boot-loader settings. Also confirm that the target's operating voltage, clock assumptions, and ADC accuracy remain acceptable.
合规信息
The supplied verified pages do not state RoHS, REACH, halogen-free, or conflict-minerals status. These fields are therefore recorded as unknown rather than inferred. AEC-Q100 qualification is treated as not applicable because the source data identifies this as an industrial-grade microcontroller and provides no automotive qualification claim.