PIC16F876-20/SP Microchip Integrated Circuit (Dual-In-Line Packages) In Stock
The PIC16F876-20/SP is an 8-bit PIC16 microcontroller from Microchip with 14 KB flash, 368 bytes RAM, and 22 I/O pins in a 28-pin SPDIP package. It operates at up to 20 MHz and includes a built-in 10-bit ADC and SPI/I2C interfaces. In stock worldwide with fast shipping.
- Manufacturer
- Microchip
- Package
- Dual-In-Line Packages
- Pin Count
- 28
- Lifecycle
- NOT RECOMMENDED
- Datasheet
- PIC16F876-20/SP Datasheet PDF
- Category
- Integrated Circuit
- Price
- From $6.6827(MOQ 1)
- Temp Range
- ?°C to 70.0°C
- RoHS
- Compliant
- Lead Time
- 3–7 business days
- Shipping
- DHL Express · Worldwide
What are the key features of PIC16F876-20/SP?
- 14 KB of self-programmable flash memory and 368 bytes RAM support medium-complexity firmware with in-field code updates
- 10-bit ADC with up to 5 channels enables direct sensor signal acquisition without external ADC ICs
- SPI and I2C hardware peripherals (MSSP) and USART allow simultaneous multi-protocol communication from a single 8-bit core
- 20 MHz maximum clock frequency in a through-hole 28-pin SPDIP package simplifies prototyping and field-service replacement
- ICSP and ICD support via 2-wire interface enables in-circuit debugging without removing the MCU from the target board
What is PIC16F876-20/SP used for?
The PIC16F876-20/SP is a workhorse 8-bit MCU for simple to medium-complexity control tasks including motor speed control, HVAC thermostat logic, and sensor data acquisition in industrial equipment. Its through-hole 28-pin DIP package makes it popular for educational platforms, prototype breadboards, and legacy system retrofits where socket-based replacement is required. The built-in 10-bit ADC and serial interfaces cover most sensor interfacing needs without external peripheral ICs.
What are the specifications of PIC16F876-20/SP?
| Pbfree Code | Yes |
| Manufacturer Package Code | SPDIP-28 |
| 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-T28 |
| JESD-609 Code | e3 |
| Low Power Mode | YES |
| Number of External Interrupts | 1 |
| Number of I/O Lines | 22 |
| 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 | DIP28,.3 |
| Package Shape | RECTANGULAR |
| Package Style | IN-LINE |
| Qualification Status | Not Qualified |
| RAM (bytes) | 368 |
| RAM (words) | 368 |
| ROM (words) | 8192 |
| 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 |
Where can I find the PIC16F876-20/SP datasheet?
PIC16F876-20/SP Datasheet DownloadOfficial datasheet from Microchip
What are equivalent replacements for PIC16F876-20/SP?
Compatible alternatives and drop-in replacements for PIC16F876-20/SP:
RISC Microcontroller, 8-Bit, FLASH, PIC16 CPU, 20MHz, CMOS, PDIP28
RISC Microcontroller, 8-Bit, FLASH, PIC16 CPU, 20MHz, CMOS, PDIP28
RISC Microcontroller, 8-Bit, FLASH, PIC16 CPU, 20MHz, CMOS, PDIP28
RISC Microcontroller, 8-Bit, FLASH, PIC16 CPU, 20MHz, CMOS, PDIP28
Frequently Asked Questions
How much flash and RAM does the PIC16F876-20/SP provide, and is it enough for a PID motor control loop?
The PIC16F876-20/SP includes 14 KB of program flash and 368 bytes of data RAM. A compact PID control loop in C typically requires 2-4 KB of flash and 50-100 bytes of RAM for coefficients and state variables, leaving ample space for sensor drivers, UART logging, and a watchdog safety routine. At 20 MHz, the 8-bit core executes one instruction per 200 ns, providing sufficient throughput for 1 kHz PID update rates.
Can the PIC16F876-20/SP read an analog sensor directly, and how many ADC channels does it have?
Yes. The PIC16F876-20/SP integrates a 10-bit successive approximation ADC with up to 5 input channels multiplexed from its I/O pins. At 20 MHz, the ADC achieves a sample rate of approximately 100 ksps, sufficient for audio-frequency signal sampling up to 40 kHz. The 10-bit resolution provides 1024 counts over the reference range, yielding 4.88 mV resolution on a 5V reference for industrial 4-20 mA loop applications.
How does PIC16F876-20/SP differ from PIC16F876A-20/SP for a production board replacement?
The PIC16F876A is the enhanced successor with identical pinout in the same 28-pin DIP package, adding 256 bytes of data EEPROM and improved BOR reset circuits. Both run at 20 MHz with 14 KB flash and 22 I/O pins, making the A-variant a drop-in upgrade. For a production board replacement, the PIC16F876-20/SP is a lower-cost option when EEPROM retention is managed in external serial memory, and both variants support in-circuit serial programming via 2-wire ICSP.
What communication interfaces are built into the PIC16F876-20/SP for connecting to sensors and external memory?
The PIC16F876-20/SP includes a USART for RS-232 or RS-485 serial communication up to 1.25 Mbps at 20 MHz, and an MSSP module configurable as either SPI at up to 5 Mbps or I2C at 100 kHz or 400 kHz. These 3 hardware interfaces allow simultaneous connection to an I2C temperature sensor, a SPI EEPROM, and a UART GPS module without bit-banging, freeing the CPU for control logic.
Related Guides
C0603C104K3RACTU: 100 nF 0603 MLCC Selection Guide
Compare voltage, tolerance, qualification, and sourcing choices for the C0603C104K3RACTU 100 nF 0603 X7R capacitor.
Nov 21, 2026
C0603C104K3RACTU Decoupling Layout and Validation Guide
Apply C0603C104K3RACTU 100 nF X7R decoupling with a clear capacitance budget, short current loops, and repeatable board validation.
Nov 20, 2026
MCP3551-E/SN Selection Guide for Precision Measurement
Choose MCP3551-E/SN by measurement budget, update timing, package, and sourcing evidence, with a focused MCP3550/1/3 comparison.
Nov 20, 2026
MCP3551-E/SN Design Guide for Precision Sensor Measurements
Design an MCP3551-E/SN sensor channel with a clear error budget, reference strategy, input filtering, conversion timing, and repeatable board tests.
Nov 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
| Qty. | Unit Price | Ext. Price |
|---|---|---|
| 1+ | $6.6827 | $6.68 |
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.”
You May Also Like
ACS770ECB-200U-PFF-T
Allegro Microsystems
Integrated Circuit
ACS770KCB-150U-PFF-T
Allegro Microsystems
Integrated Circuit
MC33901WEF
NXP
Integrated Circuit
MC7808BDTRKG
ON Semiconductor
Integrated Circuit
PA94EC
Apex Microtechnology
Integrated Circuit
AP7315-28SR-7
Diodes Inc.
Integrated Circuit
74HCT245D
Nexperia
Integrated Circuit
CY62256VNLL-70ZXCT
Cypress Semiconductor
Integrated Circuit
EPM7032AETC44-4N
Intel
Integrated Circuit
EPM3512AQC208-10N
Intel
Integrated Circuit
EPM3256ATC144-7N
Intel
Integrated Circuit
EPM3256AQC208-7N
Intel
Integrated Circuit
EPM3256AQC208-10N
Intel
Integrated Circuit
EPM3128ATC100-7N
Intel
Integrated Circuit
EPM1270F256C4N
Intel
Integrated Circuit
EPF8282ATC100-4N
Intel
Integrated Circuit
EPF6016QC208-2N
Intel
Integrated Circuit
EPF6016ATC144-3N
Intel
Integrated Circuit
EPF10K30ATC144-3N
Intel
Integrated Circuit
EPC2TI32N
Intel
Integrated Circuit
EPC2LC20
Intel
Integrated Circuit
EP3SL150F1152C4N
Intel
Integrated Circuit
EP2SGX60DF780C5N
Intel
Integrated Circuit
EP2SGX60CF780C5N
Intel
Integrated Circuit