Synchronized Pinout (Symbol / 2D / 3D) (40/40)
Touch or hover any pin to highlight concurrently across Symbol, Footprint and 3D| Pin | Symbol | Type | Function (EN) |
|---|---|---|---|
| 1 | MCLR/VPP | I/O | Multiplexed I/O & Peripheral Pin MCLR/VPP (General) |
| 2 | RA0/AN0 | I/O | Multiplexed I/O & Peripheral Pin RA0/AN0 (General) |
| 3 | RA1/AN1 | I/O | Multiplexed I/O & Peripheral Pin RA1/AN1 (General) |
| 4 | RA2/AN2/VREF | Analog | Multiplexed I/O & Peripheral Pin RA2/AN2/VREF (General) |
| 5 | RA3/AN3/VREF+ | Analog | Multiplexed I/O & Peripheral Pin RA3/AN3/VREF+ (General) |
| 6 | RA4/T0CKI | I/O | Multiplexed I/O & Peripheral Pin RA4/T0CKI (General) |
| 7 | RA5/AN4/SS# | I/O | Multiplexed I/O & Peripheral Pin RA5/AN4/SS# (General) |
| 8 | RE0/RD#/AN5 | I/O | Multiplexed I/O & Peripheral Pin RE0/RD#/AN5 (General) |
| 9 | RE1/WR#/AN6 | I/O | Multiplexed I/O & Peripheral Pin RE1/WR#/AN6 (General) |
| 10 | RE2/CS#/AN7 | I/O | Multiplexed I/O & Peripheral Pin RE2/CS#/AN7 (General) |
| 11 | VDD | Power | Power Supply Input (VDD — 2.0V to 5.5V) |
| 12 | VSS | GND | Ground Reference Pin (VSS) |
| 13 | OSC1/CLKIN | I/O | Multiplexed I/O & Peripheral Pin OSC1/CLKIN (RTC/CLK) |
| 14 | OSC2/CLKOUT | I/O | Multiplexed I/O & Peripheral Pin OSC2/CLKOUT (RTC/CLK) |
| 15 | RC0/T1OSO/T1CKI | I/O | Multiplexed I/O & Peripheral Pin RC0/T1OSO/T1CKI (General) |
| 16 | RC1/T1OSI/CCP2 | I/O | Multiplexed I/O & Peripheral Pin RC1/T1OSI/CCP2 (General) |
| 17 | RC2/CCP1 | I/O | Multiplexed I/O & Peripheral Pin RC2/CCP1 (General) |
| 18 | RC3/SCK/SCL | I/O | Multiplexed I/O & Peripheral Pin RC3/SCK/SCL (SPI, I2C) |
| 19 | RD0/PSP0 | I/O | Multiplexed I/O & Peripheral Pin RD0/PSP0 (General) |
| 20 | RD1/PSP1 | I/O | Multiplexed I/O & Peripheral Pin RD1/PSP1 (General) |
| 21 | RD2/PSP2 | I/O | Multiplexed I/O & Peripheral Pin RD2/PSP2 (General) |
| 22 | RD3/PSP3 | I/O | Multiplexed I/O & Peripheral Pin RD3/PSP3 (General) |
| 23 | RC4/SDI/SDA | I/O | Multiplexed I/O & Peripheral Pin RC4/SDI/SDA (I2C) |
| 24 | RC5/SDO | I/O | Multiplexed I/O & Peripheral Pin RC5/SDO (General) |
| 25 | RC6/TX/CK | I/O | Multiplexed I/O & Peripheral Pin RC6/TX/CK (General) |
| 26 | RC7/RX/DT | I/O | Multiplexed I/O & Peripheral Pin RC7/RX/DT (General) |
| 27 | RD4/PSP4 | I/O | Multiplexed I/O & Peripheral Pin RD4/PSP4 (General) |
| 28 | RD5/PSP5 | I/O | Multiplexed I/O & Peripheral Pin RD5/PSP5 (General) |
| 29 | RD6/PSP6 | I/O | Multiplexed I/O & Peripheral Pin RD6/PSP6 (General) |
| 30 | RD7/PSP7 | I/O | Multiplexed I/O & Peripheral Pin RD7/PSP7 (General) |
| 31 | VSS | GND | Ground Reference Pin (VSS) |
| 32 | VDD | Power | Power Supply Input (VDD — 2.0V to 5.5V) |
| 33 | RB0/INT | I/O | Multiplexed I/O & Peripheral Pin RB0/INT (General) |
| 34 | RB1 | I/O | Multiplexed I/O & Peripheral Pin RB1 (General) |
| 35 | RB2 | I/O | Multiplexed I/O & Peripheral Pin RB2 (General) |
| 36 | RB3/PGM | I/O | Multiplexed I/O & Peripheral Pin RB3/PGM (General) |
| 37 | RB4 | I/O | Multiplexed I/O & Peripheral Pin RB4 (General) |
| 38 | RB5 | I/O | Multiplexed I/O & Peripheral Pin RB5 (General) |
| 39 | RB6/PGC | I/O | Multiplexed I/O & Peripheral Pin RB6/PGC (General) |
| 40 | RB7/PGD | I/O | Multiplexed I/O & Peripheral Pin RB7/PGD (General) |
Extracted Drawings Gallery (6 Standard Drawings + 16 Extracted Figures)
Read the original datasheet PDF directly or click any drawing to view fullscreenTechnical Specifications & Part Details (PIC16F877-04/P)
Summary of electrical parameters, mechanical dimensions, voltage range and peripheral interfaces from Datasheet (EN)5-Point Standards Verification
Automated compliance checks prior to exportHardware Verification & Community Engineering Reviews
Summary of electrical parameters, mechanical dimensions, voltage range and peripheral interfaces from DatasheetFamily Variants & Same Datasheet Chips — PIC16F877 (2)
PIC16F877 (PLCC-44(16.6x16.6))
Mechanical Dimensions & Land Pattern (PDIP-40)
Extracted from Datasheet & IPC-7351B NormalizedRecommended Companion BOM & Drop-In Equivalents
Passive external components per reference schematic and 1:1 pin-compatible alternatives| Designator / Replacement MPN | Value / Package | Function & PCB Layout Rule |
|---|---|---|
| N/A BOM | Per application circuit PDIP-40 | Size power & signal trace widths for rated load current following IPC-2221 clearance rules. |
Technical Frequently Asked Questions (FAQ) — PIC16F877-04/P (PDIP-40)
Quick answers covering Pinout, IPC-7351B Land Pattern dimensions, and CAD export formatsWhat is the Pinout and operating voltage specification of PIC16F877-04/P (PDIP-40)?
Manufactured by MICROCHIP, the PIC16F877-04/P is housed in a PDIP-40 package with 40 pins and a 2.54 mm lead pitch, supporting a VCC supply range of 2.0V to 5.5V. Key pins include: 1 (MCLR/VPP: Multiplexed I/O & Peripheral Pin MCLR/VPP (General)), 2 (RA0/AN0: Multiplexed I/O & Peripheral Pin RA0/AN0 (General)), 3 (RA1/AN1: Multiplexed I/O & Peripheral Pin RA1/AN1 (General)), 4 (RA2/AN2/VREF: Multiplexed I/O & Peripheral Pin RA2/AN2/VREF (General)), 5 (RA3/AN3/VREF+: Multiplexed I/O & Peripheral Pin RA3/AN3/VREF+ (General)), 6 (RA4/T0CKI: Multiplexed I/O & Peripheral Pin RA4/T0CKI (General)).
What are the IPC-7351B PCB Footprint dimensions for PIC16F877-04/P?
Normalized from the official datasheet mechanical drawing per IPC-7351B (Density Level B Nominal), PIC16F877-04/P (PDIP-40) has a nominal body envelope of 10.00 × 10.00 mm, pitch e = 2.54 mm, and 40 copper pads.
Where can I download KiCad (.kicad_mod, .kicad_sym), Fusion 360 (.lbr), and 3D STEP models for PIC16F877-04/P?
You can download the verified open-hardware (CERN-OHL-P-2.0) CAD library bundle for PIC16F877-04/P (MICROCHIP, PDIP-40) directly on this page, including KiCad 8 Footprints (.kicad_mod), Schematic Symbols (.kicad_sym), Autodesk Fusion 360 / Eagle (.lbr), and 3D STEP AP214 / WebGL GLB models.
Static Reference Appendix: Pinout Table (40 pins) & PIC16F877 Family VariantsExpand static table
| Pin # | Signal Name | Electrical Type | Functional Description & Design Notes |
|---|---|---|---|
| 1 | MCLR/VPP | Digital_IO | Signal terminal MCLR/VPP (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: MCLR/VPP. Supported peripheral buses: General. |
| 2 | RA0/AN0 | Digital_IO | Signal terminal RA0/AN0 (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RA0/AN0. Supported peripheral buses: General. |
| 3 | RA1/AN1 | Digital_IO | Signal terminal RA1/AN1 (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RA1/AN1. Supported peripheral buses: General. |
| 4 | RA2/AN2/VREF | Analog | Signal terminal RA2/AN2/VREF (Analog, 2.0V to 5.5V domain). Multiplexed alternate functions: RA2/AN2/VREF. Supported peripheral buses: General. |
| 5 | RA3/AN3/VREF+ | Analog | Signal terminal RA3/AN3/VREF+ (Analog, 2.0V to 5.5V domain). Multiplexed alternate functions: RA3/AN3/VREF+. Supported peripheral buses: General. |
| 6 | RA4/T0CKI | Digital_IO | Signal terminal RA4/T0CKI (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RA4/T0CKI. Supported peripheral buses: General. |
| 7 | RA5/AN4/SS# | Digital_IO | Signal terminal RA5/AN4/SS# (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RA5/AN4/SS#. Supported peripheral buses: General. |
| 8 | RE0/RD#/AN5 | Digital_IO | Signal terminal RE0/RD#/AN5 (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RE0/RD#/AN5. Supported peripheral buses: General. |
| 9 | RE1/WR#/AN6 | Digital_IO | Signal terminal RE1/WR#/AN6 (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RE1/WR#/AN6. Supported peripheral buses: General. |
| 10 | RE2/CS#/AN7 | Digital_IO | Signal terminal RE2/CS#/AN7 (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RE2/CS#/AN7. Supported peripheral buses: General. |
| 11 | VDD | Power_In | Primary positive power supply input (VDD) operating in the 2.0V to 5.5V domain (Max rating: 5.5V). |
| 12 | VSS | GND | 0V electrical ground return terminal (VSS) for internal core logic, I/O drivers, and analog sub-blocks. |
| 13 | OSC1/CLKIN | Digital_IO | Signal terminal OSC1/CLKIN (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: OSC1/CLKIN. Supported peripheral buses: RTC/CLK. |
| 14 | OSC2/CLKOUT | Digital_IO | Signal terminal OSC2/CLKOUT (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: OSC2/CLKOUT. Supported peripheral buses: RTC/CLK. |
| 15 | RC0/T1OSO/T1CKI | Digital_IO | Signal terminal RC0/T1OSO/T1CKI (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RC0/T1OSO/T1CKI. Supported peripheral buses: General. |
| 16 | RC1/T1OSI/CCP2 | Digital_IO | Signal terminal RC1/T1OSI/CCP2 (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RC1/T1OSI/CCP2. Supported peripheral buses: General. |
| 17 | RC2/CCP1 | Digital_IO | Signal terminal RC2/CCP1 (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RC2/CCP1. Supported peripheral buses: General. |
| 18 | RC3/SCK/SCL | Digital_IO | Signal terminal RC3/SCK/SCL (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RC3/SCK/SCL. Supported peripheral buses: SPI, I2C. |
| 19 | RD0/PSP0 | Digital_IO | Signal terminal RD0/PSP0 (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RD0/PSP0. Supported peripheral buses: General. |
| 20 | RD1/PSP1 | Digital_IO | Signal terminal RD1/PSP1 (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RD1/PSP1. Supported peripheral buses: General. |
| 21 | RD2/PSP2 | Digital_IO | Signal terminal RD2/PSP2 (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RD2/PSP2. Supported peripheral buses: General. |
| 22 | RD3/PSP3 | Digital_IO | Signal terminal RD3/PSP3 (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RD3/PSP3. Supported peripheral buses: General. |
| 23 | RC4/SDI/SDA | Digital_IO | Signal terminal RC4/SDI/SDA (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RC4/SDI/SDA. Supported peripheral buses: I2C. |
| 24 | RC5/SDO | Digital_IO | Signal terminal RC5/SDO (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RC5/SDO. Supported peripheral buses: General. |
| 25 | RC6/TX/CK | Digital_IO | Signal terminal RC6/TX/CK (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RC6/TX/CK. Supported peripheral buses: General. |
| 26 | RC7/RX/DT | Digital_IO | Signal terminal RC7/RX/DT (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RC7/RX/DT. Supported peripheral buses: General. |
| 27 | RD4/PSP4 | Digital_IO | Signal terminal RD4/PSP4 (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RD4/PSP4. Supported peripheral buses: General. |
| 28 | RD5/PSP5 | Digital_IO | Signal terminal RD5/PSP5 (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RD5/PSP5. Supported peripheral buses: General. |
| 29 | RD6/PSP6 | Digital_IO | Signal terminal RD6/PSP6 (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RD6/PSP6. Supported peripheral buses: General. |
| 30 | RD7/PSP7 | Digital_IO | Signal terminal RD7/PSP7 (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RD7/PSP7. Supported peripheral buses: General. |
| 31 | VSS | GND | 0V electrical ground return terminal (VSS) for internal core logic, I/O drivers, and analog sub-blocks. |
| 32 | VDD | Power_In | Primary positive power supply input (VDD) operating in the 2.0V to 5.5V domain (Max rating: 5.5V). |
| 33 | RB0/INT | Digital_IO | Signal terminal RB0/INT (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RB0/INT. Supported peripheral buses: General. |
| 34 | RB1 | Digital_IO | Signal terminal RB1 (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RB1. Supported peripheral buses: General. |
| 35 | RB2 | Digital_IO | Signal terminal RB2 (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RB2. Supported peripheral buses: General. |
| 36 | RB3/PGM | Digital_IO | Signal terminal RB3/PGM (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RB3/PGM. Supported peripheral buses: General. |
| 37 | RB4 | Digital_IO | Signal terminal RB4 (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RB4. Supported peripheral buses: General. |
| 38 | RB5 | Digital_IO | Signal terminal RB5 (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RB5. Supported peripheral buses: General. |
| 39 | RB6/PGC | Digital_IO | Signal terminal RB6/PGC (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RB6/PGC. Supported peripheral buses: General. |
| 40 | RB7/PGD | Digital_IO | Signal terminal RB7/PGD (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RB7/PGD. Supported peripheral buses: General. |













