Generated by kicad-footprint-generator · KiCad file format 20260206
PIC16F873-04I/SO
Microchip Tech · Microcontroller Units (MCUs/MPUs/SOCs) · SOIC-28-300mil
PIC16F873-04I 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 | Master Clear (Reset) input or programming voltage input; an active low RESET to the device. |
| 2 | RA0/AN0 | bidirectional | RA0 is a bi-directional I/O (TTL) that can also be analog input0. |
| 3 | RA1/AN1 | bidirectional | RA1 is a bi-directional I/O (TTL) that can also be analog input1. |
| 4 | RA2/AN2/VREF- | bidirectional | RA2 is a bi-directional I/O (TTL) that can also be analog input2 or negative analog reference voltage. |
| 5 | RA3/AN3/VREF+ | bidirectional | RA3 is a bi-directional I/O (TTL) that can also be analog input3 or positive analog reference voltage. |
| 6 | RA4/T0CKI | bidirectional | RA4 is a Schmitt Trigger I/O that can also be the clock input to the Timer0 module; its output is open drain type. |
| 7 | RA5/SS/AN4 | bidirectional | RA5 is a bi-directional I/O (TTL) that can also be analog input4 or the slave select for the synchronous serial port. |
| 8 | VSS | power_in | Ground reference for logic and I/O pins. |
| 9 | OSC1/CLKIN | input | Oscillator crystal input or external clock source input (ST/CMOS buffer). |
| 10 | OSC2/CLKOUT | output | Oscillator crystal output connecting to crystal or resonator in crystal oscillator mode; in RC mode it outputs CLKOUT at 1/4 the frequency of OSC1. |
| 11 | RC0/T1OSO/T1CKI | bidirectional | RC0 is a Schmitt Trigger I/O that can also be the Timer1 oscillator output or Timer1 clock input. |
| 12 | RC1/T1OSI/CCP2 | bidirectional | RC1 is a Schmitt Trigger I/O that can also be the Timer1 oscillator input or Capture2 input/Compare2 output/PWM2 output. |
| 13 | RC2/CCP1 | bidirectional | RC2 is a Schmitt Trigger I/O that can also be the Capture1 input/Compare1 output/PWM1 output. |
| 14 | RC3/SCK/SCL | bidirectional | RC3 is a Schmitt Trigger I/O that can also be the synchronous serial clock input/output for both SPI and I2C modes. |
| 15 | RC4/SDI/SDA | bidirectional | RC4 is a Schmitt Trigger I/O that can also be the SPI Data In (SPI mode) or data I/O (I2C mode). |
| 16 | RC5/SDO | bidirectional | RC5 is a Schmitt Trigger I/O that can also be the SPI Data Out (SPI mode). |
| 17 | RC6/TX/CK | bidirectional | RC6 is a Schmitt Trigger I/O that can also be the USART Asynchronous Transmit or Synchronous Clock. |
| 18 | RC7/RX/DT | bidirectional | RC7 is a Schmitt Trigger I/O that 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 | RB0 is a TTL/Schmitt Trigger I/O that can also be the external interrupt pin; PORTB can be software programmed for internal weak pull-up on all inputs. |
| 22 | RB1 | bidirectional | RB1 is a bi-directional TTL I/O of PORTB, which can be software programmed for internal weak pull-up on all inputs. |
| 23 | RB2 | bidirectional | RB2 is a bi-directional TTL I/O of PORTB, which can be software programmed for internal weak pull-up on all inputs. |
| 24 | RB3/PGM | bidirectional | RB3 is a bi-directional TTL I/O that can also be the low voltage programming input. |
| 25 | RB4 | bidirectional | RB4 is a bi-directional TTL I/O with interrupt-on-change pin function. |
| 26 | RB5 | bidirectional | RB5 is a bi-directional TTL I/O with interrupt-on-change pin function. |
| 27 | RB6/PGC | bidirectional | RB6 is a TTL/Schmitt Trigger I/O that can be the interrupt-on-change pin or In-Circuit Debugger pin, and serves as serial programming clock. |
| 28 | RB7/PGD | bidirectional | RB7 is a TTL/Schmitt Trigger I/O that can be the interrupt-on-change pin or In-Circuit Debugger pin, and serves as serial 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 |
|---|---|---|---|---|---|---|---|
| VDD Supply Voltage | VDD | 4 | 5.5 | V | LP, XT, RC osc configuration | 152 | |
| VDD Supply Voltage (HS osc) | VDD | 4.5 | 5.5 | V | HS osc configuration | 152 | |
| Brown-out Reset Voltage | VBOR | 3.7 | 4 | 4.35 | V | BODEN bit in configuration word enabled | 152 |
| VDD Rise Rate to ensure internal Power-on Reset signal | SVDD | 0.05 | V/ms | See section on Power-on Reset for details | 152 | ||
| Supply Current (RC osc) | IDD | 1.6 | 4 | mA | RC osc configurations FOSC = 4 MHz, VDD = 5.5V | 153 | |
| Brown-out Reset Current | IBOR | 85 | 200 | uA | BOR enabled, VDD = 5.0V | 153 | |
| Power-down Current (WDT enabled) | IPD | 10.5 | 42 | uA | VDD = 4.0V, WDT enabled, -40C to +85C | 154 | |
| Power-down Current (WDT enabled) | IPD | 1.5 | 16 | uA | VDD = 4.0V, WDT enabled, -40C to +85C | 154 | |
| Power-down Current (WDT enabled, D021A) | IPD | 1.5 | 19 | uA | VDD = 4.0V, WDT enabled, -40C to +85C | 154 | |
| Brown-out Reset Current | IBOR | 85 | 200 | uA | BOR enabled, VDD = 5.0V | 154 | |
| Input Low Voltage, I/O ports with TTL buffer | VIL | 0.8 | V | 4.5V <= VDD <= 5.5V | 155 | ||
| Input High Voltage, I/O ports with TTL buffer | VIH | 2 | V | 4.5V <= VDD <= 5.5V | 155 | ||
| Input Leakage Current, I/O ports | IIL | 1 | uA | Vss VPIN VDD, Pin at hi-impedance | 155 | ||
| Input Leakage Current, MCLR, RA4/T0CKI | IIL | 5 | uA | Vss VPIN VDD | 155 | ||
| Input Leakage Current, OSC1 | IIL | 5 | uA | Vss VPIN VDD, XT, HS and LP osc configuration | 155 | ||
| PORTB Weak Pull-up Current | IPURB | 50 | 250 | 400 | uA | VDD = 5V, VPIN = VSS, -40C to +85C | 155 |
| Output Low Voltage, I/O ports | VOL | 0.6 | V | IOL = 8.5 mA, VDD = 4.5V, -40C to +85C | 156 | ||
| Output Low Voltage, OSC2/CLKOUT (RC osc config) | VOL | 0.6 | V | IOL = 1.6 mA, VDD = 4.5V, -40C to +85C | 156 | ||
| Open-Drain High Voltage, RA4 pin | VOD | 8.5 | V | RA4 pin | 156 | ||
| Capacitive Loading, OSC2 pin | COSC2 | 15 | pF | In XT, HS and LP modes when external clock is used to drive OSC1 | 156 | ||
| Capacitive Loading, All I/O pins and OSC2 (RC mode) | CIO | 50 | pF | All I/O pins and OSC2 (RC mode) | 156 | ||
| Capacitive Loading, SCL, SDA (I2C mode) | CB | 400 | pF | SCL, SDA (I2C mode) | 156 | ||
| Data EEPROM Erase/write cycle time | TDEW | 4 | 8 | ms | 156 | ||
| Program FLASH Endurance | EP | 1000 | E/W | 25C at 5V | 156 | ||
| VDD for read (program FLASH) | VPR | 5.5 | V | VMIN = min operating voltage | 156 | ||
| VDD for read/write (data EEPROM) | VDRW | 5.5 | V | Using EECON to read/write VMIN = min. operating voltage | 156 | ||
| VDD for erase/write (program FLASH) | VDD | 5.5 | V | Using EECON to read/write, VMIN = min. operating voltage | 156 | ||
| Erase/Write cycle time (program FLASH) | TPEW | 4 | 8 | ms | 156 | ||
| Ambient temperature under bias | -55 | 125 | C | 149 | |||
| Storage temperature | -65 | 150 | C | 149 | |||
| Voltage on VDD with respect to VSS | VDD | -0.3 | 7.5 | V | 149 | ||
| Voltage on any pin with respect to VSS (except VDD, MCLR, RA4) | -0.3 | V | 149 | ||||
| Voltage on MCLR with respect to VSS | 0 | 14 | V | 149 | |||
| Voltage on RA4 with respect to VSS | 0 | 8.5 | V | 149 | |||
| Total power dissipation | 1 | W | 149 | ||||
| Input clamp current | IIK | 20 | mA | VI < 0 or VI > VDD | 149 | ||
| Output clamp current | IOK | 20 | mA | VO < 0 or VO > VDD | 149 | ||
| External CLKIN Frequency (XT and RC) | FOSC | 4 | MHz | XT and RC osc mode | 162 | ||
| External CLKIN Frequency (HS, -04) | FOSC | 4 | MHz | HS osc mode (-04) | 162 | ||
| External CLKIN Frequency (LP) | FOSC | 200 | kHz | LP osc mode | 162 | ||
| Oscillator Frequency (XT) | FOSC | 0.1 | 4 | MHz | XT osc mode | 162 | |
| Oscillator Frequency (RC) | FOSC | 4 | MHz | RC osc mode | 162 | ||
| Oscillator Frequency (LP) | FOSC | 5 | 200 | kHz | LP osc mode | 162 | |
| Instruction Cycle Time | TCY | 200 | ns | TCY = 4/FOSC | 162 | ||
| External CLKIN Period (XT and RC) | TOSC | 250 | ns | XT and RC osc mode | 162 | ||
| External CLKIN Period (HS, -04) | TOSC | 250 | ns | HS osc mode (-04) | 162 |
CAD (KiCad official)
- Symbol:
PIC16F873-04I - Footprint:
Package_SO:SOIC-28W_7.5x17.9mm_P1.27mm - 3D model: SOIC-28-300mil (KiCad packages3D, STEP)
- 3D model files:
pic16f873-04i-etched.step/pic16f873-04i-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);pic16f873-04i.step/pic16f873-04i.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: Microchip Tech datasheet (218 pp, sha256
2b2f4f67afe6ac63, retrieved 2026-10-28, tier: manufacturer) - Extractor: parts-factory
2.0.0/extract_pins 0.3, primaryclaude-haiku-5-5(text), consensusclaude-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).
Other parts in this family
This page is PIC16F873-04I/SO. These part numbers share its family name but are different parts (another package, rating or grade), each with its own page:
- PIC16F873-04I/SP