main
Ray Publish 0.1.0 815882a 7h ago
{
  "slug": "pic18f2520-i",
  "version": "0.1.0",
  "type": "component",
  "description": "Microchip Tech Microcontrollers (MCU/MPU/SOC), SOIC-28-300mil. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "pic18f2520-i",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "pic18f2520-i.kicad_sym",
    "pic18f2520-i.kicad_mod",
    "pic18f2520-i.glb",
    "pic18f2520-i.step",
    "pic18f2520-i.lbr",
    "docs/hero.png",
    "docs/pic18f2520-i-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "pic18f2520-i-hero.glb",
    "pic18f2520-i-hero.overlay.json",
    "pic18f2520-i-etched.glb"
  ],
  "component": {
    "mpn": "PIC18F2520-I",
    "manufacturer": "Microchip Tech",
    "package": "SOIC-28-300mil",
    "pin_count": 28,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588884724974960640",
    "parts": {
      "symbol": "pic18f2520-i.kicad_sym",
      "footprint": "pic18f2520-i.kicad_mod",
      "model_3d": "pic18f2520-i-hero.glb",
      "model_3d_plain": "pic18f2520-i-etched.glb",
      "model_3d_step": "pic18f2520-i-etched.step",
      "model_3d_step_plain": "pic18f2520-i.step",
      "lbr": "pic18f2520-i.lbr"
    },
    "distributor_links": {
      "lcsc": "C9796"
    },
    "distributor_check": {
      "checked_at": "2026-10-18T14:11:02Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "quota"
      },
      "mouser": {
        "pn": null,
        "status": "quota"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "MCLR/VPP/RE3",
        "type": "input",
        "description": "Master Clear (Reset) input is active-low when MCLRE is set; otherwise pin functions as digital input RE3, and VPP is the programming voltage input."
      },
      {
        "number": "2",
        "name": "RA0/AN0",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input levels, also analog input 0 and comparator C1- input."
      },
      {
        "number": "3",
        "name": "RA1/AN1",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input levels, also analog input 1 and comparator C2- input."
      },
      {
        "number": "4",
        "name": "RA2/AN2/VREF-/CVREF",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input levels, also analog input 2, A/D low reference voltage input VREF-, or comparator voltage reference output CVREF."
      },
      {
        "number": "5",
        "name": "RA3/AN3/VREF+",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input levels, also analog input 3 or A/D high reference voltage input VREF+."
      },
      {
        "number": "6",
        "name": "RA4/T0CKI/C1OUT",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input, also Timer0 external clock input T0CKI or comparator 1 output C1OUT."
      },
      {
        "number": "7",
        "name": "RA5/AN4/SS/HLVDIN/C2OUT",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input levels, also analog input 4, MSSP SPI slave select SS, High/Low-Voltage Detect input HLVDIN, or comparator 2 output C2OUT."
      },
      {
        "number": "8",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference for logic and I/O pins."
      },
      {
        "number": "9",
        "name": "OSC1/CLKI/RA7",
        "type": "input",
        "description": "Oscillator crystal or external clock input (ST buffer in RC mode, CMOS otherwise); pin becomes general purpose I/O RA7 when not used as an oscillator pin."
      },
      {
        "number": "10",
        "name": "OSC2/CLKO/RA6",
        "type": "output",
        "description": "Oscillator crystal output in crystal modes, CLKO (FOSC/4) in RC and EC modes, or general purpose I/O RA6 in RCIO, INTIO2 and ECIO modes."
      },
      {
        "number": "11",
        "name": "RC0/T1OSO/T13CKI",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input, also Timer1 oscillator output T1OSO or Timer1/Timer3 external clock input T13CKI."
      },
      {
        "number": "12",
        "name": "RC1/T1OSI/CCP2",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input, also Timer1 oscillator input T1OSI or CCP2 capture input/compare and PWM output (default CCP2 pin when CCP2MX is set)."
      },
      {
        "number": "13",
        "name": "RC2/CCP1",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input, also CCP1 capture input or compare/PWM output."
      },
      {
        "number": "14",
        "name": "RC3/SCK/SCL",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input, also MSSP synchronous serial clock SCK (SPI mode) or SCL (I2C mode)."
      },
      {
        "number": "15",
        "name": "RC4/SDI/SDA",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input, also MSSP SPI data input SDI or I2C data I/O SDA."
      },
      {
        "number": "16",
        "name": "RC5/SDO",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input, also MSSP SPI data output SDO."
      },
      {
        "number": "17",
        "name": "RC6/TX/CK",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input, also EUSART asynchronous transmit TX or synchronous clock CK."
      },
      {
        "number": "18",
        "name": "RC7/RX/DT",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input, also EUSART asynchronous receive RX or synchronous data DT."
      },
      {
        "number": "19",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference for logic and I/O pins."
      },
      {
        "number": "20",
        "name": "VDD",
        "type": "power_in",
        "description": "Positive supply for logic and I/O pins; PIC18F devices operate from 4.2V to 5.5V and PIC18LF devices from 2.0V to 5.5V."
      },
      {
        "number": "21",
        "name": "RB0/INT0/FLT0/AN12",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input and programmable weak pull-up, also external interrupt 0 INT0, Enhanced PWM fault input FLT0, or analog input 12."
      },
      {
        "number": "22",
        "name": "RB1/INT1/AN10",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input and programmable weak pull-up, also external interrupt 1 INT1 or analog input 10."
      },
      {
        "number": "23",
        "name": "RB2/INT2/AN8",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input and programmable weak pull-up, also external interrupt 2 INT2 or analog input 8."
      },
      {
        "number": "24",
        "name": "RB3/AN9/CCP2",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input and programmable weak pull-up, also analog input 9 or CCP2 capture/compare/PWM (alternate CCP2 pin when CCP2MX is cleared)."
      },
      {
        "number": "25",
        "name": "RB4/KBI0/AN11",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input and programmable weak pull-up, also interrupt-on-change pin KBI0 or analog input 11."
      },
      {
        "number": "26",
        "name": "RB5/KBI1/PGM",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input and programmable weak pull-up, also interrupt-on-change pin KBI1 or low-voltage ICSP programming enable pin PGM."
      },
      {
        "number": "27",
        "name": "RB6/KBI2/PGC",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input and programmable weak pull-up, also interrupt-on-change pin KBI2 or in-circuit debugger and ICSP programming clock PGC."
      },
      {
        "number": "28",
        "name": "RB7/KBI3/PGD",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input and programmable weak pull-up, also interrupt-on-change pin KBI3 or in-circuit debugger and ICSP programming data PGD."
      }
    ],
    "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 extracted Table 1-2 merges the SPDIP and SOIC pin-number columns (each row shows one number befo; OSC2/CLKO/RA6 is listed as output in Table 1-2 (its primary oscillator function); it is an I/O pin (; MCLR and OSC1 are listed as input types in the datasheet; their alternate functions (RE3, RA7) are b",
          "2/28 pins cited to the wrong page (name found elsewhere): ['5:RA3/AN3/VREF+@p13', '6:RA4/T0CKI/C1OUT@p13']"
        ],
        "pages_sent": 68,
        "cost_usd": 0.3368,
        "at": "2026-10-18T14:10:46"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588884724974960640",
        "pages": 412,
        "sha256": "7f882378ad20764a",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 28,
        "described": 28,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "pic18f2520-i.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          10.3,
          17.9,
          2.75
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "b889a13dbe9ec59e79fa9f1b5118b00bfa54f9582392335ff3365b64afc264b1",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "pic18f2520-i-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          10.3,
          17.9,
          2.75
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "976107509e2c50c5a4833022de6d271828087edf7b367465a35f042d4914a9de",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}