Install this component

Paste this into Claude Code (VS Code panel, Adom editor, or terminal) to install:

Search the Adom Wiki for the library component "PIC16F877A" (slug: pic16f877a) at https://wiki-ufypy5dpx93o.adom.cloud/wiki/libraries/pic16f877a. Pull down the KiCad symbol, footprint, and 3D model files from the wiki page's assets. Install them into my current KiCad project and register in sym-lib-table and fp-lib-table. If the page has a datasheet URL, save that too.
Manufacturer Microchip
Package DIP-40
Pins 40 pins (Port A, Port B, Port C, Port D, Port E, System, Power)

Library View

Interactive symbol, footprint, and 3D model — hover pins for cross-highlighting.

SymbolGenerated Generated from pin data (KiCad symbol MCU_Microchip_PIC16/PIC16F877A-IP is extends-based)
FootprintKiCad KiCad standard library: Package_DIP/DIP-40_W15.24mm
3DGenerated Generated pad visualization (Babylon.js)

Breakout Board

Auto-generated breakout molecule for PIC16F877A — all pins brought to 2mm-pitch headers with 4 corner machine pins on 8mm grid.

Pricing & Availability

Pin Configuration

Port APort BPort CPort DPort ESystemPower
PinNameGroupFunction
Port A — RA0-RA5 / ADC / comparator
2RA0/AN0Port AGPIO / ADC channel 0
3RA1/AN1Port AGPIO / ADC channel 1
4RA2/AN2/VREF-Port AGPIO / ADC channel 2 / Neg reference
5RA3/AN3/VREF+Port AGPIO / ADC channel 3 / Pos reference
6RA4/T0CKIPort AGPIO / Timer0 external clock
10RE2/AN7/CSPort AGPIO / ADC channel 7 / PSP chip select
Port B — RB0-RB7 / interrupt / ICSP
33RB0/INTPort BGPIO / External interrupt
34RB1Port BGPIO
35RB2Port BGPIO
36RB3/PGMPort BGPIO / Low-voltage programming
37RB4Port BGPIO / Interrupt-on-change
38RB5Port BGPIO / Interrupt-on-change
39RB6/PGCPort BGPIO / ICSP clock
40RB7/PGDPort BGPIO / ICSP data
Port C — RC0-RC7 / Timer / SPI / UART
15RC0/T1OSO/T1CKIPort CGPIO / Timer1 osc out / Timer1 ext clock
16RC1/T1OSI/CCP2Port CGPIO / Timer1 osc in / Capture/Compare 2
17RC2/CCP1Port CGPIO / Capture/Compare/PWM 1
18RC3/SCK/SCLPort CGPIO / SPI clock / I2C clock
23RC4/SDI/SDAPort CGPIO / SPI data in / I2C data
24RC5/SDOPort CGPIO / SPI data out
25RC6/TX/CKPort CGPIO / USART transmit / Sync clock
26RC7/RX/DTPort CGPIO / USART receive / Sync data
Port D — RD0-RD7 / PSP
19RD0/PSP0Port DGPIO / Parallel slave port bit 0
20RD1/PSP1Port DGPIO / Parallel slave port bit 1
21RD2/PSP2Port DGPIO / Parallel slave port bit 2
22RD3/PSP3Port DGPIO / Parallel slave port bit 3
27RD4/PSP4Port DGPIO / Parallel slave port bit 4
28RD5/PSP5Port DGPIO / Parallel slave port bit 5
29RD6/PSP6Port DGPIO / Parallel slave port bit 6
30RD7/PSP7Port DGPIO / Parallel slave port bit 7
Port E — RE0-RE2 / ADC
7RA5/AN4/SSPort EGPIO / ADC channel 4 / SPI slave select
8RE0/AN5/RDPort EGPIO / ADC channel 5 / PSP read
9RE1/AN6/WRPort EGPIO / ADC channel 6 / PSP write
System — Reset and oscillator
1MCLR/VPPSystemMaster clear / Programming voltage
13OSC1/CLKINSystemOscillator input
14OSC2/CLKOUTSystemOscillator output
Power — Supply and ground
11VDDPowerPositive supply
12VSSPowerGround
31VSSPowerGround
32VDDPowerPositive supply

AI Skill Technical Reference

Edit AI Skill

PIC16F877A — 8-bit PIC MCU, 20MHz, 14KB Flash, DIP-40

Manufacturer: Microchip Package: DIP-40

Description

The PIC16F877A is a classic mid-range 8-bit microcontroller from Microchip. It features 14KB Flash, 368B SRAM, 256B EEPROM, and a rich set of peripherals including ADC, USART, I2C, and SPI.

Pin Configuration

Package: DIP-40

  • Pin 1: MCLR/VPP — Master clear / Programming voltage
  • Pin 2: RA0/AN0 — GPIO / ADC channel 0
  • Pin 3: RA1/AN1 — GPIO / ADC channel 1
  • Pin 4: RA2/AN2/VREF- — GPIO / ADC channel 2 / Neg reference
  • Pin 5: RA3/AN3/VREF+ — GPIO / ADC channel 3 / Pos reference
  • Pin 6: RA4/T0CKI — GPIO / Timer0 external clock
  • Pin 7: RA5/AN4/SS — GPIO / ADC channel 4 / SPI slave select
  • Pin 8: RE0/AN5/RD — GPIO / ADC channel 5 / PSP read
  • Pin 9: RE1/AN6/WR — GPIO / ADC channel 6 / PSP write
  • Pin 10: RE2/AN7/CS — GPIO / ADC channel 7 / PSP chip select
  • Pin 11: VDD — Positive supply
  • Pin 12: VSS — Ground
  • Pin 13: OSC1/CLKIN — Oscillator input
  • Pin 14: OSC2/CLKOUT — Oscillator output
  • Pin 15: RC0/T1OSO/T1CKI — GPIO / Timer1 osc out / Timer1 ext clock
  • Pin 16: RC1/T1OSI/CCP2 — GPIO / Timer1 osc in / Capture/Compare 2
  • Pin 17: RC2/CCP1 — GPIO / Capture/Compare/PWM 1
  • Pin 18: RC3/SCK/SCL — GPIO / SPI clock / I2C clock
  • Pin 19: RD0/PSP0 — GPIO / Parallel slave port bit 0
  • Pin 20: RD1/PSP1 — GPIO / Parallel slave port bit 1
  • Pin 21: RD2/PSP2 — GPIO / Parallel slave port bit 2
  • Pin 22: RD3/PSP3 — GPIO / Parallel slave port bit 3
  • Pin 23: RC4/SDI/SDA — GPIO / SPI data in / I2C data
  • Pin 24: RC5/SDO — GPIO / SPI data out
  • Pin 25: RC6/TX/CK — GPIO / USART transmit / Sync clock
  • Pin 26: RC7/RX/DT — GPIO / USART receive / Sync data
  • Pin 27: RD4/PSP4 — GPIO / Parallel slave port bit 4
  • Pin 28: RD5/PSP5 — GPIO / Parallel slave port bit 5
  • Pin 29: RD6/PSP6 — GPIO / Parallel slave port bit 6
  • Pin 30: RD7/PSP7 — GPIO / Parallel slave port bit 7
  • Pin 31: VSS — Ground
  • Pin 32: VDD — Positive supply
  • Pin 33: RB0/INT — GPIO / External interrupt
  • Pin 34: RB1 — GPIO
  • Pin 35: RB2 — GPIO
  • Pin 36: RB3/PGM — GPIO / Low-voltage programming
  • Pin 37: RB4 — GPIO / Interrupt-on-change
  • Pin 38: RB5 — GPIO / Interrupt-on-change
  • Pin 39: RB6/PGC — GPIO / ICSP clock
  • Pin 40: RB7/PGD — GPIO / ICSP data

Sub-Skills
?
What are Sub-Skills?

Sub-skills are community-contributed AI skill extensions for this component. They teach AI assistants about specific tools, configurators, or workflows.

Examples:

  • A manufacturer’s configuration tool for a motor controller
  • A community-written design guide for an amplifier circuit
  • An automated test/validation script for a sensor module

How to add one: Click Add Sub-Skill, provide the URL to your skill and a brief description. Submissions are reviewed by the Adom team before going live.

No sub-skills yet. Be the first to contribute one!

0 revisions · Updated 2026-03-02 17:31:36