main
Ray Publish 0.1.0 04a1a6d
{
  "slug": "pic18f27k40t-i-ss",
  "version": "0.1.0",
  "type": "component",
  "description": "Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), SSOP-28-208mil. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "single chip microcomputer-microcontroller",
    "pic18f27k40t-i",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "pic18f27k40t-i-ss.kicad_sym",
    "pic18f27k40t-i-ss.kicad_mod",
    "pic18f27k40t-i-ss.glb",
    "pic18f27k40t-i-ss.step",
    "pic18f27k40t-i-ss.lbr",
    "docs/hero.png",
    "docs/pic18f27k40t-i-ss-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "pic18f27k40t-i-ss-hero.glb",
    "pic18f27k40t-i-ss-hero.overlay.json"
  ],
  "component": {
    "mpn": "PIC18F27K40T-I/SS",
    "manufacturer": "Microchip Tech",
    "package": "SSOP-28-208mil",
    "pin_count": 28,
    "category": "Single Chip Microcomputer/Microcontroller",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://ww1.microchip.com/downloads/aemDocuments/documents/MCU08/ProductDocuments/DataSheets/PIC18-L-F24-25K40-Microcontroller-Data-Sheet-DS40001843.pdf",
    "parts": {
      "symbol": "pic18f27k40t-i-ss.kicad_sym",
      "footprint": "pic18f27k40t-i-ss.kicad_mod",
      "model_3d": "pic18f27k40t-i-ss-hero.glb",
      "model_3d_plain": "pic18f27k40t-i-ss.glb",
      "model_3d_step": "pic18f27k40t-i-ss-etched.step",
      "model_3d_step_plain": "pic18f27k40t-i-ss.step",
      "lbr": "pic18f27k40t-i-ss.lbr"
    },
    "distributor_links": {
      "lcsc": "C628999",
      "digikey": "PIC18F27K40T-I/SSTR-ND"
    },
    "distributor_check": {
      "checked_at": "2026-11-18T23:45:35Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "PIC18F27K40T-I/SSTR-ND",
        "status": "found"
      },
      "mouser": {
        "pn": null,
        "status": "quota"
      },
      "matched_as": "PIC18F27K40T-I/SS"
    },
    "pins": [
      {
        "number": "1",
        "name": "RE3/MCLR/VPP",
        "type": "input",
        "description": "Input-only pin RE3 that serves as the MCLR/VPP function (device Reset when MCLR is enabled) and as an interrupt-on-change input (IOCE3)."
      },
      {
        "number": "2",
        "name": "RA0",
        "type": "bidirectional",
        "description": "PORTA bit 0 with analog input ANA0, comparator inputs C1IN0-/C2IN0-, and interrupt-on-change IOCA0, with a weak pull-up available."
      },
      {
        "number": "3",
        "name": "RA1",
        "type": "bidirectional",
        "description": "PORTA bit 1 with analog input ANA1, comparator inputs C1IN1-/C2IN1-, and interrupt-on-change IOCA1, with a weak pull-up available."
      },
      {
        "number": "4",
        "name": "RA2",
        "type": "bidirectional",
        "description": "PORTA bit 2 with analog input ANA2, DAC1OUT1, Vref- (DAC and ADC), comparator inputs C1IN0+/C2IN0+, and interrupt-on-change IOCA2."
      },
      {
        "number": "5",
        "name": "RA3",
        "type": "bidirectional",
        "description": "PORTA bit 3 with analog input ANA3, Vref+ (DAC and ADC), comparator input C1IN1+, DSM carrier-low output MDCARL, and interrupt-on-change IOCA3."
      },
      {
        "number": "6",
        "name": "RA4",
        "type": "bidirectional",
        "description": "PORTA bit 4 with analog input ANA4, Timer0 clock input T0CKI, DSM carrier-high output MDCARH, and interrupt-on-change IOCA4."
      },
      {
        "number": "7",
        "name": "RA5",
        "type": "bidirectional",
        "description": "PORTA bit 5 with analog input ANA5, DSM source input MDSRC, MSSP slave select SS1, and interrupt-on-change IOCA5."
      },
      {
        "number": "8",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference pin for the device."
      },
      {
        "number": "9",
        "name": "RA7/CLKIN/OSC1",
        "type": "bidirectional",
        "description": "PORTA bit 7 with analog input ANA7, interrupt-on-change IOCA7, and the OSC1/CLKIN oscillator input in the oscillator modes that use it."
      },
      {
        "number": "10",
        "name": "RA6/CLKOUT/OSC2",
        "type": "bidirectional",
        "description": "PORTA bit 6 with analog input ANA6, interrupt-on-change IOCA6, and the OSC2/CLKOUT pin, which carries the clock output when enabled by CLKOUTEN."
      },
      {
        "number": "11",
        "name": "RC0/SOSCO",
        "type": "bidirectional",
        "description": "PORTC bit 0 with analog input ANC0, Timer1/Timer3 clock and gate inputs (T1CKI, T3CKI, T3G), interrupt-on-change IOCC0, and the secondary oscillator output SOSCO."
      },
      {
        "number": "12",
        "name": "RC1/SOSCI",
        "type": "bidirectional",
        "description": "PORTC bit 1 with analog input ANC1, CCP2 output, interrupt-on-change IOCC1, and the secondary oscillator input SOSCI/SOSCIN."
      },
      {
        "number": "13",
        "name": "RC2",
        "type": "bidirectional",
        "description": "PORTC bit 2 with analog input ANC2, Timer5 clock input T5CKI, CCP1 input/output, and interrupt-on-change IOCC2."
      },
      {
        "number": "14",
        "name": "RC3",
        "type": "bidirectional",
        "description": "PORTC bit 3 with analog input ANC3, Timer2 input T2IN, interrupt-on-change IOCC3, and MSSP1 SCK1/SCL1 which uses I2C logic levels when assigned to this pin."
      },
      {
        "number": "15",
        "name": "RC4",
        "type": "bidirectional",
        "description": "PORTC bit 4 with analog input ANC4, interrupt-on-change IOCC4, and MSSP1 SDI1/SDA1 which uses I2C logic levels when assigned to this pin."
      },
      {
        "number": "16",
        "name": "RC5",
        "type": "bidirectional",
        "description": "PORTC bit 5 with analog input ANC5, Timer4 input T4IN, and interrupt-on-change IOCC5."
      },
      {
        "number": "17",
        "name": "RC6",
        "type": "bidirectional",
        "description": "PORTC bit 6 with analog input ANC6, interrupt-on-change IOCC6, and the EUSART1 clock CK1 (TX1/CK1 output)."
      },
      {
        "number": "18",
        "name": "RC7",
        "type": "bidirectional",
        "description": "PORTC bit 7 with analog input ANC7, interrupt-on-change IOCC7, and the EUSART1 receive/data input RX1/DT1."
      },
      {
        "number": "19",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference pin for the device."
      },
      {
        "number": "20",
        "name": "VDD",
        "type": "power_in",
        "description": "Positive supply pin for the device; the supply voltage limits are not stated in the extracted text."
      },
      {
        "number": "21",
        "name": "RB0",
        "type": "bidirectional",
        "description": "PORTB bit 0 with analog input ANB0, comparator input C2IN1+, CWG1 input, ZCD input ZCDIN, interrupt-on-change IOCB0, and external interrupt INT0."
      },
      {
        "number": "22",
        "name": "RB1",
        "type": "bidirectional",
        "description": "PORTB bit 1 with analog input ANB1, comparator inputs C1IN3-/C2IN3-, interrupt-on-change IOCB1, and external interrupt INT1."
      },
      {
        "number": "23",
        "name": "RB2",
        "type": "bidirectional",
        "description": "PORTB bit 2 with analog input ANB2, interrupt-on-change IOCB2, and external interrupt INT2."
      },
      {
        "number": "24",
        "name": "RB3",
        "type": "bidirectional",
        "description": "PORTB bit 3 with analog input ANB3, comparator inputs C1IN2-/C2IN2-, and interrupt-on-change IOCB3."
      },
      {
        "number": "25",
        "name": "RB4",
        "type": "bidirectional",
        "description": "PORTB bit 4 with analog input ANB4, Timer5 gate input T5G, and interrupt-on-change IOCB4."
      },
      {
        "number": "26",
        "name": "RB5",
        "type": "bidirectional",
        "description": "PORTB bit 5 with analog input ANB5, Timer1 gate input T1G, and interrupt-on-change IOCB5."
      },
      {
        "number": "27",
        "name": "RB6/ICSPCLK",
        "type": "bidirectional",
        "description": "PORTB bit 6 with analog input ANB6, interrupt-on-change IOCB6, and the ICSPCLK In-Circuit Serial Programming clock pin."
      },
      {
        "number": "28",
        "name": "RB7/ICSPDAT",
        "type": "bidirectional",
        "description": "PORTB bit 7 with analog input ANB7, DAC1OUT2 output, Timer6 input T6IN, interrupt-on-change IOCB7, and the ICSPDAT In-Circuit Serial Programming data pin."
      }
    ],
    "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 MPN PIC18F27K40T-I is not covered by this datasheet. The text covers PIC18(L)F24/25K40 (DS400018; The SSOP pin numbers come from Table 3 (28-Pin SPDIP, SOIC, SSOP column). The SSOP pin-diagram text ; Figure 1-1 and Figure 1-2 label a VDDIO2 power pin on the 28-pin packages, but Table 3 assigns no pi"
        ],
        "pages_sent": 63,
        "cost_usd": 0.2729,
        "at": "2026-11-18T23:45:12"
      },
      "datasheet": {
        "url": "https://ww1.microchip.com/downloads/aemDocuments/documents/MCU08/ProductDocuments/DataSheets/PIC18-L-F24-25K40-Microcontroller-Data-Sheet-DS40001843.pdf",
        "pages": 720,
        "sha256": "043510e914313694",
        "source_tier": "mfr",
        "citation": "Microchip Tech datasheet"
      },
      "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": "pic18f27k40t-i-ss.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          7.8,
          10.2,
          2.1
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "7aa76979ae41da44bded1ed74115012868f2f3f5a757faf32bb9df4f92c1e313",
        "checked": "2026-11-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "pic18f27k40t-i-ss-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          7.8,
          10.2,
          2.1
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "469205344e922d231ed7983469cae837b52432a03064b99c27b8851cb84de6f0",
        "checked": "2026-11-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "package_dims": {
      "package_code": "SS (SSOP-28, 5.30 mm body)",
      "source_page": 707,
      "D": {
        "nom_mm": 10.2,
        "range_mm": [
          9.9,
          10.5
        ]
      },
      "E1": {
        "nom_mm": 5.3,
        "range_mm": [
          5.0,
          5.6
        ]
      },
      "E": {
        "nom_mm": 7.8,
        "range_mm": [
          7.4,
          8.2
        ]
      },
      "e": {
        "nom_mm": 0.65,
        "range_mm": [
          null,
          null
        ]
      },
      "A": {
        "nom_mm": 2.0,
        "range_mm": [
          null,
          2.0
        ]
      },
      "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",
      "model_check": {
        "file": "pic18f27k40t-i-ss.step",
        "verdict": "PASS",
        "reasons": [
          "height and body within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  }
}