main
Ray Publish 0.1.1 26fb9b5
{
  "slug": "pic16f785-i-so",
  "version": "0.1.1",
  "type": "component",
  "description": "Microchip Tech MICROCHIP, SOIC-20-300mil. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "pic16f785-i",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "pic16f785-i.kicad_sym",
    "pic16f785-i.kicad_mod",
    "pic16f785-i.glb",
    "pic16f785-i.step",
    "pic16f785-i.lbr",
    "docs/hero.png",
    "docs/pic16f785-i-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "pic16f785-i-hero.glb",
    "pic16f785-i-hero.overlay.json",
    "pic16f785-i-etched.glb",
    "pic16f785-i-etched.step",
    "pic16f785-i-so-hero.glb",
    "pic16f785-i-so-hero.overlay.json"
  ],
  "component": {
    "mpn": "PIC16F785-I/SO",
    "manufacturer": "Microchip Tech",
    "package": "SOIC-20-300mil",
    "pin_count": 20,
    "category": "Embedded Processors & Controllers",
    "subcategory": "MICROCHIP",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/7e8d014f510642ea850e0c25b91cd6b7.pdf",
    "parts": {
      "symbol": "pic16f785-i.kicad_sym",
      "footprint": "pic16f785-i.kicad_mod",
      "model_3d": "pic16f785-i-so-hero.glb",
      "model_3d_plain": "pic16f785-i-etched.glb",
      "model_3d_step": "pic16f785-i-etched.step",
      "model_3d_step_plain": "pic16f785-i.step",
      "lbr": "pic16f785-i.lbr"
    },
    "distributor_links": {
      "lcsc": "C127940"
    },
    "distributor_check": {
      "checked_at": "2026-10-30T12:06:05Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VDD",
        "type": "power_in",
        "description": "Positive supply pin; operating range 2.0V to 5.5V (PIC16F785)."
      },
      {
        "number": "2",
        "name": "RA5/T1CKI/OSC1/CLKIN",
        "type": "bidirectional",
        "description": "PORTA I/O with programmable weak pull-up and interrupt-on-change, also Timer1 clock input T1CKI, crystal/resonator connection OSC1 and external clock input/RC oscillator connection CLKIN."
      },
      {
        "number": "3",
        "name": "RA4/AN3/T1G/OSC2/CLKOUT",
        "type": "bidirectional",
        "description": "PORTA I/O with programmable weak pull-up and interrupt-on-change, also A/D channel 3 input AN3, Timer1 gate T1G, crystal/resonator connection OSC2 and FOSC/4 CLKOUT output."
      },
      {
        "number": "4",
        "name": "RA3/MCLR/VPP",
        "type": "input",
        "description": "Input-only PORTA pin with weak pull-up and interrupt-on-change, configurable as master clear reset with internal pull-up or as programming voltage VPP input."
      },
      {
        "number": "5",
        "name": "RC5/CCP1",
        "type": "bidirectional",
        "description": "PORTC I/O, also CCP1 capture input/compare output/PWM output."
      },
      {
        "number": "6",
        "name": "RC4/C2OUT/PH2",
        "type": "bidirectional",
        "description": "PORTC I/O, also Comparator 2 CMOS output C2OUT and phase 2 output PH2 of the two-phase PWM."
      },
      {
        "number": "7",
        "name": "RC3/AN7/C12IN3-/OP1",
        "type": "bidirectional",
        "description": "PORTC I/O, also A/D channel 7 input AN7, Comparators 1 and 2 inverting input C12IN3- and Op amp 1 analog output OP1."
      },
      {
        "number": "8",
        "name": "RC6/AN8/OP1-",
        "type": "bidirectional",
        "description": "PORTC I/O, also A/D channel 8 AN8 and Op amp 1 inverting input OP1-."
      },
      {
        "number": "9",
        "name": "RC7/AN9/OP1+",
        "type": "bidirectional",
        "description": "PORTC I/O, also A/D channel 9 input AN9 and Op amp 1 non-inverting input OP1+."
      },
      {
        "number": "10",
        "name": "RB7/SYNC",
        "type": "bidirectional",
        "description": "PORTB I/O, also master PWM synchronization output or slave PWM synchronization input SYNC."
      },
      {
        "number": "11",
        "name": "RB6",
        "type": "bidirectional",
        "description": "PORTB I/O with open-drain output (maximum open-drain high voltage 8.5V)."
      },
      {
        "number": "12",
        "name": "RB5/AN11/OP2+",
        "type": "bidirectional",
        "description": "PORTB I/O, also A/D channel 11 input AN11 and Op amp 2 non-inverting input OP2+."
      },
      {
        "number": "13",
        "name": "RB4/AN10/OP2-",
        "type": "bidirectional",
        "description": "PORTB I/O, also A/D channel 10 input AN10 and Op amp 2 inverting input OP2-."
      },
      {
        "number": "14",
        "name": "RC2/AN6/C12IN2-/OP2",
        "type": "bidirectional",
        "description": "PORTC I/O, also A/D channel 6 input AN6, Comparators 1 and 2 inverting input C12IN2- and Op amp 2 analog output OP2."
      },
      {
        "number": "15",
        "name": "RC1/AN5/C12IN1-/PH1",
        "type": "bidirectional",
        "description": "PORTC I/O, also A/D channel 5 input AN5, Comparators 1 and 2 inverting input C12IN1- and phase 1 output PH1 of the two-phase PWM."
      },
      {
        "number": "16",
        "name": "RC0/AN4/C2IN+",
        "type": "bidirectional",
        "description": "PORTC I/O, also A/D channel 4 input AN4 and Comparator 2 non-inverting input C2IN+."
      },
      {
        "number": "17",
        "name": "RA2/AN2/T0CKI/INT/C1OUT",
        "type": "bidirectional",
        "description": "PORTA I/O with weak pull-up and interrupt-on-change, also A/D channel 2 AN2, Timer0 clock input T0CKI, external interrupt INT, Comparator 1 CMOS output C1OUT and PWM auto-shutdown input."
      },
      {
        "number": "18",
        "name": "RA1/AN1/C12IN0-/VREF/ICSPCLK",
        "type": "bidirectional",
        "description": "PORTA I/O with weak pull-up and interrupt-on-change, also A/D channel 1 AN1, Comparators 1 and 2 input C12IN0-, external A/D reference/buffered reference output VREF and ICSP programming clock ICSPCLK."
      },
      {
        "number": "19",
        "name": "RA0/AN0/C1IN+/ICSPDAT",
        "type": "bidirectional",
        "description": "PORTA I/O with weak pull-up and interrupt-on-change, also A/D channel 0 AN0, Comparator 1 non-inverting input C1IN+ and ICSP programming data I/O ICSPDAT."
      },
      {
        "number": "20",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-sonnet-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 gives one pin diagram, titled '20 引脚 PDIP、SOIC 和 SSOP', and one pin table for all thre; The pin types are inferred from the buffer types in Table 1-1. The text does not say which supply pi; The ICSP and auto-shutdown functions on pins 17, 18 and 19 are described in the body text, and some ",
          "1/20 pins cited to the wrong page (name found elsewhere): ['15:RC1/AN5/C12IN1-/PH1@p9']"
        ],
        "pages_sent": 144,
        "cost_usd": 1.2117,
        "at": "2026-10-30T12:05:48"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/7e8d014f510642ea850e0c25b91cd6b7.pdf",
        "pages": 184,
        "sha256": "d69f193379532e22",
        "source_tier": "mfr"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 20,
        "described": 20,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "pic16f785-i.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          10.3,
          12.8,
          2.75
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "59a10b341e6972b31d81802a048060326da627d8b92dcf4263064f4f62ec808e",
        "checked": "2026-10-30",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "pic16f785-i-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          10.3,
          12.8,
          2.75
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "ae4e260dcf5cd3a696d180a1911014cadaaecb24d7077cf1213d845b26aa96a8",
        "checked": "2026-10-30",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "family": {
      "base": "PIC16F785-I",
      "siblings": [
        "PIC16F785-I/SS"
      ],
      "old_slug": "pic16f785-i",
      "note": "renamed from the cut-base slug to the part it was built from (slug collision split, 2026-11-11)"
    }
  },
  "visibility": "public"
}