main
Ray Publish 0.1.1 7c3a8a4
{
  "schema_version": 1,
  "type": "component",
  "slug": "pic18f2520-e",
  "title": "PIC18F2520-E",
  "brief": "Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), SOIC-28-300mil. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.1",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "single chip microcomputer-microcontroller",
    "pic18f2520-e",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "PIC18F2520-E",
    "manufacturer": "Microchip Tech",
    "package": "SOIC-28-300mil",
    "pin_count": 28,
    "category": "Single Chip Microcomputer/Microcontroller",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/49ff8082e2dae835e626198a0bcb01b7.pdf",
    "parts": {
      "symbol": "pic18f2520-e.kicad_sym",
      "footprint": "pic18f2520-e.kicad_mod",
      "model_3d": "pic18f2520-e-hero.glb",
      "model_3d_plain": "pic18f2520-e.glb",
      "model_3d_step": "pic18f2520-e-etched.step",
      "model_3d_step_plain": "pic18f2520-e.step",
      "lbr": "pic18f2520-e.lbr"
    },
    "distributor_links": {
      "lcsc": "C646472"
    },
    "distributor_check": {
      "checked_at": "2026-10-28T16:11:05Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "MCLR/VPP/RE3",
        "type": "input",
        "description": "Active-low Master Clear Reset input when MCLRE is set, with VPP as the high-voltage ICSP entry detection input and RE3 as a digital input only when MCLR is disabled."
      },
      {
        "number": "2",
        "name": "RA0/AN0",
        "type": "bidirectional",
        "description": "Digital I/O with analog input channel 0 and comparator C1- input, the default input configuration on POR."
      },
      {
        "number": "3",
        "name": "RA1/AN1",
        "type": "bidirectional",
        "description": "Digital I/O with analog input channel 1 and comparator C2- input."
      },
      {
        "number": "4",
        "name": "RA2/AN2/VREF-/CVREF",
        "type": "bidirectional",
        "description": "Digital I/O with analog input channel 2, A/D reference voltage low input VREF-, and comparator voltage reference output CVREF."
      },
      {
        "number": "5",
        "name": "RA3/AN3/VREF+",
        "type": "bidirectional",
        "description": "Digital I/O with analog input channel 3, comparator C1+ input, and A/D reference voltage high input VREF+."
      },
      {
        "number": "6",
        "name": "RA4/T0CKI/C1OUT",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input, Timer0 external clock input T0CKI, and Comparator 1 output C1OUT."
      },
      {
        "number": "7",
        "name": "RA5/AN4/SS/HLVDIN/C2OUT",
        "type": "bidirectional",
        "description": "Digital I/O with analog input channel 4, MSSP client select input SS, High/Low-Voltage Detect input HLVDIN, and 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 (CLKI), or general purpose I/O RA7 when an internal oscillator mode is selected."
      },
      {
        "number": "10",
        "name": "OSC2/CLKO/RA6",
        "type": "bidirectional",
        "description": "Oscillator crystal output or clock output (CLKO at FOSC/4 in RC mode), or general purpose I/O RA6 when not used as an oscillator pin."
      },
      {
        "number": "11",
        "name": "RC0/T1OSO/T13CKI",
        "type": "bidirectional",
        "description": "Digital I/O with Timer1 oscillator output T1OSO and Timer1/Timer3 external clock input T13CKI."
      },
      {
        "number": "12",
        "name": "RC1/T1OSI/CCP2",
        "type": "bidirectional",
        "description": "Digital I/O with Timer1 oscillator input T1OSI and CCP2 capture input, compare output, or PWM output (default CCP2 pin when CCP2MX is set)."
      },
      {
        "number": "13",
        "name": "RC2/CCP1",
        "type": "bidirectional",
        "description": "Digital I/O with CCP1 capture input, compare output, or PWM output."
      },
      {
        "number": "14",
        "name": "RC3/SCK/SCL",
        "type": "bidirectional",
        "description": "Digital I/O with MSSP synchronous serial clock input/output for SPI mode (SCK) and I2C mode (SCL)."
      },
      {
        "number": "15",
        "name": "RC4/SDI/SDA",
        "type": "bidirectional",
        "description": "Digital I/O with MSSP SPI data input SDI and I2C data I/O SDA."
      },
      {
        "number": "16",
        "name": "RC5/SDO",
        "type": "bidirectional",
        "description": "Digital I/O with MSSP SPI data output SDO."
      },
      {
        "number": "17",
        "name": "RC6/TX/CK",
        "type": "bidirectional",
        "description": "Digital I/O with EUSART asynchronous transmit TX and EUSART synchronous clock CK."
      },
      {
        "number": "18",
        "name": "RC7/RX/DT",
        "type": "bidirectional",
        "description": "Digital I/O with EUSART asynchronous receive RX and EUSART 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; standard F devices operate at 4.2V to 5.5V."
      },
      {
        "number": "21",
        "name": "RB0/INT0/FLT0/AN12",
        "type": "bidirectional",
        "description": "Digital I/O with weak pull-up, external interrupt INT0, PWM Fault input FLT0 for CCP1, and analog input 12."
      },
      {
        "number": "22",
        "name": "RB1/INT1/AN10",
        "type": "bidirectional",
        "description": "Digital I/O with weak pull-up, external interrupt INT1, and analog input 10."
      },
      {
        "number": "23",
        "name": "RB2/INT2/AN8",
        "type": "bidirectional",
        "description": "Digital I/O with weak pull-up, external interrupt INT2, and analog input 8."
      },
      {
        "number": "24",
        "name": "RB3/AN9/CCP2",
        "type": "bidirectional",
        "description": "Digital I/O with weak pull-up, analog input 9, and CCP2 capture input or compare/PWM output as the alternate CCP2 pin when CCP2MX is cleared."
      },
      {
        "number": "25",
        "name": "RB4/KBI0/AN11",
        "type": "bidirectional",
        "description": "Digital I/O with weak pull-up, interrupt-on-change input KBI0, and analog input 11."
      },
      {
        "number": "26",
        "name": "RB5/KBI1/PGM",
        "type": "bidirectional",
        "description": "Digital I/O with weak pull-up, interrupt-on-change input KBI1, and Low-Voltage ICSP programming enable pin PGM."
      },
      {
        "number": "27",
        "name": "RB6/KBI2/PGC",
        "type": "bidirectional",
        "description": "Digital I/O with weak pull-up, interrupt-on-change input KBI2, and in-circuit debugger and ICSP programming clock PGC."
      },
      {
        "number": "28",
        "name": "RB7/KBI3/PGD",
        "type": "bidirectional",
        "description": "Digital I/O with weak pull-up, interrupt-on-change input KBI3, and 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: SOIC pin numbers are taken from the column shared with SPDIP in Table 1-2 (page 10). Page 367 confir",
          "1/28 pins cited to the wrong page (name found elsewhere): ['6:RA4/T0CKI/C1OUT@p11']"
        ],
        "pages_sent": 60,
        "cost_usd": 0.0796,
        "at": "2026-10-28T16:10:38"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/49ff8082e2dae835e626198a0bcb01b7.pdf",
        "pages": 383,
        "sha256": "7a3ba485a1cab451",
        "source_tier": "mfr"
      },
      "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-e.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,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "b889a13dbe9ec59e79fa9f1b5118b00bfa54f9582392335ff3365b64afc264b1",
        "checked": "2026-10-28",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "pic18f2520-e-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,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "7a6a883ba5044958770828c79b8bea71f27c97c87da18837ce48f0440dccbc3d",
        "checked": "2026-10-28",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "Microchip Tech",
      "Package": "SOIC-28-300mil",
      "Category": "Single Chip Microcomputer/Microcontroller",
      "Pins": "28"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "7a3ba485a1cab451f561005e7954e95bfb0afd9b16dba67dc8004596260e760e",
      "rows": [
        {
          "name": "Operating VDD range, standard F device",
          "symbol": "VDD",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 4.2,
          "typ": null,
          "max": 5.5,
          "conditions": "Standard F device (PIC18F2520), not LF",
          "source_page": 6,
          "source": "datasheet"
        },
        {
          "name": "Operating frequency",
          "symbol": "FOSC",
          "kind": "recommended_operating",
          "unit": "MHz",
          "min": null,
          "typ": null,
          "max": 40,
          "conditions": "Printed as DC – 40 MHz for PIC18F2520",
          "source_page": 7,
          "source": "datasheet"
        },
        {
          "name": "External RC oscillator resistor REXT",
          "symbol": "REXT",
          "kind": "recommended_operating",
          "unit": "kΩ",
          "min": 3,
          "typ": null,
          "max": 100,
          "conditions": "Recommended values for RC oscillator mode",
          "source_page": 22,
          "source": "datasheet"
        },
        {
          "name": "External RC oscillator capacitor CEXT",
          "symbol": "CEXT",
          "kind": "recommended_operating",
          "unit": "pF",
          "min": 20,
          "typ": null,
          "max": null,
          "conditions": "Recommended value CEXT > 20 pF for RC oscillator mode",
          "source_page": 22,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "pic18f2520-e"
  ],
  "discovery_pitch": "PIC18F2520-E (Microchip Tech) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "pic18f2520-e.kicad_sym",
    "pic18f2520-e.kicad_mod",
    "pic18f2520-e.glb",
    "pic18f2520-e.step",
    "pic18f2520-e.lbr",
    "docs/hero.png",
    "docs/pic18f2520-e-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "pic18f2520-e-hero.glb",
    "pic18f2520-e-hero.overlay.json",
    "pic18f2520-e-etched.glb",
    "pic18f2520-e-etched.step"
  ],
  "visibility": "public",
  "description": "Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), SOIC-28-300mil. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "org": "adom"
}