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
Key Features
- 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
Applications
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.
Specifications
| 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 |
Alternate & Equivalent Parts
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
150141RS73100 Red LED Indicator and Current-Resistor Design Guide
Design a reliable 150141RS73100 red LED indicator with worst-case resistor sizing, GPIO checks, PWM drive, layout, and production validation.
Jul 11, 2026
742792651 Ferrite Bead EMI Filter and Power Integrity Design Guide
Practical guidance for using 742792651 in ferrite-bead EMI filters, including bias, DCR, damping, layout, and validation.
Jul 11, 2026
How to Choose a Ferrite Bead for EMI Suppression Rails: Selection Guide
Compare 742792651 and related ferrite beads by impedance, current rating, DCR, package, layout, and EMI test context.
Jul 10, 2026
150141BS73100 Design Guide for 3528 Status Indicator LED Circuits
Design 3528 status indicator LED circuits with 150141BS73100: current setting, resistor sizing, polarity, optics, and sourcing checks.
Jul 10, 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+ | $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.”