PIC16F870-I/SP - 8-bit MCU, 3.5KB Flash, 28-SPDIP | Microchip
MPN: PIC16F870-I/SP β Active| 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 |
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π Reference alternative (not in catalog)
PIC16LF870-I/SP
β Drop-Inπ Reference alternative (not in catalog)
PIC16F870-I/P
β Drop-Inπ Reference alternative (not in catalog)
PIC16F873A-I/SP
β Drop-Inπ Reference alternative (not in catalog)
PIC16F876A-I/SP
β Drop-Inπ Reference alternative (not in catalog)
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
| 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
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.
Recommended
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.
Recommended
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.
Recommended
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.
Recommended
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.
Recommended
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.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F870-I/SP β comparison, design guidance, and compliance information.
Selection Guide
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
RoHS3 compliant per DigiKey. Not AEC-Q100 qualified. Lead-free per datasheet.