Microchip Technology

PIC16F876-04/SP - 8-Bit 4MHz 14KB Flash MCU | Microchip

MPN: PIC16F876-04/SP ✓ Active
In Stock Ships in 1-3 business days
4.0 V to 5.5 V Vdss 28-pin SPDIP (0.300", 7.62 mm) Package 4 MHz (4 MIPS, 200 ns instruction cycle) Speed 14 KB (8192 x 14 words) Memory
From $2.88 USD / Unit
MOQ: 1 |
Price updated: 2026-09-21
Volume Pricing
Qty Unit Price Extended
1 $4.5 $4.50
10 $4.05 $40.50
100 $3.6 $360.00
500 $3.24 $1,620.00
1,000 $2.88 $2,880.00
ℹ️ All prices are in USD

PIC16F876-04/SP Overview

The Microchip Technology PIC16F876-04/SP is an 8-bit CMOS Flash-based PIC microcontroller delivering 4 MIPS performance with 200 ns instruction execution in a 28-pin SPDIP package. It integrates 14 KB of Flash program memory, 368 bytes of SRAM, 256 bytes of data EEPROM, and a 5-channel 10-bit ADC. The "-04" suffix indicates the 4 MHz maximum oscillator frequency grade, and the "/SP" suffix designates the 28-pin Skinny Plastic DIP through-hole and process-line package.

A microcontroller (MCU) is a single-chip computer containing a CPU core, program memory, data memory, peripherals, and I/O. The PIC16F876 belongs to the PIC16F mid-range 8-bit family, positioned in the taxonomy 8-bit MCU -> microcontroller -> embedded processor -> semiconductor IC. The PIC16F87X family is one of Microchip's most widely adopted mid-range architectures, characterized by a 14-bit instruction word, 35 single-word instructions, and Harvard bus architecture.

Key features include 22 digital I/O pins, hardware USART, MSSP supporting both SPI and I2C (master/slave), two 8-bit timers and one 16-bit timer, a 10-bit A/D converter with up to 5 channels, a watchdog timer with its own on-chip RC oscillator, and In-Circuit Serial Programming (ICSP) via two pins. The device operates from 4.0 V to 5.5 V and includes a brown-out reset circuit. The Flash program memory supports 1000 erase/write cycles typical and 40-year data retention.

The PIC16F876-04/SP uses Microchip's PIC16 mid-range core with a 2-stage pipeline, executing most instructions in a single 200 ns cycle at 4 MHz. The Harvard architecture separates program and data buses, allowing simultaneous instruction fetch and operand access. The on-chip ICD (In-Circuit Debug) and ICSP capability enable development without removing the chip from the board, which is critical for legacy through-hole designs that cannot be replaced with smaller surface-mount packages.

Typical applications include industrial control systems, sensor signal conditioning, motor drive PWM control, automotive body electronics, HVAC thermostat controllers, instrumentation, and educational embedded platforms. The 28-pin SPDIP package is ideal for through-hole prototyping on perfboard and legacy PCB designs that require socketed or hand-replaceable parts.

When designing with this device, note that the older PIC16F876 has been superseded by the PIC16F876A (improvements: nanoWatt technology, 1% internal oscillator accuracy) and later by the PIC16F886 (more memory and peripherals). New designs should consider the PIC16F886 or PIC16F1xxx enhanced family; however, the PIC16F876-04/SP remains widely available for production boards and repair replacements where a drop-in 28-pin SPDIP pinout is required.

Drop-in alternatives for PIC16F876-04/SP — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

Variants in this series

Same-series models that are drop-in compatible with PIC16F876-04/SP (same form factor and footprint) — differing in Communication, Package, ADC, Instruction Set, Timers.

Microchip Technology
Communication: AUSART, MSSP (SPI/I2C)
Package: 28-SPDIP (0.300 inch / 7.62 mm)
Instruction Set: 35 single-word instructions
Microchip Technology
Communication: USART, SPI, I²C (SSP)
Package: 28-pin SPDIP (Skinny Plastic DIP)
ADC: 5 channels, 10-bit resolution

Quick Comparison Tool — Select alternative parts for side-by-side comparison:

PIC16F876-04I/SP

✅ Drop-In
📦 28-pin SPDIP
Industrial -40C to +85C temp grade vs commercial 0C to +70C; identical die and pinout

📋 Reference alternative (not in catalog)

PIC16F876-20/SP

✅ Drop-In
Microchip Technology
📦 28-pin SPDIP
PIC16 (8-bit RISC, Harvard) · 35 single-word instructions · 20 MHz (200 ns instruction cycle) · 14 KB (8K x 14 words) · 368 bytes · 256 bytes · 22 · 5 channels, 10-bit resolution

✓ In Stock

$7.1 / Unit

View Datasheet →

PIC16F876A-I/SP

✅ Drop-In
📦 28-pin SPDIP
Enhanced 'A' silicon with nanoWatt low-power modes and 1% internal oscillator

📋 Reference alternative (not in catalog)

PIC16F873-04/SP

✅ Drop-In
Microchip Technology
📦 28-pin SPDIP
PIC16F · PIC · 8-Bit · 4 MHz (1 MIPS) · 7 KB (4K x 14) Flash · 192 bytes · 128 bytes · 22

✓ In Stock

$5.74 / Unit

View Datasheet →

PIC16F873A-I/SP

✅ Drop-In
📦 28-pin SPDIP
Smaller 7 KB Flash; enhanced 'A' silicon; same 28-pin SPDIP footprint

📋 Reference alternative (not in catalog)

PIC16F876-04/SP Maximum Ratings & Electrical Characteristics

Core PIC16 8-bit RISC
Instruction Set 35 single-word instructions, 14-bit opcode
Program Memory (Flash) 14 KB (8192 x 14 words)
Data RAM 368 bytes
Data EEPROM 256 bytes
Maximum Clock Frequency 4 MHz (4 MIPS, 200 ns instruction cycle)
Supply Voltage (VDD) 4.0 V to 5.5 V
I/O Pins 22 digital I/O
ADC 10-bit, 5 channels
Timers 2 x 8-bit, 1 x 16-bit
Communication USART (asynchronous/synchronous), MSSP (SPI / I2C master-slave)
Watchdog Timer Yes, with dedicated on-chip RC oscillator
Brown-Out Reset (BOR) Yes
In-Circuit Programming ICSP via RB6/RB7, ICD support
Package 28-pin SPDIP (0.300", 7.62 mm)

PIC16F876-04/SP Pin Configuration

DIP-28 Package Pinout Diagram DIP-28 28-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 28 2 27 3 26 4 25 5 24 6 23 7 22 8 21 9 20 10 19 11 18 12 17 13 16 14 15 DIP-28
Pin 1 RA0/AN0 — Digital I/O / Analog input channel 0
Pin 2 RA1/AN1 — Digital I/O / Analog input channel 1
Pin 3 RA2/AN2/VREF- — Digital I/O / Analog input 2 / ADC negative reference
Pin 4 RA3/AN3/VREF+ — Digital I/O / Analog input 3 / ADC positive reference
Pin 5 RA4/T0CKI — Digital I/O / Timer0 clock input
Pin 6 RA5/AN4/SS — Digital I/O / Analog input 4 / SPI slave select
Pin 7 RE0/RD/AN5 — Digital I/O / Parallel Slave Port read / Analog input 5
Pin 8 RE1/WR/AN6 — Digital I/O / Parallel Slave Port write / Analog input 6
Pin 9 RE2/CS/AN7 — Digital I/O / Parallel Slave Port chip select / Analog input 7
Pin 10 VDD — Positive supply voltage (4.0 V to 5.5 V)
Pin 11 VSS — Ground reference
Pin 12 OSC1/CLKIN — Crystal oscillator input / external clock input
Pin 13 OSC2/CLKOUT — Crystal oscillator output / clock output
Pin 14 RC0/T1OSO/T1CKI — Digital I/O / Timer1 oscillator output / Timer1 clock input
Pin 15 RC1/T1OSI/CCP2 — Digital I/O / Timer1 oscillator input / Capture-Compare-PWM 2
Pin 16 RC2/CCP1 — Digital I/O / Capture-Compare-PWM 1
Pin 17 RC3/SCK/SCL — Digital I/O / SPI clock / I2C clock
Pin 18 RD0/PSP0 — Digital I/O / Parallel Slave Port data bit 0
Pin 19 RD1/PSP1 — Digital I/O / Parallel Slave Port data bit 1
Pin 20 RD2/PSP2 — Digital I/O / Parallel Slave Port data bit 2
Pin 21 RD3/PSP3 — Digital I/O / Parallel Slave Port data bit 3
Pin 22 RC4/SDI/SDA — Digital I/O / SPI data in / I2C data
Pin 23 RC5/SDO — Digital I/O / SPI data out
Pin 24 RC6/TX/CK — Digital I/O / USART transmit / USART clock
Pin 25 RC7/RX/DT — Digital I/O / USART receive / USART data
Pin 26 RB0/INT — Digital I/O / External interrupt input
Pin 27 RB1 — Digital I/O
Pin 28 RB2 — Digital I/O

Typical Applications

PIC16F876-04/SP is suitable for 6 applications: Industrial Control and Sensor Signal Conditioning, Motor Drive PWM Control, HVAC Thermostat and Building Automation, Automotive Body Electronics and Legacy Repair, Instrumentation and Data Acquisition Front Ends, Educational Embedded Platforms and Prototyping.

🏭

Industrial Control and Sensor Signal Conditioning

The PIC16F876-04/SP fits industrial sensor-interface designs because its 10-bit ADC with 5 input channels and 22 digital I/O provide sufficient resolution for thermocouple, RTD, pressure transducer, and 4-20 mA loop signal conditioning. With 14 KB of Flash program memory the MCU can host PID control algorithms, scaling math, and HMI UART command handlers. The MSSP peripheral enables I2C connection to external EEPROM for data logging or SPI to a front-panel display controller. Hardware USART supports RS-485 communication with industrial PLCs or sensor hubs. The 4 MHz clock is fast enough for sensor sampling rates up to a few kHz, and the 5 V supply matches legacy industrial instrumentation rails.

🤖

Motor Drive PWM Control

The PIC16F876-04/SP supports DC motor speed control and small stepper motor sequencing via its 16-bit Timer1 with CCP module, providing 10-bit PWM resolution at the 4 MHz clock. The 22 I/O pins handle quadrature encoder inputs, end-stop sensors, and H-bridge enable signals. With 368 bytes of SRAM, the MCU can buffer motion profiles and PID error terms. The USART allows host communication for command and parameter updates. For BLDC and small AC drive, the 4 MHz speed grade suffices for sub-1 kHz PWM carrier frequencies typical in appliance-class motor control.

🏭

HVAC Thermostat and Building Automation

The PIC16F876-04/SP is widely used in HVAC thermostat controllers and small building-automation nodes because its 14 KB Flash accommodates user-interface state machines, scheduling logic, and Modbus communication stacks. The 5-channel ADC reads onboard temperature sensors, humidity transducers, and potentiometer set-point adjustments, while the I2C MSSP connects to character-LCD displays and external EEPROM for schedule storage. The 22 I/O drive LEDs, relays, and triac optocouplers for HVAC control. Operation from 4.0-5.5 V suits 5 V wall-cube adapters commonly used in HVAC control boards, and brown-out reset ensures clean start-up after power interruptions.

🚗

Automotive Body Electronics and Legacy Repair

The PIC16F876-04/SP is found in older automotive body-control modules (door-lock controllers, seat controllers, instrument cluster back-end drivers) and remains a common replacement part for production-line repair. The 28-pin SPDIP package is socketable in legacy automotive PCBs, simplifying dealership repair workflows. The MCU operates from the standard 5 V automotive rail, and the USART/MSSP peripherals handle LIN-bus emulation via UART plus sensor and switch scan via I/O. Brown-out reset is critical for cranking-voltage dropouts in 12 V automotive systems. The watchdog timer with dedicated RC oscillator provides independent fail-safe against main clock glitches.

🔬

Instrumentation and Data Acquisition Front Ends

The PIC16F876-04/SP serves as a low-cost front-end controller in laboratory instrumentation and bench-top data-acquisition devices where its 10-bit ADC samples analog signals and the USART streams results to a host PC or display. The 256-byte EEPROM stores calibration coefficients and unit identification, while the 368-byte RAM buffers instantaneous sample windows. The MSSP peripheral can drive SPI ADC front-ends for higher-precision external conversion or I2C sensor breakouts. With 4 MHz clock, sustained sampling rates of a few hundred Hz are achievable, suitable for slow-changing process variables like temperature, pressure, and strain gauges in physics and chemistry labs.

🎓

Educational Embedded Platforms and Prototyping

The PIC16F876-04/SP is a staple in university embedded-systems courses and hobby prototyping because its 28-pin SPDIP form factor fits breadboards and perfboards cleanly, allowing through-hole soldering by students without surface-mount rework equipment. The 14 KB Flash holds complete student projects including interrupt-driven scheduling, I2C sensor reads, and UART debug output. ICSP via RB6/RB7 enables in-circuit programming and debugging without removing the chip from the board. The 35-instruction PIC16 mid-range instruction set is documented in Microchip datasheet DS30262D, simplifying teaching. Migrating from this part to the PIC16F876A-I/SP introduces nanoWatt and internal oscillator concepts in later coursework.

Recommended Products Summary

PIC16F873A-I/SP Same 28-pin SPDIP family with enhanced ADC for similar industrial sensor tasks Used in: Industrial Control and Sensor Signal Conditioning, HVAC Thermostat and Building Automation, Instrumentation and Data Acquisition Front Ends PIC16F876A-I/SP Drop-in successor with nanoWatt low-power modes for battery-backed sensors Used in: Industrial Control and Sensor Signal Conditioning, Motor Drive PWM Control, HVAC Thermostat and Building Automation, Automotive Body Electronics and Legacy Repair, Educational Embedded Platforms and Prototyping PIC16F876-20/SP Microchip Technology Used in: Motor Drive PWM Control, Instrumentation and Data Acquisition Front Ends PIC16F876-04I/SP Industrial temp grade variant suitable for under-hood automotive thermal environments Used in: Automotive Body Electronics and Legacy Repair PIC16F873-04/SP Microchip Technology Used in: Educational Embedded Platforms and Prototyping
What is the maximum clock frequency of the PIC16F876-04/SP?
The PIC16F876-04/SP has a maximum clock frequency of 4 MHz, executing instructions in 200 ns cycles. According to Microchip datasheet DS30262D, the "-04" speed grade limits the oscillator to 4 MHz; a "-20" speed grade version supports 20 MHz operation. At 4 MHz the core delivers 4 MIPS of throughput, which is sufficient for slow control loops, sensor polling, and human-interface applications.
How much program memory does the PIC16F876-04/SP have?
The PIC16F876-04/SP contains 14 KB (8192 words) of Flash program memory organized as 14-bit words, along with 368 bytes of data SRAM and 256 bytes of data EEPROM. According to Microchip documentation, the Flash supports 1000 erase/write cycles typical with 40-year data retention, while the EEPROM supports 1,000,000 erase/write cycles. The 14 KB program space accommodates roughly 7000-8000 lines of C or ~2000 lines of hand-written assembly.
Does the PIC16F876-04/SP have an ADC?
Yes, the PIC16F876-04/SP integrates a 10-bit successive-approximation ADC with up to 5 input channels multiplexed onto PORTA and PORTE. According to Microchip datasheet DS30262D, conversion completes in approximately 10-20 µs depending on oscillator configuration. The 10-bit resolution provides 1024 discrete codes (4.88 mV per LSB at 5 V VREF), adequate for sensor signal conditioning, battery monitoring, and potentiometer reading in embedded applications.
What package does the PIC16F876-04/SP use?
The PIC16F876-04/SP comes in a 28-pin SPDIP (Skinny Plastic DIP, 0.300 inch / 7.62 mm row spacing) through-hole package, identified by the "/SP" suffix. According to Microchip packaging conventions, "SP" denotes SPDIP; alternative suffixes include "/SO" for SOIC-28 and "/ML" for QFN. The SPDIP package is favored for prototyping, socketed designs, perfboard construction, and legacy through-hole PCB layouts that require hand-solderable parts.
What is the operating voltage range of the PIC16F876-04/SP?
The PIC16F876-04/SP operates from a supply voltage (VDD) of 4.0 V to 5.5 V. According to Microchip datasheet DS30262D, the device includes a brown-out reset circuit that holds the MCU in reset when VDD falls below a programmed threshold. The 5 V-only operation (no 3.3 V support) is a key limitation versus the later PIC16F876A "LF" variant and should be considered when migrating from this part.
What are the communication peripherals on the PIC16F876-04/SP?
The PIC16F876-04/SP integrates a hardware USART supporting asynchronous and synchronous serial modes plus an MSSP (Master Synchronous Serial Port) that handles both SPI and I2C in master or slave configurations. According to Microchip datasheet DS30262D, the USART enables RS-232/RS-485 communication for point-to-point links, while the MSSP can interface to EEPROMs, sensors, displays, and other MCUs. These peripherals eliminate the need for bit-banged serial on the application code.
What is the difference between PIC16F876 and PIC16F876A?
The PIC16F876A is the enhanced successor to the PIC16F876, adding nanoWatt technology (multiple low-power sleep modes), a 1% accurate internal oscillator, and improved ADC performance. According to Microchip migration documents, the PIC16F876A is largely code-compatible and pin-compatible with the PIC16F876 in SPDIP-28, but new designs should use the 'A' variant for power efficiency. The PIC16F876-04/SP remains in production for legacy and through-hole replacement needs.
Where can I buy the PIC16F876-04/SP online?
The PIC16F876-04/SP is available from major distributors including DigiKey, Mouser, Arrow, and Heisener, typically priced between $3 and $5 per unit in single-piece quantities as of 2026-09-21. Octopart lists 12 distributors carrying the part. Lead time is generally in stock at DigiKey ("ships today" status observed in 2026 listings). For bulk orders, volume discounts bring 1000-piece pricing to approximately $2.50-$3.00 per unit.
What is the price of the PIC16F876-04/SP at qty 100?
As of 2026-09-21, the PIC16F876-04/SP prices at approximately $3.60 per unit in 100-piece quantities from authorized distributors such as DigiKey and Mouser, with 1000-piece pricing dropping to roughly $2.88 per unit. Pricing varies by distributor and reel/tube format. Octopart is recommended for comparing real-time pricing across all 12 distributors carrying the part. Industrial-grade automotive volume is not applicable for this commercial-grade device.
What is the lead time for the PIC16F876-04/SP?
The PIC16F876-04/SP has a lead time of typically in-stock at major distributors as of 2026-09-21, with DigiKey listing "ships today" status on their product page. According to distributor inventory data, this part is generally available from stock with no factory lead-time concerns. For very large production orders (10K+ units), expect 6-12 weeks from Microchip direct, but distributor inventory usually suffices for smaller production runs.
What is the best drop-in replacement for PIC16F876-04/SP?
The best drop-in replacement for PIC16F876-04/SP is the PIC16F876A-I/SP, which is pin-compatible in the same 28-pin SPDIP package and adds nanoWatt low-power modes plus a more accurate internal oscillator. According to Microchip compatibility documentation, the PIC16F876A requires only minor code adjustments for the new oscillator module. For legacy code compatibility, the PIC16F876-04I/SP (industrial temp) is identical silicon in a different temp grade.
Where can I download the PIC16F876-04/SP datasheet PDF?
The PIC16F876-04/SP datasheet (document 30262D) can be downloaded from Microchip's website at the product page https://www.microchip.com/en-us/product/PIC16F876. According to the Microchip documentation index, the datasheet is also distributed as DS30262D and includes pinout, electrical characteristics, instruction set, and peripheral usage. The datasheet PDF file size is approximately 3.5 MB and covers the entire PIC16F87X family (873/874/876/877) on 218 pages.
Where can I find the PIC16F876-04/SP pinout?
The PIC16F876-04/SP pinout for the 28-pin SPDIP package assigns pin 1 to RA0 (AN0), pin 2 to RA1 (AN1), pin 28 to RB7 (PGD), and pin 27 to RB6 (PGC) for ICSP. According to Microchip datasheet DS30262D, the full SPDIP-28 pinout is documented in the "Pinout Description" section, with PORT A on pins 1-7 and 2, PORT B on pins 21-28, PORT C on pins 11-17, and PORTE on pin 8 plus pin 1 (RE3/MCLR). The MIT Handouts site also has a public pinout reference PDF.
What are the key specifications of the PIC16F876-04/SP that engineers should know?
The PIC16F876-04/SP is an 8-bit PIC mid-range microcontroller in 28-pin SPDIP with 14 KB Flash, 368 B SRAM, 256 B EEPROM, 4 MHz max clock (200 ns instruction cycle), 4.0-5.5 V VDD, 22 I/O pins, 10-bit/5-channel ADC, USART, MSSP (SPI/I2C), 3 timers, watchdog with dedicated RC, ICSP via RB6/RB7, and brown-out reset. According to Microchip datasheet DS30262D, the Flash endurance is 1K cycles and data retention is 40 years, making it suitable for low-volume industrial and legacy automotive applications.
Is the PIC16F876-04/SP the same as the PIC16F876A-I/SP?
No, the PIC16F876-04/SP and PIC16F876A-I/SP are different generations, though they share the same 28-pin SPDIP package and largely the same pinout. According to Microchip documentation, the PIC16F876A adds nanoWatt technology (low-power sleep modes), a 1% internal oscillator, and improved ADC specs, while the original PIC16F876 lacks these features. Both parts run from 4.0-5.5 V VDD and execute the PIC16F mid-range instruction set. The PIC16F876A is the recommended replacement for new designs.
When should I choose the PIC16F876-04/SP over the PIC16F886?
Choose the PIC16F876-04/SP over the PIC16F886 when you require a 28-pin SPDIP through-hole package for legacy PCB compatibility, socketed designs, or hand-solderable prototypes. According to Microchip's product page, the PIC16F886 is the newer recommended successor but is only available in surface-mount packages (SOIC-28, QFN-28, SPDIP-28). If your board layout already has SPDIP-28 footprints and you need to maintain drop-in compatibility, the original PIC16F876-04/SP is the right choice.
PIC16F876-04/SP vs PIC16F876A-I/SP - which is better for a new design?
For a new design in 2026, the PIC16F876A-I/SP is the better choice because it adds nanoWatt low-power modes, a more accurate 1% internal oscillator (eliminating external crystal in many cases), and improved ADC performance, all while maintaining the same 28-pin SPDIP footprint and 4.0-5.5 V supply range. According to Microchip documentation, the PIC16F876A is largely code-compatible with the original PIC16F876. The PIC16F876-04/SP should be reserved for legacy board repairs or exact drop-in replacements where silicon must match original BOM.

Engineering reference data for PIC16F876-04/SP — comparison, design guidance, and compliance information.

Selection Guide

Choose the PIC16F876-04/SP when your design requires an exact drop-in replacement on an existing 28-pin SPDIP PCB footprint, when servicing legacy boards in production, or when teaching the PIC16F mid-range instruction set in educational contexts. The 4 MHz speed grade is appropriate for slow control loops and human-interface applications. For new designs, prefer the PIC16F876A-I/SP, which adds nanoWatt low-power modes and a 1% accurate internal oscillator while remaining pin-compatible in the same SPDIP package. For higher performance, the PIC16F876-20/SP or PIC16F876A at 20 MHz provides 5x the throughput. If Flash memory budget is tight, the PIC16F873-04/SP offers 7 KB in the same footprint, suitable for minimal firmware. For automotive or industrial temperature ranges, choose the 'I' (industrial, -40°C to +85°C) variants.

Comparison with Alternatives

Parameter This Product PIC16F876-04I/SP PIC16F876-20/SP PIC16F876A-I/SP PIC16F873-04/SP PIC16F873A-I/SP
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 28-pin SPDIP 28-pin SPDIP - same 28-pin SPDIP - same 28-pin SPDIP - same 28-pin SPDIP - same 28-pin SPDIP - same
Maximum Clock Frequency 4 MHz 4 MHz 20 MHz 20 MHz 4 MHz 20 MHz
Program Memory (Flash) 14 KB 14 KB 14 KB 14 KB 7 KB 7 KB
Data RAM 368 bytes 368 bytes 368 bytes 368 bytes 192 bytes 192 bytes
Data EEPROM 256 bytes 256 bytes 256 bytes 256 bytes 128 bytes 128 bytes
ADC 10-bit, 5 channels 10-bit, 5 channels 10-bit, 5 channels 10-bit, 5 channels 10-bit, 5 channels 10-bit, 5 channels
Operating Temperature 0°C to +70°C (commercial) -40°C to +85°C (industrial) 0°C to +70°C -40°C to +85°C 0°C to +70°C -40°C to +85°C
Supply Voltage 4.0 V to 5.5 V 4.0 V to 5.5 V 4.0 V to 5.5 V 2.0 V to 5.5 V 4.0 V to 5.5 V 2.0 V to 5.5 V
Low-Power (nanoWatt) Modes No No No Yes No Yes

Key Differentiators

  • Through-hole SPDIP package for legacy PCB compatibility (vs PIC16F876A-I/SP)
  • Mature legacy design support with extensive documentation (vs PIC16F886)
  • Larger 14 KB Flash versus PIC16F873 family members (vs PIC16F873-04/SP)

Design Notes

The PIC16F876-04/SP requires a regulated 4.0 V to 5.5 V VDD supply with a decoupling capacitor (typically 100 nF ceramic) placed within 5 mm of the VDD pin, plus a bulk capacitor (10 µF tantalum or aluminum) at the board power entry. The brown-out reset (BOR) holds the MCU in reset when VDD drops below the configured threshold (typically ~4.0 V), preventing code execution from corrupted Flash states. For automotive cranking environments, add a TVS clamp and series ferrite on the 12 V supply feeding the 5 V regulator.

Place the decoupling capacitor as close as possible to pin 10 (VDD) and pin 11 (VSS). For crystal-oscillator operation, keep the crystal or resonator and its load capacitors within 5 mm of pins 12 (OSC1) and 13 (OSC2); trace lengths should be symmetric and short to minimize stray capacitance. ICSP pins (RB6/RB7 on pins 27/28 in the SPDIP package) should route to a 2x3 or 1x6 header with no series resistors, per Microchip ICD header guidelines. MCLR (pin 1) requires a 10 kΩ pull-up to VDD; do not leave MCLR floating.

Do not confuse the PIC16F876-04/SP (4 MHz speed grade, 14 KB Flash, 256 B EEPROM, 5 V only) with the PIC16F876A-I/SP (enhanced silicon, 20 MHz max, 2.0-5.5 V, nanoWatt technology). New designs should default to the 'A' variant. The 28-pin SPDIP package is identified by suffix "/SP"; do not confuse with "/SO" (SOIC-28) or "/ML" (QFN-28) which require different PCB footprints. When migrating legacy code, verify CONFIG bits since the BOR threshold and oscillator selection changed between PIC16F876 and PIC16F876A.

Compliance Information

RoHS
Unknown
REACH
Unknown
AEC-Q100
Not Qualified
Lead Free
Unknown
Halogen Free
Unknown
Conflict Minerals
Compliant

RoHS, REACH, lead-free, and halogen-free status not confirmed in the verified web data; recommend verifying directly with Microchip's product compliance page. The PIC16F876-04/SP is commercial-grade, not AEC-Q100 qualified; use automotive-grade PIC variants for vehicle applications.

Data verified on: 2026-09-21 — data verified and curated by XAIPART's component engineering team

Related Searches

PIC16F876-04/SP PIC16F876-04/SP datasheet Microchip PIC16F876-04/SP PIC16F876 28-pin SPDIP 4MHz 8-bit PIC microcontroller 14KB Flash SPDIP PIC16F876 industrial control sensor PIC16F876-04/SP vs PIC16F876A-I/SP PIC16F876-04/SP drop-in replacement PIC16F876-04/SP buy price what is the program memory of PIC16F876 PIC16F876 SPDIP-28 pinout PIC16F87X family migration guide PIC16F876 legacy automotive replacement PIC16F876 lead time distributor stock PIC16F876A nanoWatt low power upgrade

Related Components & Terms

Microchip Technology PIC16F876-04/SP PIC16F876 PIC16F876A PIC16F873 PIC16F873A PIC16F87X PIC16F886 8-bit microcontroller MCU PIC16 mid-range core RISC Flash program memory EEPROM SRAM 10-bit ADC USART MSSP SPI I2C ICSP ICD 28-pin SPDIP through-hole package Brown-out reset Watchdog timer RoHS AEC-Q100 industrial control HVAC thermostat automotive body electronics sensor signal conditioning motor drive PWM instrumentation data acquisition embedded education
Quick Quote RFQ
Fill in complete details — our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
✓
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details