3D Model
Open in new tab ↗
Loads when you scroll to it. Unloads after 5 minutes in the background.
Symbol & Footprint
Schematic Symbol
Open full view ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
PCB Footprint
Open full view ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
Datasheet
Open in new tab ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
README
markdownPIC16F876-20I
Microchip Tech · Microcontroller Units (MCUs/MPUs/SOCs) · SOIC-28-300mil
PIC16F876-20I 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; this pin is an active low RESET to the device. |
| 2 | RA0/AN0 | bidirectional | PORTA bi-directional I/O with TTL input buffer; RA0 can also be analog input 0. |
| 3 | RA1/AN1 | bidirectional | PORTA bi-directional I/O with TTL input buffer; RA1 can also be analog input 1. |
| 4 | RA2/AN2/VREF- | bidirectional | PORTA bi-directional 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 bi-directional I/O with TTL input buffer; RA3 can also be analog input 3 or the positive analog reference voltage. |
| 6 | RA4/T0CKI | bidirectional | PORTA I/O with Schmitt Trigger input; RA4 can also be the Timer0 clock input, and its output is open drain type. |
| 7 | RA5/SS/AN4 | bidirectional | PORTA I/O with TTL input buffer; RA5 can also be analog input 4 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, with a Schmitt Trigger buffer in RC oscillator mode and a CMOS input otherwise. |
| 10 | OSC2/CLKOUT | output | Oscillator crystal output connecting to a crystal or resonator in crystal mode; in RC mode it outputs CLKOUT at 1/4 the frequency of OSC1. |
| 11 | RC0/T1OSO/T1CKI | bidirectional | PORTC bi-directional I/O with Schmitt Trigger input; RC0 can also be the Timer1 oscillator output or Timer1 clock input. |
| 12 | RC1/T1OSI/CCP2 | bidirectional | PORTC bi-directional I/O with Schmitt Trigger input; RC1 can also be the Timer1 oscillator input or Capture2 input, Compare2 output, or PWM2 output. |
| 13 | RC2/CCP1 | bidirectional | PORTC bi-directional I/O with Schmitt Trigger input; RC2 can also be the Capture1 input, Compare1 output, or PWM1 output. |
| 14 | RC3/SCK/SCL | bidirectional | PORTC bi-directional I/O with Schmitt Trigger input; RC3 can also be the synchronous serial clock input/output for both SPI and I2C modes. |
| 15 | RC4/SDI/SDA | bidirectional | PORTC bi-directional I/O with Schmitt Trigger input; RC4 can also be the SPI Data In (SPI mode) or data I/O (I2C mode). |
| 16 | RC5/SDO | bidirectional | PORTC bi-directional I/O with Schmitt Trigger input; RC5 can also be the SPI Data Out (SPI mode). |
| 17 | RC6/TX/CK | bidirectional | PORTC bi-directional I/O with Schmitt Trigger input; RC6 can also be the USART asynchronous transmit or synchronous clock. |
| 18 | RC7/RX/DT | bidirectional | PORTC bi-directional I/O with Schmitt Trigger input; 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; the features list gives the device operating voltage range as 2.0V to 5.5V. |
| 21 | RB0/INT | bidirectional | PORTB bi-directional I/O with TTL input buffer (Schmitt Trigger when used as external interrupt); RB0 can also be the external interrupt pin, and PORTB pins can be software-programmed for internal weak pull-up. |
| 22 | RB1 | bidirectional | PORTB bi-directional I/O with TTL input buffer; PORTB pins can be software-programmed for internal weak pull-up. |
| 23 | RB2 | bidirectional | PORTB bi-directional I/O with TTL input buffer; PORTB pins can be software-programmed for internal weak pull-up. |
| 24 | RB3/PGM | bidirectional | PORTB bi-directional I/O with TTL input buffer; RB3 can also be the low voltage programming input. |
| 25 | RB4 | bidirectional | PORTB bi-directional I/O with TTL input buffer; RB4 is an interrupt-on-change pin. |
| 26 | RB5 | bidirectional | PORTB bi-directional I/O with TTL input buffer; RB5 is an interrupt-on-change pin. |
| 27 | RB6/PGC | bidirectional | PORTB bi-directional I/O with Schmitt Trigger input in serial programming mode; RB6 can also be an interrupt-on-change pin, an In-Circuit Debugger pin, or the serial programming clock. |
| 28 | RB7/PGD | bidirectional | PORTB bi-directional I/O with Schmitt Trigger input in serial programming mode; RB7 can also be an interrupt-on-change pin, an In-Circuit Debugger pin, or the 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 |
|---|---|---|---|---|---|---|---|
| Supply voltage (LP, XT, RC oscillator) | VDD | 4 | 5.5 | V | LP, XT, RC osc configuration | 152 | |
| Supply voltage (HS oscillator) | VDD | 4.5 | 5.5 | V | HS osc configuration | 152 | |
| Operating temperature (industrial) | TA | -40 | 85 | °C | for industrial | 152 | |
| 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 MCLR with respect to VSS | MCLR | 0 | 14 | V | 149 | ||
| Voltage on RA4 with respect to VSS | RA4 | 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 | ||
| Supply voltage: VDD Brown-out Reset voltage | VBOR | 3.7 | 4 | 4.35 | V | BODEN bit in configuration word enabled | 152 |
| Supply current (RC oscillator configurations) | IDD | 1.6 | 4 | mA | RC osc configurations, FOSC = 4 MHz, VDD = 5.5V | 153 | |
| Supply current (HS oscillator configuration) | IDD | 7 | 15 | mA | HS osc configuration, FOSC = 20 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, alternate row 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 low voltage, Ports RC3 and RC4 with SMBus | VIL | -0.5 | 0.6 | V | for VDD = 4.5 to 5.5V | 155 | |
| Input high voltage, I/O ports with TTL buffer | VIH | 2 | V | 4.5V <= VDD <= 5.5V | 155 | ||
| Input high voltage, Ports RC3 and RC4 with SMBus | VIH | 1.4 | 5.5 | V | for VDD = 4.5 to 5.5V | 155 | |
| PORTB weak pull-up current | IPURB | 50 | 250 | 400 | uA | VDD = 5V, VPIN = VSS, -40°C to +85°C | 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 | ||
| 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 | ||
| OSC2 pin capacitive loading | COSC2 | 15 | pF | In XT, HS and LP modes when external clock is used to drive OSC1 | 156 | ||
| I/O pin capacitive loading | CIO | 50 | pF | All I/O pins and OSC2 (RC mode) | 156 | ||
| SCL, SDA capacitive loading (I2C mode) | CB | 400 | pF | SCL, SDA (I2C mode) | 156 | ||
| VDD for data EEPROM read/write | 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 program FLASH read | VPR | 5.5 | V | VMIN = min operating voltage | 156 | ||
| VDD for program FLASH erase/write | 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 -20) | FOSC | 20 | MHz | HS osc mode (-20) | 162 | ||
| Oscillator frequency (HS -20) | FOSC | 4 | 20 | MHz | HS osc mode (-20) | 162 | |
| Instruction cycle time | TCY | 200 | ns | TCY = 4/FOSC | 162 | ||
| Oscillator period (HS -20) | TOSC | 50 | 250 | ns | HS osc mode (-20) | 162 | |
| External clock in (OSC1) high or low time (HS) | TosL,TosH | 15 | ns | HS oscillator | 162 | ||
| External clock in (OSC1) rise or fall time (HS) | TosR,TosF | 15 | ns | HS oscillator | 162 | ||
| OSC1 to CLKOUT | TosH2ckL | 75 | 200 | ns | 163 | ||
| OSC1 (Q1 cycle) to port out valid | TosH2ioV | 100 | 255 | ns | 163 | ||
| OSC1 (Q2 cycle) to port input invalid (I/O in hold time) | TosH2ioI | 100 | ns | Standard (F) | 163 | ||
| Port output rise time | TioR | 10 | 40 | ns | Standard (F) | 163 | |
| Port output fall time | TioF | 10 | 40 | ns | Standard (F) | 163 |
CAD (KiCad official)
- Symbol:
PIC16F876-20I - Footprint:
Package_SO:SOIC-28W_7.5x17.9mm_P1.27mm - 3D model: SOIC-28-300mil (KiCad packages3D, STEP)
- 3D model files:
pic16f876-20i-so-etched.step/pic16f876-20i-so-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);pic16f876-20i-so.step/pic16f876-20i-so.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-11-17, 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).