Microchip Technology

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

MPN: PIC16F84A-20I/P ✓ Active
In Stock Ships in 1-3 business days
2.0 V to 5.5 V Vdss PDIP-18 (P) Package 20 MHz Speed 1.75 KB (1024 x 14 words) Memory
From $2.43 USD / Unit
MOQ: 1 |
Price updated: 2026-09-21
Volume Pricing
Qty Unit Price Extended
1 $3.85 $3.85
10 $3.47 $34.70
100 $3.08 $308.00
500 $2.74 $1,370.00
1,000 $2.43 $2,430.00
ℹ️ All prices are in USD

PIC16F84A-20I/P Overview

The Microchip Technology PIC16F84A-20I/P is an 8-bit CMOS Flash/EEPROM-based microcontroller in the PIC16 mid-range family, delivering 20 MHz clock input with a 200 ns instruction cycle in a 18-pin PDIP (P) package with industrial temperature grade (-40C to +85C). It integrates 1024 words (1.75 KB) of Flash program memory, 68 bytes of data RAM, and 64 bytes of EEPROM data memory, with 13 digital I/O pins across PORTA and PORTB. The device executes a compact 35-instruction RISC set, branches are two-cycle while all other instructions complete in one cycle, easing code development and shortening time-to-market for embedded designers.

A microcontroller (MCU) is a single-chip computer that contains a CPU, program memory, RAM, peripherals, and I/O. Microcontrollers belong to the broader integrated circuit family and are the foundation of embedded systems that automate industrial, consumer, and automotive products. The PIC16 mid-range family sits in Microchip's 8-bit portfolio between the baseline 12/14-bit cores and the 16-bit dsPIC/PIC24 lines, balancing code density, peripheral integration, and cost for entry-level to mid-tier designs.

Key features include 200 ns instruction execution, 8-bit timer/counter, 13 I/O pins with individual direction control, 4 MHz internal oscillator-free operation (relies on external crystal or RC), 256-byte EEPROM, in-circuit serial programming (ICSP) capability, watchdog timer with on-chip RC oscillator, and power-saving sleep mode. The device operates from 2.0 V to 5.5 V (industrial temp grade), draws less than 1 mA typical operating current at 5 V/4 MHz, and supports brown-out detection via the configuration bits. The 13 I/Os source/sink up to 25 mA, sufficient to drive small relays or LEDs directly.

The architecture is Harvard RISC with separate 14-bit program bus and 8-bit data bus, deep hardware stack of 8 levels, and configurable internal/external oscillator selection. Peripheral integration includes one 8-bit timer with prescaler and one 16-bit timer (Timer0/Timer1, depending on variant) and a synchronous serial port (SSP) for SPI/I2C master mode, supporting EEPROM and peripheral expansion. The Flash memory supports 1000 erase/write cycles typical and 40-year data retention, suitable for in-field firmware updates via ICSP.

Typical applications include hobbyist and educational platforms, consumer appliance controls, low-end automotive body electronics (non-AEC-Q100), sensor interfaces, lighting controllers, small motor drives via MOSFET gates, and serial-protocol bridges (SPI/UART). The 20 MHz speed with 5 V tolerance allows direct interfacing to legacy 5 V peripherals while the ICSP header keeps prototype iteration fast.

When designing with PIC16F84A-20I/P, remember it is NOT a drop-in replacement for PIC16F628A or PIC16F88 in all cases due to differing peripheral register layouts - verify register maps before migration. Always install a 100 nF decoupling capacitor on VDD close to the pin, a 10-100 ohm resistor on MCLR if not driven directly, and ensure the oscillator configuration bits match the chosen XT/HS/LP/RC mode to avoid start-up failures.

This page synthesizes distributor pricing, pin-compatible Microchip drop-in alternatives, and practical design notes not found in the manufacturer datasheet, delivering engineering context beyond raw specification tables.

Drop-in alternatives for PIC16F84A-20I/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-20I/P (same form factor and footprint) — differing in Package, Timers, Mounting Type, Core Architecture, I/O Pins.

Microchip Technology
Package: 18-pin PDIP (300 mil, through-hole)
Timers: TMR0 (8-bit)
Mounting Type: Through-Hole (DIP)
Microchip Technology
Mounting Type: Through-Hole
Microchip Technology
Package: 18-SOIC (0.295", 7.50 mm width)
Mounting Type: Surface Mount
Core Architecture: 8-bit PIC RISC (Harvard)
Microchip Technology
Timers: 1 x 8-bit (TMR0) with 8-bit prescaler
Mounting Type: Through-hole
Microchip Technology
Package: 18-pin SOIC (SO, 0.300 inch body)
Timers: Timer0 (8-bit), Watchdog Timer with on-chip RC
Mounting Type: Surface Mount
Microchip Technology
Package: 18-SOIC
Timers: 1 x 8-bit, 1 x 16-bit
Mounting Type: Surface Mount

Quick Comparison Tool — Select alternative parts for side-by-side comparison:

PIC16F84A-20/P

✅ Drop-In
Microchip Technology
📦 PDIP-18
Flash · 1.75 KB (1K x 14) · 68 bytes · 64 bytes · PIC16 (8-bit RISC) · 35 single-word instructions, 14-bit wide · 20 MHz · 200 ns at 20 MHz

✓ In Stock

$1.72 / Unit

View Datasheet →

PIC16F84A-04I/P

✅ Drop-In
📦 PDIP-18
same PDIP-18 pinout; 4 MHz speed grade vs 20 MHz (-80% clock speed, otherwise identical)

📋 Reference alternative (not in catalog)

PIC16F84A-04/P

✅ Drop-In
📦 PDIP-18
same PDIP-18 footprint; 4 MHz speed and commercial temp vs 20 MHz industrial

📋 Reference alternative (not in catalog)

PIC16F84A-20/SO

✅ Drop-In
Microchip Technology
📦 SOIC-18
PIC16 (Harvard RISC, 8-bit) · PIC16F84A · 35 single-word instructions (14-bit word) · 20 MHz (200 ns instruction cycle) · 1.75 KB (1K x 14 words) · 68 bytes · 64 bytes · 13 bidirectional (PORTA 5, PORTB 8)

✓ In Stock

$1.78 / Unit

View Datasheet →

PIC16F84A-20I/SO

✅ Drop-In
Microchip Technology
📦 SOIC-18
PIC16 RISC 8-bit · 8-bit · 1.75 KB (1K x 14) Flash · 68 bytes · 64 bytes · 20 MHz · 14-bit · 200 ns (at 20 MHz)

✓ In Stock

$2.2 / Unit

View Datasheet →

PIC16F84A-04I/SO

✅ Drop-In
Microchip Technology
📦 SOIC-18
8-bit PIC RISC (Harvard) · 1.75 KB Flash (1024 x 14-bit words) · 68 bytes · 64 bytes · 4 MHz (-04 speed grade) · 1 us at 4 MHz · 2.0 V to 5.5 V · 13 digital I/O

✓ In Stock

$3.59 / Unit

View Datasheet →

PIC16F84A-20I/P Maximum Ratings & Electrical Characteristics

Product Family PIC16 mid-range 8-bit MCU
Core Architecture 8-bit RISC (Harvard)
Instruction Set 35 single-word instructions
Clock Frequency (max) 20 MHz
Instruction Cycle 200 ns at 20 MHz
Program Memory (Flash) 1.75 KB (1024 x 14 words)
Data RAM 68 bytes
Data EEPROM 64 bytes
I/O Pins 13
Supply Voltage 2.0 V to 5.5 V
Operating Temperature -40C to +85C (Industrial)
Timers 1 x 8-bit Timer0 + Watchdog
Peripherals SSP (SPI/I2C master), USART not present, ICSP
Package PDIP-18 (P)
Mounting Type Through-hole (THT)
MSL Level 1 (unlimited)
RoHS Status Compliant
Lead-Free / Halogen-Free Lead-Free; Halogen-Free status unknown

PIC16F84A-20I/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 — PORTA bit 2 (digital I/O)
Pin 2 RA3 — PORTA bit 3 (digital I/O)
Pin 3 RA4 — PORTA bit 4 (digital I/O, also T0CKI timer0 clock input)
Pin 4 MCLR/VPP — Master Clear (reset, active-low) / ICSP programming voltage
Pin 5 VSS — Ground reference
Pin 6 RB0/INT — PORTB bit 0 (digital I/O, also external interrupt)
Pin 7 RB1 — PORTB bit 1 (digital I/O)
Pin 8 RB2 — PORTB bit 2 (digital I/O)
Pin 9 RB3 — PORTB bit 3 (digital I/O)
Pin 10 RB4 — PORTB bit 4 (digital I/O, interrupt-on-change)
Pin 11 RB5 — PORTB bit 5 (digital I/O, interrupt-on-change)
Pin 12 RB6 — PORTB bit 6 (digital I/O, ICSP clock)
Pin 13 RB7 — PORTB bit 7 (digital I/O, ICSP data)
Pin 14 VDD — Positive supply (+2.0 V to +5.5 V)
Pin 15 OSC2/CLKOUT — Oscillator output / clockout in RC mode
Pin 16 OSC1/CLKIN — Oscillator input / external clock in
Pin 17 RA0 — PORTA bit 0 (digital I/O)
Pin 18 RA1 — PORTA bit 1 (digital I/O)

Typical Applications

PIC16F84A-20I/P is suitable for 7 applications: Hobbyist and Educational Embedded Boards, Consumer Appliance Control, Sensor Interface and Signal Conditioning Hub, Lighting Controller and DMX Receiver, Serial Protocol Bridge and UART-to-SPI Converter, Industrial Control Panel MCU, Educational Trainer and PICkit Programmer Target Board.

🧩

Hobbyist and Educational Embedded Boards

The PIC16F84A-20I/P's 18-pin PDIP package, ICSP programming header pins, and well-documented 35-instruction RISC core make it ideal for breadboard-friendly educational designs and university microcontroller courses. The 20 MHz speed delivers 200 ns instruction cycle which is fast enough to demo UART bit-banging, simple control loops, and interrupt-driven GPIO. The 1.75 KB Flash accommodates student projects of meaningful size without external memory. Its industrial -40C to +85C range prevents classroom lab failures from heat issues.

🏭

Consumer Appliance Control

The PIC16F84A-20I/P's low-cost 8-bit performance and 13 I/O pins drive LED indicators, relay coils, and user keypads in small kitchen and home appliances. The 25 mA I/O source/sink directly drives small signal relays or low-current LEDs without buffer transistors. The 64 bytes EEPROM stores user preferences (e.g., last-set timer) across power cycles. The 5 V tolerant I/O interfaces with legacy appliance button matrix and triac-driven AC loads. 20 MHz instruction throughput handles debounce, keypad scanning, and triac zero-cross timing in a single foreground loop.

🌐

Sensor Interface and Signal Conditioning Hub

The PIC16F84A-20I/P can poll multiple analog sensors through an external ADC (no internal ADC) and format results over SPI to a host controller via the on-chip SSP peripheral. Its 68 RAM bytes hold several 10-bit ADC sample buckets and a small moving-average filter. The 1.75 KB Flash fits calibration routines and lookup tables. The 20 MHz cycle rate executes 8-channel polling in under 10 ms. Industrial temp grade suits outdoor sensor node enclosures.

💡

Lighting Controller and DMX Receiver

The PIC16F84A-20I/P's SSP peripheral implements SPI master to drive WS2812-style LED strips or DMX-512 dimmer outputs in compact lighting fixtures. The 13 I/O pins drive multi-channel MOSFET gate drivers controlling 12-24 V LED arrays. The 1.75 KB Flash stores chase patterns and color tables; 68 RAM holds per-channel PWM duty cycle values. At 20 MHz the bit-bang DMX break/Mark timing is achievable in software, eliminating the need for a dedicated DMX chip. Industrial temp rating suits commercial venue fixtures.

🖥️

Serial Protocol Bridge and UART-to-SPI Converter

The PIC16F84A-20I/P bridges legacy peripherals by bit-banging UART on PORTB while using the SSP peripheral for SPI master to a child sensor or EEPROM. The 35-instruction RISC set makes the bit-bang code compact; the 68 RAM provides buffering for short packets. The 20 MHz speed supports up to 115200 bps UART with a half-bit timer resolution for accurate sampling. The ICSP header allows in-field firmware upgrade via a 4-pin connector, convenient for installed bridges.

🏭

Industrial Control Panel MCU

The PIC16F84A-20I/P's 18-pin PDIP form factor drops directly into legacy industrial control panel designs, providing a proven 8-bit core for HMI button matrix scanning, indicator LED multiplexing, and small relay sequencing. Its industrial -40C to +85C rating handles factory floor temperatures, and brown-out reset via configuration bits keeps the MCU in known state through supply glitches. The 64-byte EEPROM stores fault logs and runtime counters for maintenance access.

🎥

Educational Trainer and PICkit Programmer Target Board

The PIC16F84A-20I/P remains a recommended target MCU on Microchip's PICkit 2/3 programmer training materials because of its documented instruction set, 1.75 KB Flash accommodating sample programs, and ICSP programming pins on RB6/RB7. Breadboard-friendly PDIP-18 lets students easily swap devices and observe register behavior. The 20 MHz clock is fast enough for interrupt demos and timer tutorials without overwhelming trace outputs on a logic analyzer.

Recommended Products Summary

PIC16F84A-20/P Microchip Technology Used in: Hobbyist and Educational Embedded Boards, Consumer Appliance Control, Lighting Controller and DMX Receiver, Industrial Control Panel MCU, Educational Trainer and PICkit Programmer Target Board PIC16F84A-20I/SO Microchip Technology Used in: Hobbyist and Educational Embedded Boards, Sensor Interface and Signal Conditioning Hub, Lighting Controller and DMX Receiver PIC16F84A-04I/P Slower 4 MHz variant for cost-optimized appliance controllers Used in: Consumer Appliance Control, Sensor Interface and Signal Conditioning Hub, Industrial Control Panel MCU PIC16F84A-04/P Lower-speed variant if 9600-bps UART is sufficient Used in: Serial Protocol Bridge and UART-to-SPI Converter, Educational Trainer and PICkit Programmer Target Board PIC16F84A-20/SO Microchip Technology Used in: Serial Protocol Bridge and UART-to-SPI Converter
What is the program memory size of PIC16F84A-20I/P?
The PIC16F84A-20I/P integrates 1.75 KB of Flash program memory, organized as 1024 x 14-bit words accessible through the 14-bit program bus of the PIC16 mid-range core. According to the Microchip datasheet, the Flash supports 1000 erase/write cycles typical and 40-year retention, sufficient for most consumer and industrial firmware loads including bootloader and ICSP in-field updates.
What is the maximum clock speed of PIC16F84A-20I/P?
The PIC16F84A-20I/P operates up to 20 MHz clock input, yielding a 200 ns instruction cycle because each instruction executes in one oscillator period (4 clocks per instruction cycle). The -20 speed grade explicitly supports 20 MHz XT or HS mode; at lower speeds it can also be used with HS, XT, LP, or RC oscillator configurations to optimize power vs cost.
How much RAM and EEPROM does PIC16F84A-20I/P have?
The PIC16F84A-20I/P has 68 bytes of data RAM (split into two banks of 68 for general-purpose registers) and 64 bytes of data EEPROM for non-volatile storage. The EEPROM is rated for 1 million erase/write cycles typical, suitable for storing configuration data, calibration values, or usage counters without external storage chips.
Is PIC16F84A-20I/P RoHS compliant?
Yes, the PIC16F84A-20I/P is RoHS compliant per the Microchip product page. It uses lead-free matte-tin plating on the PDIP leads and is rated MSL Level 1 (unlimited floor life). Halogen-free status was not explicitly listed in the verified web data and is marked as unknown in compliance_info.
Where can I buy PIC16F84A-20I/P online?
The PIC16F84A-20I/P can be purchased through major distributors including DigiKey, Mouser, Arrow, and Newark, typically with several thousand units in stock and lead-times under 8 weeks for tape-and-tube quantities. Pricing as of 2026-09-21 is approximately $3.85 for 1 piece and $2.43 per unit at 1000 pieces; it remains Active in Microchip's lifecycle roadmap.
What is the lead time for PIC16F84A-20I/P?
The lead time for PIC16F84A-20I/P is typically 6-8 weeks when ordered from authorized distributors as of 2026-09-21, with the part actively stocked at Mouser and DigiKey for prototype and small-volume orders. For volume production runs the Microchip factory schedule should be confirmed directly, but the part remains production-active with no end-of-life announcement.
PIC16F84A-20I/P vs PIC16F84A-20/P - what is the difference?
The PIC16F84A-20I/P and PIC16F84A-20/P differ only in operating temperature grade: -20/P is commercial 0C to +70C, while -20I/P is industrial -40C to +85C. Both share the same 20 MHz speed, 1.75 KB Flash, 68 RAM, 64 EEPROM, and 18-pin PDIP footprint, making -20I/P a drop-in upgrade for harsher environments at similar pricing.
PIC16F84A-20I/P vs PIC16F628A - which should I choose?
The PIC16F628A offers 3.5 KB Flash, 224 RAM, internal 4 MHz oscillator, USART, and better peripherals, but its register map is NOT fully identical to the PIC16F84A-20I/P - existing F84A code requires SFR remapping and configuration bit changes. For new designs choose PIC16F628A (more capable). For legacy F84A retrofit without firmware rewrite, the F84A family itself is the safer choice.
What is the best drop-in replacement for PIC16F84A-20I/P?
The best drop-in replacement for PIC16F84A-20I/P is the PIC16F84A-20/P (same die, commercial temp grade) or PIC16F84A-04I/P (slower 4 MHz speed grade but identical memory and pinout) - both retain the 18-pin PDIP footprint and register map. PIC16F88 is pin-compatible but requires firmware updates for new registers; PIC16F648A is also pin-compatible but with the SFR migration caveat noted above.
When should I choose PIC16F84A-20I/P over PIC16F818?
Choose PIC16F84A-20I/P over PIC16F818 when you need legacy register compatibility, lower cost, or are maintaining an existing F84A firmware base. Choose PIC16F818 when you need more peripherals (ADC, PWM, internal oscillator) and don't mind rewriting firmware - PIC16F818 has 1.75 KB Flash, 128 RAM, 128 EEPROM, and 16 I/O but in a different register layout. The PIC16F84A-20I/P's strength is its established, well-documented firmware ecosystem.
Where can I download the PIC16F84A-20I/P datasheet PDF?
The official PIC16F84A-20I/P datasheet can be downloaded from Microchip's website at the URL listed in the datasheet_url field on this page, or by searching 'PIC16F84A' on microchip.com. The document covers electrical characteristics, pinout, instruction set, peripheral operation, and configuration bits. For authoritative specifications always use the Microchip-published PDF rather than third-party copies.
Where can I find PIC16F84A-20I/P pinout?
The PIC16F84A-20I/P pinout for the 18-pin PDIP package is shown in the pinout field of this page and matches the Microchip datasheet. Key pins: pin 14 = VDD (+2.0 to +5.5 V), pin 5 = VSS (ground), pin 4 = MCLR (reset, active-low), pins 15/16/17/18 = RA0-RA3 PORTA I/O, pins 6-13 = RB0-RB7 PORTB I/O (RB0 also INT), pins 1/2/3 = RA4/RA5/RA6 OSC/CLK (depend on oscillator mode).
Is PIC16F84A the same as PIC16F84A-20I/P?
No - PIC16F84A is the base family name without speed or package suffix. PIC16F84A-20I/P is one specific ordering code: 20 = 20 MHz speed grade, I = industrial -40C to +85C temp grade, P = PDIP-18 package. Other variants include -04 (4 MHz), -20 (20 MHz commercial temp), and SO/SS (SOIC/SSOP surface-mount packages), each operating from the same datasheet with different ratings.
What is the operating voltage of PIC16F84A-20I/P?
The PIC16F84A-20I/P operates from 2.0 V to 5.5 V supply voltage at the industrial temperature grade. At 5 V the device can run at 20 MHz; lower voltages require reduced clock speed per the datasheet frequency-vs-VDD curve. Brown-out detection is implemented via configuration bits (BOREN) but the actual threshold is fixed internally.
Is PIC16F84A-20I/P suitable for industrial automation?
Yes, the PIC16F84A-20I/P with industrial -40C to +85C temperature range is suitable for indoor industrial automation control boards, panel meters, simple sensor hubs, and actuator drivers. It is NOT AEC-Q100 qualified for automotive under-hood or safety-critical applications - for those use cases select a PIC16 family member specifically AEC-Q100 qualified, such as PIC16F18446 or PIC16F18855 in automotive-grade packaging.
What are the key specifications of PIC16F84A-20I/P that engineers should know?
Engineers should know: PIC16F84A-20I/P runs an 8-bit Harvard RISC core at 20 MHz with 200 ns instruction cycle, has 1.75 KB Flash + 68 RAM + 64 EEPROM, 13 I/O, 2.0-5.5 V supply, industrial -40C to +85C, 18-pin PDIP package, 35 single-word instructions, ICSP programming, and 8-level hardware stack. Watch for: no USART (use PIC16F88 for that), no internal oscillator (need external crystal), and 25 mA I/O source/sink limit.

Engineering reference data for PIC16F84A-20I/P — comparison, design guidance, and compliance information.

Selection Guide

Choose PIC16F84A-20I/P when your design requires a proven, widely-documented 8-bit MCU running up to 20 MHz in the 18-pin PDIP through-hole form factor, with industrial -40C to +85C temperature tolerance for harsh environments. The 1.75 KB Flash, 68 RAM, and 64 EEPROM suit small to mid-sized embedded codebases (sensor interfaces, panel controls, LED drivers) where legacy PIC16F84A firmware compatibility matters more than advanced peripherals.

Choose PIC16F84A-20/P instead when cost is paramount and your deployment is in a controlled 0C to +70C environment, accepting the commercial temperature limitation for lower unit cost. Choose PIC16F84A-04I/P for battery-powered or cost-sensitive applications where 4 MHz operation is sufficient (e.g., simple timing loops, slow polling). Switch to PIC16F628A or PIC16F88 only when you genuinely need USART, internal oscillator, or ADC and can rewrite the firmware. For automotive AEC-Q100 or USB connectivity, choose a newer PIC16 family member with explicit automotive grade and modern peripherals.

Comparison with Alternatives

Parameter This Product PIC16F84A-20/P PIC16F84A-04I/P PIC16F84A-04/P PIC16F84A-20/SO PIC16F84A-20I/SO
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package PDIP-18 (P) PDIP-18 PDIP-18 PDIP-18 SOIC-18 (different PCB footprint) SOIC-18 (different PCB footprint)
Max Clock Frequency 20 MHz 20 MHz 4 MHz 4 MHz 20 MHz 20 MHz
Operating Temperature -40C to +85C (Industrial) 0C to +70C (Commercial) -40C to +85C (Industrial) 0C to +70C (Commercial) 0C to +70C (Commercial) -40C to +85C (Industrial)
Program Memory (Flash) 1.75 KB 1.75 KB 1.75 KB 1.75 KB 1.75 KB 1.75 KB
Data RAM 68 bytes 68 bytes 68 bytes 68 bytes 68 bytes 68 bytes
Data EEPROM 64 bytes 64 bytes 64 bytes 64 bytes 64 bytes 64 bytes
Supply Voltage 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V

Key Differentiators

  • Established PIC16 mid-range ecosystem with abundant documentation (vs PIC16F628A)
  • 20 MHz speed grade delivers full 200 ns instruction cycle (vs PIC16F84A-04I/P)
  • Industrial -40C to +85C rating vs commercial temp only (vs PIC16F84A-20/P)

Design Notes

Place a 100 nF ceramic decoupling capacitor as close as possible (within 5 mm trace length) to the VDD pin (pin 14) with its ground return to the adjacent VSS pin (pin 5). Add a bulk 10 uF electrolytic or tantalum capacitor on the same supply rail feeding the MCU to handle transient loads from relays or LEDs. Estimated: peak transient current from 13 I/O switching simultaneously at 25 mA can approach 325 mA, requiring local bulk capacitance to prevent VDD droop.

Do not assume the PIC16F84A-20I/P is pin-compatible with PIC16F628A or PIC16F88 without firmware changes. PIC16F628A has 224 bytes RAM and a USART, and PIC16F88 has an internal oscillator and ADC - both move registers around in the SFR map. Existing PIC16F84A code targeting CONFIG word bits (especially oscillator selection and watchdog) may also need adjustment. Verify register names, banked RAM access, and configuration bit definitions against the target datasheet before committing to a migration.

Keep the MCLR/VPP pin (pin 4) trace short and route it away from high-frequency switching nodes - this pin carries the ICSP programming voltage and is sensitive to noise-induced resets. Place a 10 kohm-100 kohm pull-up resistor from MCLR to VDD unless the application requires manual reset. Estimated: stray capacitance above 50 pF on MCLR combined with slow rising edges can cause unintended resets during power-up, especially if watchdog is enabled.

The PIC16F84A-20I/P's 13 I/O pins have a maximum source/sink current of 25 mA per pin, but the total package dissipation limit is 800 mW across all I/O combined. Use series resistors (typically 330 ohm for 5 V LEDs) to limit current; do not exceed three pins simultaneously sourcing 25 mA each without thermal analysis. The 8-bit PORTB latch with weak internal pull-ups supports interrupt-on-change on RB4-RB7, useful for keypad matrix scanning at 20 MHz cycle.

Compliance Information

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

RoHS compliant per Microchip product page. Not AEC-Q100 qualified - for automotive use select a PIC16 family member explicitly AEC-Q100 qualified. Halogen-free status not explicitly stated in verified web data.

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

Related Searches

PIC16F84A-20I/P PIC16F84A-20I/P datasheet Microchip PIC16F84A-20I/P PIC16F84A-20I/P PDIP-18 PIC16F84A-20I/P price PIC16F84A-20I/P pinout PIC16F84A-20I/P vs PIC16F84A-20/P PIC16F84A drop-in replacement PIC16F84A industrial temperature MCU buy PIC16F84A-20I/P online PIC16F84A-20I/P lead time 8-bit 20MHz Flash microcontroller DIP-18 what is the program memory of PIC16F84A

Related Components & Terms

Microchip Technology PIC16F84A PIC16F84A-20I/P PIC16F84A-20/P PIC16F84A-04I/P PIC16F84A-04/P PIC16F84A-20/SO PIC16F84A-20I/SO PIC16F628A PIC16F88 PIC16 mid-range family 8-bit microcontroller MCU RISC Harvard architecture Flash memory EEPROM ICSP MCLR PORTA PORTB PDIP-18 SOIC-18 RoHS industrial temperature grade PICkit
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