Microchip Technology

PIC16F870-I/SP - 8-bit MCU, 3.5KB Flash, 28-SPDIP | Microchip

MPN: PIC16F870-I/SP βœ“ Active
In Stock Ships in 1-3 business days
2.0V to 5.5V Vdss 28-DIP (0.300", 7.62mm) Package 20 MHz Speed 3.5KB (2K x 14) Memory
From $2.19 USD / Unit
MOQ: 1 |
Price updated: 2026-08-25
Volume Pricing
Qty Unit Price Extended
1 $3.42 $3.42
10 $3.08 $30.80
100 $2.74 $274.00
500 $2.47 $1,235.00
1,000 $2.19 $2,190.00
ℹ️ All prices are in USD

Drop-in alternatives for PIC16F870-I/SP β€” same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

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

PIC16F870-E/SP

βœ… Drop-In
πŸ“¦ 28-SPDIP
Extended temperature range (-40Β°C to +125Β°C) vs industrial (-40Β°C to +85Β°C)

πŸ“‹ Reference alternative (not in catalog)

PIC16LF870-I/SP

βœ… Drop-In
πŸ“¦ 28-SPDIP
Low-voltage variant (1.8V-3.6V) vs standard (2.0V-5.5V)

πŸ“‹ Reference alternative (not in catalog)

PIC16F870-I/P

βœ… Drop-In
πŸ“¦ 28-PDIP
Same die, PDIP package (0.300" width) vs SPDIP (0.300" width) - pin compatible

πŸ“‹ Reference alternative (not in catalog)

PIC16F873A-I/SP

βœ… Drop-In
πŸ“¦ 28-SPDIP
More Flash (4KB) and RAM (192 bytes), but different pinout - not pin compatible

πŸ“‹ Reference alternative (not in catalog)

PIC16F876A-I/SP

βœ… Drop-In
πŸ“¦ 28-SPDIP
More Flash (14KB) and RAM (368 bytes), but different pinout - not pin compatible

πŸ“‹ Reference alternative (not in catalog)

ℹ️ 1 cross-package part(s) hidden β€” different package requires PCB rework and is not a true drop-in replacement. Contact us if you need cross-package suggestions.

PIC16F870-I/SP Maximum Ratings & Electrical Characteristics

Core Processor PIC
Core Size 8-Bit
Speed 20 MHz
Program Memory Size 3.5KB (2K x 14)
Program Memory Type FLASH
RAM Size 128 x 8
EEPROM Size 64 x 8
Number of I/O 22
Number of A/D Converters 5
A/D Converter Resolution 10-bit
Connectivity USART
Peripherals Brown-out Detect/Reset, POR, PWM, WDT
Number of Timers/Counters 3
Operating Voltage 2.0V to 5.5V
Operating Temperature -40Β°C to +85Β°C
Mounting Type Through Hole
Package / Case 28-DIP (0.300", 7.62mm)
Supplier Device Package 28-SPDIP
RoHS Status ROHS3 Compliant

PIC16F870-I/SP Pin Configuration

DIP-28 Package Pinout Diagram DIP-28 28-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 28 2 27 3 26 4 25 5 24 6 23 7 22 8 21 9 20 10 19 11 18 12 17 13 16 14 15 DIP-28
Pin 1 MCLR/VPP β€” Master Clear (reset) input / programming voltage
Pin 2 RA0/AN0 β€” Port A bit 0 / Analog input 0
Pin 3 RA1/AN1 β€” Port A bit 1 / Analog input 1
Pin 4 RA2/AN2 β€” Port A bit 2 / Analog input 2
Pin 5 RA3/AN3 β€” Port A bit 3 / Analog input 3
Pin 6 RA4/T0CKI β€” Port A bit 4 / Timer0 clock input
Pin 7 RA5/AN4 β€” Port A bit 5 / Analog input 4
Pin 8 VSS β€” Ground
Pin 9 OSC1/CLKIN β€” Oscillator input / external clock input
Pin 10 OSC2/CLKOUT β€” Oscillator output / clock output
Pin 11 RC0/T1OSO/T1CKI β€” Port C bit 0 / Timer1 oscillator output / Timer1 clock input
Pin 12 RC1/T1OSI β€” Port C bit 1 / Timer1 oscillator input
Pin 13 RC2/CCP1 β€” Port C bit 2 / Capture/Compare/PWM 1
Pin 14 RC3/SCK/SCL β€” Port C bit 3 / SPI clock / I2C clock
Pin 15 RC4/SDI/SDA β€” Port C bit 4 / SPI data in / I2C data
Pin 16 RC5/SDO β€” Port C bit 5 / SPI data out
Pin 17 RC6/TX/CK β€” Port C bit 6 / USART transmit / clock
Pin 18 RC7/RX/DT β€” Port C bit 7 / USART receive / data
Pin 19 VSS β€” Ground
Pin 20 VDD β€” Power supply
Pin 21 RB0/INT β€” Port B bit 0 / external interrupt
Pin 22 RB1 β€” Port B bit 1
Pin 23 RB2 β€” Port B bit 2
Pin 24 RB3 β€” Port B bit 3
Pin 25 RB4 β€” Port B bit 4
Pin 26 RB5 β€” Port B bit 5
Pin 27 RB6 β€” Port B bit 6 / In-circuit debugger
Pin 28 RB7 β€” Port B bit 7 / In-circuit debugger

Safe Operating Area (SOA) & Thermal Characteristics

Safe Operating Area Chart Default safe operating area chart for PIC16F870-I/SP Drain-to-Source Voltage (Vds) Drain Current (Id)

No official SOA curve available for this digital IC. Always operate within absolute maximum ratings specified in the datasheet. Ensure adequate cooling and derate as needed.

Typical Applications

PIC16F870-I/SP is suitable for 6 applications: Industrial Control Systems, Automotive Electronics, Consumer Appliances, Sensor Interfacing, Power Management, Communication Interfaces.

🏭

Industrial Control Systems

The PIC16F870-I/SP is ideal for industrial control systems due to its 5-channel 10-bit ADC for sensor interfacing, PWM for actuator control, and USART for communication with PLCs or HMIs. Its wide operating voltage (2.0V-5.5V) and industrial temperature range (-40Β°C to +85Β°C) ensure reliable operation in harsh environments. The 3.5KB Flash is sufficient for control algorithms, and the 64 bytes EEPROM stores calibration data. The 28-pin SPDIP package simplifies through-hole PCB assembly, reducing manufacturing cost.

πŸš—

Automotive Electronics

While not AEC-Q100 qualified, the PIC16F870-I/SP can be used in non-safety automotive applications such as window lift control, mirror adjustment, and interior lighting. Its 10-bit ADC reads potentiometers for position sensing, PWM drives DC motors, and USART communicates with body control modules. The 20 MHz clock provides fast response, and the 64 bytes EEPROM stores user preferences. The industrial temperature range covers most automotive cabin environments. For under-hood applications, consider the -E/SP variant.

πŸ”§

Consumer Appliances

The PIC16F870-I/SP is well-suited for consumer appliances like washing machines, microwaves, and air conditioners. Its 5 ADC channels read temperature sensors and user knobs, PWM controls heating elements or motors, and the USART can interface with display modules. The low cost and 28-pin package make it economical for high-volume production. The 3.5KB Flash is enough for control logic, and the EEPROM stores user settings. The device's robustness and wide voltage range ensure reliable operation in household power conditions.

🧩

Sensor Interfacing

The PIC16F870-I/SP excels at sensor interfacing due to its 5-channel 10-bit ADC, which can directly connect to analog sensors like thermistors, photodiodes, and pressure sensors. The 22 I/O pins allow multiple digital sensors (e.g., I2C, SPI) to be connected via bit-banging. The USART enables communication with external ADC modules or wireless transceivers. The 64 bytes EEPROM can store calibration coefficients. The device's low power consumption and wide voltage range make it suitable for battery-powered sensor nodes.

⚑

Power Management

The PIC16F870-I/SP can be used in power management applications such as battery chargers, power supplies, and UPS systems. Its ADC monitors voltage and current, PWM controls switching regulators, and the USART communicates with a host controller. The 20 MHz speed allows fast control loops, and the 64 bytes EEPROM stores calibration and configuration data. The wide operating voltage range (2.0V-5.5V) allows direct operation from a 3.3V or 5V rail. The 28-pin package provides enough I/O for multiple control signals.

🌐

Communication Interfaces

The PIC16F870-I/SP includes a USART module for serial communication, making it ideal for applications requiring UART, RS-232, or RS-485 interfaces. It can communicate with PCs, GPS modules, Bluetooth modules, and other microcontrollers. The 20 MHz clock supports baud rates up to 1.25 Mbps. The 22 I/O pins allow additional interfaces like SPI or I2C to be implemented in software. The device's low cost and small footprint make it suitable for communication bridges and protocol converters.

What is the operating voltage of PIC16F870-I/SP?
The PIC16F870-I/SP operates from 2.0V to 5.5V. According to the Microchip datasheet (DS30569B), this wide range allows use in both 3.3V and 5V systems. The device is fully specified for industrial temperature range (-40Β°C to +85Β°C).
What is the price of PIC16F870-I/SP?
As of 2026-08-25, the PIC16F870-I/SP is priced at $3.42 for 1 unit, $3.08 for 10, $2.74 for 100, $2.47 for 500, and $2.19 for 1000 units at DigiKey. Prices may vary by distributor and quantity.
Where can I buy PIC16F870-I/SP online?
The PIC16F870-I/SP is available from major distributors including DigiKey, Mouser, and Octopart. DigiKey lists it as 'ships today' with stock available. You can also purchase directly from Microchip Direct. Check current stock and pricing on these platforms.
What is the lead time for PIC16F870-I/SP?
The lead time for PIC16F870-I/SP is typically 1-2 weeks for standard orders from distributors like DigiKey and Mouser. For large quantities, lead time may extend to 4-6 weeks. Contact the distributor for current lead time estimates.
Is PIC16F870-I/SP in stock?
As of 2026-08-25, DigiKey shows the PIC16F870-I/SP as 'ships today', indicating it is in stock. Mouser also lists it as available. For real-time inventory, check the distributor websites.
What is the difference between PIC16F870-I/SP and PIC16F870-E/SP?
The PIC16F870-I/SP has an industrial temperature range (-40Β°C to +85Β°C), while the PIC16F870-E/SP has an extended temperature range (-40Β°C to +125Β°C). Both share the same 28-SPDIP package and identical core specifications. Choose the -E version for high-temperature environments.
What is the difference between PIC16F870-I/SP and PIC16F870-I/SO?
The PIC16F870-I/SP is in a 28-pin SPDIP (through-hole) package, while the PIC16F870-I/SO is in a 28-pin SOIC (surface-mount) package. They are functionally identical but have different PCB footprints. The -SP is easier for prototyping; the -SO is better for automated assembly.
When should I choose PIC16F870-I/SP over PIC16F877A-I/P?
Choose the PIC16F870-I/SP when you need a smaller, lower-cost 28-pin MCU with 3.5KB Flash and 5 ADC channels. The PIC16F877A-I/P offers more memory (14KB Flash), more I/O (33), and additional peripherals but comes in a larger 40-pin package. For simple control applications, the PIC16F870 is more economical.
Is PIC16F870-I/SP suitable for automotive applications?
The PIC16F870-I/SP is not AEC-Q100 qualified, so it is not recommended for automotive-grade applications. For automotive use, consider the PIC16F870-E/SP (extended temperature) or other AEC-Q100 qualified Microchip MCUs. The -I/SP is suitable for industrial and consumer applications.
What is the best drop-in replacement for PIC16F870-I/SP?
The best drop-in replacement is the PIC16F870-E/SP, which is pin-compatible and functionally identical but with a wider temperature range. Other pin-compatible options include the PIC16F870-I/P (same package) and the PIC16LF870-I/SP (low-voltage variant). Verify pinout before substitution.
Can PIC16F870-I/SP replace PIC16F873A-I/SP?
The PIC16F870-I/SP and PIC16F873A-I/SP are both 28-pin devices but have different pinouts and memory sizes. The PIC16F873A has 4KB Flash and 192 bytes RAM, while the PIC16F870 has 3.5KB Flash and 128 bytes RAM. They are not pin-compatible, so a direct drop-in replacement is not possible without PCB changes.
Where can I download the PIC16F870-I/SP datasheet PDF?
The official datasheet for PIC16F870-I/SP is available from Microchip at https://ww1.microchip.com/downloads/en/DeviceDoc/30569b.pdf. It is also available on Octopart and other datasheet aggregator sites. The datasheet covers the PIC16F870 and PIC16F871 devices.
Where can I find the PIC16F870-I/SP pinout?
The pinout for PIC16F870-I/SP is detailed in the Microchip datasheet (DS30569B) on pages 4-5. The 28-pin SPDIP package has 22 I/O pins, with specific pins for power (VDD, VSS), MCLR, oscillator (OSC1/CLKIN, OSC2/CLKOUT), and peripheral functions. The pinout is also available on Octopart.
What are the key specifications of PIC16F870-I/SP that engineers should know?
The PIC16F870-I/SP is an 8-bit MCU with 3.5KB Flash, 128 bytes RAM, 64 bytes EEPROM, 22 I/O pins, 5-channel 10-bit ADC, 3 timers, CCP, and USART. It operates at 20 MHz with 200ns instruction execution, from 2.0V to 5.5V, in a 28-SPDIP package. These specs make it ideal for cost-sensitive control applications.
What is the best Microchip equivalent for PIC16F870-I/SP?
The best Microchip equivalent is the PIC16F870-E/SP (extended temperature) or the PIC16LF870-I/SP (low-voltage, 1.8V-3.6V). Both are pin-compatible and share the same core. For cross-brand, consider the Atmel ATtiny2313 (now Microchip) but verify pin compatibility.

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

Selection Guide

Choose the PIC16F870-I/SP for cost-sensitive 8-bit control applications requiring a 28-pin through-hole MCU with 3.5KB Flash, 128 bytes RAM, 5-channel 10-bit ADC, and USART. It is ideal for industrial control, consumer appliances, and sensor interfacing. If you need a wider temperature range, select the PIC16F870-E/SP. For low-voltage (1.8V-3.6V) operation, choose the PIC16LF870-I/SP. The PIC16F870-I/P is identical but in a PDIP package. For more memory and peripherals, consider the PIC16F873A or PIC16F876A, but note they have different pinouts. The ATTINY2313 is not pin-compatible and requires redesign.

Comparison with Alternatives

Parameter This Product PIC16F870-E/SP PIC16LF870-I/SP PIC16F870-I/P
Package 28-SPDIP 28-SPDIP 28-SPDIP 28-PDIP
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Program Memory Size 3.5KB 3.5KB 3.5KB 3.5KB
RAM Size 128 bytes 128 bytes 128 bytes 128 bytes
Operating Voltage 2.0V-5.5V 2.0V-5.5V 1.8V-3.6V 2.0V-5.5V
Temperature Range -40Β°C to +85Β°C -40Β°C to +125Β°C -40Β°C to +85Β°C -40Β°C to +85Β°C
ADC Channels 5 5 5 5
USART Yes Yes Yes Yes

Key Differentiators

  • Wide operating voltage range (2.0V-5.5V) (vs PIC16LF870-I/SP)
  • Industrial temperature range (-40Β°C to +85Β°C) (vs PIC16F870-E/SP)
  • Through-hole SPDIP package (vs PIC16F870-I/SO)

Design Notes

The PIC16F870-I/SP operates from 2.0V to 5.5V. Use a 100nF decoupling capacitor close to the VDD pin and a 10uF bulk capacitor on the power rail. Ensure VSS pins are connected to a solid ground plane. For low-power applications, use sleep mode and disable unused peripherals to reduce current consumption.

For the 28-SPDIP package, use a 0.300" (7.62mm) row spacing. Place the MCLR pin pull-up resistor (10kΞ©) to VDD to prevent unintended resets. Keep oscillator components close to the OSC1/OSC2 pins to minimize noise. For programming, provide a 5-pin header for ICSP (MCLR, VDD, VSS, PGD, PGC).

Ensure the MCLR pin is not left floating; tie it to VDD through a resistor. When using the ADC, configure the analog pins properly and add a capacitor (e.g., 0.1uF) on analog inputs to reduce noise. The EEPROM write time varies with voltage and temperature; wait for the write to complete before accessing EEPROM again.

Compliance Information

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

RoHS3 compliant per DigiKey. Not AEC-Q100 qualified. Lead-free per datasheet.

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