PIC16LF876-04I/SP - 8-bit MCU, 14KB Flash, 4MHz, 28-SPDIP | Microchip
MPN: PIC16LF876-04I/SP ✓ Hoạt độngPIC16LF876-04I/SP Tóm tắt
An 8-bit microcontroller is a single-chip computer that integrates a CPU, RAM, non-volatile program memory, and peripheral interfaces on a single die. PIC microcontrollers use a Harvard RISC architecture with a small instruction set (35 single-word instructions) and one accumulator (W) plus a memory-mapped I/O register file, enabling deterministic execution and code compactness. The PIC16F family sits in the Microchip mid-range portfolio between 6-pin baseline PIC10/12/16 parts and 80+ pin PIC18/PIC24 high-pin-count families.
The PIC16LF876 includes five 10-bit ADC channels, two 8-bit timers plus one 16-bit timer, a synchronous serial port configurable for SPI or I2C (MSSP), an enhanced USART, a capture/compare/PWM (CCP) module, and a 10-bit ADC. The LF suffix denotes an extended low-voltage operating range down to 2.0V, supporting battery-powered applications. The -04 suffix indicates the 4MHz maximum oscillator frequency, and I denotes the industrial -40C to +85C temperature grade.
The device uses a 14-bit instruction word and includes an in-circuit serial programming (ICSP) interface plus an ICD-friendly debug port. Internal RC and crystal oscillator options enable operation without external clock components in cost-sensitive designs. The 22 I/O pins support peripheral pin select via the standard PIC16F peripheral mapping.
Typical applications include industrial sensor interfaces, low-power instrumentation, HVAC controllers, motor control PWM, and battery-powered remote sensor nodes. The 28-SPDIP package simplifies prototyping and rework on through-hole PCBs and breadboards.
When designing, ensure the MCLR reset circuit includes the recommended 10k pull-up and that Vdd is decoupled with a 100nF ceramic cap within 5mm of the package pin. Use ICD2/ICD3/PICKit3 for in-circuit debug rather than the older parallel programming interface.
This page synthesizes 28-SPDIP cross-reference data, parametric equivalents, and practical design notes not found in the standalone manufacturer datasheet.
Bộ thay thế dễ dàng lắp đặt cho PIC16LF876-04I/SP — cùng gói, chân-to-chân tương thích. Các bộ phận yêu cầu hàn PCB bị loại trừ.
Các biến thể trong loạt này
Các mẫu cùng loạt có thể lắp đặt dễ dàng tương thích với PIC16LF876-04I/SP (cùng hình factor và footprint) — khác nhau ở Package, Mounting Type, Timers, Communication, Operating Temperature.
PIC16LF876-20I/SP
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC16LF876-04I/SO
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16LF876-04I/P
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC16F876-04I/SP
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC16F886-I/SP
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC16LF876-04I/SP Tỷ lệ tối đa & tính chất điện
| Core Architecture | PIC16 8-bit RISC |
| Program Memory (Flash) | 14 KB (8K x 14 words) |
| Data SRAM | 368 bytes |
| Data EEPROM | 256 bytes |
| Tần số xung maksimum | 4 MHz |
| Instruction Cycle | 200 ns |
| Operating Voltage | 2.0 V to 5.5 V |
| I/O Pins | 22 |
| ADC | 10-bit, 5 channels |
| Timers | 2 x 8-bit, 1 x 16-bit |
| Communication | I2C, SPI, UART/USART (MSSP + EUSART) |
| CCP Modules | 1 (Capture/Compare/PWM) |
| Nhiệt độ hoạt động | -40 C to +85 C (Industrial grade) |
| Hộp | 28-pin SPDIP (300 mil) |
| Kiểu lắp đặt | Through-Hole |
| ICSP/ICD | Yes (In-Circuit Serial Programming + Debug) |
Cấu hình chân PIC16LF876-04I/SP
| Chân 1 | MCLR/Vpp — Master Clear reset input / programming voltage |
| Chân 2 | RA0/AN0 — Digital I/O / Analog input channel 0 |
| Chân 3 | RA1/AN1 — Digital I/O / Analog input channel 1 |
| Chân 4 | RA2/AN2 — Digital I/O / Analog input channel 2 |
| Chân 5 | RA3/AN3/Vref+ — Digital I/O / Analog input 3 / ADC Vref+ |
| Chân 6 | RA4/T0CKI — Digital I/O / Timer0 clock input (open-drain) |
| Chân 7 | RA5/AN4/SS — Digital I/O / Analog input 4 / SPI slave select |
| Chân 8 | Vss — Ground reference |
| Chân 9 | OSC1/CLKIN — Crystal oscillator input / external clock in |
| Chân 10 | OSC2/CLKOUT — Crystal oscillator output / clock out |
| Chân 11 | RC0/T1OSO/T1CKI — Digital I/O / Timer1 oscillator output |
| Chân 12 | RC1/T1OSI/CCP2 — Digital I/O / Timer1 oscillator in / CCP2 |
| Chân 13 | RC2/CCP1 — Digital I/O / CCP1 PWM output |
| Chân 14 | RC3/SCL/SCK — Digital I/O / I2C clock / SPI clock |
| Chân 15 | RC4/SDA/SDI — Digital I/O / I2C data / SPI data in |
| Chân 16 | RC5/SDO — Digital I/O / SPI data out |
| Chân 17 | RC6/TX/CK — Digital I/O / USART TX / USART clock |
| Chân 18 | RC7/RX/DT — Digital I/O / USART RX / USART data |
| Chân 19 | Vss — Ground reference |
| Chân 20 | Vdd — Positive supply voltage 2.0V-5.5V |
| Chân 21 | RB0/INT — Digital I/O / external interrupt |
| Chân 22 | RB1 — Digital I/O |
| Chân 23 | RB2 — Digital I/O |
| Chân 24 | RB3/PGM — Digital I/O / LVP programming |
| Chân 25 | RB4 — Digital I/O |
| Chân 26 | RB5 — Digital I/O |
| Chân 27 | RB6/PGC — Digital I/O / ICD clock |
| Chân 28 | RB7/PGD — Digital I/O / ICD data |
Ứng dụng tiêu biểu
PIC16LF876-04I/SP phù hợp cho 6 Áp dụngs: Industrial Sensor Interface, Battery-Powered Remote Sensor Node, HVAC Thermostat Controller, Low-Cost DC Motor Speed Controller, I2C/SPI Sensor Hub for Data Loggers, Educational / Hobbyist Development Platform.
Industrial Sensor Interface
The PIC16LF876-04I/SP suits industrial 4-20 mA sensor interfaces thanks to its 5-channel 10-bit ADC, industrial -40C to +85C temperature range, and 2.0V-5.5V wide Vdd that simplifies conditioning rail design. With 14 KB Flash it can host a Modbus RTU slave over the EUSART plus a sensor linearization table. The 22 I/O pins handle multiple analog inputs, digital status, and an isolated RS-485 transceiver enable. Pair with an ADM3252E isolated transceiver for high-noise factory floors, and rely on the low 2 uA typical sleep current for battery-backed gateways.
Được đề xuất
Battery-Powered Remote Sensor Node
The LF prefix and 2.0V Vdd minimum make the PIC16LF876-04I/SP ideal for battery-powered wireless sensor nodes powered by a single CR2032 or 2xAA. Its typical <2 uA sleep current combined with the internal 32 kHz Timer1 oscillator lets the MCU spend most of its life in sleep, waking periodically to read a sensor and transmit. With 14 KB Flash it can hold a small MAC plus sensor stack, while the 256-byte EEPROM stores calibration constants and node IDs that survive battery swaps. Pair with an RN2483 LoRa module for long-range, multi-year deployments.
Được đề xuất
HVAC Thermostat Controller
The PIC16LF876-04I/SP fits HVAC thermostat controllers with its CCP module providing PWM for triac-fired heater stages, 10-bit ADC for thermistor bridge readout, and EUSART for connection to a Wi-Fi module or HVAC bus. The 28-SPDIP package simplifies UL-listed thermostat housings that still use through-hole power stages. Industrial temperature grade tolerates attic installations where temperatures swing -20C to 70C. The 14 KB Flash holds scheduling firmware, while EEPROM retains user-setpoints and run-hour counters across power cycles.
Được đề xuất
Low-Cost DC Motor Speed Controller
Use the PIC16LF876-04I/SP as the brain of a brushed DC motor speed controller: the 16-bit Timer1 captures Hall-sensor feedback, the CCP module generates a 20 kHz PWM into a half-bridge FET driver, and the 10-bit ADC reads motor current via a shunt for closed-loop torque limiting. With 22 I/O it can also handle direction relays, brake, and fault LEDs. The 2.0-5.5V Vdd lets the board share the motor 12V rail via a step-down switching regulator. Industrial temp grade supports under-hood automotive auxiliary pumps.
Được đề xuất
I2C/SPI Sensor Hub for Data Loggers
The MSSP peripheral on the PIC16LF876-04I/SP simultaneously supports an I2C master to read a MEMS combo sensor (e.g., accelerometer + gyro) and an SPI slave to feed an external FRAM logger. This dual-bus capability, combined with 14 KB Flash and 368 bytes RAM, makes the chip a low-cost sensor hub for portable data loggers. Industrial temp range supports field-deployed environmental monitors, and the 256-byte EEPROM buffers samples during wireless dead zones. Pair with a 25LC1024 SPI EEPROM for multi-megabit logging.
Được đề xuất
Educational / Hobbyist Development Platform
The PIC16LF876-04I/SP in 28-SPDIP is a classic teaching platform: the through-hole package plugs into breadboards without soldering, and PICKit3 / ICD3 headers can be added for in-circuit debug. With 14 KB Flash and 35 single-word instructions it is large enough to demonstrate real applications (LCD, ADC, UART) yet small enough for a one-week classroom lab. Industrial temp grade tolerates student bench environments. Pair with a standard 16x2 character LCD and a potentiometer for the classic analog-read-and-display lab.
Được đề xuất
Tóm tắt các sản phẩm được đề xuất
Dữ liệu tham khảo kỹ thuật cho PIC16LF876-04I/SP — so sánh, hướng dẫn thiết kế và thông tin tuân thủ.
Hướng dẫn chọn lựa
So sánh với các sản phẩm thay thế
| Tham số | Sản phẩm này | PIC16LF876-20I/SP | PIC16LF876-04I/SO | PIC16LF876-04I/P | PIC16F876-04I/SP | PIC16F886-I/SP |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-SPDIP (300 mil) | 28-SPDIP (300 mil) - same | 28-SOIC (300 mil) - same pinout, SMD | 28-PDIP (600 mil) - same | 28-SPDIP (300 mil) - same | 28-SPDIP (300 mil) - same |
| Maximum Clock | 4 MHz | 20 MHz | 4 MHz | 4 MHz | 4 MHz | 20 MHz |
| Flash Program Memory | 14 KB | 14 KB | 14 KB | 14 KB | 14 KB | 14 KB |
| Operating Voltage | 2.0V to 5.5V (LF) | 2.0V to 5.5V (LF) | 2.0V to 5.5V (LF) | 2.0V to 5.5V (LF) | 4.0V to 5.5V (F) | 2.0V to 5.5V (F) |
| Temperature Grade | Industrial -40C to +85C | Industrial -40C to +85C | Industrial -40C to +85C | Commercial 0C to +70C | Industrial -40C to +85C | Industrial -40C to +85C |
| ADC Channels | 5 x 10-bit | 5 x 10-bit | 5 x 10-bit | 5 x 10-bit | 5 x 10-bit | 11 x 10-bit |
| Lifecycle Status (2026) | active (mature) | active | active | active | active | active (recommended migration) |
Bảo phân biệt quan trọng
- Industrial -40C to +85C temperature range with low-voltage LF operation (vsPIC16LF876-04I/P)
- 28-SPDIP through-hole package simplifies hand-soldering and breadboarding (vsPIC16LF876-04I/SO)
- Low-voltage 2.0V Vdd minimum supports battery designs (vsPIC16F876-04I/SP)
- Modern recommended migration path available in the same footprint (vsPIC16F886-I/SP)
Ghi chú thiết kế
Decouple Vdd (pin 20) with a 100 nF ceramic capacitor placed within 5 mm of the package pin and a bulk 10 uF electrolytic or tantalum capacitor on the same rail. For battery designs, the LF family draws <2 uA typical in sleep mode, so adding a series ferrite bead between the battery and Vdd reduces conducted noise from switching peripherals waking the MCU. According to the Microchip PIC16F876 datasheet, Vdd rise time during power-on must be monotonic, or the internal brown-out may not trigger properly.
Pin 1 (MCLR) must be pulled up to Vdd through a 10 kohm resistor for normal operation. Leave it floating and the MCU will randomly enter programming mode or reset under EMI. For ICSP, the PGD/PGC pins (RB7/RB6) need 4.7 kohm pull-downs to prevent false clock pulses from corrupting Flash writes. Configuration bits (_CONFIG) must be set to disable the watchdog unless firmware actually services it, or the MCU will reset every ~18 ms.
Place the decoupling cap on pin 20 (Vdd) with a short, wide trace directly to the ground plane. Pin 19 (Vss) should also connect to the ground plane with a via within 5 mm. Keep the crystal traces (pins 9-10) short and surrounded by a ground pour to prevent oscillator jitter from the ADC or PWM switching. If using the internal 4 MHz RC oscillator instead, OSC1 can be left floating and OSC2 can drive a peripheral clock; do not load OSC2 with more than 10 pF or the frequency will shift.
The MSSP I2C lines (RC3/SCL, RC4/SDA) are open-drain and require external pull-up resistors; 4.7 kohm is standard for 100 kHz I2C and 2.2 kohm for 400 kHz. The USART pins (RC6/TX, RC7/RX) are TTL-level and need a transceiver like the MAX232 for RS-232 or MAX485 for RS-485. The ADC inputs (RA0-RA5) benefit from a 100 ohm series resistor and 100 nF cap to ground to form a low-pass filter, which reduces switching noise from PWM outputs coupling into analog readings.
Thông tin tuân thủ
RoHS/REACH status depends on the specific date code - the original PIC16LF876-04I/SP was launched before the -I (Industrial) suffix was retroactively RoHS-evaluated; Microchip's -I parts manufactured post-2006 are lead-free and RoHS compliant. Always verify the manufacturer date code and the latest PCN/PCI documents for production builds.