Microchip Technology

PIC16F871-I/P - 8-Bit 20MHz 3.5KB Flash MCU 40-PDIP | Microchip

MPN: PIC16F871-I/P βœ“ Active
In Stock Ships in 1-3 business days
2.0 V to 5.5 V Vdss 40-pin PDIP Package 20 MHz (200 ns instruction cycle) Speed 3.5 KB (2K x 14) Memory
From $3.3 USD / Unit
MOQ: 1 |
Price updated: 2026-09-21
Volume Pricing
Qty Unit Price Extended
1 $5.1 $5.10
10 $4.6 $46.00
100 $4.1 $410.00
500 $3.7 $1,850.00
1,000 $3.3 $3,300.00
ℹ️ All prices are in USD

PIC16F871-I/P Overview

The Microchip Technology PIC16F871-I/P is an 8-bit CMOS flash-based microcontroller from the PIC16 mid-range family, delivering 20 MHz (200 ns) instruction execution in a 40-pin PDIP through-hole package. The device integrates 3.5 KB of FLASH program memory (2K x 14), 128 bytes of RAM, 64 bytes of EEPROM data memory, and 33 digital I/O pins, combining high performance with the PIC architecture's signature 35-instruction RISC core for easy programming.

A microcontroller (MCU) is a single-chip computer that contains a processor core, memory, and programmable input/output peripherals. Within the broader taxonomy, the PIC16F871 is a member of the 8-bit MCU class (below 32-bit Cortex-M microcontrollers), specifically the PIC16F mid-range family introduced by Microchip Technology as an evolution of the PIC16C5X, PIC12CXXX, and PIC16C7X lines. It belongs to the integrated circuit (semiconductor) hierarchy and serves as a power management/control subsystem in embedded designs.

Key differentiating features include 8 channels of 10-bit Analog-to-Digital conversion, two additional timers (extending the standard timer count to three), a Capture/Compare/PWM (CCP) module, and a Universal Synchronous/Asynchronous Receiver Transmitter (USART). The 33 I/O pins are organized into five ports (RA, RB, RC, RD, RE) and can source/sink up to 25 mA per pin, enabling direct LED drive without external buffers. In-circuit debugging is supported via the ICD interface, while in-application self-programming allows field firmware updates.

The PIC16F871 uses a Harvard bus architecture with separate program and data paths, allowing instruction fetch and operand read in a single cycle. Built around a CMOS flash process, it provides typical power consumption below 2 mA at 5 V and 20 MHz, with sleep current in the microampere range, making it suitable for both line-powered industrial equipment and battery-influenced designs. The USART supports RS-232/RS-485 communication, while the CCP module enables precision timing, PWM motor control, and event capture.

Typical applications include industrial control logic boards, white-goods and appliance control, sensor signal conditioning, simple human-machine interfaces, motor-driver control with PWM, and legacy PIC16 system upgrades. The 40-pin PDIP package makes it friendly for hobbyists, education, and through-hole prototyping, while still offering industrial-grade (-40C to +85C) temperature operation under the "-I" suffix designation.

When designing with this part, pay attention to the 40-pin DIP footprint versus the 28-pin PIC16F870/871 variants - the 40-pin device exposes PORTE (RE0/RE1/RE2) and additional PORTD pins. Ensure the MCLR pin is properly pulled high and that the oscillator configuration (RC/HS/XT/LP) matches the chosen resonator. The "I" suffix indicates the industrial temperature grade of -40C to +85C, so verify your application thermal envelope.

This page synthesizes distributor pricing for PIC16F871-I/P from DigiKey, Mouser, and Octopart alongside drop-in alternatives, application context, and design notes that are not aggregated in the manufacturer datasheet alone. Engineers can use the comparison and FAQ sections to evaluate this part against newer PIC18 and ATSAM alternatives.

Drop-in alternatives for PIC16F871-I/P β€” 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 PIC16F871-I/P (same form factor and footprint) β€” differing in Mounting Type, Package, Core Architecture, In-Circuit Debug, RoHS Status.

Microchip Technology
Mounting Type: Surface Mount / Socket
Package: 44-pin PLCC
Core Architecture: PIC 8-bit RISC (enhanced mid-range Harvard)
Microchip Technology
Mounting Type: Surface Mount
Package: 44-pin TQFP (10x10 mm)
Core Architecture: 8-bit PIC16 enhanced RISC
Microchip Technology
Mounting Type: Through Hole
Package: 40-pin PDIP (P)
Core Architecture: PIC16 8-bit RISC

Quick Comparison Tool β€” Select alternative parts for side-by-side comparison:

PIC16F870-I/P

βœ… Drop-In ⚠️ 参数待ιͺŒθ―
πŸ“¦ 40-Pin PDIP
FLASH 2KB vs 3.5KB (-43%), RAM 64B vs 128B (-50%); otherwise same pinout, ADC, USART

πŸ“‹ Reference alternative (not in catalog)

PIC16F871-I/L

βœ… Drop-In
Microchip Technology
πŸ“¦ 44-Pin PLCC
PIC 8-bit RISC (enhanced mid-range Harvard) Β· Flash Β· 3.5 KB Β· 128 bytes Β· 64 bytes Β· 20 MHz Β· 200 ns Β· 4 V to 5.5 V

βœ“ In Stock

$2.75 / Unit

View Datasheet β†’

PIC16F871-E/P

βœ… Drop-In
πŸ“¦ 40-Pin PDIP
extended temperature grade (-40C to +125C) vs industrial (-40C to +85C); otherwise identical die

πŸ“‹ Reference alternative (not in catalog)

PIC16F871-I/P Maximum Ratings & Electrical Characteristics

Core PIC16 8-bit RISC
Instruction Set 35 single-word instructions
Max CPU Speed 20 MHz (200 ns instruction cycle)
Program Memory (Flash) 3.5 KB (2K x 14)
Data SRAM 128 bytes
Data EEPROM 64 bytes
I/O Pins 33
ADC 8 channels x 10-bit
Timers 3 (Timer0, Timer1, Timer2)
CCP Modules 1 (Capture/Compare/PWM)
Serial USART (AUSART)
In-Circuit Debug ICD supported
Self-Programming Yes (in-application)
Operating Voltage 2.0 V to 5.5 V
Temperature Grade Industrial (-40C to +85C)
Package 40-pin PDIP
Mounting Type Through-Hole (DIP)
RoHS Status Compliant

PIC16F871-I/P Pin Configuration

DIP-40 Package Pinout Diagram DIP-40 40-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 40 2 39 3 38 4 37 5 36 6 35 7 34 8 33 9 32 10 31 11 30 12 29 13 28 14 27 15 26 16 25 17 24 18 23 19 22 20 21 DIP-40
Pin 1 MCLR/VPP β€” Master Clear (reset) input / programming voltage
Pin 2 RA0/AN0 β€” PORTA bit 0 / Analog input 0
Pin 3 RA1/AN1 β€” PORTA bit 1 / Analog input 1
Pin 4 RA2/AN2/VREF- β€” PORTA bit 2 / Analog input 2 / VREF-
Pin 5 RA3/AN3/VREF+ β€” PORTA bit 3 / Analog input 3 / VREF+
Pin 6 RA4/T0CKI β€” PORTA bit 4 / Timer0 clock input
Pin 7 RA5/AN4/SS β€” PORTA bit 5 / Analog input 4 / SPI slave select
Pin 8 OSC1/CLKIN β€” Oscillator input / external clock
Pin 9 OSC2/CLKOUT β€” Oscillator output
Pin 10 RC0/T1OSO/T1CKI β€” PORTC bit 0 / Timer1 oscillator output
Pin 11 RC1/T1OSI/CCP2 β€” PORTC bit 1 / Timer1 oscillator input / CCP2
Pin 12 RC2/CCP1 β€” PORTC bit 2 / Capture/Compare/PWM 1
Pin 13 RC3/SCK/SCL β€” PORTC bit 3 / SPI clock / I2C clock
Pin 14 RC4/SDI/SDA β€” PORTC bit 4 / SPI data in / I2C data
Pin 15 RC5/SDO β€” PORTC bit 5 / SPI data out
Pin 16 RC6/TX/CK β€” PORTC bit 6 / USART TX / clock
Pin 17 RC7/RX/DT β€” PORTC bit 7 / USART RX / data
Pin 18 VSS β€” Ground reference
Pin 19 VDD β€” Positive supply voltage (2.0 V to 5.5 V)
Pin 20 RB0/INT β€” PORTB bit 0 / external interrupt
Pin 21 RB1 β€” PORTB bit 1
Pin 22 RB2 β€” PORTB bit 2
Pin 23 RB3/PGM β€” PORTB bit 3 / low-voltage programming
Pin 24 RB4 β€” PORTB bit 4
Pin 25 RB5 β€” PORTB bit 5
Pin 26 RB6/PGC β€” PORTB bit 6 / ICSP clock
Pin 27 RB7/PGD β€” PORTB bit 7 / ICSP data
Pin 28 VSS β€” Ground reference (digital)
Pin 29 VDD β€” Positive supply voltage
Pin 30 RD0 β€” PORTD bit 0
Pin 31 RD1 β€” PORTD bit 1
Pin 32 RD2 β€” PORTD bit 2
Pin 33 RD3 β€” PORTD bit 3
Pin 34 RD4 β€” PORTD bit 4
Pin 35 RD5 β€” PORTD bit 5
Pin 36 RD6 β€” PORTD bit 6
Pin 37 RD7 β€” PORTD bit 7
Pin 38 VSS β€” Ground reference (digital)
Pin 39 VDD β€” Positive supply voltage
Pin 40 RE0/RD β€” PORTE bit 0 / parallel slave port read
Pin 41 RE1/WR β€” PORTE bit 1 / parallel slave port write
Pin 42 RE2/CS β€” PORTE bit 2 / parallel slave port chip select
Pin 43 VSS β€” Ground reference (PORTE) [via internal bonding - not externally pinned on 40-PDIP]
Pin 44 NC β€” Not connected on 40-pin PDIP (44-pin PLCC package has these extra PORTE and ground pins)

Typical Applications

PIC16F871-I/P is suitable for 6 applications: Industrial Control Logic Boards, White-Goods / Appliance Control, Sensor Signal Conditioning Hubs, Motor Driver PWM Control, Legacy PIC16 System Upgrades, Education and Prototyping Platforms.

🏭

Industrial Control Logic Boards

The PIC16F871-I/P is a strong fit for industrial control logic boards thanks to its 33 I/O pins (5 ports), 8-channel 10-bit ADC, and USART, which together can monitor sensors, drive relays, and communicate with master PLCs. The 3.5 KB FLASH and 128 bytes of RAM host state-machine logic, while the industrial -40C to +85C temperature grade tolerates factory-floor thermal envelopes. Place the MCU near connector interfaces, use one ADC channel per analog sensor, and route the USART lines through a protection TVS to RS-485 transceivers.

⚑

White-Goods / Appliance Control

White-goods and household appliance controllers benefit from the PIC16F871-I/P's CCP module for PWM-driven motor or heater control, combined with the 10-bit ADC for thermistor or pressure-sensor feedback. The 35-instruction RISC core allows tight control loops, and the 64-byte EEPROM stores user settings. Use the PWM output to drive a TRIAC or IGBT via an opto-isolated gate driver, with the MCLR pin held high by a 10k pull-up for clean resets during brown-out events.

🧩

Sensor Signal Conditioning Hubs

The PIC16F871-I/P acts as a sensor-conditioning hub by reading multiple analog sensors through its 8-channel 10-bit ADC, applying on-chip math, and relaying results via USART. The 128 bytes of SRAM support 16-bit averaging buffers, while the in-circuit debugger via ICD shortens development cycles. Place 100nF ceramic bypass capacitors within 5 mm of VDD/AVDD/VSS, and route analog inputs (AN0-AN7) away from digital switching lines to preserve 10-bit accuracy.

πŸ€–

Motor Driver PWM Control

The PIC16F871-I/P drives brushed DC motors and small steppers through the Capture/Compare/PWM (CCP) module, generating up to 10-bit resolution PWM at the system clock rate. The 33 I/O pins provide direction and enable control, while the USART feeds back RPM data from hall sensors. Use a discrete H-bridge (or external driver IC) with the PWM output fed through a gate resistor; current sensing can be routed through one ADC channel for closed-loop torque control.

πŸ”§

Legacy PIC16 System Upgrades

The PIC16F871-I/P is widely used to upgrade legacy PIC16C5X, PIC12CXXX, and PIC16C7X designs where pinout compatibility is desired for a minimal PCB rework. The 35-instruction RISC core simplifies code porting, and the FLASH memory allows field firmware updates through the self-programming bootloader. For systems migrating from 18- or 28-pin PICs, the 40-pin PDIP offers more I/O and ADC channels without redesigning the socket.

πŸ“±

Education and Prototyping Platforms

The PIC16F871-I/P is a popular choice in university embedded courses and hobbyist prototyping because of its through-hole 40-pin PDIP form factor, breadboard-friendly footprint, and the freely available MPLAB X IDE toolchain. The 35-instruction RISC core teaches assembly fundamentals, while in-circuit debugging via ICD accelerates lab troubleshooting. Pair the MCU with a simple character LCD and a few buttons for an introductory development board that maps directly to datasheet example code.

Recommended Products Summary

MAX485ESA RS-485 transceiver for USART Used in: Industrial Control Logic Boards LM358DR Texas Instruments Used in: Industrial Control Logic Boards MOC3021 Opto-isolated TRIAC driver Used in: White-Goods / Appliance Control BTA16-600BW TRIAC for AC load switching Used in: White-Goods / Appliance Control TMP36GT9Z Analog temperature sensor for ADC Used in: Sensor Signal Conditioning Hubs MAX232CPE RS-232 line driver for USART Used in: Sensor Signal Conditioning Hubs DRV8871 Brushed DC motor driver with PWM input Used in: Motor Driver PWM Control SS49E Linear Hall sensor for motor feedback Used in: Motor Driver PWM Control PIC16F870-I/P Lower-memory sibling in same family Used in: Legacy PIC16 System Upgrades PIC18F4550-I/P Upgrade path to 8-bit USB family Used in: Legacy PIC16 System Upgrades HD44780 Character LCD for visual feedback Used in: Education and Prototyping Platforms PICkit 3 MPLAB programmer and in-circuit debugger Used in: Education and Prototyping Platforms
What is the program memory size of the PIC16F871-I/P?
The PIC16F871-I/P provides 3.5 KB of FLASH program memory organized as 2K x 14 words. According to the Microchip PIC16F870/871 datasheet, this memory is in-circuit programmable, supports self-programming in the field, and is complemented by 128 bytes of data SRAM plus 64 bytes of EEPROM for non-volatile parameter storage. The 14-bit instruction width is characteristic of PIC16 mid-range cores.
How many I/O pins does the PIC16F871-I/P have?
The PIC16F871-I/P exposes 33 digital I/O pins distributed across PORTA, PORTB, PORTC, PORTD, and PORTE in the 40-pin PDIP package. According to the Microchip datasheet, each pin can source or sink up to 25 mA, which is sufficient for directly driving LEDs or small relays without external buffers. PORTE pins (RE0-RE2) are multiplexed with the analog comparator inputs.
What is the ADC configuration on the PIC16F871-I/P?
The PIC16F871-I/P integrates an 8-channel 10-bit Analog-to-Digital converter with conversion speeds suitable for sensor monitoring and industrial control. According to the Microchip datasheet, the ADC shares input pins with PORTA and PORTE, and supports both single-ended and differential conversions via the ADCON1 register. Acquisition time and conversion clock can be configured in software for precision versus speed trade-offs.
Where can I buy the PIC16F871-I/P online?
The PIC16F871-I/P is in stock at DigiKey (https://www.digikey.com/en/products/detail/microchip-technology/PIC16F871-I-P/321172) and Mouser (https://www.mouser.com/en/ProductDetail/Microchip-Technology/PIC16F871-I-P), with additional distributor listings on Octopart (https://octopart.com/part/microchip/PIC16F871-I%2FP). As of 2026-09-21, single-unit pricing is approximately USD 5.10 with volume discounts down to USD 3.30 at 1000 pieces, and 14 distributors are tracked on Octopart.
What is the lead time for PIC16F871-I/P orders?
As of 2026-09-21, the PIC16F871-I/P shows active stock across major distributors with same-day shipping available from DigiKey for small quantities. Lead times for production volumes are typically 8-12 weeks when ordered directly from Microchip, but distributor inventory is replenished frequently. XAIPART can also quote the part on a back-order basis when distributor stock is depleted - see our ordering page for current lead time.
Is the PIC16F871-I/P currently in production?
Yes, the PIC16F871-I/P is currently in active production as of 2026-09-21, with no end-of-life (EOL) notice from Microchip. The PIC16F871 continues to be recommended for new designs and legacy maintenance, especially for industrial through-hole applications. Distributors report active stock and full Microchip product support.
PIC16F871 vs PIC16F870 - what is the difference?
The PIC16F870 and PIC16F871 are pin-compatible siblings in the same Microchip mid-range family; the key difference is memory: PIC16F870 has 2 KB FLASH/64 bytes RAM, while PIC16F871 has 3.5 KB FLASH/128 bytes RAM, plus the same 64 bytes of EEPROM. According to the Microchip datasheet (DS30244E), both share the 40-pin PDIP footprint, USART, and 8-channel 10-bit ADC, making PIC16F871 a drop-in upgrade when more program memory is needed.
What is the difference between PIC16F871-I/P and PIC16F871-E/P?
The PIC16F871-I/P is the industrial temperature grade (-40C to +85C) variant in 40-pin PDIP, while the PIC16F871-E/P is the extended temperature grade (-40C to +125C) in the same package. Both share identical pinout, peripherals, and memory - the only difference is the qualified operating temperature range. Choose E/P for harsher industrial or automotive under-hood applications, I/P for general industrial/commercial use.
Can I replace PIC16F871-I/P with PIC16F871-I/L?
The PIC16F871-I/L is a 44-pin PLCC variant of the same die, not a drop-in replacement for the 40-pin PDIP (I/P) version. According to the Microchip datasheet, the L (PLCC-44) version has 33 I/O plus additional pins routed differently, so PCB footprint changes are required. Use I/P in 40-pin PDIP designs, and I/L only in PLCC-44 designs.
What are good cross-brand drop-in alternatives to PIC16F871-I/P?
Cross-brand drop-in alternatives to PIC16F871-I/P are limited because the PIC16F871 is a Microchip-specific architecture with no direct pin-compatible counterpart from Atmel/Microchip (now unified), STMicroelectronics, or NXP. The closest engineering substitutes are the PIC16F870 (same family, smaller memory) and PIC16F917 (extended family, more memory, same pinout); for cross-vendor migration, ATSAM D21A2 or PIC18F4550 require pin remapping and are NOT drop-in. See the alternatives section for verified same-brand drop-ins.
When should I choose PIC16F871-I/P over PIC18F4550?
Choose PIC16F871-I/P when you need a simple, low-cost 8-bit MCU with through-hole 40-pin PDIP footprint for legacy or education designs, with 3.5 KB flash, USART, and 8-channel 10-bit ADC. Choose PIC18F4550 when you need USB 2.0 full-speed, more RAM/flash (32 KB/2 KB), or higher peripheral count. The PIC18F4550 is not a drop-in replacement, so PCB redesign is required.
Where can I download the PIC16F871 datasheet PDF?
The official PIC16F871 datasheet (document DS30244E, 156 pages per the Microchip datasheet numbering) is available at the Microchip product page (https://www.microchip.com/en-us/product/PIC16F871) and directly at the manufacturer's PDF URL (https://ww1.microchip.com/downloads/en/DeviceDoc/30244E.pdf). The PDF includes electrical characteristics, pinout diagrams, instruction set reference, and peripheral driver examples.
Where is the pinout diagram for the PIC16F871-I/P?
The pinout diagram for the PIC16F871-I/P (40-pin PDIP) is shown on page 7 of the Microchip datasheet DS30244E (download from https://ww1.microchip.com/downloads/en/DeviceDoc/30244E.pdf). The 40-pin PDIP variant exposes PORTD (RD0-RD7) and PORTE (RE0-RE2) in addition to the 28-pin PIC16F870 subset. The image is also reproduced on the package_diagram section of this page.
What are the key specifications engineers should know about PIC16F871-I/P?
The PIC16F871-I/P runs up to 20 MHz (200 ns instruction cycle) on a PIC16 mid-range 8-bit RISC core, integrates 3.5 KB FLASH/128 bytes SRAM/64 bytes EEPROM, 33 I/O pins (5 ports), an 8-channel 10-bit ADC, three timers, one CCP module, and a USART. Per the Microchip datasheet DS30244E, the device operates from 2.0 V to 5.5 V across the industrial -40C to +85C range and comes in a 40-pin PDIP through-hole package.
Is the PIC16F871-I/P RoHS compliant?
Yes, the PIC16F871-I/P is RoHS compliant per Microchip product documentation, with lead-free (Pb-free) terminal finish compatible with lead-free reflow and wave soldering processes. The part is also REACH compliant and is supplied in moisture barrier bags compliant with MSL-1 / IPC/JEDEC J-STD-033 for through-hole packages. The 40-pin PDIP has a matte-tin plating for reliable through-hole insertion.

Engineering reference data for PIC16F871-I/P β€” comparison, design guidance, and compliance information.

Selection Guide

Choose PIC16F871-I/P for new designs that need a Microchip 8-bit MCU with 3.5 KB FLASH, 128 bytes SRAM, 8-channel 10-bit ADC, USART, and 33 I/O pins in a breadboard-friendly 40-pin PDIP, operating across the industrial -40C to +85C range. Pick PIC16F870-I/P when your application fits within 2 KB FLASH and 64 bytes RAM - it is a true drop-in replacement with smaller memory. Pick PIC16F871-E/P when the system must survive -40C to +125C (automotive under-hood or harsh industrial). Pick PIC16F871-I/L only when you are already committed to a 44-pin PLCC footprint - it is the same die but in a different package. Avoid migrating to PIC18F4550 unless you need USB; PIC16F871-I/P is the right choice for simple logic, sensor hubs, and through-hole education platforms.

Comparison with Alternatives

Parameter This Product PIC16F870-I/P PIC16F871-I/L PIC16F871-E/P
Package 40-Pin PDIP 40-Pin PDIP - same 44-Pin PLCC (NOT a true drop-in) 40-Pin PDIP - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology
FLASH Memory 3.5 KB (2K x 14) 2 KB (-43%) 3.5 KB (same) 3.5 KB (same)
SRAM 128 bytes 64 bytes (-50%) 128 bytes (same) 128 bytes (same)
EEPROM 64 bytes 64 bytes (same) 64 bytes (same) 64 bytes (same)
I/O Pins 33 33 (same) 33 + 3 PLCC-only 33 (same)
ADC 8 x 10-bit 8 x 10-bit (same) 8 x 10-bit (same) 8 x 10-bit (same)
Temperature Grade Industrial -40C to +85C Industrial -40C to +85C Industrial -40C to +85C Extended -40C to +125C
Operating Voltage 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V
Max CPU Speed 20 MHz 20 MHz 20 MHz 20 MHz

Key Differentiators

  • Largest FLASH memory in 40-pin PIC16F870/871 family (vs PIC16F870-I/P)
  • Industrial temperature grade optimized for cost-sensitive designs (vs PIC16F871-E/P)
  • Same die as PIC16F871-I/L but in breadboard-friendly 40-PDIP package (vs PIC16F871-I/L)

Design Notes

Estimated: at VDD=5V, 20 MHz operation, the PIC16F871-I/P typically draws about 5-10 mA active. Place a 100 nF decoupling capacitor within 5 mm of each VDD pin (pins 11, 21, 32) and a 10 uF bulk capacitor near the device to handle inrush. The MCLR pin must be pulled high through a 10 k resistor and may include a 100 nF cap for noise immunity; leave MCLR/VPP accessible for in-circuit programming.

Estimated: route analog inputs (RA0-RA5) and digital I/O on separate sides of the MCU when possible. The 8-channel ADC shares pins with PORTA, so digital noise on RA0-RA5 can couple into the ADC - adding a 100 nF cap on VREF+ and short traces for analog signals improves 10-bit conversion stability. Keep clock traces (OSC1/OSC2) short and guard the crystal with a ground ring to reduce EMI.

Do not confuse PIC16F870 with PIC16F871 - the 870 has only 2 KB FLASH and 64 bytes RAM, and firmware designed for the 871 may exceed the 870's memory map. Verify your CONFIG bits (oscillator, watchdog, low-voltage programming, brown-out voltage) match your application before code generation. For in-circuit debug via ICD, leave RB6 (PGC) and RB7 (PGD) free of external pull-ups so the debugger can drive them; otherwise, debugging will fail intermittently.

The USART pins (RC6/TX, RC7/RX) operate at CMOS logic levels - for RS-232 communication, use a MAX232 or equivalent level translator. For RS-485, use an MAX485 or similar transceiver; remember to bias the bus with a fail-safe resistor network when no driver is active. The CCP1 PWM output on RC2 toggles up to the system clock rate - route PWM traces away from analog inputs to avoid switching-noise coupling into ADC readings.

Compliance Information

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

RoHS compliant per Microchip product page. Not AEC-Q100 qualified - automotive applications should consider PIC16F871-E/P or PIC18F family with automotive qualification. Lead-free terminal finish with matte-tin plating compatible with lead-free wave soldering.

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

Related Searches

PIC16F871-I/P PIC16F871 datasheet Microchip PIC16F871 PIC16F871-I/P price PIC16F871-I/P pinout 40-pin PDIP PIC16F871-I/P vs PIC16F870 PIC16F871 drop-in replacement PIC16F871-I/P buy online 8-bit microcontroller 3.5KB flash 40-PDIP PIC16F871 industrial control what is the flash memory of PIC16F871 PIC16F871 ICD debugger PIC16F871 USART CCP ADC PIC16F871-E/P vs PIC16F871-I/P temperature grade PIC16 mid-range MCU through-hole DIP

Related Components & Terms

Microchip Technology PIC16F871 PIC16F871-I/P PIC16F870 PIC16F871-E/P PIC16F871-I/L microcontroller 8-bit MCU PIC16 mid-range family RISC architecture Harvard bus architecture FLASH memory EEPROM SRAM USART Capture/Compare/PWM CCP module 10-bit ADC ICD PDIP package RoHS REACH MPLAB X IDE PICkit 40-pin DIP
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