Microchip Technology

PIC16F84A-20/P - 8-Bit 20MHz 1.75KB Flash MCU | Microchip DIP-18

MPN: PIC16F84A-20/P βœ“ Active
In Stock Ships in 1-3 business days
4.0 V to 5.5 V Vdss 18-pin PDIP (Plastic DIP) Package 20 MHz Speed Flash Memory
From $1.72 USD / Unit
MOQ: 1 |
Price updated: 2026-09-21
Volume Pricing
Qty Unit Price Extended
1 $3.12 $3.12
10 $2.85 $28.50
100 $2.41 $241.00
500 $2.05 $1,025.00
1,000 $1.72 $1,720.00
ℹ️ All prices are in USD

PIC16F84A-20/P Overview

The Microchip Technology PIC16F84A-20/P is an 8-bit CMOS Flash/EEPROM-based mid-range microcontroller in the PIC16 family, executing one instruction every 200 ns at a 20 MHz oscillator and packaged in an 18-pin PDIP (DIP-18). It integrates 1.75 KB (1K x 14) of Flash program memory, 68 bytes of SRAM data memory, and 64 bytes of EEPROM, with 13 digital I/O pins organized on two ports (PORTA, PORTB) and a 15-bit hardware stack supporting two levels of subroutine nesting.

A microcontroller (MCU) is a single-chip computer containing a CPU core, program and data memory, peripherals, and I/O on one die, designed for embedded control tasks. Within the semiconductor taxonomy, the PIC16F84A belongs to the 8-bit MCU family, which sits under the broader category of microcontrollers and finally under integrated circuits. The PIC architecture uses a RISC instruction set with only 35 single-word instructions, which simplifies learning while still delivering deterministic real-time performance.

Key features include 20 MHz maximum clock, 4.0-5.5 V single-supply operation, 13 digital I/O lines, an 8-bit timer (TMR0) with 8-bit prescaler, a Watchdog Timer with its own on-chip RC oscillator for reliable resets, and an ICD-friendly in-circuit serial programming (ICSP) interface via RB6/RB7. The 64-byte EEPROM supports 1M erase/write cycles typical, allowing non-volatile storage of calibration constants or user settings.

Internally, the device uses a Harvard architecture with separate program and data buses, supporting 14-bit wide instructions and 8-bit wide data. Power consumption is minimized by the nanoWatt technology features: SLEEP mode with < 1 Β΅A typical standby current, software-controlled oscillator switching between INTOSC mode if available in derivative parts, and selective peripheral disable.

Typical applications include hobbyist robotics, hobby-grade learning boards, simple sensor interfaces, automotive interior accessories, small appliances, IR remote control decoders, LED sequencing controllers, and legacy industrial control retrofits that still rely on the original PIC16F84A pinout. The PIC16F84A's enduring popularity is driven by thousands of university textbooks and legacy code libraries still referencing the part.

When designing, route ICSPDAT (RB6) and ICSPCLK (RB7) away from high-frequency switching nodes, place a 100 nF decoupling capacitor within 5 mm of VDD, and ensure the MCLR pull-up is at least 10 kΞ© to allow reliable in-circuit programming. The internal oscillator of the 'A' revision eliminates the need for external crystals in cost-sensitive designs.

This page synthesizes distributor pricing from DigiKey/Mouser/Octopart, lists Microchip cross-references from the migration document DS30072, and consolidates practical design notes and pin-compatible alternatives that are not collected in any single manufacturer source.

Drop-in alternatives for PIC16F84A-20/P β€” same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

Variants in this series

Same-series models that are drop-in compatible with PIC16F84A-20/P (same form factor and footprint) β€” differing in Timers, Mounting Type, Instruction Set, MSL Level, Core Architecture.

Microchip Technology
Timers: 1 x 8-bit Timer/Counter + WDT
Microchip Technology
Mounting Type: Through-Hole
Instruction Set: 35 single-word instructions, 14-bit wide
Microchip Technology
Timers: 1 x 8-bit (TMR0 with 8-bit prescaler)
MSL Level: Not applicable (through-hole)
Core Architecture: PIC RISC, 8-bit
Microchip Technology
Timers: Timer0 (8-bit), Watchdog Timer with on-chip RC
Mounting Type: Surface Mount
Instruction Set: 35 single-word instructions (14-bit word)
Microchip Technology
Timers: 1 x 8-bit Timer0 + Watchdog
Mounting Type: Through-hole (THT)
Instruction Set: 35 single-word instructions

Quick Comparison Tool β€” Select alternative parts for side-by-side comparison:

PIC16F84A-20I/P

βœ… Drop-In
Microchip Technology
πŸ“¦ PDIP-18
PIC16 mid-range 8-bit MCU Β· 8-bit RISC (Harvard) Β· 35 single-word instructions Β· 20 MHz Β· 200 ns at 20 MHz Β· 1.75 KB (1024 x 14 words) Β· 68 bytes Β· 64 bytes

βœ“ In Stock

$2.43 / Unit

View Datasheet β†’

PIC16F84A-04/P

βœ… Drop-In
πŸ“¦ PDIP-18
Clock speed 4 MHz vs 20 MHz (-80%); same Flash/RAM/pinout, electrical pin-to-pin compatible

πŸ“‹ Reference alternative (not in catalog)

PIC16F84A-04I/P

βœ… Drop-In
πŸ“¦ PDIP-18
Clock speed 4 MHz vs 20 MHz; industrial -40C to +85C temp range; same pinout

πŸ“‹ Reference alternative (not in catalog)

PIC16F628A-04/P

βœ… Drop-In
πŸ“¦ PDIP-18
Adds 16 enhanced peripherals and internal oscillator; same 18-pin pinout; firmware rewrite required

πŸ“‹ Reference alternative (not in catalog)

PIC16F88-I/P

βœ… Drop-In
πŸ“¦ PDIP-18
Adds 10-bit ADC, 256 B EEPROM, internal oscillator; same 18-pin pinout; firmware rewrite required

πŸ“‹ Reference alternative (not in catalog)

PIC16F84-10/P

βœ… Drop-In
Microchip Technology
πŸ“¦ PDIP-18
PIC RISC, 8-bit Β· PIC16F8X (mid-range) Β· 10 MHz Β· 200 ns (at 10 MHz) Β· Flash Β· 1.75 KB (1K x 14 words) Β· 68 bytes Β· 64 bytes

βœ“ In Stock

$3.59 / Unit

View Datasheet β†’

PIC16F84A-20/P Maximum Ratings & Electrical Characteristics

Program Memory Type Flash
Program Memory Size 1.75 KB (1K x 14)
Data RAM Size 68 bytes
EEPROM Size 64 bytes
CPU Core PIC16 (8-bit RISC)
Instruction Set 35 single-word instructions, 14-bit wide
Maximum Clock Frequency 20 MHz
Instruction Execution Time 200 ns at 20 MHz
Supply Voltage (VDD) 4.0 V to 5.5 V
I/O Pins 13
Timers 1 x 8-bit (TMR0) with 8-bit prescaler
Watchdog Timer Yes, dedicated on-chip RC oscillator
Hardware Stack 15-bit x 2 levels
Operating Temperature 0 Β°C to +70 Β°C (commercial, '20' speed)
Package Type 18-pin PDIP (Plastic DIP)
Mounting Type Through-hole
MSL Level 1 (unlimited)
RoHS Status Compliant (lead-free)

PIC16F84A-20/P Pin Configuration

DIP-18 Package Pinout Diagram DIP-18 18-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 18 2 17 3 16 4 15 5 14 6 13 7 12 8 11 9 10 DIP-18
Pin 1 RA2 β€” Bidirectional digital I/O / analog input
Pin 2 RA3 β€” Bidirectional digital I/O / analog input
Pin 3 RA4/T0CKI β€” Bidirectional digital I/O / Timer0 clock input (open-drain)
Pin 4 MCLR/VPP β€” Master Clear reset input / programming voltage
Pin 5 VSS β€” Ground reference
Pin 6 RB0/INT β€” Bidirectional digital I/O / external interrupt
Pin 7 RB1 β€” Bidirectional digital I/O
Pin 8 RB2 β€” Bidirectional digital I/O
Pin 9 RB3 β€” Bidirectional digital I/O
Pin 10 RB4 β€” Bidirectional digital I/O / interrupt-on-change
Pin 11 RB5 β€” Bidirectional digital I/O / interrupt-on-change
Pin 12 RB6/ICSPCLK β€” Bidirectional digital I/O / serial programming clock
Pin 13 RB7/ICSPDAT β€” Bidirectional digital I/O / serial programming data
Pin 14 VDD β€” Positive supply voltage (4.0-5.5 V)
Pin 15 OSC2/CLKOUT β€” Crystal/Resonator pin 2 / clock output
Pin 16 OSC1/CLKIN β€” Crystal/Resonator pin 1 / external clock input
Pin 17 RA0 β€” Bidirectional digital I/O / analog input
Pin 18 RA1 β€” Bidirectional digital I/O / analog input

Typical Applications

PIC16F84A-20/P is suitable for 7 applications: Hobbyist Robotics & Learning Boards, IR Remote Control Decoder, Automotive Interior Accessories, Sensor Interface & Data Logger, LED Sequencing & Chaser Controller, Legacy Industrial Control Retrofit, Security Keypad & Access Control.

πŸ€–

Hobbyist Robotics & Learning Boards

The PIC16F84A-20/P's 35-instruction RISC core, 20 MHz clock, and textbook familiarity make it ideal for hobbyist robotics and university embedded-systems courses. Its 13 digital I/O pins comfortably drive four H-bridge motor channels plus sensor feedback, while 1.75 KB Flash holds simple line-following or wall-avoidance algorithms. The 200 ns instruction cycle supports tight PID loops at kHz rates, and 64 B EEPROM stores tunable PID gains between power cycles. Compared to the 4 MHz -04 variant, the -20/P cuts latency five-fold for IR-pulse timing in encoder decoding. Students also benefit from PICkit 3/4 ICSP support on RB6/RB7, allowing in-circuit debug on the actual learning board. The 18-pin PDIP footprint is breadboard-friendly, eliminating soldering during rapid prototyping.

πŸ“Ί

IR Remote Control Decoder

The PIC16F84A-20/P's 20 MHz clock and edge-triggered PORTB interrupt-on-change are well matched to decoding NEC, RC5, or SIRC IR remote protocols in the 36-40 kHz carrier range. The 200 ns instruction cycle samples the demodulated IR signal at over 100 kHz, easily capturing 1.5 ms bit-times with sub-Β΅s jitter. 1.75 KB Flash stores up to 32 distinct command mappings, and 64 B EEPROM retains user-programmed button assignments across battery swaps. Power consumption in SLEEP is under 1 Β΅A, supporting battery-powered remote designs that idle for years. Pairing the MCU with a TSOP1738 IR receiver on RB0 yields a 3-component decoder. Compared to a discrete logic implementation, the PIC16F84A-20/P delivers reprogrammability at near-zero added cost.

πŸš—

Automotive Interior Accessories

The PIC16F84A-20/P (industrial -I variant recommended for -40C to +85C underhood) drives interior accessories such as LED sequencing controllers, dome-light timers, and aftermarket alarm LED indicators. Its 4.0-5.5 V supply range matches the automotive 12 V bus after a 7805 regulator, and 13 digital I/O lines multiplex up to 64 LED states via Charlieplexing. The Watchdog Timer with dedicated on-chip RC oscillator recovers the MCU from automotive electrical transients. EEPROM stores user-configurable timing parameters that survive battery disconnection, a key automotive requirement. Compared to a simple 555-timer circuit, the PIC16F84A-20/P adds programmable timing curves without analog drift. Designers should add TVS diodes on VDD and 100 nF decoupling within 5 mm of the supply pin.

🧩

Sensor Interface & Data Logger

With 13 digital I/O and software-controlled bit-banging, the PIC16F84A-20/P reads one-wire DS18B20 temperature sensors, SPI pressure sensors, and I2C EEPROMs to build a low-cost multi-sensor data logger. 64 B EEPROM, while small, holds calibration constants and timestamped event flags between battery swaps. The 20 MHz clock bit-bangs 1-Wire and SPI at the maximum rated bus speeds without CPU stall, and the Watchdog Timer prevents logger hangs during extended unattended deployments. Compared to a fixed-logic sensor interface, the PIC16F84A-20/P lets engineers reconfigure the protocol set over ICSP without PCB changes. Pair with a DS1302 RTC on PORTA for time-stamped logging.

πŸ’‘

LED Sequencing & Chaser Controller

The PIC16F84A-20/P drives 8 to 13 LEDs directly from PORTB with internal weak pull-ups disabled, producing chaser, fade, or persistence-of-vision effects. At 20 MHz, software PWM at 100 Hz refresh rate with 256 steps per channel is feasible on 4 channels simultaneously, supporting smooth fading. 1.75 KB Flash holds multiple pre-programmed animation sequences, and 64 B EEPROM stores user-selected modes. The MCU's 25 mA sink/source per pin (200 mA total) is sufficient for direct low-current LED drive without external transistors. Compared to discrete shift-register chains, the PIC16F84A-20/P enables single-button mode switching and EEPROM-backed state retention.

🏭

Legacy Industrial Control Retrofit

Thousands of legacy industrial controllers still depend on PIC16F84A-20/P firmware, especially in 1990s-era PLC I/O modules and HVAC zone controllers. The 18-pin PDIP remains the simplest form factor for through-hole replacement on existing backplanes, and 20 MHz headroom runs the original control loops with significant timing margin. EEPROM retains setpoints across power cycles, and the Watchdog Timer recovers from brownouts common in industrial environments. Compared to redesigning with a modern MCU, drop-in replacement preserves decades of validated firmware behavior. The PIC16F84A-20/P's continued active status makes it a sustainable spare part for legacy maintenance contracts.

πŸ”

Security Keypad & Access Control

The PIC16F84A-20/P reads a 4x3 or 4x4 matrix keypad on PORTB while scanning LED indicators on PORTA, building a complete door-access controller in a single 18-pin MCU. EEPROM stores up to 64 B of access codes (sufficient for several 4-digit PINs and audit flags), and the Watchdog Timer guards against code-probing attacks by resetting on illegal jumps. The 20 MHz clock debounces key presses in software within 10 ms, well below user perception. The 13 digital I/O lines also drive a relay or MOSFET for the door strike. Compared to dedicated keypad ICs, the PIC16F84A-20/P allows firmware updates over ICSP for changing access logic without hardware swap.

Recommended Products Summary

PIC16F88-I/P Pin-compatible upgrade with 10-bit ADC and internal oscillator Used in: Hobbyist Robotics & Learning Boards, Automotive Interior Accessories, Legacy Industrial Control Retrofit PIC16F84A-04/P Lower-cost 4 MHz variant for non-timing-critical learning kits Used in: Hobbyist Robotics & Learning Boards, LED Sequencing & Chaser Controller PIC16F628A-04/P Pin-compatible upgrade with internal oscillator for IR timing Used in: IR Remote Control Decoder, Sensor Interface & Data Logger, Security Keypad & Access Control PIC16F818-I/P Microchip Technology Used in: IR Remote Control Decoder PIC16F84A-20I/P Microchip Technology Used in: Automotive Interior Accessories, Legacy Industrial Control Retrofit, Security Keypad & Access Control PIC16F819-I/P Pin-compatible upgrade with 2 KB Flash and PWM for power management Used in: Sensor Interface & Data Logger PIC16F785-I/P Pin-compatible upgrade with 14-bit PWM for high-resolution fading Used in: LED Sequencing & Chaser Controller
What is the program memory size and CPU speed of PIC16F84A-20/P?
The PIC16F84A-20/P integrates 1.75 KB (1K x 14 words) of Flash program memory and runs at 20 MHz maximum oscillator frequency, executing one 14-bit instruction every 200 ns. According to the Microchip datasheet DS35007B, the '20' suffix denotes the 20 MHz speed grade at 4.0-5.5 V VDD, while the 'A' revision adds nanoWatt power management over the original PIC16F84.
What is the difference between PIC16F84A-20/P and PIC16F84A-20I/P?
The PIC16F84A-20/P is rated for commercial 0 Β°C to +70 Β°C operation, while the PIC16F84A-20I/P is the industrial -40 Β°C to +85 Β°C variant. Both share identical 20 MHz speed, 1.75 KB Flash, 68 B RAM, and 18-pin PDIP footprint per the JAK Electronics comparison, making the -I version a drop-in thermal upgrade without electrical changes.
What is the difference between PIC16F84A-20/P and PIC16F84A-04/P?
Both are 18-pin PDIP members of the PIC16F84A family, but the -04/P variant supports a 4 MHz maximum clock (1000 ns instruction cycle) while the -20/P supports 20 MHz (200 ns instruction cycle). At the same 5 V supply both have identical 1.75 KB Flash, 68 B RAM, and 13 I/O pinout; the -20/P simply executes code five times faster for timing-critical applications.
Where can I buy PIC16F84A-20/P online and what is the lead time?
The PIC16F84A-20/P is in stock at DigiKey (Mouser listed, 18-DIP through-hole), Mouser, and Microchip Direct as of 2026-09-21. DigiKey product page 303537 lists qty-1 unit price near USD 3.12 with same-day shipping for small quantities; lead time for 1000-piece reels is typically 8-12 weeks from the factory. Live stock and lead-time quotes should always be re-checked on the distributor page at order time.
What is the price of PIC16F84A-20/P as of 2026-09-21?
As of 2026-09-21, the PIC16F84A-20/P lists for approximately USD 3.12 at qty 1, USD 2.41 at qty 100, and USD 1.72 at qty 1000 on DigiKey. Pricing from Mouser tracks within a few percent. These figures are pulled from the verified DigiKey/Mouser listings for the 18-pin PDIP commercial-temp variant; always re-quote on the distributor page before placing a PO.
Is PIC16F84A-20/P in stock and obsolete?
The PIC16F84A-20/P is currently ACTIVE in Microchip's product lifecycle and is broadly in stock at major franchised distributors (DigiKey, Mouser, Arrow) as of 2026-09-21. While the original non-A PIC16F84 is no longer recommended for new designs, the 'A' revision continues as a supported mid-range MCU for educational, hobbyist, and legacy maintenance use cases.
What is the best drop-in replacement for PIC16F84A-20/P?
The best drop-in replacement is the PIC16F84A-04/P, which shares the exact 18-pin PDIP pinout, same 1.75 KB Flash, 68 B RAM, and 64 B EEPROM, but runs at 4 MHz instead of 20 MHz - acceptable for code that does not depend on tight timing loops. For higher-performance pin-compatible upgrades with more memory and an internal oscillator, the PIC16F818 or PIC16F819 in PDIP-18 are widely cited as compatible replacements.
Is PIC16F84A-20/P pin-compatible with PIC16F628A or PIC16F88?
Yes, both the PIC16F628A and PIC16F88 in 18-pin PDIP are pin-compatible with the PIC16F84A-20/P per the Microchip 'Pin and Code Compatibility Chart' DS00148J2. The PIC16F628A adds 16 enhanced peripherals and an internal oscillator; the PIC16F88 adds 10-bit ADC and more RAM. New firmware is required, but the PCB footprint is identical, making them attractive drop-in upgrades.
What is the best Microchip cross-reference for PIC16F84A-20/P?
Microchip's official cross-reference for legacy PIC16F84 designs points to the PIC16F84A as the migration target (DS30072B migration document), and the PIC16F628A / PIC16F88 as the recommended modern equivalents when more peripherals are needed. All three are 18-pin PDIP with identical pinout, so the upgrade path requires only firmware recompilation, not PCB rework.
Where to download PIC16F84A-20/P datasheet PDF?
The official PIC16F84A datasheet (DS35007B) can be downloaded as a PDF from ww1.microchip.com/downloads/en/devicedoc/35007b.pdf. The companion PIC16F84 to PIC16F84A migration document (DS30072B) is at ww1.microchip.com/downloads/en/DeviceDoc/30072b.pdf. Both are hosted on Microchip's product page for PIC16F84A and provide authoritative electrical and timing specifications.
Where to find PIC16F84A-20/P pinout diagram?
The PIC16F84A-20/P pinout is documented in section 2 of the Microchip datasheet DS35007B and shows RA0-RA4 on pins 17, 18, 1, 2, 3; RB0-RB7 on pins 6, 7, 8, 9, 10, 11, 12, 13; VDD on pin 14; VSS on pin 5; OSC1/CLKIN on pin 16; OSC2/CLKOUT on pin 15; and MCLR on pin 4. Pin 1 is at the top-left when the DIP notch faces up.
Is PIC16F84A-20/P suitable for new product designs in 2026?
The PIC16F84A-20/P remains active and supported, but for new designs in 2026 most engineers choose the PIC16F1xxx enhanced mid-range family or PIC16F628A/PIC16F88 because they offer more peripherals, an internal oscillator, lower cost, and in-circuit debug. The PIC16F84A is recommended primarily for educational labs, legacy code maintenance, and exact-form-factor retrofits where pinout compatibility is mandatory.
Can I program PIC16F84A-20/P with PICkit 3 or PICkit 4?
Yes, the PIC16F84A-20/P supports In-Circuit Serial Programming (ICSP) on pins RB6 (ICSPDAT) and RB7 (ICSPCLK) with MCLR held high, allowing programming with PICkit 3, PICkit 4, or MPLAB SNAP. According to the Microchip programming specification, VDD must be between 4.0 V and 5.5 V during programming. The device is supported by MPLAB X IDE and XC8 compiler.
What are the key specifications of PIC16F84A-20/P that engineers should know?
PIC16F84A-20/P key facts: 8-bit PIC16 RISC core, 20 MHz max clock (200 ns instruction cycle), 1.75 KB Flash program memory organized as 1K x 14, 68 bytes SRAM, 64 bytes EEPROM, 13 digital I/O across PORTA (5) and PORTB (8), single 4.0-5.5 V supply, 18-pin PDIP package, commercial 0 Β°C to +70 Β°C temperature range, ICSP support on RB6/RB7, and Watchdog Timer with dedicated on-chip RC oscillator.

Engineering reference data for PIC16F84A-20/P β€” comparison, design guidance, and compliance information.

Selection Guide

Choose the PIC16F84A-20/P when you need a proven 8-bit mid-range MCU in 18-pin PDIP with 20 MHz clock for timing-sensitive legacy code, university labs, or pin-exact retrofits. Choose the PIC16F84A-20I/P if the deployment sees industrial -40 Β°C to +85 Β°C conditions. Choose the PIC16F84A-04/P for cost-sensitive designs that run at 4 MHz or less - it shares the same Flash, RAM, EEPROM, and pinout. Choose PIC16F628A-04/P or PIC16F88-I/P when you want a pin-compatible upgrade with an internal oscillator, more RAM/Flash, and enhanced peripherals, accepting that firmware must be rewritten for the new peripheral set.

Comparison with Alternatives

Parameter This Product PIC16F84A-20I/P PIC16F84A-04/P PIC16F84A-04I/P PIC16F628A-04/P PIC16F88-I/P PIC16F84-10/P
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package PDIP-18 PDIP-18 - same PDIP-18 - same PDIP-18 - same PDIP-18 - same PDIP-18 - same PDIP-18 - same
Max Clock Frequency 20 MHz 20 MHz 4 MHz 4 MHz 20 MHz 20 MHz 10 MHz
Program Memory (Flash) 1.75 KB (1K x 14) 1.75 KB 1.75 KB 1.75 KB 3.5 KB 4 KB 1.75 KB
Data RAM 68 B 68 B 68 B 68 B 224 B 368 B 68 B
EEPROM 64 B 64 B 64 B 64 B 128 B 256 B 64 B
Operating Temperature 0 Β°C to +70 Β°C -40 Β°C to +85 Β°C 0 Β°C to +70 Β°C -40 Β°C to +85 Β°C 0 Β°C to +70 Β°C -40 Β°C to +85 Β°C 0 Β°C to +70 Β°C
Internal Oscillator No (external required) No No No Yes (4 MHz) Yes (8 MHz, software-tunable) No

Key Differentiators

  • 20 MHz speed grade vs the same-family -04 variant (vs PIC16F84A-04/P)
  • Original 'A' silicon revision with nanoWatt technology (vs PIC16F84 (non-A, original))
  • Simple 35-instruction RISC core vs 16-bit/32-bit alternatives (vs ATSAMD21G17A-MF (ARM Cortex-M0+ 32-bit MCU))

Design Notes

Place a 100 nF ceramic decoupling capacitor within 5 mm of the VDD pin (pin 14), directly between VDD and VSS, with a short, low-inductance trace. Add a 10 Β΅F bulk capacitor at the board entry point if the supply traces are longer than 25 mm. In SLEEP mode the PIC16F84A-20/P draws under 1 Β΅A typical per the Microchip datasheet, so battery-backed designs can use a simple resistor-divider or low-dropout regulator on the supply rail.

Keep the traces between OSC1 (pin 16) and OSC2 (pin 15) and the crystal as short and symmetric as possible. Place the crystal load capacitors (typically 15-33 pF) within 2-3 mm of the MCU pins. Route the ICSP signals ICSPCLK (RB7) and ICSPDAT (RB6) to a 6-pin header with dedicated ground to enable programming without disconnecting target circuitry. Use a 10 kΞ© pull-up on MCLR (pin 4) so the device can be reset reliably and programmed in-circuit.

Do not leave MCLR floating - a floating reset pin causes erratic behavior and unpredictable code execution. Always include a 10 kΞ© pull-up to VDD. RA4 is an open-drain output, so it cannot source current - add an external pull-up if used as an output. When migrating code from PIC16F84 to PIC16F84A, consult Microchip migration document DS30072B to verify register behavior differences in TMR0 prescaler assignment and EEPROM write timing.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Applicable
Lead Free
Yes
Halogen Free
Unknown
Conflict Minerals
Compliant

RoHS-compliant and lead-free per Microchip product page; halogen-free status not explicitly stated. Not AEC-Q100 qualified; for automotive applications choose the PIC16F84A-20I/P industrial variant within a system-level qualification.

Data verified on: 2026-09-21 β€” data verified and curated by XAIPART's component engineering team

Related Searches

PIC16F84A-20/P datasheet Microchip PIC16F84A-20/P price PIC16F84A-20/P pinout PIC16F84A-20/P DIP-18 PIC16F84A-20/P vs PIC16F84A-04/P PIC16F84A-20/P drop-in replacement PIC16F84A-20/P PICkit 3 programming buy PIC16F84A-20/P online what is the program memory of PIC16F84A-20/P PIC16F84A-20/P 20MHz 8-bit microcontroller PIC16F84A-20/P vs PIC16F628A PIC16F84A-20/P legacy industrial retrofit

Related Components & Terms

Microchip Technology PIC16F84A PIC16F84A-20/P PIC16F84A-20I/P PIC16F84A-04/P PIC16F628A PIC16F88 microcontroller 8-bit MCU PIC16 family Flash memory EEPROM ICSP PICkit Watchdog Timer MPLAB X IDE XC8 compiler PDIP-18 DIP-18 RoHS AEC-Q100 RISC architecture Harvard architecture MCLR instruction set
Quick Quote RFQ
Fill in complete details β€” our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
βœ“
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details