main
Ray Publish 0.1.0 7b3506c
{
  "slug": "pic16lf18345-i-gz",
  "version": "0.1.0",
  "type": "component",
  "description": "Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), UQFN-20-EP(4x4). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "single chip microcomputer-microcontroller",
    "pic16lf18345-i",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "pic16lf18345-i-gz.kicad_sym",
    "pic16lf18345-i-gz.kicad_mod",
    "pic16lf18345-i-gz.glb",
    "pic16lf18345-i-gz.step",
    "pic16lf18345-i-gz.lbr",
    "docs/hero.png",
    "docs/pic16lf18345-i-gz-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "pic16lf18345-i-gz-hero.glb",
    "pic16lf18345-i-gz-hero.overlay.json"
  ],
  "component": {
    "mpn": "PIC16LF18345-I/GZ",
    "manufacturer": "Microchip Tech",
    "package": "UQFN-20-EP(4x4)",
    "pin_count": 21,
    "category": "Single Chip Microcomputer/Microcontroller",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/d431b09622f8d45fba8698dbb616f0aa.pdf",
    "parts": {
      "symbol": "pic16lf18345-i-gz.kicad_sym",
      "footprint": "pic16lf18345-i-gz.kicad_mod",
      "model_3d": "pic16lf18345-i-gz-hero.glb",
      "model_3d_plain": "pic16lf18345-i-gz.glb",
      "model_3d_step": "pic16lf18345-i-gz-etched.step",
      "model_3d_step_plain": "pic16lf18345-i-gz.step",
      "lbr": "pic16lf18345-i-gz.lbr"
    },
    "distributor_links": {
      "lcsc": "C638119",
      "digikey": "PIC16LF18345-I/GZ-ND",
      "mouser": "579-PIC16LF18345I/GZ"
    },
    "distributor_check": {
      "checked_at": "2026-11-12T20:05:46Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "PIC16LF18345-I/GZ-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "579-PIC16LF18345I/GZ",
        "status": "found"
      },
      "matched_as": "PIC16LF18345-I/GZ"
    },
    "pins": [
      {
        "number": "1",
        "name": "RA3/MCLR/VPP",
        "type": "input",
        "description": "Input-only port pin RA3 that serves as Master Clear (MCLR, with internal weak pull-up) and the high-voltage programming input VPP."
      },
      {
        "number": "2",
        "name": "RC5",
        "type": "bidirectional",
        "description": "General purpose I/O RC5 with ANC5 analog input, default MDCIN2 and CCP1 inputs, and interrupt-on-change."
      },
      {
        "number": "3",
        "name": "RC4",
        "type": "bidirectional",
        "description": "General purpose I/O RC4 with ANC4 analog input and interrupt-on-change."
      },
      {
        "number": "4",
        "name": "RC3",
        "type": "bidirectional",
        "description": "General purpose I/O RC3 with ANC3, C1IN3-/C2IN3- comparator negative inputs, default MDMIN, CCP2 and CLCIN1 inputs."
      },
      {
        "number": "5",
        "name": "RC6",
        "type": "bidirectional",
        "description": "General purpose I/O RC6 with ANC6 analog input and default SS1 slave select input."
      },
      {
        "number": "6",
        "name": "RC7",
        "type": "bidirectional",
        "description": "General purpose I/O RC7 with ANC7 analog input and interrupt-on-change."
      },
      {
        "number": "7",
        "name": "RB7",
        "type": "bidirectional",
        "description": "General purpose I/O RB7 with ANB7 analog input and default SCK2/SCL2 (SPI clock 2 / I2C clock 2)."
      },
      {
        "number": "8",
        "name": "RB6",
        "type": "bidirectional",
        "description": "General purpose I/O RB6 with ANB6 analog input and default SCK1/SCL1 (SPI clock 1 / I2C clock 1)."
      },
      {
        "number": "9",
        "name": "RB5",
        "type": "bidirectional",
        "description": "General purpose I/O RB5 with ANB5 analog input and default SDI2/SDA2, EUSART RX and CLCIN3 inputs."
      },
      {
        "number": "10",
        "name": "RB4",
        "type": "bidirectional",
        "description": "General purpose I/O RB4 with ANB4 analog input and default SDI1/SDA1 and CLCIN2 inputs."
      },
      {
        "number": "11",
        "name": "RC2",
        "type": "bidirectional",
        "description": "General purpose I/O RC2 with ANC2, C1IN2-/C2IN2- comparator negative inputs and default MDCIN1 input."
      },
      {
        "number": "12",
        "name": "RC1",
        "type": "bidirectional",
        "description": "General purpose I/O RC1 with ANC1 and C1IN1-/C2IN1- comparator negative inputs."
      },
      {
        "number": "13",
        "name": "RC0",
        "type": "bidirectional",
        "description": "General purpose I/O RC0 with ANC0 analog input and C2IN0+ comparator positive input."
      },
      {
        "number": "14",
        "name": "RA2",
        "type": "bidirectional",
        "description": "General purpose I/O RA2 with ANA2, VREF- and DAC1REF- inputs, default T0CKI, CCP3, CWG1IN/CWG2IN, CLCIN0 and INT inputs."
      },
      {
        "number": "15",
        "name": "RA1/ICSPCLK",
        "type": "bidirectional",
        "description": "General purpose I/O RA1 with ANA1, VREF+, C1IN0-/C2IN0-, DAC1REF+, SS2 input, and ICDCLK/ICSPCLK debug and programming clock."
      },
      {
        "number": "16",
        "name": "RA0/ICSPDAT",
        "type": "bidirectional",
        "description": "General purpose I/O RA0 with ANA0, C1IN0+, DAC1OUT output, and ICDDAT/ICSPDAT debug and programming data."
      },
      {
        "number": "17",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference."
      },
      {
        "number": "18",
        "name": "VDD",
        "type": "power_in",
        "description": "Positive supply; 1.8V to 3.6V for PIC16LF18345."
      },
      {
        "number": "19",
        "name": "RA5/CLKIN/OSC1",
        "type": "bidirectional",
        "description": "General purpose I/O RA5 with ANA5, external clock input CLKIN, crystal OSC1, secondary oscillator SOSCI/SOSCIN, and T1CKI/T3CKI/T5CKI inputs."
      },
      {
        "number": "20",
        "name": "RA4/CLKOUT/OSC2",
        "type": "bidirectional",
        "description": "General purpose I/O RA4 with ANA4, FOSC/4 CLKOUT, crystal OSC2, SOSCO, T1G/T3G/T5G gate inputs and CCP4 input."
      },
      {
        "number": "21",
        "name": "EP",
        "type": "passive",
        "description": "Exposed pad (from the footprint; not named in the datasheet pin table)."
      }
    ],
    "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 exposed bottom pad of the 20-lead UQFN (4x4) is not given a pin number in the datasheet text. Pe; Pin numbers are taken from the 20-PIN UQFN column of Table 2 (page 7). Pin types and descriptions co"
        ],
        "pages_sent": 88,
        "cost_usd": 0.3694,
        "at": "2026-11-12T20:05:31"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/d431b09622f8d45fba8698dbb616f0aa.pdf",
        "pages": 495,
        "sha256": "b938cfac92c10b2e",
        "source_tier": "mfr"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "model_3d_generated": {
        "generator": "factory/gen_pkg3d.py",
        "family": "QFN",
        "height_mm": 0.5,
        "height_basis": "datasheet A, nominal",
        "standoff_mm": 0.0
      },
      "pins": {
        "total": 21,
        "described": 21,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "pic16lf18345-i-gz.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          4.02,
          4.02,
          0.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "aee32e56ec71bd652deeda7bb8759326fbd6d2296d9da2210affde9a153b5b7b",
        "checked": "2026-11-12",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "pic16lf18345-i-gz-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          4.02,
          4.02,
          0.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "71edd6ad1aea7c86ac308eafd9fdf39d6ecb442a71a75d930ae94e977a5f3fde",
        "checked": "2026-11-12",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "package_dims": {
      "package_code": "GZ",
      "source_page": 486,
      "D": {
        "nom_mm": 4.0,
        "range_mm": [
          null,
          null
        ]
      },
      "E1": {
        "nom_mm": 4.0,
        "range_mm": [
          null,
          null
        ]
      },
      "e": {
        "nom_mm": 0.5,
        "range_mm": [
          null,
          null
        ]
      },
      "A": {
        "nom_mm": 0.5,
        "range_mm": [
          0.45,
          0.55
        ]
      },
      "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",
      "model_check": {
        "file": "pic16lf18345-i-gz.step",
        "verdict": "PASS",
        "reasons": [
          "height within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  }
}