Generated by kicad-footprint-generator · KiCad file format 20260206
PIC16F876-20
Microchip Tech · Pre-ordered MCUs · SOIC-28-300mil
PIC16F876-20 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 can also be analog input0. |
| 3 | RA1/AN1 | bidirectional | RA1 can also be analog input1. |
| 4 | RA2/AN2/VREF- | bidirectional | RA2 can also be analog input2 or negative analog reference voltage. |
| 5 | RA3/AN3/VREF+ | bidirectional | RA3 can also be analog input3 or positive analog reference voltage. |
| 6 | RA4/T0CKI | bidirectional | RA4 can also be the clock input to the Timer0 module; output is open drain type. |
| 7 | RA5/SS/AN4 | bidirectional | RA5 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/external clock source input. |
| 10 | OSC2/CLKOUT | output | Oscillator crystal output; connects to crystal or resonator in crystal oscillator mode, and in RC mode outputs CLKOUT which has 1/4 the frequency of OSC1. |
| 11 | RC0/T1OSO/T1CKI | bidirectional | RC0 can also be the Timer1 oscillator output or Timer1 clock input. |
| 12 | RC1/T1OSI/CCP2 | bidirectional | RC1 can also be the Timer1 oscillator input or Capture2 input/Compare2 output/PWM2 output. |
| 13 | RC2/CCP1 | bidirectional | RC2 can also be the Capture1 input/Compare1 output/PWM1 output. |
| 14 | RC3/SCK/SCL | bidirectional | RC3 can also be the synchronous serial clock input/output for both SPI and I2C modes. |
| 15 | RC4/SDI/SDA | bidirectional | RC4 can also be the SPI Data In (SPI mode) or data I/O (I2C mode). |
| 16 | RC5/SDO | bidirectional | RC5 can also be the SPI Data Out (SPI mode). |
| 17 | RC6/TX/CK | bidirectional | RC6 can also be the USART Asynchronous Transmit or Synchronous Clock. |
| 18 | RC7/RX/DT | bidirectional | 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 | RB0 can also be the external interrupt pin; this buffer is a Schmitt Trigger input when configured as the external interrupt. |
| 22 | RB1 | bidirectional | PORTB bi-directional I/O pin, which can be software programmed for internal weak pull-up on all inputs. |
| 23 | RB2 | bidirectional | PORTB bi-directional I/O pin, which can be software programmed for internal weak pull-up on all inputs. |
| 24 | RB3/PGM | bidirectional | RB3 can also be the low voltage programming input. |
| 25 | RB4 | bidirectional | Interrupt-on-change pin. |
| 26 | RB5 | bidirectional | Interrupt-on-change pin. |
| 27 | RB6/PGC | bidirectional | Interrupt-on-change pin or In-Circuit Debugger pin; serial programming clock. |
| 28 | RB7/PGD | bidirectional | Interrupt-on-change pin or In-Circuit Debugger pin; 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 (LP, XT, RC osc) | 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 for Power-on Reset | 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 | |
| Supply Current (HS osc) | IDD | 7 | 15 | mA | HS osc configuration, FOSC = 20 MHz, VDD = 5.5V | 153 | |
| Brown-out Reset Current | IBOR | 85 | 200 | µA | BOR enabled, VDD = 5.0V | 153 | |
| Power-down Current | IPD | 10.5 | 42 | µA | VDD = 4.0V, WDT enabled, -40C to +85C | 154 | |
| Power-down Current | IPD | 1.5 | 16 | µA | VDD = 4.0V, WDT enabled, -40C to +85C | 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 | ||
| PORTB Weak Pull-up Current | IPURB | 50 | 250 | 400 | µA | VDD = 5V, VPIN = VSS, -40°C to +85°C | 155 |
| Input Leakage Current, I/O ports | IIL | 1 | µA | VSS ≤ VPIN ≤ VDD, pin at hi-impedance | 155 | ||
| Input Leakage Current, MCLR, RA4/T0CKI | IIL | 5 | µA | VSS ≤ VPIN ≤ VDD | 155 | ||
| Input Leakage Current, OSC1 | IIL | 5 | µA | VSS ≤ VPIN ≤ VDD, XT, HS and LP osc configuration | 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) | 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 | 156 | |||
| Capacitive Loading, SCL, SDA (I2C mode) | CB | 400 | pF | SCL, SDA (I2C mode) | 156 | ||
| VDD for read/write (EEPROM) | VDRW | 5.5 | V | Using EECON to read/write, VMIN = min. operating voltage | 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 (FLASH) | VPR | 5.5 | V | VMIN = min operating voltage | 156 | ||
| VDD for erase/write (FLASH) | VDD | 5.5 | V | Using EECON to read/write, VMIN = min. operating voltage | 156 | ||
| Program FLASH Erase/Write cycle time | TPEW | 4 | 8 | ms | 156 | ||
| External CLKIN Frequency (HS osc -20) | FOSC | 20 | MHz | HS osc mode (-20) | 162 | ||
| External CLKIN Period (HS osc -20) | TOSC | 50 | ns | HS osc mode (-20) | 162 | ||
| Instruction Cycle Time | TCY | 200 | ns | TCY = 4/FOSC | 162 | ||
| OSC1 (Q1 cycle) to Port out valid | TosH2ioV | 255 | ns | 163 | |||
| Port output rise time (Standard F) | TioR | 10 | 40 | ns | Standard (F) | 163 | |
| Port output fall time (Standard F) | TioF | 10 | 40 | ns | Standard (F) | 163 | |
| Absolute max ambient temperature under bias | TA | -55 | 125 | °C | Ambient temperature under bias | 149 | |
| Absolute max storage temperature | TSTG | -65 | 150 | °C | Storage temperature | 149 | |
| Absolute max voltage on VDD with respect to VSS | VDD | -0.3 | 7.5 | V | Voltage on VDD with respect to VSS | 149 | |
| Absolute max voltage on MCLR with respect to VSS | VMCLR | 0 | 14 | V | Voltage on MCLR with respect to VSS (Note 2) | 149 | |
| Absolute max voltage on RA4 with respect to VSS | VRA4 | 0 | 8.5 | V | Voltage on RA4 with respect to VSS | 149 | |
| Absolute max total power dissipation | Pdis | 1 | W | Note 1 | 149 | ||
| Absolute max input clamp current | IIK | 20 | mA | VI < 0 or VI > VDD | 149 | ||
| Absolute max output clamp current | IOK | 20 | mA | VO < 0 or VO > VDD | 149 |
CAD (KiCad official)
- Symbol:
PIC16F876-20 - Footprint:
Package_SO:SOIC-28W_7.5x17.9mm_P1.27mm - 3D model: SOIC-28-300mil (KiCad packages3D, STEP)
- 3D model files:
pic16f876-20-etched.step/pic16f876-20-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);pic16f876-20.step/pic16f876-20.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-30, 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).