main
Ray Publish 0.1.0 5b5e91e
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578
{
  "slug": "pic18f6680-i-pt",
  "version": "0.1.0",
  "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",
    "pic18f6680-i",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "pic18f6680-i-pt.kicad_sym",
    "pic18f6680-i-pt.kicad_mod",
    "pic18f6680-i-pt.glb",
    "pic18f6680-i-pt.step",
    "pic18f6680-i-pt.lbr",
    "docs/hero.png",
    "docs/pic18f6680-i-pt-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "pic18f6680-i-pt-hero.glb",
    "pic18f6680-i-pt-hero.overlay.json"
  ],
  "component": {
    "mpn": "PIC18F6680-I/PT",
    "manufacturer": "Microchip Tech",
    "package": "TQFP-64(10x10)",
    "pin_count": 64,
    "category": "Single Chip Microcomputer/Microcontroller",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://ww1.microchip.com/downloads/aemDocuments/documents/MCU08/ProductDocuments/DataSheets/30491D.pdf",
    "parts": {
      "symbol": "pic18f6680-i-pt.kicad_sym",
      "footprint": "pic18f6680-i-pt.kicad_mod",
      "model_3d": "pic18f6680-i-pt-hero.glb",
      "model_3d_plain": "pic18f6680-i-pt.glb",
      "model_3d_step": "pic18f6680-i-pt-etched.step",
      "model_3d_step_plain": "pic18f6680-i-pt.step",
      "lbr": "pic18f6680-i-pt.lbr"
    },
    "distributor_links": {
      "lcsc": "C634583",
      "digikey": "PIC18F6680-I/PT-ND",
      "mouser": "579-PIC18F6680-I/PT"
    },
    "distributor_check": {
      "checked_at": "2026-11-13T14:14:11Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "PIC18F6680-I/PT-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "579-PIC18F6680-I/PT",
        "status": "found"
      },
      "matched_as": "PIC18F6680-I/PT"
    },
    "pins": [
      {
        "number": "1",
        "name": "RE1/WR/AD9",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as the Parallel Slave Port write control (see CS and RD pins) when PSP is enabled."
      },
      {
        "number": "2",
        "name": "RE0/RD/AD8",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as the Parallel Slave Port read control (see WR and CS pins) when PSP is enabled."
      },
      {
        "number": "3",
        "name": "RG0/CANTX1",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as the CAN bus transmit 1 output."
      },
      {
        "number": "4",
        "name": "RG1/CANTX2",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as the CAN bus transmit 2 output."
      },
      {
        "number": "5",
        "name": "RG2/CANRX",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as the CAN bus receive input."
      },
      {
        "number": "6",
        "name": "RG3",
        "type": "bidirectional",
        "description": "General purpose digital I/O with Schmitt Trigger input buffer."
      },
      {
        "number": "7",
        "name": "RG5/MCLR/VPP",
        "type": "input",
        "description": "Active-low Master Clear (Reset) input to the device, or programming voltage input; RG5 alone is a general purpose input-only pin."
      },
      {
        "number": "8",
        "name": "RG4/P1D",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that also serves as ECCP1 PWM output D."
      },
      {
        "number": "9",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference for logic and I/O pins."
      },
      {
        "number": "10",
        "name": "VDD",
        "type": "power_in",
        "description": "Positive supply for logic and I/O pins; device operating range is stated as 2.0V to 5.5V."
      },
      {
        "number": "11",
        "name": "RF7/SS",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as the SPI slave select input (TTL)."
      },
      {
        "number": "12",
        "name": "RF6/AN11/C1IN-",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as analog input 11 and comparator 1 input (-)."
      },
      {
        "number": "13",
        "name": "RF5/AN10/C1IN+/CVREF",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as analog input 10, comparator 1 input (+), and comparator voltage reference output (CVREF)."
      },
      {
        "number": "14",
        "name": "RF4/AN9/C2IN-",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as analog input 9 and comparator 2 input (-)."
      },
      {
        "number": "15",
        "name": "RF3/AN8/C2IN+",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as analog input 8 and comparator 2 input (+)."
      },
      {
        "number": "16",
        "name": "RF2/AN7/C1OUT",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as analog input 7 and comparator 1 output."
      },
      {
        "number": "17",
        "name": "RF1/AN6/C2OUT",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as analog input 6 and comparator 2 output."
      },
      {
        "number": "18",
        "name": "RF0/AN5",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as analog input 5."
      },
      {
        "number": "19",
        "name": "AVDD",
        "type": "power_in",
        "description": "Positive supply for analog modules."
      },
      {
        "number": "20",
        "name": "AVSS",
        "type": "power_in",
        "description": "Ground reference for analog modules."
      },
      {
        "number": "21",
        "name": "RA3/AN3/VREF+",
        "type": "bidirectional",
        "description": "Digital I/O (TTL) that serves as analog input 3 and the A/D reference voltage (high) input."
      },
      {
        "number": "22",
        "name": "RA2/AN2/VREF-",
        "type": "bidirectional",
        "description": "Digital I/O (TTL) that serves as analog input 2 and the A/D reference voltage (low) input."
      },
      {
        "number": "23",
        "name": "RA1/AN1",
        "type": "bidirectional",
        "description": "Digital I/O (TTL) that serves as analog input 1."
      },
      {
        "number": "24",
        "name": "RA0/AN0",
        "type": "bidirectional",
        "description": "Digital I/O (TTL) that serves as analog input 0."
      },
      {
        "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; device operating range is stated as 2.0V to 5.5V."
      },
      {
        "number": "27",
        "name": "RA5/AN4/LVDIN",
        "type": "bidirectional",
        "description": "Digital I/O (TTL) that serves as analog input 4 and the low-voltage detect input (LVDIN)."
      },
      {
        "number": "28",
        "name": "RA4/T0CKI",
        "type": "bidirectional",
        "description": "Digital I/O (Schmitt Trigger input, open-drain when configured as output) that serves as the Timer0 external clock input."
      },
      {
        "number": "29",
        "name": "RC1/T1OSI/CCP2",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as Timer1 oscillator input and CCP2 capture input/compare output/PWM 2 output, depending on CCP2MX setting."
      },
      {
        "number": "30",
        "name": "RC0/T1OSO/T13CKI",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as Timer1 oscillator output and Timer1/Timer3 external clock input."
      },
      {
        "number": "31",
        "name": "RC6/TX/CK",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as USART asynchronous transmit output or USART synchronous clock."
      },
      {
        "number": "32",
        "name": "RC7/RX/DT",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as USART asynchronous receive input or USART synchronous data."
      },
      {
        "number": "33",
        "name": "RC2/CCP1/P1A",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as CCP1 capture input/compare output and CCP1 PWM output A."
      },
      {
        "number": "34",
        "name": "RC3/SCK/SCL",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as synchronous serial clock input/output for SPI mode and I2C mode (SCL)."
      },
      {
        "number": "35",
        "name": "RC4/SDI/SDA",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as SPI data input and I2C data I/O (SDA)."
      },
      {
        "number": "36",
        "name": "RC5/SDO",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as SPI data output."
      },
      {
        "number": "37",
        "name": "RB7/KBI3/PGD",
        "type": "bidirectional",
        "description": "Digital I/O (TTL input) with interrupt-on-change, and serves as in-circuit debugger and ICSP programming data."
      },
      {
        "number": "38",
        "name": "VDD",
        "type": "power_in",
        "description": "Positive supply for logic and I/O pins; device operating range is stated as 2.0V to 5.5V."
      },
      {
        "number": "39",
        "name": "OSC1/CLKI",
        "type": "input",
        "description": "Oscillator crystal input or external clock source input (CMOS; ST buffer when configured in RC mode)."
      },
      {
        "number": "40",
        "name": "OSC2/CLKO/RA6",
        "type": "bidirectional",
        "description": "Oscillator crystal output or clock output (CLKO at 1/4 OSC1 frequency in RC mode); otherwise general purpose I/O pin RA6."
      },
      {
        "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": "Digital I/O (TTL input) with interrupt-on-change, and serves as in-circuit debugger and ICSP programming clock."
      },
      {
        "number": "43",
        "name": "RB5/KBI1/PGM",
        "type": "bidirectional",
        "description": "Digital I/O (TTL input) with interrupt-on-change, and serves as low-voltage ICSP programming enable pin."
      },
      {
        "number": "44",
        "name": "RB4/KBI0",
        "type": "bidirectional",
        "description": "Digital I/O (TTL input) with interrupt-on-change."
      },
      {
        "number": "45",
        "name": "RB3/INT3/CCP2",
        "type": "bidirectional",
        "description": "Digital I/O (TTL input) that serves as external interrupt 3 and CCP2 capture input/compare output/PWM 2 output."
      },
      {
        "number": "46",
        "name": "RB2/INT2",
        "type": "bidirectional",
        "description": "Digital I/O (TTL input) that serves as external interrupt 2."
      },
      {
        "number": "47",
        "name": "RB1/INT1",
        "type": "bidirectional",
        "description": "Digital I/O (TTL input) that serves as external interrupt 1."
      },
      {
        "number": "48",
        "name": "RB0/INT0",
        "type": "bidirectional",
        "description": "Digital I/O (TTL input) that serves as external interrupt 0."
      },
      {
        "number": "49",
        "name": "RD7/PSP7/AD7",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as Parallel Slave Port data bit 7."
      },
      {
        "number": "50",
        "name": "RD6/PSP6/AD6",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as Parallel Slave Port data bit 6."
      },
      {
        "number": "51",
        "name": "RD5/PSP5/AD5",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as Parallel Slave Port data bit 5."
      },
      {
        "number": "52",
        "name": "RD4/PSP4/AD4",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as Parallel Slave Port data bit 4."
      },
      {
        "number": "53",
        "name": "RD3/PSP3/AD3",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as Parallel Slave Port data bit 3."
      },
      {
        "number": "54",
        "name": "RD2/PSP2/AD2",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as Parallel Slave Port data bit 2."
      },
      {
        "number": "55",
        "name": "RD1/PSP1/AD1",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as Parallel Slave Port data bit 1."
      },
      {
        "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; device operating range is stated as 2.0V to 5.5V."
      },
      {
        "number": "58",
        "name": "RD0/PSP0/AD0",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as Parallel Slave Port data bit 0."
      },
      {
        "number": "59",
        "name": "RE7/CCP2/AD15",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as CCP2 capture input/compare output/PWM 2 output (default assignment when CCP2MX is set)."
      },
      {
        "number": "60",
        "name": "RE6/AD14/P1B",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as ECCP1 PWM output B."
      },
      {
        "number": "61",
        "name": "RE5/AD13/P1C",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as ECCP1 PWM output C."
      },
      {
        "number": "62",
        "name": "RE4/AD12",
        "type": "bidirectional",
        "description": "General purpose digital I/O with Schmitt Trigger input buffer."
      },
      {
        "number": "63",
        "name": "RE3/AD11",
        "type": "bidirectional",
        "description": "General purpose digital I/O with Schmitt Trigger input buffer."
      },
      {
        "number": "64",
        "name": "RE2/CS/AD10",
        "type": "bidirectional",
        "description": "Digital I/O (ST input) that serves as Parallel Slave Port chip select control (see RD and WR)."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-haiku-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: Pin 29 (RC1/T1OSI/CCP2), pin 45 (RB3/INT3/CCP2) and pin 59 (RE7/CCP2/AD15) all carry CCP2; the activ; The PIC18F6X8X (64-pin) devices have no external memory interface; the AD, A16 and bus-control funct; Pin 40 is shared between OSC2/CLKO and RA6; it is only a general purpose I/O (RA6) in RC or ECIO-typ"
        ],
        "pages_sent": 51,
        "cost_usd": 0.3145,
        "at": "2026-11-13T14:13:58"
      },
      "datasheet": {
        "url": "https://ww1.microchip.com/downloads/aemDocuments/documents/MCU08/ProductDocuments/DataSheets/30491D.pdf",
        "pages": 496,
        "sha256": "5c4715feca48de4c",
        "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": "pic18f6680-i-pt.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-11-13",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "pic18f6680-i-pt-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": "9e029766cd19de54bbc06bfc20e10c826d69453d09294fa550878d0dad516f1b",
        "checked": "2026-11-13",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "package_dims": {
      "package_code": "PT",
      "source_page": 466,
      "D": {
        "nom_mm": 10.0,
        "range_mm": [
          9.9,
          10.1
        ]
      },
      "E1": {
        "nom_mm": 10.0,
        "range_mm": [
          9.9,
          10.1
        ]
      },
      "E": {
        "nom_mm": 12.0,
        "range_mm": [
          11.75,
          12.25
        ]
      },
      "e": {
        "nom_mm": 0.5,
        "range_mm": [
          null,
          null
        ]
      },
      "A": {
        "nom_mm": 1.1,
        "range_mm": [
          1.0,
          1.2
        ]
      },
      "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",
      "model_check": {
        "file": "pic18f6680-i-pt.step",
        "verdict": "PASS",
        "reasons": [
          "height and body within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  }
}