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.

NOT RECOMMENDEDIntegrated CircuitVerified Jun 2026
Package / Visual Reference
PIC16F876-20/SPDual-In-Line Packages
Quick Facts
Manufacturer
Microchip
Package
Dual-In-Line Packages
Pin Count
28
Lifecycle
NOT RECOMMENDED
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 CodeYes
Manufacturer Package CodeSPDIP-28
Date Of Intro1998-12-01
YTEOL3
Has ADCYES
Bit Size8
Boundary ScanNO
CPU FamilyPIC16
Clock Frequency-Max20MHz
DAC ChannelsNO
DMA ChannelsNO
FormatFIXED POINT
Integrated CacheNO
JESD-30 CodeR-PDIP-T28
JESD-609 Codee3
Low Power ModeYES
Number of External Interrupts1
Number of I/O Lines22
Number of Timers3
On Chip Data RAM Width8
On Chip Program ROM Width14
PWM ChannelsYES
Package Body MaterialPLASTIC/EPOXY
Package Equivalence CodeDIP28,.3
Package ShapeRECTANGULAR
Package StyleIN-LINE
Qualification StatusNot Qualified
RAM (bytes)368
RAM (words)368
ROM (words)8192
ROM ProgrammabilityFLASH
Speed20MHz
Supply Current-Max20mA
Supply Voltage-Max5.5V
Supply Voltage-Min5V
Supply Voltage-Nom5V
Surface MountNO
TechnologyCMOS
Temperature GradeCOMMERCIAL
Terminal FinishMatte Tin (Sn)
Terminal FormTHROUGH-HOLE
Terminal Pitch2.54mm
Terminal PositionDUAL
uPs/uCs/Peripheral ICs TypeMICROCONTROLLER, RISC
PackageDual-In-Line Packages

Compliance & Regulatory

RoHS StatusCompliant
Lead-FreeYes (Pb-Free)
ECCNEAR99
HTS Code8542.31.00.01
Country of OriginThailand

Datasheet

PIC16F876-20/SP Datasheet Download

Official datasheet from Microchip

Alternate & Equivalent Parts

Compatible alternatives and drop-in replacements for PIC16F876-20/SP:

PIC16F876-20I/SPMicrochip Technology Inc

RISC Microcontroller, 8-Bit, FLASH, PIC16 CPU, 20MHz, CMOS, PDIP28

View Part →
PIC16F873-20/SPMicrochip Technology Inc

RISC Microcontroller, 8-Bit, FLASH, PIC16 CPU, 20MHz, CMOS, PDIP28

View Part →
PIC16F873-20I/SPMicrochip Technology Inc

RISC Microcontroller, 8-Bit, FLASH, PIC16 CPU, 20MHz, CMOS, PDIP28

View Part →
PIC16F872-I/SPMicrochip Technology Inc

RISC Microcontroller, 8-Bit, FLASH, PIC16 CPU, 20MHz, CMOS, PDIP28

View Part →
PIC16F876A-I/SPMicrochip Technology Inc

MCU CMOS 28 LD 20MHZ 8K FLASH

View Part →
PIC16F876A-E/SPMicrochip Technology Inc

No description available

View Part →
PIC16F870-I/SPMicrochip Technology Inc

MCU CMOS 28 LD 20MHZ 2K FLASH

View Part →
PIC16LF870-I/SPMicrochip Technology Inc

MCU CMOS 28 LD LOW PWR

View Part →

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

Why Buy from FindMyChip

Authorized Source
Verified supply chain with full traceability & inspection
$
Competitive Pricing
Factory-direct from China distributors, low MOQ
Fast Shipping
DHL Express 3–5 days · FedEx/UPS 5–7 days worldwide
Quality Guaranteed
30-day replacement for defective parts, no questions asked

About Microchip

Microchip is a leading electronic component manufacturer. FindMyChip sources Microchip ICs directly from authorized China distributors, offering competitive pricing and reliable stock.

AvailabilityIn Stock
Reference Price (USD)
From $6.6827
Buy from 1pc · Factory-direct pricing
Qty.Unit PriceExt. Price
1+$6.6827$6.68
pcs
Unit price: $6.6827 · Total: $6.68

In Stock · 24h Response · Worldwide Shipping

Lead Time3-7 business days
MOQFrom 1 piece
ShippingDHL / FedEx / UPS
OriginChina (Authorized)

Response within 24 hours · Worldwide shipping

FindMyChip sourced our entire STM32 BOM in 48 hours when our usual distributor had 16-week lead times.

TM
Thomas Mueller
Hardware Lead, SensorTech GmbH, Germany