main
Ray Publish 0.1.2 2ac2d4d

PIC16F872T-I

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

PIC16F872T-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 input Active-low master clear (Reset) input to the device, or programming voltage input; ST input buffer.
2 RA0/AN0 bidirectional PORTA bidirectional digital I/O with TTL input buffer; analog input 0.
3 RA1/AN1 bidirectional PORTA bidirectional digital I/O with TTL input buffer; analog input 1.
4 RA2/AN2/VREF- bidirectional PORTA bidirectional digital I/O with TTL input buffer; analog input 2 and negative analog reference voltage.
5 RA3/AN3/VREF+ bidirectional PORTA bidirectional digital I/O with TTL input buffer; analog input 3 and positive analog reference voltage.
6 RA4/T0CKI bidirectional Digital I/O with Schmitt Trigger input buffer, open drain when configured as output; Timer0 clock input.
7 RA5/SS/AN4 bidirectional PORTA bidirectional digital I/O with TTL input buffer; slave select for the synchronous serial port and analog input 4.
8 VSS power_in Ground reference for logic and I/O pins.
9 OSC1/CLKI input Oscillator crystal or external clock input; Schmitt Trigger buffer when configured in RC mode, otherwise CMOS.
10 OSC2/CLKO output Oscillator crystal output to crystal or resonator; in RC mode outputs CLKO at 1/4 the OSC1 frequency denoting the instruction cycle rate.
11 RC0/T1OSO/T1CKI bidirectional Digital I/O with Schmitt Trigger input buffer; Timer1 oscillator output and Timer1 clock input.
12 RC1/T1OSI/CCP2 bidirectional Digital I/O with Schmitt Trigger input buffer; Timer1 oscillator input.
13 RC2/CCP1 bidirectional Digital I/O with Schmitt Trigger input buffer; Capture1 input, Compare1 output or PWM1 output.
14 RC3/SCK/SCL bidirectional Digital I/O with Schmitt Trigger input buffer; synchronous serial clock input/output for SPI mode and for I2C mode.
15 RC4/SDI/SDA bidirectional Digital I/O with Schmitt Trigger input buffer; SPI data in pin (SPI mode) and SPI data I/O pin (I2C mode).
16 RC5/SDO bidirectional Digital I/O with Schmitt Trigger input buffer; SPI data out pin (SPI mode).
17 RC6 bidirectional Digital I/O with Schmitt Trigger input buffer.
18 RC7 bidirectional Digital I/O with Schmitt Trigger input buffer.
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 Digital I/O with TTL input buffer, Schmitt Trigger when configured as the external interrupt pin (INT).
22 RB1 bidirectional Digital I/O with TTL input buffer.
23 RB2 bidirectional Digital I/O with TTL input buffer.
24 RB3/PGM bidirectional Digital I/O with TTL input buffer; low voltage ICSP programming enable pin.
25 RB4 bidirectional Digital I/O with TTL input buffer; PORTB internal weak pull-up is software programmable on all inputs.
26 RB5 bidirectional Digital I/O with TTL input buffer; PORTB internal weak pull-up is software programmable on all inputs.
27 RB6/PGC bidirectional Digital I/O with TTL/Schmitt Trigger input buffer (Schmitt Trigger in serial programming mode); in-circuit debugger and ICSP programming clock.
28 RB7/PGD bidirectional Digital I/O with TTL/Schmitt Trigger input buffer (Schmitt Trigger in serial programming mode); in-circuit debugger and ICSP programming data.

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
Supply voltage (LP, XT, RC osc configuration) VDD 4 5.5 V LP, XT, RC osc configuration 121
Supply voltage (BOR enabled, FMAX = 14 MHz) VDD 5.5 V BOR enabled, FMAX = 14 MHz 121
VDD rise rate to ensure internal Power-on Reset signal SVDD 0.05 V/ms 121
Brown-out Reset voltage VBOR 3.7 4 4.35 V BODEN bit in configuration word enabled 121
Supply current (RC osc configurations) IDD 1.6 4 mA FOSC = 4 MHz, VDD = 5.5V 121
Supply current (HS osc configuration) IDD 7 15 mA FOSC = 20 MHz, VDD = 5.5V 121
Brown-out Reset current ΔIBOR 85 200 μA BOR enabled, VDD = 5.0V 122
Power-down current (WDT enabled) IPD 10.5 42 μA VDD = 4.0V, WDT enabled, -40°C to +85°C 122
Power-down current (WDT disabled) IPD 1.5 16 μA VDD = 4.0V, WDT disabled, -40°C to +85°C 122
Power-down current (WDT disabled, -40 to +85°C row D021A) IPD 1.5 19 μA VDD = 4.0V, WDT disabled, -40°C to +85°C 122
Brown-out Reset current (D023) ΔIBOR 85 200 μA BOR enabled, VDD = 5.0V 122
Input high voltage, TTL buffer VIH 2 V 4.5V ≤ VDD ≤ 5.5V, I/O ports with TTL buffer 123
Input leakage current, I/O ports IIL -1 1 μA Vss ≤ VPIN ≤ VDD, pin at hi-impedance 123
Input leakage current, MCLR and RA4/T0CKI IIL -5 5 μA Vss ≤ VPIN ≤ VDD 123
Input leakage current, OSC1 IIL -5 5 μA Vss ≤ VPIN ≤ VDD, XT, HS and LP osc configuration 123
PORTB weak pull-up current IPURB 50 250 400 μA VDD = 5V, VPIN = VSS, -40°C to +85°C 123
Output low voltage, I/O ports VOL 0.6 V IOL = 8.5 mA, VDD = 4.5V, -40°C to +85°C 124
Output low voltage, OSC2/CLKOUT (RC osc config) VOL 0.6 V IOL = 1.6 mA, VDD = 4.5V, -40°C to +85°C 124
Open drain high voltage, RA4 pin VOD 8.5 V RA4 pin 124
OSC2 pin capacitive loading COSC2 15 pF In XT, HS and LP modes when external clock is used to drive OSC1 124
All I/O pins and OSC2 (RC mode) capacitive loading CIO 50 pF All I/O pins and OSC2 (RC mode) 124
SCL, SDA (I2C mode) bus capacitive loading CB 400 pF SCL, SDA (I2C mode) 124
VDD for read/write (data EEPROM) VDRW 5.5 V Using EECON to read/write, VMIN = min. operating voltage 124
Data EEPROM erase/write cycle time TDEW 4 8 ms 124
Program FLASH endurance EP 1000 E/W 25°C at 5V 124
VDD for read (program FLASH) VPR 5.5 V VMIN = min. operating voltage 124
VDD for erase/write (program FLASH) VDD 5.5 V Using EECON to read/write, VMIN = min. operating voltage 124
Program FLASH erase/write cycle time TPEW 4 8 ms 124
A/D integral linearity error EIL -1 1 LSb VREF = VDD = 5.12V, VSS ≤ VAIN ≤ VREF (printed < ± 1 LSb) 138
A/D differential linearity error EDL -1 1 LSb VREF = VDD = 5.12V, VSS ≤ VAIN ≤ VREF (printed < ± 1 LSb) 138
A/D offset error EOFF -2 2 LSb VREF = VDD = 5.12V, VSS ≤ VAIN ≤ VREF (printed < ± 2 LSb) 138
A/D gain error EGN -1 1 LSb VREF = VDD = 5.12V, VSS ≤ VAIN ≤ VREF (printed < ± 1 LSb) 138
A/D reference voltage (VREF+ - VREF-) VREF 2 V Absolute minimum electrical spec. to ensure 10-bit accuracy 138
Recommended impedance of analog voltage source ZAIN 10 kΩ 138
External CLKIN frequency (XT and RC osc mode) FOSC 4 MHz XT and RC osc mode (min printed as DC) 129
External CLKIN frequency (HS osc mode -04) FOSC 4 MHz HS osc mode (-04) 129
External CLKIN frequency (HS osc mode -20) FOSC 20 MHz HS osc mode (-20) 129
External CLKIN frequency (LP osc mode) FOSC 200 kHz LP osc mode (min printed as DC) 129
Instruction cycle time TCY 200 ns TCY = 4/FOSC 129
Ambient temperature under bias -55 125 °C 119
Storage temperature -65 150 °C 119
Voltage on any pin with respect to VSS (except VDD, MCLR and RA4) -0.3 V Upper limit printed as VDD + 0.3V 119
Voltage on VDD with respect to VSS -0.3 7.5 V 119
Voltage on MCLR with respect to VSS 0 14 V Note 2 119
Voltage on RA4 with respect to VSS 0 8.5 V 119
Total power dissipation 1 W Note 1 119
Input clamp current, IIK IIK -20 20 mA VI < 0 or VI > VDD 119
Output clamp current, IOK IOK -20 20 mA VO < 0 or VO > VDD 119

CAD (KiCad official)

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

Provenance

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

  • Datasheet: Microchip Tech datasheet (168 pp, sha256 65bfeec06751e6d6, retrieved 2026-11-17)
  • 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