PIC16F84A-20/P Microchip Integrated Circuit (Dual-In-Line Packages) In Stock
The PIC16F84A-20/P is an 8-bit flash microcontroller from Microchip's PIC16 family in an 18-pin PDIP package. It offers 1 KB flash program memory, 68 bytes of RAM, 20 MHz maximum clock, and 13 I/O pins. From $2.10 in stock with worldwide shipping.
- Manufacturer
- Microchip
- Package
- Dual-In-Line Packages
- Pin Count
- 18
- Lifecycle
- ACTIVE
- Datasheet
- PIC16F84A-20/P Datasheet PDF
- Category
- Integrated Circuit
- Temp Range
- ?°C to 70.0°C
- RoHS
- Compliant
- Lead Time
- 3–7 business days
- Shipping
- DHL Express · Worldwide
Key Features
- 8-bit PIC16 RISC architecture running at up to 20 MHz with 1024 words of in-system reprogrammable flash memory
- 13 I/O pins with individual direction control and 25 mA sink/source capability per pin for direct LED and relay drive
- 64 bytes of on-chip EEPROM data memory for non-volatile parameter storage without external memory IC
- In-circuit serial programming (ICSP) enabling firmware updates via 2-wire interface without removing the device from the board
- Wide supply voltage range of 2.0 V to 5.5 V and -40°C to +85°C industrial temperature range in an 18-pin PDIP
Applications
The PIC16F84A-20/P is a classic choice for prototyping and educational projects, offering an easily breadboardable 18-pin PDIP package, 20 MHz operation, and in-system reprogrammable flash for rapid firmware iteration. In low-volume industrial and consumer products, it drives keypads, small displays, and relay outputs using its 13 I/O pins with 25 mA drive capability, eliminating the need for external driver transistors. Its 64-byte EEPROM enables the retention of calibration constants and user settings across power cycles without additional memory components.
Specifications
| Pbfree Code | Yes |
| Manufacturer Package Code | PDIP-18 |
| Factory Lead Time | 6Weeks |
| YTEOL | 8 |
| Has ADC | NO |
| Bit Size | 8 |
| Boundary Scan | NO |
| CPU Family | PIC16 |
| Clock Frequency-Max | 20MHz |
| DAC Channels | NO |
| DMA Channels | NO |
| Format | FIXED POINT |
| Integrated Cache | NO |
| JESD-30 Code | R-PDIP-T18 |
| JESD-609 Code | e3 |
| Low Power Mode | YES |
| Number of External Interrupts | 1 |
| Number of I/O Lines | 13 |
| Number of Timers | 3 |
| On Chip Data RAM Width | 8 |
| On Chip Program ROM Width | 14 |
| PWM Channels | NO |
| Package Body Material | PLASTIC/EPOXY |
| Package Equivalence Code | DIP18,.3 |
| Package Shape | RECTANGULAR |
| Package Style | IN-LINE |
| Qualification Status | Not Qualified |
| RAM (bytes) | 68 |
| ROM (words) | 1024 |
| ROM Programmability | FLASH |
| Screening Level | TS 16949 |
| Speed | 20MHz |
| Supply Current-Max | 20mA |
| Supply Voltage-Max | 5.5V |
| Supply Voltage-Min | 4.5V |
| Supply Voltage-Nom | 5V |
| Surface Mount | NO |
| Technology | CMOS |
| Temperature Grade | COMMERCIAL |
| Terminal Finish | Matte Tin (Sn) |
| Terminal Form | THROUGH-HOLE |
| Terminal Pitch | 2.54mm |
| Terminal Position | DUAL |
| uPs/uCs/Peripheral ICs Type | MICROCONTROLLER, RISC |
| ## PIC16F84A-20/P Alternates Showing results | Image |
| Package | Dual-In-Line Packages |
Compliance & Regulatory
| RoHS Status | Compliant |
| Lead-Free | Yes (Pb-Free) |
| ECCN | EAR99 |
| HTS Code | 8542.31.00.01 |
| Country of Origin | Thailand |
Alternate & Equivalent Parts
Compatible alternatives and drop-in replacements for PIC16F84A-20/P:
suggested
suggested
suggested
suggested
Frequently Asked Questions
How much flash memory and EEPROM does the PIC16F84A-20/P include, and how does in-circuit programming work?
The PIC16F84A-20/P includes 1024 words (1 KB) of flash program memory and 64 bytes of on-chip EEPROM data memory. In-circuit serial programming (ICSP) allows firmware updates through a 2-wire interface at up to 20 MHz clock without physically removing the device from the target board, using only the PGC and PGD pins.
How does the PIC16F84A-20/P's 25 mA per-pin drive capability simplify LED and relay circuit design?
Each I/O pin of the PIC16F84A-20/P can source or sink up to 25 mA, which is sufficient to directly drive standard 5 mm through-hole LEDs at 20 mA without a current-limiting transistor. For relay coils requiring up to 50 mA to 100 mA, a single NPN transistor suffices, keeping the external component count low across the 13 available I/O pins.
For what types of prototyping or production scenarios is the 18-pin PDIP package of the PIC16F84A-20/P most advantageous?
The 18-pin PDIP package with 2.54 mm through-hole pitch fits directly into standard breadboards and DIP sockets, making the PIC16F84A-20/P ideal for hardware prototyping, classroom labs, and low-volume production where socket-based field replacement is preferred. Compared to surface-mount alternatives, the PDIP requires no reflow soldering, enabling hand assembly and easy removal for code updates during development.
When should a designer choose the PIC16F84A-20/P over a newer PIC16F with more peripherals for a simple control task?
For simple control tasks needing only digital I/O, a timer, and serial programming, the PIC16F84A-20/P's 20 MHz operation, 13 I/O pins, and 2.0 V to 5.5 V supply range cover requirements at a lower per-unit cost than feature-rich successors. Its mature compiler and extensive community code library reduce firmware development time, making it cost-effective for high-volume designs where peripherals like ADC or UART are unnecessary.
Related Guides
ECMF02-4CMX8 Common-Mode Filter with ESD Protection: Selection Guide
Compare ECMF02-4CMX8 vs ECMF02-2AMX6, ECMF04-4HSM10, and other ST ECMF filters. Choose the right 4-channel common-mode filter with ESD protection for USB 2.0.
Jun 20, 2026
AD5204 Quad Digital Potentiometer Selection Guide (2026)
How to choose the right AD5204 quad digital potentiometer: compare 10kΩ vs 100kΩ variants, TSSOP vs SOIC packages, and SPI interface options for your design.
Jun 20, 2026
0402 10uF X5R Decoupling Design Guide for Compact Digital Rails
Application note for using CL05A106MP5NUNC-class 0402 10uF X5R MLCCs in compact digital rail decoupling designs.
Jun 19, 2026
How to Choose an 0805 10uF MLCC for Decoupling and Bulk Capacitance
Selection guide for choosing 0805 10uF MLCCs around CL21A106KOQNNNE, covering derating, dielectric, package, and sourcing checks.
Jun 19, 2026
Why Buy from FindMyChip
About Microchip
Microchip is a leading electronic component manufacturer. FindMyChip sources Microchip ICs directly from authorized China distributors, offering competitive pricing and reliable stock.
More from Microchip
PIC16LF88-I/SS
Small Outline Packages
Integrated Circuit
25AA02E48-I/SN
Small Outline Packages
Integrated Circuit
PIC18F1220-I/SO
Small Outline Packages
Integrated Circuit
MIC5319-1.8YD5-TR
SOT23 (5-Pin)
Integrated Circuit
dsPIC33FJ256GP710A-I/PT
Quad Flat Packages
Integrated Circuit
BM70BLES1FC2-0B03AA
Other
Integrated Circuit
In Stock · 24h Response · Worldwide Shipping
Response within 24 hours · Worldwide shipping
“FindMyChip sourced our entire STM32 BOM in 48 hours when our usual distributor had 16-week lead times.”