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) — PIC16F871-I/P (PDIP-40)
Quick answers covering Pinout, IPC-7351B Land Pattern dimensions, and CAD export formatsWhat is the Pinout and operating voltage specification of PIC16F871-I/P (PDIP-40)?
Manufactured by MICROCHIP, the PIC16F871-I/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/THV: Multiplexed I/O & Peripheral Pin MCLR/VPP/THV (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 PIC16F871-I/P?
Normalized from the official datasheet mechanical drawing per IPC-7351B (Density Level B Nominal), PIC16F871-I/P (PDIP-40) has a nominal body envelope of 13.74 × 50.26 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 PIC16F871-I/P?
You can download the verified open-hardware (CERN-OHL-P-2.0) CAD library bundle for PIC16F871-I/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) & PIC16F871 Family VariantsExpand static table
| Pin # | Signal Name | Electrical Type | Functional Description & Design Notes |
|---|---|---|---|
| 1 | MCLR/VPP/THV | Digital_IO | Signal terminal MCLR/VPP/THV (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: MCLR/VPP/THV. 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 | Digital_IO | Signal terminal RA5/AN4 (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RA5/AN4. 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/CLKI | Digital_IO | Signal terminal OSC1/CLKI (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: OSC1/CLKI. Supported peripheral buses: RTC/CLK. |
| 14 | OSC2/CLKO | Digital_IO | Signal terminal OSC2/CLKO (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: OSC2/CLKO. 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 | Digital_IO | Signal terminal RC1/T1OSI (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RC1/T1OSI. 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 | Digital_IO | Signal terminal RC3 (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RC3. Supported peripheral buses: General. |
| 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 | Digital_IO | Signal terminal RC4 (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RC4. Supported peripheral buses: General. |
| 24 | RC5 | Digital_IO | Signal terminal RC5 (I/O, 2.0V to 5.5V domain). Multiplexed alternate functions: RC5. 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. |












