main
Ray Publish 0.1.2 ab30227

PIC16F870-I

Microchip Tech · Microcontroller Units (MCUs/MPUs/SOCs) · SOIC-28-300mil

PIC16F870-I from Microchip Tech, in a SOIC-28-300mil. Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model). Symbol, footprint, and 3D from KiCad-official CAD.

Pinout

Pin Name Type Function
1 MCLR/VPP/THV input Active-low Master Clear (Reset) input, also the programming voltage input or High Voltage Test mode control, with a Schmitt Trigger input buffer.
2 RA0/AN0 bidirectional PORTA bidirectional I/O with TTL input buffer; RA0 can also be analog input 0.
3 RA1/AN1 bidirectional PORTA bidirectional I/O with TTL input buffer; RA1 can also be analog input 1.
4 RA2/AN2/VREF- bidirectional PORTA bidirectional I/O with TTL input buffer; RA2 can also be analog input 2 or the negative analog reference voltage.
5 RA3/AN3/VREF+ bidirectional PORTA bidirectional I/O with TTL input buffer; RA3 can also be analog input 3 or the positive analog reference voltage.
6 RA4/T0CKI bidirectional PORTA bidirectional I/O with Schmitt Trigger input; RA4 can also be the clock input to Timer0, and its output is open drain type.
7 RA5/AN4 bidirectional PORTA bidirectional I/O with TTL input buffer; RA5 can also be analog input 4.
8 VSS power_in Ground reference for logic and I/O pins.
9 OSC1/CLKI input Oscillator crystal input or external clock source input.
10 OSC2/CLKO output Oscillator crystal output connecting to crystal or resonator in Crystal Oscillator mode; in RC mode it outputs CLKO at 1/4 the OSC1 frequency, denoting the instruction cycle rate.
11 RC0/T1OSO/T1CKI bidirectional PORTC bidirectional Schmitt Trigger I/O; RC0 can also be the Timer1 oscillator output or Timer1 clock input.
12 RC1/T1OSI bidirectional PORTC bidirectional Schmitt Trigger I/O; RC1 can also be the Timer1 oscillator input.
13 RC2/CCP1 bidirectional PORTC bidirectional Schmitt Trigger I/O; RC2 can also be the Capture1 input, Compare1 output or PWM1 output.
14 RC3 bidirectional PORTC bidirectional Schmitt Trigger I/O with no alternate function listed in the pinout table.
15 RC4 bidirectional PORTC bidirectional Schmitt Trigger I/O with no alternate function listed in the pinout table.
16 RC5 bidirectional PORTC bidirectional Schmitt Trigger I/O with no alternate function listed in the pinout table.
17 RC6/TX/CK bidirectional PORTC bidirectional Schmitt Trigger I/O; RC6 can also be the USART asynchronous transmit or synchronous clock.
18 RC7/RX/DT bidirectional PORTC bidirectional Schmitt Trigger I/O; RC7 can also be the USART asynchronous receive or synchronous data.
19 VSS power_in Ground reference for logic and I/O pins.
20 VDD power_in Positive supply for logic and I/O pins.
21 RB0/INT bidirectional PORTB bidirectional I/O with internal weak pull-up option; RB0 can also be the external interrupt pin, with a Schmitt Trigger input when configured as the interrupt or in LVP mode.
22 RB1 bidirectional PORTB bidirectional I/O with TTL input buffer and software-programmable internal weak pull-up.
23 RB2 bidirectional PORTB bidirectional I/O with TTL input buffer and software-programmable internal weak pull-up.
24 RB3/PGM bidirectional PORTB bidirectional I/O with internal weak pull-up option; RB3 can also be the low voltage programming input, with a Schmitt Trigger input when configured for LVP.
25 RB4 bidirectional PORTB bidirectional I/O with TTL input buffer and software-programmable weak pull-up; interrupt-on-change pin.
26 RB5 bidirectional PORTB bidirectional I/O with TTL input buffer and software-programmable weak pull-up; interrupt-on-change pin.
27 RB6/PGC bidirectional PORTB bidirectional I/O with software-programmable weak pull-up; interrupt-on-change pin or In-Circuit Debugger pin, and serial programming clock with Schmitt Trigger input in serial programming mode.
28 RB7/PGD bidirectional PORTB bidirectional I/O with software-programmable weak pull-up; interrupt-on-change pin or In-Circuit Debugger pin, and serial programming data with Schmitt Trigger input in serial programming mode.

Key specifications

Parameter Value
Manufacturer Microchip Tech
Package SOIC-28-300mil
Category Single Chip Microcomputer/Microcontroller
Pins 28

Electrical characteristics

Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).

Parameter Symbol Min Typ Max Unit Conditions Page
Ambient temperature under bias -55 125 °C 117
Storage temperature -65 150 °C 117
Voltage on any pin with respect to VSS (except VDD, MCLR and RA4) -0.3 V Printed maximum is (VDD + 0.3V); expression, not numeric 117
Voltage on VDD with respect to VSS -0.3 7.5 V 117
Voltage on MCLR with respect to VSS 0 13.25 V 117
Voltage on RA4 with respect to VSS 0 8.5 V 117
Total power dissipation 1 W 117
Input clamp current IIK 20 mA VI < 0 or VI > VDD 117
Output clamp current IOK 20 mA VO < 0 or VO > VDD 117
Supply voltage VDD (PIC16F870/871) VDD 4 5.5 V All configurations 119
Brown-out Reset voltage (FMAX = 14 MHz) VBOR 5.5 V BOR enabled, FMAX = 14 MHz (Note 7), -40°C to +85°C 119
VDD rise rate to ensure internal Power-on Reset signal SVDD 0.05 V/ms See section on Power-on Reset for details 119
Brown-out Reset voltage VBOR 3.7 4 4.35 V BOREN bit in configuration word enabled 119
Supply current IDD (XT, RC osc) IDD 1.6 4 mA XT, RC osc configuration FOSC = 4 MHz, VDD = 5.5V (Note 4) 120
Supply current IDD (HS osc, 20 MHz) IDD 7 15 mA HS osc configuration FOSC = 20 MHz, VDD = 5.5V, -40°C to +85°C 120
Brown-out Reset current IBOR 85 200 µA BOR enabled, VDD = 5.0V 120
Power-down current IPD (WDT enabled) IPD 10.5 42 µA VDD = 4.0V, WDT enabled, -40°C to +85°C 120
Power-down current IPD (WDT disabled) IPD 1.5 19 µA VDD = 4.0V, WDT disabled, -40°C to +85°C 120
Brown-out Reset current (second listing) IBOR 85 200 µA BOR enabled, VDD = 5.0V 120
Input low voltage, I/O ports with TTL buffer VIL 0.8 V 4.5V <= VDD <= 5.5V 121
Input low voltage, RC3 and RC4 with SMBus VIL -0.5 0.6 V For VDD = 4.5 to 5.5V 121
Input high voltage, I/O ports with TTL buffer VIH 2 V 4.5V <= VDD <= 5.5V 121
Input high voltage, RC3 and RC4 with SMBus VIH 1.4 5.5 V For VDD = 4.5 to 5.5V 121
PORTB weak pull-up current IPURB 50 250 400 µA VDD = 5V, VPIN = VSS 121
Input leakage current, I/O ports IIL 1 µA VSS <= VPIN <= VDD, pin at hi-impedance 121
Input leakage current, MCLR and RA4/T0CKI IIL 5 µA VSS <= VPIN <= VDD 121
Input leakage current, OSC1 IIL 5 µA VSS <= VPIN <= VDD, XT, HS and LP osc configuration 121
Output low voltage, I/O ports VOL 0.6 V IOL = 8.5 mA, VDD = 4.5V, -40°C to +85°C 122
Output low voltage, OSC2/CLKO (RC osc) VOL 0.6 V IOL = 1.6 mA, VDD = 4.5V, -40°C to +85°C 122
Open drain high voltage, RA4 pin VOD 8.5 V RA4 pin 122
OSC2 pin capacitive loading COSC2 15 pF In XT, HS and LP modes when external clock is used to drive OSC1 122
All I/O pins and OSC2 (RC mode) capacitive loading CIO 50 pF 122
SCL, SDA capacitive loading (I2C mode) CB 400 pF I2C mode 122
VDD for data EEPROM read/write VDRW 5.5 V Using EECON to read/write, VMIN = min operating voltage 122
Data EEPROM erase/write cycle time TDEW 4 8 ms 122
Program FLASH endurance EP 1000 E/W 25°C at 5V 122
VDD for program FLASH read VPR 5.5 V VMIN = min operating voltage 122
VDD for program FLASH erase/write 5.5 V Using EECON to read/write, VMIN = min operating voltage 122
Program FLASH erase/write cycle time TPEW 4 8 ms 122
External CLKI frequency, XT and RC osc mode FOSC 4 MHz XT and RC Osc mode 127
External CLKI frequency, HS osc mode (-20) FOSC 20 MHz HS Osc mode (-20) 127
External CLKI frequency, LP osc mode FOSC 200 kHz LP Osc mode 127
Oscillator frequency, XT osc mode FOSC 0.1 4 MHz XT Osc mode 127
Oscillator frequency, HS osc mode FOSC 4 20 MHz HS Osc mode 127
Oscillator frequency, LP osc mode FOSC 5 200 kHz LP Osc mode 127
Instruction cycle time TCY 200 ns TCY = 4/FOSC 127
OSC1 (Q1 cycle) to port out valid TosH2ioV 100 255 ns 128
OSC1 (Q2 cycle) to port input invalid (I/O in hold time) TosH2ioI 100 ns Standard (F) part 128
Port output rise time TIOR 40 ns Standard (F) part 128
Port output fall time TIOF 40 ns Standard (F) part 128

CAD (KiCad official)

  • Symbol: PIC16F870-I
  • Footprint: Package_SO:SOIC-28W_7.5x17.9mm_P1.27mm
  • 3D model: SOIC-28-300mil (KiCad packages3D, STEP)
  • 3D model files: pic16f870-i-so-etched.step / pic16f870-i-so-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); pic16f870-i-so.step / pic16f870-i-so.glb are the bare package body.

Provenance

Data extracted from the manufacturer datasheet, not a distributor listing:

  • Datasheet: Microchip Tech datasheet (172 pp, sha256 4c6d10498b8dc240, retrieved 2026-11-17, tier: manufacturer)
  • Extractor: parts-factory 2.0.0 / extract_pins 0.3, primary claude-haiku-5-5 (text), consensus claude-sonnet-5-5 (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.
  • CAD: KiCad official libraries (CC-BY-SA 4.0).

Datasheet PDF