PIC16F874-20/P Microchip Integrated Circuit (Dual-In-Line Packages) In Stock
Microchip PIC16F874-20/P is an 8-bit PIC16F microcontroller with 7KB Flash, 20 MHz maximum clock, and integrated ADC in a 40-pin PDIP package. Features 33 I/O lines, USART, SPI, and I2C peripherals for versatile embedded control. Available from stock with worldwide shipping.
- Manufacturer
- Microchip
- Package
- Dual-In-Line Packages
- Pin Count
- 40
- Lifecycle
- NOT RECOMMENDED
- Datasheet
- PIC16F874-20/P Datasheet PDF
- Category
- Integrated Circuit
- Price
- From $2.5400(MOQ 1)
- Temp Range
- ?°C to 70.0°C
- RoHS
- Compliant
- Lead Time
- 3–7 business days
- Shipping
- DHL Express · Worldwide
Key Features
- 7KB Flash program memory at 20 MHz for cost-effective 8-bit embedded control in legacy and new designs
- Integrated 8-channel 10-bit ADC enabling direct sensor signal acquisition without external components
- 40-pin PDIP package with 33 I/O lines and USART/SPI/I2C providing rich peripheral connectivity on breadboard-friendly footprint
Applications
The PIC16F874-20/P is a proven workhorse microcontroller for industrial control panels, education boards, and legacy-compatible embedded systems requiring breadboard-friendly 40-pin DIP packaging. With 20 MHz clock speed, 7KB Flash, and 8-channel ADC, it handles sensor data acquisition, relay control, and serial communications in HVAC systems and industrial automation. Its USART and SPI peripherals support direct interfacing with LCD modules, shift registers, and wireless transceiver modules.
Specifications
| Pbfree Code | Yes |
| Manufacturer Package Code | PDIP-40 |
| Date Of Intro | 1998-12-01 |
| YTEOL | 3 |
| Has ADC | YES |
| 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-T40 |
| JESD-609 Code | e3 |
| Low Power Mode | YES |
| Number of External Interrupts | 1 |
| Number of I/O Lines | 33 |
| Number of Timers | 3 |
| On Chip Data RAM Width | 8 |
| On Chip Program ROM Width | 14 |
| PWM Channels | YES |
| Package Body Material | PLASTIC/EPOXY |
| Package Equivalence Code | DIP40,.6 |
| Package Shape | RECTANGULAR |
| Package Style | IN-LINE |
| Qualification Status | Not Qualified |
| RAM (bytes) | 192 |
| RAM (words) | 192 |
| ROM (words) | 4096 |
| ROM Programmability | FLASH |
| Speed | 20MHz |
| Supply Current-Max | 20mA |
| Supply Voltage-Max | 5.5V |
| Supply Voltage-Min | 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 |
| 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 PIC16F874-20/P:
RISC Microcontroller, 8-Bit, FLASH, PIC16 CPU, 20MHz, CMOS, PDIP40
Frequently Asked Questions
How many ADC channels does the PIC16F874-20/P provide and what is the resolution for sensor acquisition applications?
The PIC16F874-20/P integrates an 8-channel, 10-bit analog-to-digital converter capable of measuring up to 8 analog inputs simultaneously assigned to PORTA and PORTE pins. With 10-bit resolution providing 1024 steps across a 5 V reference, each LSB represents approximately 4.9 mV, sufficient for temperature sensor, pressure transducer, and potentiometer-based position sensing applications in industrial equipment.
Is the PIC16F874-20/P suitable as a drop-in replacement for existing 40-pin PDIP PIC16F designs running at 20 MHz?
The PIC16F874-20/P in the 40-pin PDIP package is pin-compatible with earlier PIC16F87x-series devices and retains the same 20 MHz maximum clock and RISC instruction set. Designers migrating from PIC16F874A should verify Flash size compatibility, as the PIC16F874 provides 7KB versus 7.5KB on the 874A variant, and confirm any register differences in the ADCON1 configuration before final firmware validation.
For a teaching laboratory, what makes the PIC16F874-20/P in PDIP40 preferable to a QFN-packaged MCU?
The 40-pin PDIP package fits standard 0.6-inch breadboards and DIP sockets, eliminating the need for breakout boards or soldering equipment in educational settings. At 20 MHz with 7KB Flash and 33 accessible I/O lines, students can prototype full control systems including motor drives, 4x4 keyboard scanning, and I2C LCD displays directly on a breadboard without any PCB fabrication.
Related Guides
1206 100 uF MLCC Design Guide for Compact Bulk Decoupling
Design guidance for applying CL31A107MQHNNNE and related 1206 MLCCs in compact bulk decoupling networks.
Jul 3, 2026
0402 10 nF MLCC Design Guide for High-Speed Decoupling
Practical design guidance for using CL05B103KB5NNNC and related 0402 MLCCs in high-speed decoupling networks.
Jul 3, 2026
CL31A107MQHNNNE 1206 100 uF MLCC Selection Guide
How to choose CL31A107MQHNNNE and related 1206 MLCCs for low-voltage bulk capacitance and regulator stability.
Jul 2, 2026
CL05B103KB5NNNC 0402 10 nF X7R MLCC Selection Guide
How to choose CL05B103KB5NNNC and related 0402 MLCCs for bypassing, filtering, voltage derating, and sourcing.
Jul 2, 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.
| Qty. | Unit Price | Ext. Price |
|---|---|---|
| 1+ | $2.5400 | $2.54 |
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.”