← Commit history
README.md+83−2
@@ -1,5 +1,86 @@ # PIC16F877A -8-bit PIC MCU, 20MHz, 14KB Flash, DIP-40+**Microchip Technology** · 8-bit PIC MCU · PDIP-40 -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.\ No newline at end of file+The classic 40-pin PIC, an 8-bit Microchip microcontroller that taught a generation of engineers embedded C and assembly. It has 14 KB of flash program memory, 368 bytes of RAM, and 256 bytes of EEPROM, running the PIC16 RISC core at up to 20 MHz. The 40-pin DIP brings out 33 I/O across five ports (A-E), an 8-channel 10-bit ADC, three timers with CCP/PWM, and hardware USART, SPI, and I2C (MSSP), plus a parallel slave port. A crystal on OSC1/OSC2 or the internal options set the clock, and in-circuit programming uses PGC/PGD (RB6/RB7). Datasheet-verified 40-pin pinout.++## Pinout++| Pin | Name | Type | Function |+|---|---|---|---|+| 1 | MCLR/VPP | input | Master Clear (active-low reset) input and programming voltage input. Schmitt Trigger buffer. Tie through 10 kΩ pull-up to VDD in normal operation; VPP (~12-13 V) is applied during high-voltage ICSP programming. |+| 2 | RA0/AN0 | bidirectional | PORTA bit 0 digital I/O with TTL input buffer; alternate function is analog input channel AN0 to the 10-bit ADC. |+| 3 | RA1/AN1 | bidirectional | PORTA bit 1 digital I/O with TTL input buffer; alternate function is analog input channel AN1 to the 10-bit ADC. |+| 4 | RA2/AN2/VREF-/CVREF | bidirectional | PORTA bit 2 digital I/O (TTL); can be analog input AN2, ADC low reference input VREF-, or comparator voltage-reference output CVREF. |+| 5 | RA3/AN3/VREF+ | bidirectional | PORTA bit 3 digital I/O (TTL); can be analog input AN3 or ADC high reference input VREF+. |+| 6 | RA4/T0CKI/C1OUT | bidirectional | PORTA bit 4 digital I/O with Schmitt Trigger input buffer, open-drain output stage; also the Timer0 external clock input T0CKI or Comparator 1 output C1OUT. |+| 7 | RA5/AN4/SS/C2OUT | bidirectional | PORTA bit 5 digital I/O (TTL); can be analog input AN4, SPI slave-select input SS, or Comparator 2 output C2OUT. |+| 8 | RE0/RD/AN5 | bidirectional | PORTE bit 0 digital I/O (ST); can be the Parallel Slave Port read-strobe input RD (active-low) or analog input AN5. |+| 9 | RE1/WR/AN6 | bidirectional | PORTE bit 1 digital I/O (ST); can be the Parallel Slave Port write-strobe input WR (active-low) or analog input AN6. |+| 10 | RE2/CS/AN7 | bidirectional | PORTE bit 2 digital I/O (ST); can be the Parallel Slave Port chip-select input CS (active-low) or analog input AN7. |+| 11 | VDD | power_in | Positive supply for logic and I/O pins. Operating range 2.0 V to 5.5 V. Decouple with a 100 nF ceramic capacitor to VSS placed close to the pin (a 40-pin PDIP has two VDD pins; both must be tied to the same rail). |+| 12 | VSS | power_in | Ground reference for logic and I/O pins. Connect to the board ground plane; a 40-pin PDIP has two VSS pins that must be tied to the common ground. |+| 13 | OSC1/CLKI | input | Oscillator crystal input or external clock source input. Schmitt Trigger buffer in RC oscillator mode, CMOS input otherwise. Connect a crystal (with load caps) between OSC1 and OSC2, or drive with an external clock. |+| 14 | OSC2/CLKO | output | Oscillator crystal output; connects to crystal or resonator in Crystal Oscillator mode. In RC mode outputs CLKO at 1/4 of OSC1 frequency, indicating instruction-cycle rate. |+| 15 | RC0/T1OSO/T1CKI | bidirectional | PORTC bit 0 digital I/O (ST); can be Timer1 low-power oscillator output T1OSO or Timer1 external clock input T1CKI. |+| 16 | RC1/T1OSI/CCP2 | bidirectional | PORTC bit 1 digital I/O (ST); can be Timer1 oscillator input T1OSI or CCP2 Capture2 input / Compare2 output / PWM2 output. |+| 17 | RC2/CCP1 | bidirectional | PORTC bit 2 digital I/O (ST); can be CCP1 Capture1 input, Compare1 output, or PWM1 output (up to 10-bit PWM). |+| 18 | RC3/SCK/SCL | bidirectional | PORTC bit 3 digital I/O (ST); MSSP synchronous serial clock I/O - SCK for SPI mode or SCL for I2C mode. |+| 19 | RD0/PSP0 | bidirectional | PORTD bit 0 digital I/O (ST); Parallel Slave Port data bit 0 when PSP is enabled. |+| 20 | RD1/PSP1 | bidirectional | PORTD bit 1 digital I/O (ST); Parallel Slave Port data bit 1 when PSP is enabled. |+| 21 | RD2/PSP2 | bidirectional | PORTD bit 2 digital I/O (ST); Parallel Slave Port data bit 2 when PSP is enabled. |+| 22 | RD3/PSP3 | bidirectional | PORTD bit 3 digital I/O (ST); Parallel Slave Port data bit 3 when PSP is enabled. |+| 23 | RC4/SDI/SDA | bidirectional | PORTC bit 4 digital I/O (ST); MSSP SPI data input SDI or I2C data I/O SDA. |+| 24 | RC5/SDO | bidirectional | PORTC bit 5 digital I/O (ST); MSSP SPI data output SDO. |+| 25 | RC6/TX/CK | bidirectional | PORTC bit 6 digital I/O (ST); USART asynchronous transmit TX or USART synchronous clock CK. |+| 26 | RC7/RX/DT | bidirectional | PORTC bit 7 digital I/O (ST); USART asynchronous receive RX or USART synchronous data DT. |+| 27 | RD4/PSP4 | bidirectional | PORTD bit 4 digital I/O (ST); Parallel Slave Port data bit 4 when PSP is enabled. |+| 28 | RD5/PSP5 | bidirectional | PORTD bit 5 digital I/O (ST); Parallel Slave Port data bit 5 when PSP is enabled. |+| 29 | RD6/PSP6 | bidirectional | PORTD bit 6 digital I/O (ST); Parallel Slave Port data bit 6 when PSP is enabled. |+| 30 | RD7/PSP7 | bidirectional | PORTD bit 7 digital I/O (ST); Parallel Slave Port data bit 7 when PSP is enabled. |+| 31 | VSS | power_in | Ground reference for logic and I/O pins. Second VSS pin on 40-pin PDIP; must be tied to common ground with pin 12. |+| 32 | VDD | power_in | Positive supply for logic and I/O pins (2.0-5.5 V). Second VDD pin on 40-pin PDIP; must be tied to common VDD with pin 11 and decoupled with a 100 nF ceramic near the pin. |+| 33 | RB0/INT | bidirectional | PORTB bit 0 digital I/O with software-programmable weak pull-up; alternate function is the external interrupt input INT (Schmitt Trigger when configured as INT). |+| 34 | RB1 | bidirectional | PORTB bit 1 digital I/O (TTL) with software-programmable weak pull-up. Part of the PORTB interrupt-on-change group (RB4-RB7 only). |+| 35 | RB2 | bidirectional | PORTB bit 2 digital I/O (TTL) with software-programmable weak pull-up. |+| 36 | RB3/PGM | bidirectional | PORTB bit 3 digital I/O (TTL); alternate function is the low-voltage (single-supply) ICSP programming enable input PGM. |+| 37 | RB4 | bidirectional | PORTB bit 4 digital I/O (TTL) with software-programmable weak pull-up and interrupt-on-change capability. |+| 38 | RB5 | bidirectional | PORTB bit 5 digital I/O (TTL) with software-programmable weak pull-up and interrupt-on-change capability. |+| 39 | RB6/PGC | bidirectional | PORTB bit 6 digital I/O (TTL) with interrupt-on-change; alternate function is the in-circuit debugger and ICSP programming clock PGC (Schmitt Trigger when in Serial Programming mode). |+| 40 | RB7/PGD | bidirectional | PORTB bit 7 digital I/O (TTL) with interrupt-on-change; alternate function is the in-circuit debugger and ICSP programming data PGD (Schmitt Trigger when in Serial Programming mode). |++## Key specifications++| Parameter | Value |+|---|---|+| Core | 8-bit PIC (RISC, 35 instructions) |+| Flash | 14 KB (8K x 14) |+| RAM | 368 bytes |+| EEPROM | 256 bytes |+| Max clock | 20 MHz |+| I/O | 33 (ports A-E) |+| ADC | 8-channel 10-bit |+| Serial | USART + SPI + I2C (MSSP) |+| Supply voltage | 2.0-5.5 V |+| Package | PDIP-40 |++## Ordering variants++- `PIC16F877A-I/P (PDIP-40)`+- `PIC16F877A-I/PT (TQFP-44)`++## CAD (KiCad official)++- Symbol: `MCU_Microchip_PIC16:PIC16F877A-IP`+- Footprint: `Package_DIP:DIP-40_W15.24mm`+- 3D model: DIP-40 (KiCad packages3D)++## Provenance++Data extracted from the manufacturer datasheet, not a distributor listing:++- **Datasheet:** [Microchip Technology datasheet](https://ww1.microchip.com/downloads/en/DeviceDoc/39582b.pdf) (14 pp, sha256 `3ab8d00885e545e3`, retrieved 2026-08-17, tier: manufacturer)+- **Extractor:** `ds2sf` (Claude). Every pin and dimension is cited to a datasheet page; it refuses to fabricate.+- **CAD:** KiCad official libraries (CC-BY-SA 4.0).++[Datasheet PDF](docs/pic16f877a-datasheet.pdf)
docs/hero.pngadded
⋯ 1 unchanged line ⋯
docs/pic16f877a-datasheet.pdfadded
⋯ 1 unchanged line ⋯
package.jsonadded+32
@@ -0,0 +1,32 @@+{+  "slug": "pic16f877a",+  "version": "0.1.0",+  "type": "component",+  "description": "Microchip 8-bit PIC MCU, 40-pin DIP. 14 KB flash, 368 B RAM, 20 MHz, 33 I/O, 8-ch 10-bit ADC. Datasheet-verified.",+  "tags": [+    "component",+    "microcontroller",+    "mcu",+    "pic",+    "pic16",+    "8-bit",+    "pdip-40",+    "microchip"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "pic16f877a.kicad_sym",+    "pic16f877a.kicad_mod",+    "pic16f877a.glb",+    "docs/hero.png",+    "docs/pic16f877a-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ]+}\ No newline at end of file
page.json+29−7
@@ -4,8 +4,17 @@   "slug": "pic16f877a",   "title": "PIC16F877A",   "brief": "8-bit PIC MCU, 20MHz, 14KB Flash, DIP-40",-  "version": "1.0.0",-  "tags": [],+  "version": "0.1.0",+  "tags": [+    "component",+    "microcontroller",+    "mcu",+    "pic",+    "pic16",+    "8-bit",+    "pdip-40",+    "microchip"+  ],   "license": "MIT",   "component": {     "mpn": "PIC16F877A",@@ -20,18 +29,31 @@   },   "readme": "# PIC16F877A\n\n8-bit PIC MCU, 20MHz, 14KB Flash, DIP-40\n\nThe 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.",   "author": {-    "id": "695820315b5f1e4db2fcf602",     "name": "Kyle Bergstedt",     "email": "[email protected]"   },-  "visibility": {-    "public": true+  "visibility": "public",+  "hero": {+    "type": "image",+    "path": "docs/hero.png"   },-  "hero": null,   "sample_prompts": [],   "discovery_triggers": [],   "discovery_pitch": null,   "metadata": {},   "created_at": "2026-05-28T05:34:07.234Z",-  "updated_at": "2026-05-28T05:34:07.234Z"+  "updated_at": "2026-05-28T05:34:07.234Z",+  "description": "Microchip 8-bit PIC MCU, 40-pin DIP. 14 KB flash, 368 B RAM, 20 MHz, 33 I/O, 8-ch 10-bit ADC. Datasheet-verified.",+  "dependencies": {},+  "files": [+    "page.json",+    "README.md",+    "pic16f877a.kicad_sym",+    "pic16f877a.kicad_mod",+    "pic16f877a.glb",+    "docs/hero.png",+    "docs/pic16f877a-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ] }\ No newline at end of file
pic16f877a.glbadded
⋯ 1 unchanged line ⋯
pic16f877a.kicad_modadded+458
@@ -0,0 +1,458 @@+(footprint "DIP-40_W15.24mm"+	(version 20260206)+	(generator "kicad-footprint-generator")+	(layer "F.Cu")+	(descr "40-lead though-hole mounted DIP package, row spacing 15.24mm (600 mils)")+	(tags "THT DIP DIL PDIP 2.54mm 15.24mm 600mil")+	(property "Reference" "REF**"+		(at 7.62 -2.33 0)+		(layer "F.SilkS")+		(effects+			(font+				(size 1 1)+				(thickness 0.15)+			)+		)+	)+	(property "Value" "DIP-40_W15.24mm"+		(at 7.62 50.59 0)+		(layer "F.Fab")+		(effects+			(font+				(size 1 1)+				(thickness 0.15)+			)+		)+	)+	(property "KiLib_Generator" "package/DIP/legacy"+		(at 0 0 0)+		(layer "F.SilkS")+		(hide yes)+		(effects+			(font+				(size 1 1)+				(thickness 0.15)+			)+		)+	)+	(attr through_hole)+	(duplicate_pad_numbers_are_jumpers no)+	(fp_line+		(start 1.16 -1.33)+		(end 1.16 49.59)+		(stroke+			(width 0.12)+			(type solid)+		)+		(layer "F.SilkS")+	)+	(fp_line+		(start 1.16 49.59)+		(end 14.08 49.59)+		(stroke+			(width 0.12)+			(type solid)+		)+		(layer "F.SilkS")+	)+	(fp_line+		(start 6.62 -1.33)+		(end 1.16 -1.33)+		(stroke+			(width 0.12)+			(type solid)+		)+		(layer "F.SilkS")+	)+	(fp_line+		(start 14.08 -1.33)+		(end 8.62 -1.33)+		(stroke+			(width 0.12)+			(type solid)+		)+		(layer "F.SilkS")+	)+	(fp_line+		(start 14.08 49.59)+		(end 14.08 -1.33)+		(stroke+			(width 0.12)+			(type solid)+		)+		(layer "F.SilkS")+	)+	(fp_arc+		(start 8.62 -1.33)+		(mid 7.62 -0.33)+		(end 6.62 -1.33)+		(stroke+			(width 0.12)+			(type solid)+		)+		(layer "F.SilkS")+	)+	(fp_rect+		(start -1.05 -1.53)+		(end 16.29 49.78)+		(stroke+			(width 0.05)+			(type solid)+		)+		(fill no)+		(layer "F.CrtYd")+	)+	(fp_line+		(start 0.255 -0.27)+		(end 1.255 -1.27)+		(stroke+			(width 0.1)+			(type solid)+		)+		(layer "F.Fab")+	)+	(fp_line+		(start 0.255 49.53)+		(end 0.255 -0.27)+		(stroke+			(width 0.1)+			(type solid)+		)+		(layer "F.Fab")+	)+	(fp_line+		(start 1.255 -1.27)+		(end 14.985 -1.27)+		(stroke+			(width 0.1)+			(type solid)+		)+		(layer "F.Fab")+	)+	(fp_line+		(start 14.985 -1.27)+		(end 14.985 49.53)+		(stroke+			(width 0.1)+			(type solid)+		)+		(layer "F.Fab")+	)+	(fp_line+		(start 14.985 49.53)+		(end 0.255 49.53)+		(stroke+			(width 0.1)+			(type solid)+		)+		(layer "F.Fab")+	)+	(fp_text user "${REFERENCE}"+		(at 7.62 24.13 90)+		(layer "F.Fab")+		(effects+			(font+				(size 1 1)+				(thickness 0.15)+			)+		)+	)+	(pad "1" thru_hole roundrect+		(at 0 0)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+		(roundrect_rratio 0.15625)+	)+	(pad "2" thru_hole circle+		(at 0 2.54)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "3" thru_hole circle+		(at 0 5.08)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "4" thru_hole circle+		(at 0 7.62)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "5" thru_hole circle+		(at 0 10.16)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "6" thru_hole circle+		(at 0 12.7)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "7" thru_hole circle+		(at 0 15.24)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "8" thru_hole circle+		(at 0 17.78)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "9" thru_hole circle+		(at 0 20.32)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "10" thru_hole circle+		(at 0 22.86)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "11" thru_hole circle+		(at 0 25.4)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "12" thru_hole circle+		(at 0 27.94)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "13" thru_hole circle+		(at 0 30.48)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "14" thru_hole circle+		(at 0 33.02)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "15" thru_hole circle+		(at 0 35.56)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "16" thru_hole circle+		(at 0 38.1)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "17" thru_hole circle+		(at 0 40.64)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "18" thru_hole circle+		(at 0 43.18)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "19" thru_hole circle+		(at 0 45.72)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "20" thru_hole circle+		(at 0 48.26)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "21" thru_hole circle+		(at 15.24 48.26)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "22" thru_hole circle+		(at 15.24 45.72)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "23" thru_hole circle+		(at 15.24 43.18)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "24" thru_hole circle+		(at 15.24 40.64)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "25" thru_hole circle+		(at 15.24 38.1)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "26" thru_hole circle+		(at 15.24 35.56)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "27" thru_hole circle+		(at 15.24 33.02)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "28" thru_hole circle+		(at 15.24 30.48)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "29" thru_hole circle+		(at 15.24 27.94)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "30" thru_hole circle+		(at 15.24 25.4)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "31" thru_hole circle+		(at 15.24 22.86)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "32" thru_hole circle+		(at 15.24 20.32)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "33" thru_hole circle+		(at 15.24 17.78)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "34" thru_hole circle+		(at 15.24 15.24)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "35" thru_hole circle+		(at 15.24 12.7)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "36" thru_hole circle+		(at 15.24 10.16)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "37" thru_hole circle+		(at 15.24 7.62)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "38" thru_hole circle+		(at 15.24 5.08)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "39" thru_hole circle+		(at 15.24 2.54)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "40" thru_hole circle+		(at 15.24 0)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(point+		(at 7.62 24.13)+		(size 1.27)+		(layer "F.Fab")+	)+	(embedded_fonts no)+	(model "${KICAD10_3DMODEL_DIR}/Package_DIP.3dshapes/DIP-40_W15.24mm.step"+		(offset+			(xyz 0 0 0)+		)+		(scale+			(xyz 1 1 1)+		)+		(rotate+			(xyz 0 0 0)+		)+	)+)
pic16f877a.kicad_symadded+829
@@ -0,0 +1,829 @@+(kicad_symbol_lib+	(version 20251024)+	(generator "kicad_symbol_editor")+	(generator_version "10.0")+(symbol "PIC16F877A-IP"+		(pin_names+			(offset 1.016)+		)+		(exclude_from_sim no)+		(in_bom yes)+		(on_board yes)+		(in_pos_files yes)+		(duplicate_pin_numbers_are_jumpers no)+		(property "Reference" "U"+			(at 5.08 35.56 0)+			(show_name no)+			(do_not_autoplace no)+			(effects+				(font+					(size 1.27 1.27)+				)+				(justify left)+			)+		)+		(property "Value" "PIC16F877A-IP"+			(at 5.08 33.02 0)+			(show_name no)+			(do_not_autoplace no)+			(effects+				(font+					(size 1.27 1.27)+				)+				(justify left)+			)+		)+		(property "Footprint" ""+			(at 0 0 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+					(italic yes)+				)+			)+		)+		(property "Datasheet" "http://ww1.microchip.com/downloads/en/DeviceDoc/39582b.pdf"+			(at 0 0 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(property "Description" "4096W Flash, 192B SRAM, 128B EEPROM, DIP40"+			(at 0 0 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(property "ki_keywords" "Flash-Based 8-Bit CMOS Microcontroller"+			(at 0 0 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(property "ki_fp_filters" "DIP* PDIP*"+			(at 0 0 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(symbol "PIC16F877A-IP_0_1"+			(rectangle+				(start -19.05 31.75)+				(end 19.05 -34.29)+				(stroke+					(width 0.254)+					(type default)+				)+				(fill+					(type background)+				)+			)+		)+		(symbol "PIC16F877A-IP_1_1"+			(pin input line+				(at -22.86 27.94 0)+				(length 3.81)+				(name "~{MCLR}/Vpp"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "1"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at 22.86 27.94 180)+				(length 3.81)+				(name "AN0/RA0"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "2"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at 22.86 25.4 180)+				(length 3.81)+				(name "AN1/RA1"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "3"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at 22.86 22.86 180)+				(length 3.81)+				(name "CVref/Vref-/AN2/RA2"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "4"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at 22.86 20.32 180)+				(length 3.81)+				(name "Vref+/AN3/RA3"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "5"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at 22.86 17.78 180)+				(length 3.81)+				(name "C1OUT/T0CKI/RA4"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "6"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at 22.86 15.24 180)+				(length 3.81)+				(name "~{SS}/C2OUT/AN4/RA5"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "7"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at -22.86 -12.7 0)+				(length 3.81)+				(name "RE0/~{RD}/AN5"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "8"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at -22.86 -15.24 0)+				(length 3.81)+				(name "RE1/~{WR}/AN6"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "9"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at -22.86 -17.78 0)+				(length 3.81)+				(name "RE2/~{CS}/AN7"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "10"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin power_in line+				(at 0 35.56 270)+				(length 3.81)+				(name "VDD"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "11"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin power_in line+				(at 0 -38.1 90)+				(length 3.81)+				(name "VSS"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "12"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin input line+				(at -22.86 20.32 0)+				(length 3.81)+				(name "OSC1/CLKI"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "13"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin output line+				(at -22.86 15.24 0)+				(length 3.81)+				(name "OSC2/CLKO"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "14"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at 22.86 -12.7 180)+				(length 3.81)+				(name "T1OSO/T1CKI/RC0"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "15"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at 22.86 -15.24 180)+				(length 3.81)+				(name "T1OSI/CCP2/RC1"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "16"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at 22.86 -17.78 180)+				(length 3.81)+				(name "CCP1/RC2"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "17"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at 22.86 -20.32 180)+				(length 3.81)+				(name "SCK/SCL/RC3"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "18"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at -22.86 10.16 0)+				(length 3.81)+				(name "RD0/PSP0"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "19"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at -22.86 7.62 0)+				(length 3.81)+				(name "RD1/PSP1"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "20"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at -22.86 5.08 0)+				(length 3.81)+				(name "RD2/PSP2"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "21"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at -22.86 2.54 0)+				(length 3.81)+				(name "RD3/PSP3"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "22"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at 22.86 -22.86 180)+				(length 3.81)+				(name "SDI/SDA/RC4"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "23"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at 22.86 -25.4 180)+				(length 3.81)+				(name "SDO/RC5"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "24"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at 22.86 -27.94 180)+				(length 3.81)+				(name "CK/TX/RC6"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "25"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at 22.86 -30.48 180)+				(length 3.81)+				(name "DT/RX/RC7"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "26"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at -22.86 0 0)+				(length 3.81)+				(name "RD4/PSP4"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "27"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at -22.86 -2.54 0)+				(length 3.81)+				(name "RD5/PSP5"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "28"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at -22.86 -5.08 0)+				(length 3.81)+				(name "RD6/PSP6"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "29"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at -22.86 -7.62 0)+				(length 3.81)+				(name "RD7/PSP7"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "30"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin power_in line+				(at 2.54 -38.1 90)+				(length 3.81)+				(name "VSS"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "31"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin power_in line+				(at 2.54 35.56 270)+				(length 3.81)+				(name "VDD"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "32"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at 22.86 10.16 180)+				(length 3.81)+				(name "INT/RB0"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "33"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at 22.86 7.62 180)+				(length 3.81)+				(name "RB1"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "34"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at 22.86 5.08 180)+				(length 3.81)+				(name "RB2"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "35"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at 22.86 2.54 180)+				(length 3.81)+				(name "PGM/RB3"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "36"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at 22.86 0 180)+				(length 3.81)+				(name "RB4"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "37"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at 22.86 -2.54 180)+				(length 3.81)+				(name "RB5"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "38"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at 22.86 -5.08 180)+				(length 3.81)+				(name "PGC/RB6"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "39"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin bidirectional line+				(at 22.86 -7.62 180)+				(length 3.81)+				(name "PGD/RB7"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "40"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+		)+		(embedded_fonts no)+	)+)