main
Ray Publish 0.1.0 f3410d4 5d ago
{
  "slug": "pic16f1786-i",
  "version": "0.1.0",
  "type": "component",
  "description": "Microchip Tech Microcontrollers (MCU/MPU/SOC), SOIC-28-300mil. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "pic16f1786-i",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "pic16f1786-i.kicad_sym",
    "pic16f1786-i.kicad_mod",
    "pic16f1786-i.glb",
    "pic16f1786-i.step",
    "pic16f1786-i.lbr",
    "docs/hero.png",
    "docs/pic16f1786-i-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "pic16f1786-i-hero.glb",
    "pic16f1786-i-hero.overlay.json",
    "pic16f1786-i-etched.glb"
  ],
  "component": {
    "mpn": "PIC16F1786-I",
    "manufacturer": "Microchip Tech",
    "package": "SOIC-28-300mil",
    "pin_count": 28,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588907845400342528",
    "parts": {
      "symbol": "pic16f1786-i.kicad_sym",
      "footprint": "pic16f1786-i.kicad_mod",
      "model_3d": "pic16f1786-i-hero.glb",
      "model_3d_plain": "pic16f1786-i-etched.glb",
      "model_3d_step": "pic16f1786-i-etched.step",
      "model_3d_step_plain": "pic16f1786-i.step",
      "lbr": "pic16f1786-i.lbr"
    },
    "distributor_links": {
      "lcsc": "C220277"
    },
    "distributor_check": {
      "checked_at": "2026-10-21T00:40:18Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "RE3/MCLR/VPP",
        "type": "input",
        "description": "RE3 is a general purpose input only; when MCLR is enabled it is the Master Clear input with internal pull-up, and it also supplies the programming voltage VPP (HV)."
      },
      {
        "number": "2",
        "name": "RA0",
        "type": "bidirectional",
        "description": "General purpose I/O (TTL/ST input, CMOS output) that also serves as ADC Channel 0 input and as the negative input of comparators C1 to C4."
      },
      {
        "number": "3",
        "name": "RA1",
        "type": "bidirectional",
        "description": "General purpose I/O (TTL/ST input, CMOS output) that also serves as ADC Channel 1 input, negative input of comparators C1 to C4, and Operational Amplifier 1 output."
      },
      {
        "number": "4",
        "name": "RA2",
        "type": "bidirectional",
        "description": "General purpose I/O (TTL/ST input, CMOS output) that also serves as ADC Channel 2 input, positive input of comparators C1 to C4, DAC1 output DAC1OUT1, and ADC negative voltage reference VREF-."
      },
      {
        "number": "5",
        "name": "RA3",
        "type": "bidirectional",
        "description": "General purpose I/O (TTL/ST input, CMOS output) that also serves as ADC Channel 3 input, ADC positive voltage reference input VREF+, and positive input of comparator C1."
      },
      {
        "number": "6",
        "name": "RA4/C1OUT/OPA1IN+/T0CKI",
        "type": "bidirectional",
        "description": "General purpose I/O (TTL/ST input, CMOS output) that also serves as Comparator C1 output, Operational Amplifier 1 non-inverting input, and Timer0 clock input T0CKI (Schmitt Trigger)."
      },
      {
        "number": "7",
        "name": "RA5",
        "type": "bidirectional",
        "description": "General purpose I/O (TTL/ST input, CMOS output) that also serves as ADC Channel 4 input, Comparator C2 output, Operational Amplifier 1 inverting input, and SPI Slave Select input (Schmitt Trigger)."
      },
      {
        "number": "8",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference."
      },
      {
        "number": "9",
        "name": "RA7/PSMC1CLK/PSMC2CLK/PSMC3CLK/OSC1/CLKIN",
        "type": "bidirectional",
        "description": "General purpose I/O (TTL/ST input, CMOS output) that also serves as PSMC1, PSMC2 and PSMC3 clock inputs (Schmitt Trigger), and as OSC1 crystal/resonator connection or CLKIN external clock input."
      },
      {
        "number": "10",
        "name": "RA6/C2OUT/OSC2/CLKOUT/VCAP",
        "type": "bidirectional",
        "description": "General purpose I/O (TTL/ST input, CMOS output) that also serves as Comparator C2 output, OSC2 crystal/resonator connection, CLKOUT (FOSC/4) output, and the filter capacitor connection VCAP for the voltage regulator."
      },
      {
        "number": "11",
        "name": "RC0/T1OSO/T1CKI/PSMC1A",
        "type": "bidirectional",
        "description": "General purpose I/O (TTL/ST input, CMOS output) that also serves as Timer1 oscillator connection T1OSO, Timer1 clock input T1CKI (Schmitt Trigger), and PSMC1 output A."
      },
      {
        "number": "12",
        "name": "RC1/T1OSI/PSMC1B/CCP2",
        "type": "bidirectional",
        "description": "General purpose I/O (TTL/ST input, CMOS output) that also serves as Timer1 oscillator connection T1OSI, PSMC1 output B, and Capture/Compare/PWM2 (CCP2)."
      },
      {
        "number": "13",
        "name": "RC2/PSMC1C/CCP1",
        "type": "bidirectional",
        "description": "General purpose I/O (TTL/ST input, CMOS output) that also serves as PSMC1 output C and Capture/Compare/PWM1 (CCP1)."
      },
      {
        "number": "14",
        "name": "RC3",
        "type": "bidirectional",
        "description": "General purpose I/O (TTL/ST input, CMOS output) that also serves as PSMC1 output D, SPI clock SCK, and I2C clock SCL (open drain, I2C Schmitt Trigger input)."
      },
      {
        "number": "15",
        "name": "RC4",
        "type": "bidirectional",
        "description": "General purpose I/O (TTL/ST input, CMOS output) that also serves as PSMC1 output E, SPI data input SDI, and I2C data SDA (open drain, I2C Schmitt Trigger input)."
      },
      {
        "number": "16",
        "name": "RC5/PSMC1F/SDO",
        "type": "bidirectional",
        "description": "General purpose I/O (TTL/ST input, CMOS output) that also serves as PSMC1 output F and SPI data output SDO."
      },
      {
        "number": "17",
        "name": "RC6",
        "type": "bidirectional",
        "description": "General purpose I/O (TTL/ST input, CMOS output) that also serves as PSMC2 output A, EUSART asynchronous transmit TX, and EUSART synchronous clock CK."
      },
      {
        "number": "18",
        "name": "RC7",
        "type": "bidirectional",
        "description": "General purpose I/O (TTL/ST input, CMOS output) that also serves as PSMC2 output B, EUSART asynchronous receive RX, EUSART synchronous data DT, and Comparator C4 output (C4OUT, PIC16(L)F1786 only)."
      },
      {
        "number": "19",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference."
      },
      {
        "number": "20",
        "name": "VDD",
        "type": "power_in",
        "description": "Positive supply."
      },
      {
        "number": "21",
        "name": "RB0",
        "type": "bidirectional",
        "description": "General purpose I/O (TTL/ST input, CMOS output) that also serves as ADC Channel 12 input, Comparator C2 positive input, PSMC1/2/3 event trigger inputs, CCP1 (alternate location), and external interrupt INT (Schmitt Trigger)."
      },
      {
        "number": "22",
        "name": "RB1",
        "type": "bidirectional",
        "description": "General purpose I/O (TTL/ST input, CMOS output) that also serves as ADC Channel 10 input, negative input of comparators C1 to C4, and Operational Amplifier 2 output."
      },
      {
        "number": "23",
        "name": "RB2/AN8/OPA2IN-/CLKR",
        "type": "bidirectional",
        "description": "General purpose I/O (TTL/ST input, CMOS output) that also serves as ADC Channel 8 input, Operational Amplifier 2 inverting input, and CLKR clock output."
      },
      {
        "number": "24",
        "name": "RB3",
        "type": "bidirectional",
        "description": "General purpose I/O (TTL/ST input, CMOS output) that also serves as ADC Channel 9 input, negative input of comparators C1 to C3, Operational Amplifier 2 non-inverting input, and CCP2 (alternate location)."
      },
      {
        "number": "25",
        "name": "RB4/AN11/C3IN1+",
        "type": "bidirectional",
        "description": "General purpose I/O (TTL/ST input, CMOS output) that also serves as ADC Channel 11 input and positive input of Comparator C3."
      },
      {
        "number": "26",
        "name": "RB5",
        "type": "bidirectional",
        "description": "General purpose I/O (TTL/ST input, CMOS output) that also serves as ADC Channel 13 input, negative input of Comparator C4, Timer1 gate input T1G (Schmitt Trigger), CCP3 (alternate location), and SPI data output SDO."
      },
      {
        "number": "27",
        "name": "RB6/ICSPCLK",
        "type": "bidirectional",
        "description": "General purpose I/O (TTL/ST input, CMOS output) that also serves as positive input of Comparator C4, EUSART TX and CK, SPI data input SDI, I2C data SDA (open drain), and ICSP serial programming clock ICSPCLK (Schmitt Trigger)."
      },
      {
        "number": "28",
        "name": "RB7/ICSPDAT",
        "type": "bidirectional",
        "description": "General purpose I/O (TTL/ST input, CMOS output) that also serves as DAC1 output DAC1OUT2, EUSART RX and DT, SPI clock SCK, I2C clock SCL (open drain), and ICSP data ICSPDAT (Schmitt Trigger)."
      }
    ],
    "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 datasheet covers the PIC16(L)F1784/6/7 family. The 28-pin pin mapping used here is the PIC16(L)F; The datasheet has no separate pinout for SOIC; it lists SOIC, SSOP and SPDIP together under one pin ; Pin type is assigned per KiCad ERC class: general purpose I/O pins are mapped to bidirectional, RE3/",
          "9/28 pins cited to the wrong page (name found elsewhere): ['14:RC3/PSMC1D/SCK/SCL@p18', '15:RC4/PSMC1E/SDI/SDA@p18', '22:RB1/AN10/C1IN3-/C2IN3-/C3IN3-/C4IN3-/OPA2OUT@p17', '23:RB2/AN8/OPA2IN-/CLKR@p17']"
        ],
        "pages_sent": 95,
        "cost_usd": 0.3943,
        "at": "2026-10-21T00:37:29"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588907845400342528",
        "pages": 464,
        "sha256": "717031402b004e88",
        "source_tier": "lcsc"
      },
      "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": "pic16f1786-i.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.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "b889a13dbe9ec59e79fa9f1b5118b00bfa54f9582392335ff3365b64afc264b1",
        "checked": "2026-10-21",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "pic16f1786-i-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.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "848824e43d0ae437be7d4e6aafb404e2b7bc96a130fc2ab46ec061766ad4b715",
        "checked": "2026-10-21",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}