main
Ray Publish 0.1.0 1a6302d
{
  "slug": "pic18f23k22-i",
  "version": "0.1.0",
  "type": "component",
  "description": "Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), QFN-28-EP(6x6). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "single chip microcomputer-microcontroller",
    "pic18f23k22-i",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "pic18f23k22-i.kicad_sym",
    "pic18f23k22-i.kicad_mod",
    "pic18f23k22-i.glb",
    "pic18f23k22-i.step",
    "pic18f23k22-i.lbr",
    "docs/hero.png",
    "docs/pic18f23k22-i-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "pic18f23k22-i-hero.glb",
    "pic18f23k22-i-hero.overlay.json",
    "pic18f23k22-i-etched.glb"
  ],
  "component": {
    "mpn": "PIC18F23K22-I",
    "manufacturer": "Microchip Tech",
    "package": "QFN-28-EP(6x6)",
    "pin_count": 29,
    "category": "Single Chip Microcomputer/Microcontroller",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://ww1.microchip.com/downloads/en/DeviceDoc/PIC18(L)F2X-4XK22-Data-Sheet-40001412H.pdf",
    "parts": {
      "symbol": "pic18f23k22-i.kicad_sym",
      "footprint": "pic18f23k22-i.kicad_mod",
      "model_3d": "pic18f23k22-i-hero.glb",
      "model_3d_plain": "pic18f23k22-i-etched.glb",
      "model_3d_step": "pic18f23k22-i-etched.step",
      "model_3d_step_plain": "pic18f23k22-i.step",
      "lbr": "pic18f23k22-i.lbr"
    },
    "distributor_links": {
      "lcsc": "C639961"
    },
    "distributor_check": {
      "checked_at": "2026-10-29T02:15:56Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "RA2/C2IN+/AN2/DACOUT/VREF-",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input; also comparator C2 noninverting input, analog input AN2, DAC reference output DACOUT, and A/D reference voltage (low) input VREF-."
      },
      {
        "number": "2",
        "name": "RA3/C1IN+/AN3/VREF+",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input; also comparator C1 noninverting input, analog input AN3, and A/D reference voltage (high) input VREF+."
      },
      {
        "number": "3",
        "name": "RA4/CCP5/C1OUT/SRQ/T0CKI",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; also CCP5 capture/compare/PWM, comparator C1 output, SR latch Q output, and Timer0 external clock input T0CKI."
      },
      {
        "number": "4",
        "name": "RA5/C2OUT/SRNQ/SS1/HLVDIN/AN4",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input; also comparator C2 output, SR latch complementary output SRNQ, MSSP1 SPI client select SS1, high/low-voltage detect input HLVDIN, and analog input AN4."
      },
      {
        "number": "5",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference for logic and I/O pins."
      },
      {
        "number": "6",
        "name": "RA7/CLKI/OSC1",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input (disabled in external oscillator modes); also external clock source input CLKI and oscillator input OSC1 (ST buffer in RC mode, CMOS otherwise)."
      },
      {
        "number": "7",
        "name": "RA6/CLKO/OSC2",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input (enabled in INTOSC modes when CLKO is not enabled); in RC mode outputs CLKOUT at 1/4 the OSC1 frequency, and in crystal oscillator mode serves as the OSC2 crystal output."
      },
      {
        "number": "8",
        "name": "RC0/P2B/T3CKI/T3G/T1CKI/SOSCO",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; also Enhanced CCP2 PWM output P2B, Timer3 clock input T3CKI, Timer3 gate input T3G, Timer1 clock input T1CKI, and secondary oscillator output SOSCO."
      },
      {
        "number": "9",
        "name": "RC1/P2A/CCP2/SOSCI",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; also Enhanced CCP2 PWM output P2A, CCP2 capture/compare/PWM, and secondary oscillator input SOSCI."
      },
      {
        "number": "10",
        "name": "RC2/CTPLS/P1A/CCP1/T5CKI/AN14",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; also CTMU pulse generator output CTPLS, Enhanced CCP1 PWM output P1A, CCP1 capture/compare/PWM, Timer5 clock input T5CKI, and analog input AN14."
      },
      {
        "number": "11",
        "name": "RC3/SCK1/SCL1/AN15",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; also MSSP1 SPI clock SCK1, MSSP1 I2C clock SCL1, and analog input AN15."
      },
      {
        "number": "12",
        "name": "RC4/SDI1/SDA1/AN16",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; also MSSP1 SPI data input SDI1, MSSP1 I2C data SDA1, and analog input AN16."
      },
      {
        "number": "13",
        "name": "RC5/SDO1/AN17",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; also MSSP1 SPI data output SDO1 and analog input AN17."
      },
      {
        "number": "14",
        "name": "RC6/P3A/CCP3/TX1/CK1/AN18",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; also Enhanced CCP3 PWM output P3A, CCP3 capture/compare/PWM, EUSART asynchronous transmit TX1, EUSART synchronous clock CK1, and analog input AN18."
      },
      {
        "number": "15",
        "name": "RC7/P3B/RX1/DT1/AN19",
        "type": "bidirectional",
        "description": "Digital I/O with Schmitt Trigger input; also Enhanced CCP3 PWM output P3B, EUSART asynchronous receive RX1, EUSART synchronous data DT1, and analog input AN19."
      },
      {
        "number": "16",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference for logic and I/O pins."
      },
      {
        "number": "17",
        "name": "VDD",
        "type": "power_in",
        "description": "Positive supply for logic and I/O pins."
      },
      {
        "number": "18",
        "name": "RB0/INT0/CCP4/FLT0/SRI/SS2/AN12",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input; also external interrupt INT0 (Schmitt Trigger), CCP4 capture/compare/PWM, ECCP auto-shutdown fault input FLT0, SR latch input SRI, MSSP2 SPI client select SS2, and analog input AN12."
      },
      {
        "number": "19",
        "name": "RB1/INT1/P1C/SCK2/SCL2/C12IN3-/AN10",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input; also external interrupt INT1, Enhanced CCP1 PWM output P1C, MSSP2 SPI clock SCK2 or I2C clock SCL2, comparator C1/C2 inverting input C12IN3-, and analog input AN10."
      },
      {
        "number": "20",
        "name": "RB2/INT2/CTED1/P1B/SDI2/SDA2/AN8",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input; also external interrupt INT2, CTMU Edge 1 input CTED1, Enhanced CCP1 PWM output P1B, MSSP2 SPI data input SDI2 or I2C data SDA2, and analog input AN8."
      },
      {
        "number": "21",
        "name": "RB3/CTED2/P2A/CCP2/SDO2/C12IN2-/AN9",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input; also CTMU Edge 2 input CTED2, Enhanced CCP2 PWM output P2A, CCP2 capture/compare/PWM, MSSP2 SPI data output SDO2, comparator C1/C2 inverting input C12IN2-, and analog input AN9."
      },
      {
        "number": "22",
        "name": "RB4/IOC0/P1D/T5G/AN11",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input; also interrupt-on-change pin IOC0, Enhanced CCP1 PWM output P1D, Timer5 external clock gate input T5G, and analog input AN11."
      },
      {
        "number": "23",
        "name": "RB5/IOC1/P2B/P3A/CCP3/T3CKI/T1G/AN13",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input; also interrupt-on-change pin IOC1, Enhanced CCP2 PWM output P2B, Enhanced CCP3 PWM output P3A, CCP3 capture/compare/PWM, Timer3 clock input T3CKI, Timer1 external clock gate input T1G, and analog input AN13."
      },
      {
        "number": "24",
        "name": "RB6/IOC2/TX2/CK2/PGC",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input; also interrupt-on-change pin IOC2, EUSART asynchronous transmit TX2, EUSART synchronous clock CK2, and In-Circuit Debugger/ICSP programming clock PGC."
      },
      {
        "number": "25",
        "name": "RB7/IOC3/RX2/DT2/PGD",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input; also interrupt-on-change pin IOC3, EUSART asynchronous receive RX2, EUSART synchronous data DT2, and In-Circuit Debugger/ICSP programming data PGD."
      },
      {
        "number": "26",
        "name": "RE3/VPP/MCLR",
        "type": "input",
        "description": "Digital input only (Schmitt Trigger) when MCLRE is clear, otherwise active-low Master Clear (device Reset) input MCLR; it is also the programming voltage input VPP."
      },
      {
        "number": "27",
        "name": "RA0/C12IN0-/AN0",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input; also comparator C1/C2 inverting input C12IN0- and analog input AN0."
      },
      {
        "number": "28",
        "name": "RA1/C12IN1-/AN1",
        "type": "bidirectional",
        "description": "Digital I/O with TTL input; also comparator C1/C2 inverting input C12IN1- and analog input AN1."
      },
      {
        "number": "29",
        "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 28-lead QFN has an exposed thermal pad (EP), but the datasheet text provided does not give a pin; The provided text gives no separate 28-lead QFN drawing or dimensional table (only the 6x6 mm markin; The text extraction of the RA2 row reads '41' with no space. It is read here as PDIP pin 4 and QFN p",
          "exposed pad 29 added from the footprint"
        ],
        "pages_sent": 90,
        "cost_usd": 0.4518,
        "at": "2026-10-29T02:15:40"
      },
      "datasheet": {
        "url": "https://ww1.microchip.com/downloads/en/DeviceDoc/PIC18(L)F2X-4XK22-Data-Sheet-40001412H.pdf",
        "pages": 539,
        "sha256": "d0ba745eb6a13bdb",
        "source_tier": "mfr"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 29,
        "described": 29,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "pic18f23k22-i.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.0,
          6.0,
          0.93
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "64a3dae9c9f9a8105c3bb3049fb2c326b3235bef9a1fff0bf5e22c753fbc9b55",
        "checked": "2026-10-29",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "pic18f23k22-i-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.0,
          6.0,
          0.93
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "124aad755490ae1c8aeb0a2e1c8df517658f2b4680295d7ba3469b7c93255197",
        "checked": "2026-10-29",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}