PIC16F876T-04E/SO - 8-bit PIC MCU 14KB Flash 4MHz SOIC-28 | Microchip
MPN: PIC16F876T-04E/SO ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $7.2 | $7.20 |
| 10 | $6.4 | $64.00 |
| 100 | $5.55 | $555.00 |
| 500 | $4.95 | $2,475.00 |
| 1,000 | $4.4 | $4,400.00 |
PIC16F876T-04E/SO Overview
A PIC microcontroller (Peripheral Interface Controller) is a family of 8/16/32-bit RISC microcontrollers built on a Harvard architecture that separates program and data memory buses, enabling simultaneous fetch and access. The PIC16F mid-range core uses a 14-bit instruction word set, only 35 single-word instructions, a hardware stack, and direct/indirect addressing modes. Within the broader taxonomy, PIC16F microcontrollers sit between the baseline PIC10/12/16 families and the high-performance PIC18/PIC24/dsPIC families, and are members of the wider class of Flash-based microcontrollers under the MCU (microcontroller unit) umbrella of integrated circuits.
Key features of the PIC16F876T-04E/SO include in-circuit serial programming (ICSP) via two pins, in-circuit debugging, a watchdog timer with its own on-chip RC oscillator, a power-on reset, brown-out detect (BOD), power-saving sleep mode, and programmable code protection. The 256-byte on-chip EEPROM supports 1 million erase/write cycles typical, while Flash program memory supports 1000 erase/write cycles typical. The enhanced (-E) temperature range provides -40C to +125C operation suitable for industrial environments.
Architecturally, the PIC16F876 uses a RISC CPU with single-cycle instruction execution except for program branches, an 8-bit ALU, and a 14-bit program memory bus. The ADC, communications peripherals, and timers operate independently from the CPU via the peripheral interrupt controller, allowing deterministic response times for real-time embedded applications.
Typical applications include industrial control systems, sensor interfaces, motor control, consumer electronics, automotive body electronics, HVAC controls, and low-power remote sensor nodes. The combination of small footprint, low cost, and integrated ADC plus serial peripherals makes it well suited for cost-sensitive embedded designs.
When designing with this MCU, allocate the ADC acquisition time carefully with respect to source impedance, and use a 0.1uF decoupling capacitor on VDD placed close to the pin. Brown-out reset and watchdog timer should be enabled in safety-critical applications.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet.
Drop-in alternatives for PIC16F876T-04E/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-04E/SO (same form factor and footprint) — differing in ADC, Package, Core Architecture, Timers, Operating Temperature.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16F876T-04/SO
✅ Drop-In✓ In Stock
$2.21 / Unit
View Datasheet →PIC16F876A-I/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F876AT-I/SO
✅ Drop-In✓ In Stock
$4.3 / Unit
View Datasheet →PIC16F876-04I/SO
✅ Drop-In✓ In Stock
$5.05 / Unit
View Datasheet →PIC16F876-20I/SO
✅ Drop-In✓ In Stock
$7.16 / Unit
View Datasheet →PIC16F873T-04E/SO
✅ Drop-In✓ In Stock
$4.85 / Unit
View Datasheet →PIC16F876T-04E/SO Maximum Ratings & Electrical Characteristics
| Core | 8-bit RISC PIC16 mid-range |
| Instruction Set Width | 14-bit |
| Program Memory (Flash) | 14 KB (8K x 14 words) |
| RAM | 368 bytes |
| EEPROM | 256 bytes |
| Maximum Clock Frequency | 4 MHz |
| Instruction Execution Time | 200 ns @ 4 MHz |
| Number of I/O Pins | 22 |
| ADC | 5 channels x 10-bit |
| Timers | 2 x 8-bit, 1 x 16-bit |
| Serial Interfaces | USART (sync/async), SPI, I2C (Master/Slave) |
| Package | 28-pin SOIC (SO) |
| Operating Temperature | -40C to +125C (Enhanced) |
| Operating Voltage (VDD) | 2.0 V to 5.5 V |
| Mounting Type | Surface Mount |
| MSL Level | 1 |
| Lead-Free / RoHS | Yes / Compliant |
PIC16F876T-04E/SO Pin Configuration
| Pin 1 | MCLR/VPP — Master Clear (Reset) input / Programming voltage input |
| Pin 2 | RA0/AN0 — Digital I/O / Analog input channel 0 |
| Pin 3 | RA1/AN1 — Digital I/O / Analog input channel 1 |
| Pin 4 | RA2/AN2 — Digital I/O / Analog input channel 2 |
| Pin 5 | RA3/AN3/VREF+ — Digital I/O / Analog input channel 3 / ADC positive voltage reference |
| Pin 6 | RA4/T0CKI — Digital I/O / Timer0 clock input (open-drain output) |
| Pin 7 | RA5/AN4/SS — Digital I/O / Analog input channel 4 / SPI Slave Select |
| Pin 8 | OSC2/CLKOUT — Oscillator crystal output / Clock output (Fosc/4) |
| Pin 9 | OSC1/CLKIN — Oscillator crystal input / External clock input |
| Pin 10 | RC0/T1OSO/T1CKI — Digital I/O / Timer1 oscillator output / Timer1 clock input |
| Pin 11 | RC1/T1OSI/CCP2 — Digital I/O / Timer1 oscillator input / Capture/Compare/PWM 2 |
| Pin 12 | RC2/CCP1 — Digital I/O / Capture/Compare/PWM 1 |
| Pin 13 | RC3/SCK/SCL — Digital I/O / SPI clock / I2C clock |
| Pin 14 | RC4/SDI/SDA — Digital I/O / SPI data in / I2C data |
| Pin 15 | RC5/SDO — Digital I/O / SPI data out |
| Pin 16 | RC6/TX/CK — Digital I/O / USART async transmit / USART sync clock |
| Pin 17 | RC7/RX/DT — Digital I/O / USART async receive / USART sync data |
| Pin 18 | VSS — Ground reference |
| Pin 19 | VDD — Positive supply voltage (+2.0V to +5.5V) |
| Pin 20 | RB0/INT — Digital I/O / External interrupt input |
| Pin 21 | RB1 — Digital I/O |
| Pin 22 | RB2 — Digital I/O |
| Pin 23 | RB3/PGM — Digital I/O / Low-voltage ICSP programming input |
| Pin 24 | RB4 — Digital I/O |
| Pin 25 | RB5 — Digital I/O |
| Pin 26 | RB6/PGC — Digital I/O / In-circuit debugger / ICSP clock |
| Pin 27 | RB7/PGD — Digital I/O / In-circuit debugger / ICSP data |
| Pin 28 | VSS — Ground reference |
Typical Applications
PIC16F876T-04E/SO is suitable for 7 applications: Industrial Sensor Interface Modules, HVAC Control Boards, Automotive Body Electronics, Consumer Appliance Control, Remote Sensor / Battery Nodes, Educational / Development Platforms, Power Supply Monitoring and Sequencing.
Industrial Sensor Interface Modules
The PIC16F876T-04E/SO fits industrial sensor interface modules because its 5-channel 10-bit ADC at 4 MHz provides sufficient resolution for temperature, pressure, and flow transducers, while the integrated I2C/SPI/USART peripherals handle digital sensor backbones. The enhanced -40C to +125C temperature rating tolerates factory-floor thermal swings and enclosure mounting near motors or drives. Place the MCU between the analog front end and an isolated RS-485 transceiver; its 22 I/O lines can also drive status LEDs and relay outputs. The 14 KB Flash comfortably holds MODBUS RTU firmware plus application logic.
Recommended
HVAC Control Boards
HVAC control boards benefit from the PIC16F876T-04E/SO because its 200 ns instruction cycle delivers deterministic timing for PID loops driving damper motors and compressor contactors. The 14 KB Flash fits typical HVAC state-machine firmware including defrost cycles and fault logging, while the 256-byte EEPROM stores user setpoints across power cycles. Wire the 5 ADC inputs to thermistor dividers for supply/return air sensing; the on-chip USART links to a wall thermostat or building automation bus. The 28-SOIC package is compact enough for in-duct control boxes.
Recommended
Automotive Body Electronics
Automotive body modules such as lighting controllers, seat position memories, and mirror adjusters are well served by the PIC16F876T-04E/SO thanks to its -40C to +125C enhanced range, 22 I/O for relay and switch interfaces, and 5 ADC channels for current sensing. The 14 KB Flash holds CAN-compatible firmware libraries and switch debouncing logic. Pair the MCU with an external CAN transceiver like MCP2515; the on-chip SPI bus links them with no glue logic. Note that AEC-Q100 qualification is not asserted for this commercial/industrial grade - choose PIC16F876A-E/SO for AEC-Q100 projects.
Recommended
Consumer Appliance Control
Consumer appliances including washing machines, dishwashers, and small kitchen equipment use the PIC16F876T-04E/SO for its balance of cost, integrated peripherals, and proven PIC ecosystem. The 5 ADC channels read water level, temperature, and motor current; the PWM-driven timer modules control triac-fired heater elements and motor drivers. The 256-byte EEPROM stores cycle counts and fault codes for service diagnostics. Production-line programming via ICSP (In-Circuit Serial Programming) requires only two pins, leaving the rest of the 22 I/O free for the user interface.
Recommended
Remote Sensor / Battery Nodes
Low-duty-cycle remote sensor nodes leverage the PIC16F876T-04E/SO sleep mode and watchdog timer to draw microamp-level standby current between measurements. The 14 KB Flash accommodates simple wireless protocol stacks; I2C connects to sensors like temperature/humidity ICs while UART interfaces to a low-power RF module. The 4 MHz maximum clock allows the MCU to wake, take a measurement, transmit, and return to sleep within milliseconds, extending battery life. Brown-out detect and watchdog ensure reliable operation in unattended deployments.
Recommended
Educational / Development Platforms
The PIC16F876T-04E/SO is widely used in university embedded systems courses and hobbyist development boards due to its 35-instruction RISC core, in-circuit debugging support, and extensive Microchip application-note library. Students benefit from the 28-SOIC's hand-solderable footprint for breadboard adapters, the 14 KB Flash for full program development, and the 22 I/O for LED, button, and LCD interfaces. The PICkit programmer/debugger connects via the ICSP pins without disturbing the application circuit, supporting iterative code development.
Recommended
Power Supply Monitoring and Sequencing
The PIC16F876T-04E/SO monitors multi-rail power supplies in telecom and industrial equipment, using its ADC to digitize rail voltages and its GPIO to drive sequencing FETs and fault LEDs. The 14 KB Flash fits state-machine firmware for hot-swap controllers and OR-ing logic; the 256-byte EEPROM logs brown-out events and rail voltage histograms for predictive maintenance. The 22 I/O lines can monitor up to 5 analog rails plus 17 discrete enable/fault signals, while the I2C bus links to a system supervisor for coordinated shutdown.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F876T-04E/SO — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F876T-04/SO | PIC16F876A-I/SO | PIC16F876AT-I/SO | PIC16F876-04I/SO | PIC16F876-20I/SO |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-SOIC | 28-SOIC | 28-SOIC | 28-SOIC | 28-SOIC | 28-SOIC |
| Program Memory (Flash) | 14 KB | 14 KB | 14 KB | 14 KB | 14 KB | 14 KB |
| RAM | 368 bytes | 368 bytes | 368 bytes | 368 bytes | 368 bytes | 368 bytes |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| Maximum Clock Frequency | 4 MHz | 4 MHz | 20 MHz | 20 MHz | 4 MHz | 20 MHz |
| Operating Temperature | -40C to +125C (E grade) | 0C to +70C (commercial) | -40C to +85C (industrial) | -40C to +85C (industrial) | -40C to +85C (industrial) | -40C to +85C (industrial) |
| ADC Channels | 5 x 10-bit | 5 x 10-bit | 5 x 10-bit (enhanced) | 5 x 10-bit (enhanced) | 5 x 10-bit | 5 x 10-bit |
| Number of I/O | 22 | 22 | 22 | 22 | 22 | 22 |
| Packaging | Tape & Reel | Tape & Reel | Tube | Tape & Reel | Tube | Tube |
Key Differentiators
- Enhanced -40C to +125C operating temperature range (vs PIC16F876T-04/SO)
- Modern PIC16F876A silicon with nanoWatt technology (vs PIC16F876A-I/SO)
- Lower-memory, smaller-footprint family member (vs PIC16F873T-04E/SO)
Design Notes
The PIC16F876T-04E/SO operates from 2.0V to 5.5V on VDD with respect to VSS. Place a 0.1uF ceramic decoupling capacitor as close as possible to the VDD pin (pin 19) and an additional 10uF bulk capacitor near the supply entry point. The brown-out detect (BOD) circuit should be enabled in configuration bits to reset the MCU when VDD falls below the programmed threshold (typically 4.0V or 2.0V), preventing code execution from corrupted Flash during supply brown-outs.
Route the crystal/oscillator traces (OSC1 pin 9, OSC2 pin 8) as short as possible and guard them with a ground pour to minimize EMI coupling. The MCLR/VPP pin (pin 1) requires a 10k pull-up to VDD; adding a 100nF capacitor to ground creates a delayed reset that improves noise immunity. Keep the ICSP pins (RB6/PGC pin 26, RB7/PGD pin 27) accessible in the PCB layout for in-circuit programming and debugging without disturbing the application circuit.
Watchdog timer (WDT) is disabled by default - enable it in configuration bits for any safety-critical or unattended application to recover from software lockups. The PIC16F876 has separate configuration bits for code protection (CP), low-voltage programming (LVP), and brown-out detect (BOR); these must be set BEFORE programming. A common mistake is to leave LVP enabled and then accidentally drive RB3/PGM high during normal operation, which puts the MCU into programming mode. Disable LVP if not needed for production programming.
The ADC reference (VREF+ on RA3, pin 5) should be bypassed with 0.1uF and 10uF capacitors placed close to the pin for stable 10-bit conversions. The ADC acquisition time is software-controlled and depends on source impedance; for 10kohm source impedance, allow at least 15us acquisition time before starting conversion. When reading multiple channels in sequence, add 10us of settling time between channel switches to avoid crosstalk from the previous channel's charge on the internal sample-and-hold capacitor.
Compliance Information
RoHS compliant per Microchip product page. Lead-free per Microchip packaging markings. Not AEC-Q100 qualified - for automotive applications choose PIC16F876A-E/SO AEC-Q100 grade. Halogen-free status not explicitly stated in retrieved data.