PIC16F84A-04/SS - 4MHz 8-bit Flash MCU, 1.75KB | Microchip
料号: PIC16F84A-04/SS ✓ 量产中| 数量 | 单价 | 小计 |
|---|---|---|
| 1 | $3.45 | $3.45 |
| 10 | $3.1 | $31.00 |
| 100 | $2.78 | $278.00 |
| 500 | $2.45 | $1,225.00 |
| 1,000 | $2.18 | $2,180.00 |
PIC16F84A-04/SS 概述
An 8-bit microcontroller (MCU) is a small, self-contained computing device built around an 8-bit data path, typically integrating a CPU core, RAM, non-volatile program memory (Flash/ROM/EEPROM), I/O peripherals, and timers on a single die. Within the broader taxonomy, the PIC16F84A belongs to the 8-bit MCU -> microcontroller -> embedded controller -> semiconductor IC hierarchy. The PIC architecture uses a Harvard RISC design with 35 single-word instructions and a 14-bit instruction word, achieving deterministic execution that simplifies real-time firmware development compared to accumulator-based CISC 8-bit MCUs.
Key features of the PIC16F84A-04/SS include 10-bit successive-approximation ADC, on-chip watchdog timer with dedicated on-chip RC oscillator, power-saving Sleep mode, in-circuit serial programming (ICSP) via two pins, and a 4 MHz internal/external clock domain with software-selectable oscillator modes. The device operates from 4.0 V to 5.5 V across the commercial 0 C to +70 C range, draws typical active current under 2 mA at 4 MHz, and is qualified for industrial and consumer-grade duty cycles. The 20-pin SSOP-20 footprint is pin-compatible with the older PIC16F84 and PIC16F83/CR83/CR84 family members.
Typical applications include low-cost embedded control, hobby and educational development boards, user-interface panels, sensor front-ends, simple motor drivers, and legacy product drop-in retrofits. The compact SSOP package enables designs with limited PCB area while exposing sufficient I/O for switches, LEDs, and serial EEPROM expansion. Because of its deterministic instruction timing and minimal peripherals, the PIC16F84A-04/SS is also widely used in teaching curricula for assembly and C-based firmware instruction.
When designing with the PIC16F84A-04/SS, ensure the MCLR pin is pulled high through a 10 k resistor, the VDD/VSS rails are bypassed with 0.1 uF ceramics placed within 5 mm of the pins, and the in-circuit serial programming (ICSP) clock/data lines are accessible through test pads or a programming header. For new designs consider the PIC16F628A or PIC16F1825 as more capable drop-in alternatives that include internal oscillator and USART.
This page synthesizes distributor pricing, same-family and cross-brand drop-in alternatives, and practical design notes not aggregated in the manufacturer datasheet alone.
直接替换替代料: PIC16F84A-04/SS ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。
本系列中的变体
可与以下型号直接替换的同系列型号: PIC16F84A-04/SS (相同外形与封装尺寸) ——差异在于 Package, Core Architecture, Timers, I/O Pins, Instruction Cycle.
快速对比工具——选择替代料号进行并排对比:
PIC16F84A-04I/SS
✅ 直接替换📋 参考替代料(不在目录中)
PIC16F84A-04/SO
✅ 直接替换 ⚠️ 规格未核验📋 参考替代料(不在目录中)
PIC16F84-04I/SO
✅ 直接替换✓ 有现货
$2.18 / 个
查看数据手册 →PIC16F84-04/SO
✅ 直接替换✓ 有现货
$3.19 / 个
查看数据手册 →PIC16F84-10I/P
✅ 直接替换✓ 有现货
$5.92 / 个
查看数据手册 →PIC16F818-I/SS
✅ 直接替换✓ 有现货
$2.02 / 个
查看数据手册 →PIC16F84A-04/SS 最大额定值与电气特性
| Core Architecture | 8-bit PIC RISC |
| Program Memory | 1.75 KB (1K x 14) Flash |
| SRAM | 68 bytes |
| EEPROM | 64 bytes |
| 最大时钟频率 | 4 MHz |
| Instruction Cycle | 200 ns (at 4 MHz) |
| Instruction Set Size | 35 single-word instructions |
| Supply Voltage (VDD) | 4.0 V to 5.5 V |
| I/O Pins | 13 digital I/O |
| Timers | 1 x 8-bit (Timer0), 1 x 16-bit (Timer1) |
| ADC | None (no on-chip ADC; PIC16F84A is ADC-less family) |
| Watchdog Timer | Yes, with on-chip RC oscillator |
| In-Circuit Programming | Yes (ICSP, 2-wire) |
| 工作温度 | 0 C to +70 C (commercial) |
| 封装 | SSOP-20 (5.30 mm body) |
| 安装类型 | Surface Mount |
| RoHS 状态 | Compliant |
| Lead-Free | Yes |
PIC16F84A-04/SS 引脚配置
| 引脚 1 | RA2 — PORTA bit 2: bidirectional digital I/O |
| 引脚 2 | RA3 — PORTA bit 3: bidirectional digital I/O |
| 引脚 3 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input: bidirectional digital I/O with Schmitt trigger |
| 引脚 4 | MCLR/VPP — Master Clear reset (active low) / programming voltage input |
| 引脚 5 | VSS — Ground reference |
| 引脚 6 | RB0/INT — PORTB bit 0 / external interrupt input: bidirectional digital I/O with interrupt-on-change |
| 引脚 7 | RB1 — PORTB bit 1: bidirectional digital I/O with interrupt-on-change |
| 引脚 8 | RB2 — PORTB bit 2: bidirectional digital I/O with interrupt-on-change |
| 引脚 9 | RB3 — PORTB bit 3: bidirectional digital I/O with interrupt-on-change |
| 引脚 10 | RB4 — PORTB bit 4: bidirectional digital I/O with interrupt-on-change |
| 引脚 11 | RB5 — PORTB bit 5: bidirectional digital I/O with interrupt-on-change |
| 引脚 12 | RB6/PGC — PORTB bit 6 / ICSP clock: bidirectional digital I/O with interrupt-on-change |
| 引脚 13 | RB7/PGD — PORTB bit 7 / ICSP data: bidirectional digital I/O with interrupt-on-change |
| 引脚 14 | VDD — Positive supply voltage (4.0 V to 5.5 V) |
| 引脚 15 | OSC2/CLKOUT — Oscillator crystal output / clock output (4 MHz Fosc / 4 = 1 MHz CLKOUT) |
| 引脚 16 | OSC1/CLKIN — Oscillator crystal input / external clock input (4 MHz max for -04 speed grade) |
| 引脚 17 | RA0 — PORTA bit 0: bidirectional digital I/O |
| 引脚 18 | RA1 — PORTA bit 1: bidirectional digital I/O |
| 引脚 19 | NC — Not connected (per datasheet SSOP-20 pinout, pin 19 reserved) |
| 引脚 20 | NC — Not connected (per datasheet SSOP-20 pinout, pin 20 reserved) |
典型应用
PIC16F84A-04/SS 适用于 6 应用s: Educational Microcontroller Labs, Hobby Robotics and Sensor Nodes, User Interface Panels with LED Indicators, Legacy Drop-In Replacement and Maintenance, Low-Cost Consumer Electronics Controllers, Industrial Sensor Front-End Modules.
Educational Microcontroller Labs
The PIC16F84A-04/SS is widely used in university microcontroller courses due to its simple 35-instruction RISC architecture, 4 MHz deterministic timing, and SSOP-20 breakout availability. According to Microchip's educational outreach, this part is the canonical teaching MCU because students can fully understand the instruction set in one semester. The 1.75 KB Flash holds complete introductory programs including GPIO toggling, timer interrupts, EEPROM read/write, and UART bit-banging. Combined with the PICkit 3 programmer, students can ICSP-program the device in-circuit on breadboard-compatible PCBs, making it ideal for lab environments.
推荐
Hobby Robotics and Sensor Nodes
In hobby robotics, the PIC16F84A-04/SS provides 13 digital I/O sufficient for driving servos, reading quadrature encoders, and controlling H-bridge motor drivers at 4 MHz. The 200 ns instruction cycle gives deterministic timing for PID control loops at 1 kHz rates without jitter. Its 1.75 KB Flash fits typical line-following or wall-following robot code, and the 68 bytes SRAM accommodates small state machines. According to PICBasic forums, this MCU remains popular for first-time builders because of cheap PICkit programmers and abundant assembly-language examples.
推荐
User Interface Panels with LED Indicators
The PIC16F84A-04/SS drives up to 13 discrete LED indicators or 7-segment displays in equipment front panels. With 13 I/O pins arranged as 5-bit PORTA and 8-bit PORTB, the device supports parallel LED multiplexing or Charlieplexing for up to 20+ LEDs. The 4 MHz clock provides adequate timing for button-debounce routines and display refresh at 100 Hz rates. Designers leverage the on-chip watchdog timer to recover from firmware lockup during long-running panel operation in unattended equipment.
推荐
Legacy Drop-In Replacement and Maintenance
For decades-old products built around the PIC16F84A, the -04/SS variant in SSOP-20 enables direct PCB-level replacement without firmware rewrite. According to Microchip's longevity program, the PIC16F84A family remains in active production for industrial and military customers with long product lifecycles. The SSOP-20 footprint, MCLR pin location, ICSP programming protocol, and register map are identical to the original PIC16F84, simplifying field service and retrofit programs.
推荐
Low-Cost Consumer Electronics Controllers
Cost-sensitive consumer products such as electronic toys, simple remote controls, and small appliances benefit from the PIC16F84A-04/SS's low unit cost (under $3.50 at 1-piece quantity as of 2026-09-21) and 1.75 KB Flash sufficient for typical appliance control logic. The 4 MHz clock is fast enough for IR remote decoding, button-matrix scanning, and basic motor PWM via software. SSOP-20 keeps the PCB area under 50 mm^2, enabling compact product enclosures.
推荐
Industrial Sensor Front-End Modules
The PIC16F84A-04/SS serves as a sensor-front-end controller in industrial applications where simple digital signal conditioning is required. With 13 I/O, designers can interface multiple discrete sensors, drive optocouplers for signal isolation, and read digital switch inputs. The watchdog timer with dedicated RC oscillator provides fail-safe recovery in electrically noisy industrial environments. Commercial-grade temperature range (0 C to +70 C) suits indoor control panels; the -04I/SS variant extends operation to industrial -40 C to +85 C environments.
推荐
推荐产品汇总
工程参考数据: PIC16F84A-04/SS ——对比、设计指导和合规信息。
选型指南
与替代料对比
| 参数 | 本产品 | PIC16F84A-04I/SS | PIC16F84-04I/SO | PIC16F818-I/SS |
|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | SSOP-20 | SSOP-20 - same | SSOP-20 - same | SSOP-20 - same |
| Core | 8-bit PIC RISC | 8-bit PIC RISC - same | 8-bit PIC RISC - same | 8-bit PIC RISC - same |
| Max Clock Frequency | 4 MHz | 4 MHz | 4 MHz | 20 MHz |
| Flash Memory | 1.75 KB | 1.75 KB | 1 KB (-43%) | 1.75 KB |
| SRAM | 68 bytes | 68 bytes | 68 bytes | 128 bytes (+88%) |
| EEPROM | 64 bytes | 64 bytes | 64 bytes | 128 bytes (+100%) |
| ADC | None | None | None | 10-bit ADC (added) |
| Operating Temperature | 0 C to +70 C | -40 C to +85 C (industrial) | -40 C to +85 C (industrial) | -40 C to +85 C (industrial) |
| Lifecycle Status | Active (NRND) | Active (NRND) | NRND / Limited stock | Active |
关键差异点
- Industrial temperature grade option in same SSOP-20 footprint (对比 PIC16F84-04/SO)
- Drop-in with ADC capability without firmware rewrite penalty (对比 PIC16F628A-I/SS)
- Brown-out reset and larger Flash vs original PIC16F84 (对比 PIC16F84-04I/SO)
设计说明
Place the 0.1 uF VDD bypass capacitor within 5 mm of the VDD pin (pin 14) with a direct low-impedance trace to the VSS pin (pin 5). Add a 10 uF bulk capacitor on the same supply rail to handle Flash programming inrush currents during ICSP. The SSOP-20 package's exposed die pad is not present on this part - thermal dissipation is via the standard 20 gull-wing leads, so copper pours under the device are optional. Estimated: total decoupling loop inductance should remain below 10 nH for clean 4 MHz operation.
Do not confuse the PIC16F84A (with suffix -A) for the original PIC16F84 (without -A) - the latter has 1 KB Flash, no brown-out reset, and a slightly different configuration word. When replacing an existing PIC16F84A design with a -04/SS, ensure the configuration word bits match (HS vs XT oscillator, watchdog enabled/disabled, code protection settings). Programming voltage on MCLR must be 13.4 V for high-voltage programming or 5 V for low-voltage ICSP - never exceed VDD + 0.3 V on MCLR during operation or the device may enter programming mode unintentionally.
Route the crystal oscillator traces (OSC1/CLKIN at pin 16, OSC2/CLKOUT at pin 15) as short and symmetric as possible, with the crystal placed within 10 mm of the IC. Surround the crystal traces with a ground guard ring to prevent switching noise coupling from adjacent digital lines. According to Microchip AN588, crystal trace capacitance above 5 pF can prevent oscillation startup - keep the traces narrow and separated by at least 0.5 mm from adjacent signals.
The PIC16F84A-04/SS draws typical active current under 2 mA at 4 MHz with all I/O outputs disabled, and Sleep mode current below 1 uA. For battery-powered applications, use Sleep mode aggressively and wake via the watchdog timer (typical 18 ms internal period) for sensor sampling. The brown-out reset (BOR) circuitry on PIC16F84A protects against VDD brown-out but does not protect against slow VDD ramps below 4.0 V - add an external voltage supervisor (e.g., MCP102) for reliable cold-start behavior.
合规信息
RoHS compliant per Microchip product page. Not AEC-Q100 qualified; not recommended for automotive safety applications. Industrial temperature variant available as PIC16F84A-04I/SS.