PIC16F876T-04I/SO - 4MHz 8-bit Flash MCU, 14KB, 28-SOIC | Microchip
料号: PIC16F876T-04I/SO ✓ 量产中| 数量 | 单价 | 小计 |
|---|---|---|
| 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 概述
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.
直接替换替代料: PIC16F876T-04I/SO ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。
本系列中的变体
可与以下型号直接替换的同系列型号: PIC16F876T-04I/SO (相同外形与封装尺寸) ——差异在于 ADC, Package, Operating Temperature, Timers, Core Architecture.
快速对比工具——选择替代料号进行并排对比:
PIC16F876-04I/SO
✅ 直接替换✓ 有现货
$5.05 / 个
查看数据手册 →PIC16F876A-I/SO
✅ 直接替换📋 参考替代料(不在目录中)
PIC16F876-20I/SO
✅ 直接替换✓ 有现货
$7.16 / 个
查看数据手册 →PIC16F873T-04I/SO
✅ 直接替换✓ 有现货
$4.2 / 个
查看数据手册 →PIC16F876T-04/SO
✅ 直接替换✓ 有现货
$2.21 / 个
查看数据手册 →PIC16F876T-04E/SO
✅ 直接替换✓ 有现货
$4.4 / 个
查看数据手册 →PIC16F876AT-I/SO
✅ 直接替换✓ 有现货
$4.3 / 个
查看数据手册 →PIC16F876T-04I/SO 最大额定值与电气特性
| Architecture | PIC16 (Harvard, 14-bit instruction) |
| Core | 8-bit RISC |
| Instruction Set | 35 single-word instructions |
| 最大时钟频率 | 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 |
| 工作温度 | -40C to +85C (Industrial, I grade) |
| 封装 | 28-pin SOIC (SO) |
| 安装类型 | Surface Mount |
| RoHS 状态 | Compliant |
| Programming | ICSP (In-Circuit Serial Programming) |
| Watchdog Timer | Yes, with dedicated RC oscillator |
PIC16F876T-04I/SO 引脚配置
| 引脚 1 | MCLR/VPP — Master Clear (reset) input / programming voltage |
| 引脚 2 | RA0/AN0 — PORTA bit 0 / ADC input 0 |
| 引脚 3 | RA1/AN1 — PORTA bit 1 / ADC input 1 |
| 引脚 4 | RA2/AN2/VREF- — PORTA bit 2 / ADC input 2 / ADC VREF- |
| 引脚 5 | RA3/AN3/VREF+ — PORTA bit 3 / ADC input 3 / ADC VREF+ |
| 引脚 6 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| 引脚 7 | RA5/AN4/SS — PORTA bit 5 / ADC input 4 / SPI slave select |
| 引脚 8 | RE0/RD/AN5 — PORTE bit 0 / parallel port read / ADC input 5 |
| 引脚 9 | RE1/WR/AN6 — PORTE bit 1 / parallel port write / ADC input 6 |
| 引脚 10 | RE2/CS/AN7 — PORTE bit 2 / parallel port CS / ADC input 7 |
| 引脚 11 | VDD — Positive supply voltage |
| 引脚 12 | VSS — Ground reference |
| 引脚 13 | OSC1/CLKIN — Oscillator crystal input / external clock input |
| 引脚 14 | OSC2/CLKOUT — Oscillator crystal output / clock output |
| 引脚 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| 引脚 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 output |
| 引脚 17 | RC2/CCP1 — PORTC bit 2 / CCP1 PWM output |
| 引脚 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| 引脚 19 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| 引脚 20 | RC5/SDO — PORTC bit 5 / SPI data out |
| 引脚 21 | RC6/TX/CK — PORTC bit 6 / USART TX / USART clock |
| 引脚 22 | RC7/RX/DT — PORTC bit 7 / USART RX / USART data |
| 引脚 23 | RB0/INT — PORTB bit 0 / external interrupt |
| 引脚 24 | RB1 — PORTB bit 1 |
| 引脚 25 | RB2 — PORTB bit 2 |
| 引脚 26 | RB3/PGM — PORTB bit 3 / LVP programming |
| 引脚 27 | RB4 — PORTB bit 4 |
| 引脚 28 | RB5 — PORTB bit 5 |
典型应用
PIC16F876T-04I/SO 适用于 6 应用s: 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.
推荐
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.
推荐
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.
推荐
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.
推荐
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.
推荐
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.
推荐
推荐产品汇总
工程参考数据: PIC16F876T-04I/SO ——对比、设计指导和合规信息。
选型指南
与替代料对比
| 参数 | 本产品 | 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 |
关键差异点
- Same die as PIC16F876-04I/SO with industrial grade (对比 PIC16F876-04I/SO)
- Higher clock speed grade available in same package (对比 PIC16F876-20I/SO)
- Larger memory than PIC16F873 in same package (对比 PIC16F873T-04I/SO)
- Modern A-revision upgrade available in same package (对比 PIC16F876A-I/SO)
设计说明
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.
合规信息
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.