main
Ray Publish 0.1.0 c138214 8d ago
{
  "slug": "pic18f4520-i",
  "version": "0.1.0",
  "type": "component",
  "description": "Microchip Tech Microcontrollers (MCU/MPU/SOC), TQFP-44(10x10). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "pic18f4520-i",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "pic18f4520-i.kicad_sym",
    "pic18f4520-i.kicad_mod",
    "pic18f4520-i.glb",
    "pic18f4520-i.step",
    "pic18f4520-i.lbr",
    "docs/hero.png",
    "docs/pic18f4520-i-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "pic18f4520-i-hero.glb",
    "pic18f4520-i-hero.overlay.json",
    "pic18f4520-i-etched.glb"
  ],
  "component": {
    "mpn": "PIC18F4520-I",
    "manufacturer": "Microchip Tech",
    "package": "TQFP-44(10x10)",
    "pin_count": 44,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8586181512038895616",
    "parts": {
      "symbol": "pic18f4520-i.kicad_sym",
      "footprint": "pic18f4520-i.kicad_mod",
      "model_3d": "pic18f4520-i-hero.glb",
      "model_3d_plain": "pic18f4520-i-etched.glb",
      "model_3d_step": "pic18f4520-i-etched.step",
      "model_3d_step_plain": "pic18f4520-i.step",
      "lbr": "pic18f4520-i.lbr"
    },
    "distributor_links": {
      "lcsc": "C9734"
    },
    "distributor_check": {
      "checked_at": "2026-10-19T00:51:24Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "RC7/RX/DT",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; EUSART asynchronous receive input or synchronous data I/O."
      },
      {
        "number": "2",
        "name": "RD4/PSP4",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; Parallel Client Port data bit 4 when PSP is enabled."
      },
      {
        "number": "3",
        "name": "RD5/PSP5/P1B",
        "type": "bidirectional",
        "description": "Digital I/O; Parallel Client Port data bit 5; Enhanced CCP1 PWM output P1B."
      },
      {
        "number": "4",
        "name": "RD6/PSP6/P1C",
        "type": "bidirectional",
        "description": "Digital I/O; Parallel Client Port data bit 6; Enhanced CCP1 PWM output P1C."
      },
      {
        "number": "5",
        "name": "RD7/PSP7/P1D",
        "type": "bidirectional",
        "description": "Digital I/O; Parallel Client Port data bit 7; Enhanced CCP1 PWM output P1D."
      },
      {
        "number": "6",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference for logic and I/O pins."
      },
      {
        "number": "7",
        "name": "VDD",
        "type": "power_in",
        "description": "Positive supply for logic and I/O pins."
      },
      {
        "number": "8",
        "name": "RB0/INT0/FLT0/AN12",
        "type": "bidirectional",
        "description": "Digital I/O with weak pull-up when RBPU is cleared; external interrupt 0, ECCP1 PWM Fault input, and analog input 12."
      },
      {
        "number": "9",
        "name": "RB1/INT1/AN10",
        "type": "bidirectional",
        "description": "Digital I/O with weak pull-up when RBPU is cleared; external interrupt 1 and analog input 10."
      },
      {
        "number": "10",
        "name": "RB2/INT2/AN8",
        "type": "bidirectional",
        "description": "Digital I/O with weak pull-up when RBPU is cleared; external interrupt 2 and analog input 8."
      },
      {
        "number": "11",
        "name": "RB3/AN9/CCP2",
        "type": "bidirectional",
        "description": "Digital I/O with weak pull-up when RBPU is cleared; analog input 9; CCP2 capture input or compare/PWM output when CCP2MX is cleared."
      },
      {
        "number": "12",
        "name": "NC",
        "type": "unconnected",
        "description": "No Connect."
      },
      {
        "number": "13",
        "name": "NC",
        "type": "unconnected",
        "description": "No Connect."
      },
      {
        "number": "14",
        "name": "RB4/KBI0/AN11",
        "type": "bidirectional",
        "description": "Digital I/O with weak pull-up when RBPU is cleared; interrupt-on-change pin and analog input 11."
      },
      {
        "number": "15",
        "name": "RB5/KBI1/PGM",
        "type": "bidirectional",
        "description": "Digital I/O with weak pull-up when RBPU is cleared; interrupt-on-change pin and low-voltage ICSP programming enable pin."
      },
      {
        "number": "16",
        "name": "RB6/KBI2/PGC",
        "type": "bidirectional",
        "description": "Digital I/O with weak pull-up when RBPU is cleared; interrupt-on-change pin and In-Circuit Debugger/ICSP programming clock pin."
      },
      {
        "number": "17",
        "name": "RB7/KBI3/PGD",
        "type": "bidirectional",
        "description": "Digital I/O with weak pull-up when RBPU is cleared; interrupt-on-change pin and In-Circuit Debugger/ICSP programming data pin."
      },
      {
        "number": "18",
        "name": "MCLR/VPP/RE3",
        "type": "input",
        "description": "Active-low Master Clear (Reset) input when MCLRE is set, otherwise digital input RE3; VPP is the high-voltage programming/ICSP entry detection input."
      },
      {
        "number": "19",
        "name": "RA0/AN0",
        "type": "bidirectional",
        "description": "Digital I/O; analog input 0."
      },
      {
        "number": "20",
        "name": "RA1/AN1",
        "type": "bidirectional",
        "description": "Digital I/O; analog input 1."
      },
      {
        "number": "21",
        "name": "RA2/AN2/VREF-/CVREF",
        "type": "bidirectional",
        "description": "Digital I/O; analog input 2; A/D reference voltage (low) input; comparator reference voltage output."
      },
      {
        "number": "22",
        "name": "RA3/AN3/VREF+",
        "type": "bidirectional",
        "description": "Digital I/O; analog input 3; A/D reference voltage (high) input."
      },
      {
        "number": "23",
        "name": "RA4/T0CKI/C1OUT",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; Timer0 external clock input; comparator 1 output."
      },
      {
        "number": "24",
        "name": "RA5/AN4/SS/HLVDIN/C2OUT",
        "type": "bidirectional",
        "description": "Digital I/O; analog input 4; SPI client select input; High/Low-Voltage Detect input; comparator 2 output."
      },
      {
        "number": "25",
        "name": "RE0/RD/AN5",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; Parallel Client Port read control input when PSP is enabled; analog input 5."
      },
      {
        "number": "26",
        "name": "RE1/WR/AN6",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; Parallel Client Port write control input when PSP is enabled; analog input 6."
      },
      {
        "number": "27",
        "name": "RE2/CS/AN7",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; Parallel Client Port chip select input when PSP is enabled; analog input 7."
      },
      {
        "number": "28",
        "name": "VDD",
        "type": "power_in",
        "description": "Positive supply for logic and I/O pins."
      },
      {
        "number": "29",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference for logic and I/O pins."
      },
      {
        "number": "30",
        "name": "OSC1/CLKI/RA7",
        "type": "input",
        "description": "Oscillator crystal or external clock input; RA7 digital I/O when not used as an oscillator pin."
      },
      {
        "number": "31",
        "name": "OSC2/CLKO/RA6",
        "type": "bidirectional",
        "description": "Oscillator crystal output or CLKO (FOSC/4) output in RC/EC modes; RA6 digital I/O in RCIO, INTIO2 and ECIO modes."
      },
      {
        "number": "32",
        "name": "RC0/T1OSO/T13CKI",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; Timer1 oscillator output; Timer1/Timer3 external clock input."
      },
      {
        "number": "33",
        "name": "NC",
        "type": "unconnected",
        "description": "No Connect."
      },
      {
        "number": "34",
        "name": "NC",
        "type": "unconnected",
        "description": "No Connect."
      },
      {
        "number": "35",
        "name": "RC1/T1OSI/CCP2",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; Timer1 oscillator input; CCP2 capture input/compare or PWM output (default pin when CCP2MX is set)."
      },
      {
        "number": "36",
        "name": "RC2/CCP1/P1A",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; CCP1 capture input/compare or PWM output; Enhanced CCP1 PWM output P1A."
      },
      {
        "number": "37",
        "name": "RC3/SCK/SCL",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; MSSP synchronous serial clock input/output for SPI and I2C modes."
      },
      {
        "number": "38",
        "name": "RD0/PSP0",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; Parallel Client Port data bit 0 (TTL input when PSP enabled)."
      },
      {
        "number": "39",
        "name": "RD1/PSP1",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; Parallel Client Port data bit 1 (TTL input when PSP enabled)."
      },
      {
        "number": "40",
        "name": "RD2/PSP2",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; Parallel Client Port data bit 2 (TTL input when PSP enabled)."
      },
      {
        "number": "41",
        "name": "RD3/PSP3",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; Parallel Client Port data bit 3 (TTL input when PSP enabled)."
      },
      {
        "number": "42",
        "name": "RC4/SDI/SDA",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; MSSP SPI data input or I2C data I/O."
      },
      {
        "number": "43",
        "name": "RC5/SDO",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; MSSP SPI data output."
      },
      {
        "number": "44",
        "name": "RC6/TX/CK",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; EUSART asynchronous transmit or synchronous clock output/input."
      }
    ],
    "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: The TQFP-44 body size (10x10) named in the package hint is not stated in the extracted text; the 44-; Pin 31 OSC2/CLKO/RA6 has mixed roles (oscillator output or CLKO output, plus RA6 I/O). It is typed b; Pins 12, 13, 33 and 34 are listed as NC in Table 1-3 (TQFP column) and are typed unconnected."
        ],
        "pages_sent": 60,
        "cost_usd": 0.2927,
        "at": "2026-10-19T00:51:04"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8586181512038895616",
        "pages": 383,
        "sha256": "7a3ba485a1cab451",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 44,
        "described": 44,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "pic18f4520-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": "61ecec1147f835d2c9d165c450b1c8d53e65b038f6ca1dac3066a2dfb1bbbb85",
        "checked": "2026-10-19",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "pic18f4520-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": "cc7c32b5783b99841622b0e3baf6f307abbde52880d5375f7e7080416297f7d6",
        "checked": "2026-10-19",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}