main
Ray
Publish 0.1.1
53acc7d
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671
{
"slug": "pic18f66k90-i",
"version": "0.1.1",
"type": "component",
"description": "Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), TQFP-64(10x10). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
"tags": [
"component",
"single chip microcomputer-microcontroller",
"pic18f66k90-i",
"factory-2.0.0",
"extractor-text"
],
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"pic18f66k90-i.kicad_sym",
"pic18f66k90-i.kicad_mod",
"pic18f66k90-i.glb",
"pic18f66k90-i.step",
"pic18f66k90-i.lbr",
"docs/hero.png",
"docs/pic18f66k90-i-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"pic18f66k90-i-hero.glb",
"pic18f66k90-i-hero.overlay.json",
"pic18f66k90-i-etched.glb",
"pic18f66k90-i-etched.step"
],
"component": {
"mpn": "PIC18F66K90-I",
"manufacturer": "Microchip Tech",
"package": "TQFP-64(10x10)",
"pin_count": 64,
"category": "Single Chip Microcomputer/Microcontroller",
"subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
"datasheet": "https://datasheet.lcsc.com/datasheet/pdf/a5f24d9843be45e0a669d504bce9957f.pdf",
"parts": {
"symbol": "pic18f66k90-i.kicad_sym",
"footprint": "pic18f66k90-i.kicad_mod",
"model_3d": "pic18f66k90-i-hero.glb",
"model_3d_plain": "pic18f66k90-i.glb",
"model_3d_step": "pic18f66k90-i-etched.step",
"model_3d_step_plain": "pic18f66k90-i.step",
"lbr": "pic18f66k90-i.lbr"
},
"distributor_links": {
"lcsc": "C634593"
},
"distributor_check": {
"checked_at": "2026-10-31T18:39:20Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": null,
"status": "no match"
},
"mouser": {
"pn": null,
"status": "no match"
}
},
"pins": [
{
"number": "1",
"name": "RE1/LCDBIAS2/P2C",
"type": "bidirectional",
"description": "PORTE bit 1 digital I/O (ST), also LCD BIAS2 analog input and ECCP2 PWM Output C."
},
{
"number": "2",
"name": "RE0/LCDBIAS1/P2D",
"type": "bidirectional",
"description": "PORTE bit 0 digital I/O (ST), also LCD BIAS1 analog input and ECCP2 PWM Output D."
},
{
"number": "3",
"name": "RG0/ECCP3/P3A",
"type": "bidirectional",
"description": "PORTG bit 0 digital I/O (ST), also Capture 3 input/Compare 3 output/PWM3 output and ECCP3 PWM Output A."
},
{
"number": "4",
"name": "RG1/TX2/CK2/AN19/C3OUT",
"type": "bidirectional",
"description": "PORTG bit 1 digital I/O (ST), also EUSART2 asynchronous transmit, synchronous clock, Analog Input 19 and Comparator 3 output."
},
{
"number": "5",
"name": "RG2/RX2/DT2/AN18/C3INA",
"type": "bidirectional",
"description": "PORTG bit 2 digital I/O (ST), also EUSART2 asynchronous receive/synchronous data, Analog Input 18 and Comparator 3 Input A."
},
{
"number": "6",
"name": "RG3/CCP4/AN17/P3D/C3INB",
"type": "bidirectional",
"description": "PORTG bit 3 digital I/O (ST), also Capture 4 input/Compare 4 output/PWM4 output, analog input AN17, ECCP3 PWM Output D and Comparator 3 Input B."
},
{
"number": "7",
"name": "MCLR/RG5",
"type": "input",
"description": "Active-low Master Clear Reset input or programming voltage input (ST); also general purpose input-only pin RG5."
},
{
"number": "8",
"name": "RG4/SEG26/RTCC/T7CKI/T5G/CCP5/AN16/P1D/C3INC",
"type": "bidirectional",
"description": "PORTG bit 4 digital I/O (ST), also LCD SEG26, RTCC output, Timer7 clock input, Timer5 gate input, CCP5, Analog Input 16, ECCP1 PWM Output D and Comparator 3 Input C."
},
{
"number": "9",
"name": "VSS",
"type": "power_in",
"description": "Ground reference for logic and I/O pins."
},
{
"number": "10",
"name": "VDDCORE/VCAP",
"type": "power_in",
"description": "Core logic power or external filter capacitor connection (regulator enabled/disabled); 10 µF low-ESR capacitor to ground required when regulator is enabled."
},
{
"number": "11",
"name": "RF7/AN5/SS1/SEG25",
"type": "bidirectional",
"description": "PORTF bit 7 digital I/O (ST), also Analog Input 5, SPI1 slave select input and LCD SEG25 output."
},
{
"number": "12",
"name": "RF6/AN11/SEG24/C1INA",
"type": "bidirectional",
"description": "PORTF bit 6 digital I/O (ST), also Analog Input 11, LCD SEG24 output and Comparator 1 Input A."
},
{
"number": "13",
"name": "RF5/AN10/CVREF/SEG23/C1INB",
"type": "bidirectional",
"description": "PORTF bit 5 digital I/O (ST), also Analog Input 10, comparator reference voltage output, LCD SEG23 output and Comparator 1 Input B."
},
{
"number": "14",
"name": "RF4/AN9/SEG22/C2INA",
"type": "bidirectional",
"description": "PORTF bit 4 digital I/O (ST), also Analog Input 9, LCD SEG22 output and Comparator 2 Input A."
},
{
"number": "15",
"name": "RF3/AN8/SEG21/C2INB/CTMUI",
"type": "bidirectional",
"description": "PORTF bit 3 digital I/O (ST), also Analog Input 8, LCD SEG21 output, Comparator 2 Input B and CTMU pulse generator charger for the C2INB input."
},
{
"number": "16",
"name": "RF2/AN7/C1OUT/SEG20",
"type": "bidirectional",
"description": "PORTF bit 2 digital I/O (ST), also Analog Input 7, Comparator 1 output and LCD SEG20 output."
},
{
"number": "17",
"name": "RF1/AN6/C2OUT/SEG19/CTDIN",
"type": "bidirectional",
"description": "PORTF bit 1 digital I/O (ST), also Analog Input 6, Comparator 2 output, LCD SEG19 output and CTMU pulse delay input."
},
{
"number": "18",
"name": "ENVREG",
"type": "input",
"description": "Enable for on-chip voltage regulator (ST); tie to VDD to enable or to ground to disable."
},
{
"number": "19",
"name": "AVDD",
"type": "power_in",
"description": "Positive supply for analog modules; must always be connected."
},
{
"number": "20",
"name": "AVSS",
"type": "power_in",
"description": "Ground reference for analog modules; must always be connected."
},
{
"number": "21",
"name": "RA3/AN3/VREF+",
"type": "bidirectional",
"description": "PORTA bit 3 digital I/O (TTL), also Analog Input 3 and A/D reference voltage (high) input."
},
{
"number": "22",
"name": "RA2/AN2/VREF-",
"type": "bidirectional",
"description": "PORTA bit 2 digital I/O (TTL), also Analog Input 2 and A/D reference voltage (low) input."
},
{
"number": "23",
"name": "RA1/AN1/SEG18",
"type": "bidirectional",
"description": "PORTA bit 1 digital I/O (TTL), also Analog Input 1 and LCD SEG18 output."
},
{
"number": "24",
"name": "RA0/AN0/ULPWU",
"type": "bidirectional",
"description": "PORTA bit 0 digital I/O (TTL), also Analog Input 0 and Ultra Low-Power Wake-up input."
},
{
"number": "25",
"name": "VSS",
"type": "power_in",
"description": "Ground reference for logic and I/O pins."
},
{
"number": "26",
"name": "VDD",
"type": "power_in",
"description": "Positive supply for logic and I/O pins."
},
{
"number": "27",
"name": "RA5/AN4/SEG15/T1CKI/T3G/HLVDIN",
"type": "bidirectional",
"description": "PORTA bit 5 digital I/O (TTL), also Analog Input 4, LCD SEG15 output, Timer1 clock input, Timer3 gate input and HLVD input."
},
{
"number": "28",
"name": "RA4/T0CKI/SEG14",
"type": "bidirectional",
"description": "PORTA bit 4 digital I/O (ST), also Timer0 external clock input and LCD SEG14 output."
},
{
"number": "29",
"name": "RC1/SOSCI/ECCP2/P2A/SEG32",
"type": "bidirectional",
"description": "PORTC bit 1 digital I/O (ST), also SOSC oscillator input, ECCP2 capture/compare/PWM (default CCP2MX=1), PWM2 Output A and LCD SEG32 output."
},
{
"number": "30",
"name": "RC0/SOSCO/SCLKI",
"type": "bidirectional",
"description": "PORTC bit 0 digital I/O (ST), also SOSC oscillator output and digital SOSC clock input."
},
{
"number": "31",
"name": "RC6/TX1/CK1/SEG27",
"type": "bidirectional",
"description": "PORTC bit 6 digital I/O (ST), also EUSART1 asynchronous transmit, synchronous clock and LCD SEG27 output."
},
{
"number": "32",
"name": "RC7/RX1/DT1/SEG28",
"type": "bidirectional",
"description": "PORTC bit 7 digital I/O (ST), also EUSART1 asynchronous receive/synchronous data and LCD SEG28 output."
},
{
"number": "33",
"name": "RC2/ECCP1/P1A/SEG13",
"type": "bidirectional",
"description": "PORTC bit 2 digital I/O (ST), also Capture 1 input/Compare 1 output/PWM1 output, ECCP1 PWM Output A and LCD SEG13 output."
},
{
"number": "34",
"name": "RC3/SCK1/SCL1/SEG17",
"type": "bidirectional",
"description": "PORTC bit 3 digital I/O (ST), also MSSP1 SPI/I2C clock and LCD SEG17 output."
},
{
"number": "35",
"name": "RC4/SDI1/SDA1/SEG16",
"type": "bidirectional",
"description": "PORTC bit 4 digital I/O (ST), also SPI1 data in, I2C1 data I/O and LCD SEG16 output."
},
{
"number": "36",
"name": "RC5/SDO1/SEG12",
"type": "bidirectional",
"description": "PORTC bit 5 digital I/O (ST), also SPI1 data out and LCD SEG12 output."
},
{
"number": "37",
"name": "RB7/KBI3/PGD",
"type": "bidirectional",
"description": "PORTB bit 7 digital I/O (TTL) with interrupt-on-change and ICSP/In-Circuit Debugger programming data pin."
},
{
"number": "38",
"name": "VDD",
"type": "power_in",
"description": "Positive supply for logic and I/O pins."
},
{
"number": "39",
"name": "OSC1/CLKI/RA7",
"type": "bidirectional",
"description": "Oscillator crystal or external clock input (CMOS), or general purpose I/O RA7 (TTL)."
},
{
"number": "40",
"name": "OSC2/CLKO/RA6",
"type": "bidirectional",
"description": "Oscillator crystal output or CLKO at 1/4 the OSC1 frequency in certain oscillator modes, or general purpose I/O RA6 (TTL)."
},
{
"number": "41",
"name": "VSS",
"type": "power_in",
"description": "Ground reference for logic and I/O pins."
},
{
"number": "42",
"name": "RB6/KBI2/PGC",
"type": "bidirectional",
"description": "PORTB bit 6 digital I/O (TTL) with interrupt-on-change and ICSP/In-Circuit Debugger programming clock pin."
},
{
"number": "43",
"name": "RB5/KBI1/SEG29/T3CKI/T1G",
"type": "bidirectional",
"description": "PORTB bit 5 digital I/O (TTL) with interrupt-on-change, LCD SEG29 output, Timer3 clock input and Timer1 gate input."
},
{
"number": "44",
"name": "RB4/KBI0/SEG11",
"type": "bidirectional",
"description": "PORTB bit 4 digital I/O (TTL) with interrupt-on-change and LCD SEG11 output."
},
{
"number": "45",
"name": "RB3/INT3/SEG10/CTED2/ECCP2/P2A",
"type": "bidirectional",
"description": "PORTB bit 3 digital I/O (TTL), also External Interrupt 3, LCD SEG10, CTMU Edge 2 input, ECCP2 and PWM2 Output A."
},
{
"number": "46",
"name": "RB2/INT2/SEG9/CTED1",
"type": "bidirectional",
"description": "PORTB bit 2 digital I/O (TTL), also External Interrupt 2, LCD SEG9 output and CTMU Edge 1 input."
},
{
"number": "47",
"name": "RB1/INT1/SEG8",
"type": "bidirectional",
"description": "PORTB bit 1 digital I/O (TTL), also External Interrupt 1 and LCD SEG8 output."
},
{
"number": "48",
"name": "RB0/INT0/SEG30/FLT0",
"type": "bidirectional",
"description": "PORTB bit 0 digital I/O (TTL), also External Interrupt 0, LCD SEG30 output and Enhanced PWM Fault input for ECCP1/2/3."
},
{
"number": "49",
"name": "RD7/SEG7/SS2",
"type": "bidirectional",
"description": "PORTD bit 7 digital I/O (ST), also LCD SEG7 output and SPI slave select input."
},
{
"number": "50",
"name": "RD6/SEG6/SCK2/SCL2",
"type": "bidirectional",
"description": "PORTD bit 6 digital I/O (ST), also LCD SEG6 output and MSSP2 SPI/I2C synchronous serial clock."
},
{
"number": "51",
"name": "RD5/SEG5/SDI2/SDA2",
"type": "bidirectional",
"description": "PORTD bit 5 digital I/O (ST), also LCD SEG5 output, SPI2 data in and I2C2 data I/O."
},
{
"number": "52",
"name": "RD4/SEG4/SDO2",
"type": "bidirectional",
"description": "PORTD bit 4 digital I/O (ST), also LCD SEG4 output and SPI2 data out."
},
{
"number": "53",
"name": "RD3/SEG3",
"type": "bidirectional",
"description": "PORTD bit 3 digital I/O (ST) and LCD SEG3 output."
},
{
"number": "54",
"name": "RD2/SEG2",
"type": "bidirectional",
"description": "PORTD bit 2 digital I/O (ST) and LCD SEG2 output."
},
{
"number": "55",
"name": "RD1/SEG1/T5CKI/T7G",
"type": "bidirectional",
"description": "PORTD bit 1 digital I/O (ST), also LCD SEG1 output, Timer5 clock input and Timer7 gate input."
},
{
"number": "56",
"name": "VSS",
"type": "power_in",
"description": "Ground reference for logic and I/O pins."
},
{
"number": "57",
"name": "VDD",
"type": "power_in",
"description": "Positive supply for logic and I/O pins."
},
{
"number": "58",
"name": "RD0/SEG0/CTPLS",
"type": "bidirectional",
"description": "PORTD bit 0 digital I/O (ST), also LCD SEG0 output and CTMU pulse generator output."
},
{
"number": "59",
"name": "RE7/ECCP2/SEG31/P2A",
"type": "bidirectional",
"description": "PORTE bit 7 digital I/O (ST), also ECCP2 (alternate assignment when CCP2MX is cleared), LCD SEG31 output and ECCP2 PWM Output A."
},
{
"number": "60",
"name": "RE6/COM3/P1B/CCP6",
"type": "bidirectional",
"description": "PORTE bit 6 digital I/O (ST), also LCD COM3 output, ECCP1 PWM Output B and CCP6."
},
{
"number": "61",
"name": "RE5/COM2/P1C/CCP7",
"type": "bidirectional",
"description": "PORTE bit 5 digital I/O (ST), also LCD COM2 output, ECCP1 PWM Output C and CCP7."
},
{
"number": "62",
"name": "RE4/COM1/P3B/CCP8",
"type": "bidirectional",
"description": "PORTE bit 4 digital I/O (ST), also LCD COM1 output, ECCP3 PWM Output B and CCP8."
},
{
"number": "63",
"name": "RE3/COM0/P3C/CCP9/REFO",
"type": "bidirectional",
"description": "PORTE bit 3 digital I/O (ST), also LCD COM0 output, ECCP3 PWM Output C, CCP9 and reference clock output."
},
{
"number": "64",
"name": "RE2/LCDBIAS3/P2B/CCP10",
"type": "bidirectional",
"description": "PORTE bit 2 digital I/O (ST), also LCD BIAS3 input, ECCP2 PWM Output B and CCP10."
}
],
"provenance": {
"extractor": "extract_pins 0.3",
"factory_chain": {
"factory": "2.0.0",
"extractor": "extract_pins 0.3",
"primary_model": "claude-sonnet-5-5",
"primary_mode": "text",
"consensus_model": "claude-sonnet-5-5",
"consensus": "agreed",
"guards": "pin_guards 0.1: passed",
"guard_notes": [
"extractor flagged: Datasheet is the PIC18F87K90 family document; the 64-pin table (Table 1-3) lists one shared column f; Datasheet table inconsistencies: RG3 AN17 is described as 'Analog Input 18' in Table 1-3; RF7/AN5 is; Pin 1/2 and 59-64 are listed with I/O pin type per table; CCP9/CCP10 (and CCP5 etc.) apply to 64K/12"
],
"pages_sent": 97,
"cost_usd": 0.9902,
"at": "2026-10-31T18:38:52"
},
"datasheet": {
"url": "https://datasheet.lcsc.com/datasheet/pdf/a5f24d9843be45e0a669d504bce9957f.pdf",
"pages": 570,
"sha256": "fcd95dc4fd3f723d",
"source_tier": "mfr"
},
"cad": "KiCad official (CC-BY-SA 4.0)",
"pins": {
"total": 64,
"described": 64,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
},
"models_3d": [
{
"file": "pic18f66k90-i.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
12.0,
12.0,
1.1
],
"zmin_mm": -0.0,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "60567e81b0770b6c519104183a7a05ba52dddc11146b5fbe21434fbb5801696c",
"checked": "2026-10-31",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "pic18f66k90-i-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
12.0,
12.0,
1.1
],
"zmin_mm": -0.0,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "82d6309d38d6dede36c8086b72c7b00767877493450f7df4f770a84cdb51cf91",
"checked": "2026-10-31",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
},
"title": "PIC18F66K90-I",
"brief": "Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), TQFP-64(10x10). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
"metadata": {
"specs": {
"Manufacturer": "Microchip Tech",
"Package": "TQFP-64(10x10)",
"Category": "Single Chip Microcomputer/Microcontroller",
"Pins": "64"
},
"characteristics": {
"version": 1,
"source": "datasheet",
"datasheet_sha256": "fcd95dc4fd3f723df20aa2de369aaff768402ede9d56e48d79744f74c597f92e",
"rows": [
{
"name": "Operating Frequency",
"symbol": "",
"kind": "recommended_operating",
"unit": "MHz",
"min": 0,
"typ": null,
"max": 64,
"conditions": "DC – 64 MHz",
"source_page": 11,
"source": "datasheet"
},
{
"name": "PLL input frequency range (HS/EC)",
"symbol": "",
"kind": "recommended_operating",
"unit": "MHz",
"min": 4,
"typ": null,
"max": 16,
"conditions": "PLL enabled only when HS or EC oscillator frequency is within the 4 MHz to 16 MHz input range",
"source_page": 48,
"source": "datasheet"
},
{
"name": "External RC oscillator resistor",
"symbol": "REXT",
"kind": "recommended_operating",
"unit": "kΩ",
"min": 3,
"typ": null,
"max": 100,
"conditions": "Recommended values, RC/RCIO mode",
"source_page": 48,
"source": "datasheet"
},
{
"name": "External RC oscillator capacitor",
"symbol": "CEXT",
"kind": "recommended_operating",
"unit": "pF",
"min": 20,
"typ": null,
"max": 300,
"conditions": "Recommended values, RC/RCIO mode",
"source_page": 48,
"source": "datasheet"
},
{
"name": "EC mode external clock frequency",
"symbol": "",
"kind": "recommended_operating",
"unit": "MHz",
"min": 0,
"typ": null,
"max": 64,
"conditions": "EC 0 to 64 MHz (external clock)",
"source_page": 46,
"source": "datasheet"
},
{
"name": "EXTRC mode frequency",
"symbol": "",
"kind": "recommended_operating",
"unit": "MHz",
"min": 0,
"typ": null,
"max": 4,
"conditions": "EXTRC 0 to 4 MHz (external RC)",
"source_page": 46,
"source": "datasheet"
},
{
"name": "Internal oscillator accuracy",
"symbol": "",
"kind": "tolerance",
"unit": "%",
"min": -2,
"typ": null,
"max": 2,
"conditions": "16 MHz internal oscillator block",
"source_page": 9,
"source": "datasheet"
},
{
"name": "VCAP/VDDCORE capacitor ESR",
"symbol": "",
"kind": "recommended_operating",
"unit": "Ω",
"min": null,
"typ": null,
"max": 5,
"conditions": "Regulator enabled, low-ESR (< 5Ω) capacitor required",
"source_page": 37,
"source": "datasheet"
},
{
"name": "VCAP/VDDCORE capacitor value",
"symbol": "",
"kind": "recommended_operating",
"unit": "µF",
"min": null,
"typ": 10,
"max": null,
"conditions": "Regulator enabled, connected to ground",
"source_page": 37,
"source": "datasheet"
},
{
"name": "Digital I/O input tolerance",
"symbol": "",
"kind": "recommended_operating",
"unit": "V",
"min": null,
"typ": null,
"max": 5.5,
"conditions": "All digital ports are 5.5V input tolerant",
"source_page": 153,
"source": "datasheet"
}
]
}
},
"discovery_triggers": [
"pic18f66k90-i"
],
"discovery_pitch": "PIC18F66K90-I (Microchip Tech) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
"visibility": "public"
}