main
Ray Set visibility: public 1214c1e 8d ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553
{
  "schema_version": 1,
  "type": "component",
  "slug": "pic18f4520-i",
  "title": "PIC18F4520-I",
  "brief": "Microchip Tech Microcontrollers (MCU/MPU/SOC), TQFP-44(10x10). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "embedded processors & controllers",
    "pic18f4520-i",
    "factory-2.0.0",
    "extractor-text"
  ],
  "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,
          12,
          1.1
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 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,
          12,
          1.1
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "cc7c32b5783b99841622b0e3baf6f307abbde52880d5375f7e7080416297f7d6",
        "checked": "2026-10-19",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "Microchip Tech",
      "Package": "TQFP-44(10x10)",
      "Category": "Embedded Processors & Controllers",
      "Pins": "44"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "7a3ba485a1cab451f561005e7954e95bfb0afd9b16dba67dc8004596260e760e",
      "rows": [
        {
          "name": "Operating VDD range, standard F device (PIC18F4520, not LF)",
          "symbol": "VDD",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 4.2,
          "typ": null,
          "max": 5.5,
          "conditions": "Standard 'F' devices; the 2.0V to 5.5V range is for LF parts and is excluded",
          "source_page": 6,
          "source": "datasheet"
        },
        {
          "name": "Operating frequency",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "MHz",
          "min": null,
          "typ": null,
          "max": 40,
          "conditions": "Printed as 'DC – 40 MHz' (Table 1-1, PIC18F4520)",
          "source_page": 7,
          "source": "datasheet"
        },
        {
          "name": "High-current sink",
          "symbol": "",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": null,
          "max": 25,
          "conditions": "Peripheral highlight 'High-Current Sink/Source 25 mA/25 mA'",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "High-current source",
          "symbol": "",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": null,
          "max": 25,
          "conditions": "Peripheral highlight 'High-Current Sink/Source 25 mA/25 mA'",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "Maximum recommended source impedance for A/D analog inputs",
          "symbol": "RS",
          "kind": "recommended_operating",
          "unit": "kΩ",
          "min": null,
          "typ": null,
          "max": 2.5,
          "conditions": "Maximum recommended impedance for analog sources (A/D conversion accuracy)",
          "source_page": 219,
          "source": "datasheet"
        },
        {
          "name": "Maximum recommended source impedance for comparator analog inputs",
          "symbol": "RS",
          "kind": "recommended_operating",
          "unit": "kΩ",
          "min": null,
          "typ": null,
          "max": 10,
          "conditions": "Maximum recommended for analog sources to comparator inputs",
          "source_page": 228,
          "source": "datasheet"
        },
        {
          "name": "External resistor REXT for RC oscillator",
          "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 capacitor CEXT for RC oscillator",
          "symbol": "CEXT",
          "kind": "recommended_operating",
          "unit": "pF",
          "min": 20,
          "typ": null,
          "max": null,
          "conditions": "Recommended CEXT > 20 pF for RC oscillator mode",
          "source_page": 22,
          "source": "datasheet"
        },
        {
          "name": "MCLR pull-up resistor to VDD (POR circuit)",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "kΩ",
          "min": 1,
          "typ": null,
          "max": 10,
          "conditions": "Tie MCLR to VDD through resistor, 1 kΩ to 10 kΩ, to eliminate external POR RC",
          "source_page": 39,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "pic18f4520-i"
  ],
  "discovery_pitch": "PIC18F4520-I (Microchip Tech) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray",
    "email": "[email protected]"
  },
  "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"
  ],
  "visibility": {
    "public": true
  }
}