PIC16F876T-04I/SO - 4MHz 8-bit Flash MCU, 14KB, 28-SOIC | Microchip
MPN: PIC16F876T-04I/SO ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $7.96 | $7.96 |
| 10 | $7.16 | $71.60 |
| 100 | $6.42 | $642.00 |
| 500 | $5.78 | $2,890.00 |
| 1,000 | $5.21 | $5,210.00 |
PIC16F876T-04I/SO Overview
A microcontroller (MCU) is a single-chip computer containing a CPU core, non-volatile program memory, working RAM, and on-chip peripherals. The PIC16F876 belongs to Microchip's mid-range PIC16 family, which uses a 14-bit instruction set with only 35 single-word instructions, providing deterministic execution and easy assembly-level debugging. Within the broader taxonomy, MCUs sit above general-purpose microprocessors by integrating memory and I/O on-die, enabling compact, low-power embedded designs across industrial, automotive aftermarket, consumer, and instrumentation markets.
Differentiating features of the PIC16F876T-04I/SO include its 14 KB of self-programmable Flash (allowing in-circuit firmware upgrades via ICSP), 256 bytes of true EEPROM for non-volatile parameter storage, an integrated 10-bit ADC with up to 8 input channels, and the MSSP block which can be configured as either SPI or I2C. The wide 2.0-5.5 V supply range supports both 3.3 V and 5 V designs without external level shifters. The 200 ns instruction cycle at 4 MHz oscillator produces deterministic interrupt latency, important in real-time control loops such as motor drives and sensor sampling.
Architecturally, the PIC16F876 uses a Harvard architecture with separate program and data buses, a hardware multiplier is absent in this mid-range core (multiplication is software-emulated), and the device includes a watchdog timer with its own on-chip RC oscillator for fail-safe operation. The CMOS process delivers low power consumption with sleep currents typically in the microampere range, suitable for battery-backed or energy-harvesting applications.
Typical applications include industrial sensor conditioning with ADC, low-cost motor control with PWM/CCP, sensor networks with SPI/I2C peripherals, instrumentation front-ends, and educational platforms where PIC16-series familiarity accelerates development. The Microchip PIC16F886 is the recommended modern successor with enhanced features.
When designing with this MCU, reserve at least one I/O pin for ICSP programming (PGD/PGC) and ensure the MCLR pin has the proper pull-up configuration; in-circuit serial programming requires the device to be reachable via these dedicated pins during firmware update.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet alone.
Drop-in alternatives for PIC16F876T-04I/SO — 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 PIC16F876T-04I/SO (same form factor and footprint) — differing in ADC, Package, Operating Temperature, Timers, Core Architecture.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16F876-04I/SO
✅ Drop-In✓ In Stock
$5.05 / Unit
View Datasheet →PIC16F876A-I/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F876-20I/SO
✅ Drop-In✓ In Stock
$7.16 / Unit
View Datasheet →PIC16F873T-04I/SO
✅ Drop-In✓ In Stock
$4.2 / Unit
View Datasheet →PIC16F876T-04/SO
✅ Drop-In✓ In Stock
$2.21 / Unit
View Datasheet →PIC16F876T-04E/SO
✅ Drop-In✓ In Stock
$4.4 / Unit
View Datasheet →PIC16F876AT-I/SO
✅ Drop-In✓ In Stock
$4.3 / Unit
View Datasheet →PIC16F876T-04I/SO Maximum Ratings & Electrical Characteristics
| Architecture | PIC16 (Harvard, 14-bit instruction) |
| Core | 8-bit RISC |
| Instruction Set | 35 single-word instructions |
| Maximum Clock Frequency | 4 MHz (this grade) |
| Instruction Cycle Time | 200 ns |
| Program Memory (Flash) | 14 KB (8K x 14) |
| RAM | 368 bytes |
| EEPROM | 256 bytes |
| I/O Pins | 22 |
| ADC | 10-bit, multi-channel |
| Timers | Two 8-bit, one 16-bit |
| Serial Interfaces | USART, MSSP (SPI/I2C), CCP |
| Operating Voltage | 2.0 V to 5.5 V |
| Operating Temperature | -40C to +85C (Industrial, I grade) |
| Package | 28-pin SOIC (SO) |
| Mounting Type | Surface Mount |
| RoHS Status | Compliant |
| Programming | ICSP (In-Circuit Serial Programming) |
| Watchdog Timer | Yes, with dedicated RC oscillator |
PIC16F876T-04I/SO Pin Configuration
| Pin 1 | MCLR/VPP — Master Clear (reset) input / programming voltage |
| Pin 2 | RA0/AN0 — PORTA bit 0 / ADC input 0 |
| Pin 3 | RA1/AN1 — PORTA bit 1 / ADC input 1 |
| Pin 4 | RA2/AN2/VREF- — PORTA bit 2 / ADC input 2 / ADC VREF- |
| Pin 5 | RA3/AN3/VREF+ — PORTA bit 3 / ADC input 3 / ADC VREF+ |
| Pin 6 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| Pin 7 | RA5/AN4/SS — PORTA bit 5 / ADC input 4 / SPI slave select |
| Pin 8 | RE0/RD/AN5 — PORTE bit 0 / parallel port read / ADC input 5 |
| Pin 9 | RE1/WR/AN6 — PORTE bit 1 / parallel port write / ADC input 6 |
| Pin 10 | RE2/CS/AN7 — PORTE bit 2 / parallel port CS / ADC input 7 |
| Pin 11 | VDD — Positive supply voltage |
| Pin 12 | VSS — Ground reference |
| Pin 13 | OSC1/CLKIN — Oscillator crystal input / external clock input |
| Pin 14 | OSC2/CLKOUT — Oscillator crystal output / clock output |
| Pin 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| Pin 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 output |
| Pin 17 | RC2/CCP1 — PORTC bit 2 / CCP1 PWM output |
| Pin 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| Pin 19 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| Pin 20 | RC5/SDO — PORTC bit 5 / SPI data out |
| Pin 21 | RC6/TX/CK — PORTC bit 6 / USART TX / USART clock |
| Pin 22 | RC7/RX/DT — PORTC bit 7 / USART RX / USART data |
| Pin 23 | RB0/INT — PORTB bit 0 / external interrupt |
| Pin 24 | RB1 — PORTB bit 1 |
| Pin 25 | RB2 — PORTB bit 2 |
| Pin 26 | RB3/PGM — PORTB bit 3 / LVP programming |
| Pin 27 | RB4 — PORTB bit 4 |
| Pin 28 | RB5 — PORTB bit 5 |
Typical Applications
PIC16F876T-04I/SO is suitable for 6 applications: Industrial Sensor Signal Conditioning, Low-Cost Motor Control with PWM/CCP, Sensor Networks with I2C/SPI Peripherals, Test and Measurement Instrumentation, Automotive Aftermarket Accessories, Educational and Hobbyist Development.
Industrial Sensor Signal Conditioning
The PIC16F876T-04I/SO is well-suited for multi-sensor industrial conditioning boards due to its 10-bit ADC, 22 I/O, and 2.0-5.5 V supply range. The integrated ADC samples up to 8 analog channels simultaneously, while USART/MSSP provide connectivity to upstream PLCs or HMIs. Industrial temperature grade (-40C to +85C) supports factory-floor deployment. The 14 KB Flash holds calibration tables and linearization firmware for thermocouple, RTD, and bridge sensor inputs, reducing external component count.
Recommended
Low-Cost Motor Control with PWM/CCP
The PIC16F876T-04I/SO's Capture/Compare/PWM (CCP) module delivers hardware-generated PWM for DC motor speed control, brushed servo position loops, and small BLDC commutation. With a 200 ns instruction cycle at 4 MHz, deterministic PWM timing supports 10 kHz+ switching frequencies for torque ripple smoothing. The 22 GPIO enable H-bridge direction logic, tachometer feedback via timer capture, and fault interrupt inputs. Industrial -40C to +85C range allows under-hood and motor housing deployment.
Recommended
Sensor Networks with I2C/SPI Peripherals
The PIC16F876T-04I/SO's MSSP block implements either SPI or I2C master/slave protocols, enabling multi-drop sensor networks with digital accelerometers, EEPROM, and display drivers. With 14 KB Flash, networking stacks for I2C device discovery and SPI daisy-chaining fit within program memory. The 22 GPIO provide chip-select lines for multiple SPI slaves. USART supports RS-485 modbus connectivity for industrial sensor buses requiring multi-drop addressing on a single twisted pair.
Recommended
Test and Measurement Instrumentation
The PIC16F876T-04I/SO functions as a control MCU in handheld DMMs, oscilloscope front-ends, and lab instrumentation, leveraging its 10-bit ADC for measurement channels and USART for PC connectivity. Industrial temperature grade allows field-instrument deployment. The 14 KB Flash accommodates measurement algorithm libraries and calibration coefficients. Five I/O ports enable keypad scanning, LCD driving (via port multiplexing), and trigger input handling common in portable test equipment.
Recommended
Automotive Aftermarket Accessories
While not AEC-Q100 qualified, the PIC16F876T-04I/SO's industrial -40C to +85C range supports automotive aftermarket accessories such as alarm systems, GPS trackers, and interior lighting controllers operating in cabin environments. The 14 KB Flash holds encryption routines and protocol stacks. CCP-driven PWM drives LED channels with hardware-fade control, while ADC inputs monitor battery voltage and temperature sensors. The 28-SOIC package suits through-hole-to-SMD adapter boards for retrofit installations.
Recommended
Educational and Hobbyist Development
The PIC16F876T-04I/SO is widely used in educational settings due to its 35-instruction PIC16 mid-range core - easy to teach in one semester while powerful enough for real projects. The 14 KB Flash accommodates student projects from LED blinkers to PID controllers. ICSP programming via PGD/PGC pins allows in-circuit firmware updates without chip removal. The 28-SOIC package is breadboard-friendly with SOIC-to-DIP adapter boards, making it ideal for university embedded systems courses and maker projects.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F876T-04I/SO — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F876-04I/SO | PIC16F876A-I/SO | PIC16F876-20I/SO | PIC16F873T-04I/SO | PIC16F876T-04/SO |
|---|---|---|---|---|---|---|
| Package | 28-SOIC | 28-SOIC - same | 28-SOIC - same | 28-SOIC - same | 28-SOIC - same | 28-SOIC - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Memory (Flash) | 14 KB | 14 KB | 14 KB | 14 KB | 8 KB | 14 KB |
| Maximum Clock Frequency | 4 MHz | 4 MHz | 20 MHz (with internal osc) | 20 MHz | 4 MHz | 4 MHz |
| RAM | 368 bytes | 368 bytes | 368 bytes | 368 bytes | 192 bytes | 368 bytes |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 128 bytes | 256 bytes |
| Temperature Grade | Industrial (-40C to +85C) | Industrial (-40C to +85C) | Industrial (-40C to +85C) | Industrial (-40C to +85C) | Industrial (-40C to +85C) | Commercial (0C to +70C) |
| I/O Pins | 22 | 22 | 22 | 22 | 22 | 22 |
Key Differentiators
- Same die as PIC16F876-04I/SO with industrial grade (vs PIC16F876-04I/SO)
- Higher clock speed grade available in same package (vs PIC16F876-20I/SO)
- Larger memory than PIC16F873 in same package (vs PIC16F873T-04I/SO)
- Modern A-revision upgrade available in same package (vs PIC16F876A-I/SO)
Design Notes
Decouple VDD with a 100 nF ceramic capacitor placed within 5 mm of the VDD pin (pin 11) and a bulk 10 uF tantalum or aluminum electrolytic capacitor on the same rail. The PIC16F876 has separate analog (AVDD) and digital VDD considerations - for noise-sensitive ADC applications, add a ferrite bead between digital VDD and analog VDD. Sleep current is typically under 1 uA when peripherals are disabled, enabling battery-backed designs.
Route the ICSP signals PGD (RB7, pin 28) and PGC (RB6, pin 27) to a 6-pin header with 0.1 inch spacing for PICkit programming. Keep MCLR (pin 1) trace short and place the MCLR pull-up resistor (typically 10 kOhm) close to the pin to avoid spurious resets from EMI. The 28-SOIC land pattern requires SOIC-28 standard pad dimensions per IPC-7351 with 0.65 mm pin pitch.
The PIC16F876 requires configuration bits set at programming time for oscillator selection (HS, XT, LP, RC) - incorrect configuration is the most common reason for first-program failure. Brown-out reset (BOR) should be enabled in configuration bits for industrial designs to prevent code runaway during voltage dips. The watchdog timer must be either enabled and cleared in firmware, or disabled in configuration to avoid unintended resets. Configuration bits are documented in the PIC16F876 datasheet register section.
When using the ADC, place a 100 nF bypass capacitor on the VREF+ pin (RA3) if external reference is used; the internal 2.5V or 5V reference has limited drive strength. For 10-bit ADC accuracy, source impedance should be below 10 kOhm to avoid acquisition time errors - add an op-amp buffer if sensor output impedance is higher. ADC clock selection (Fosc/8, /16, /32, /64) must satisfy the minimum 1.6 us acquisition time per datasheet timing specifications.
Compliance Information
RoHS compliant and lead-free per Microchip product documentation. Industrial temperature grade. Not AEC-Q100 qualified - this is a commercial/industrial MCU, not automotive grade.