main
Ray Publish 0.1.0 0fbe1d8 11d ago
{
  "slug": "pic12f1840-e",
  "version": "0.1.0",
  "type": "component",
  "description": "Microchip Tech Microcontrollers (MCU/MPU/SOC), PDIP-8. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "pic12f1840-e",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "pic12f1840-e.kicad_sym",
    "pic12f1840-e.kicad_mod",
    "pic12f1840-e.glb",
    "pic12f1840-e.step",
    "pic12f1840-e.lbr",
    "docs/hero.png",
    "docs/pic12f1840-e-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "pic12f1840-e-hero.glb",
    "pic12f1840-e-hero.overlay.json",
    "pic12f1840-e-etched.glb"
  ],
  "component": {
    "mpn": "PIC12F1840-E",
    "manufacturer": "Microchip Tech",
    "package": "PDIP-8",
    "pin_count": 8,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8589807942221664256",
    "parts": {
      "symbol": "pic12f1840-e.kicad_sym",
      "footprint": "pic12f1840-e.kicad_mod",
      "model_3d": "pic12f1840-e-hero.glb",
      "model_3d_plain": "pic12f1840-e-etched.glb",
      "model_3d_step": "pic12f1840-e-etched.step",
      "model_3d_step_plain": "pic12f1840-e.step",
      "lbr": "pic12f1840-e.lbr"
    },
    "distributor_links": {
      "lcsc": "C640529"
    },
    "distributor_check": {
      "checked_at": "2026-10-16T06:10:48Z",
      "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; the PIC12F1840 operates from 2.3V-5.5V (the PIC12LF1840 from 1.8V-3.6V)."
      },
      {
        "number": "2",
        "name": "RA5",
        "type": "bidirectional",
        "description": "General-purpose I/O (25 mA sink/source) that is also CLKIN external clock input, OSC1 crystal connection, Timer1 oscillator input T1OSI, Timer1 clock input T1CKI, SR latch inverting output SRNQ, PWM P1A, CCP1, and USART DT/RX."
      },
      {
        "number": "3",
        "name": "RA4",
        "type": "bidirectional",
        "description": "General-purpose I/O (25 mA sink/source) that is also ADC channel AN3, capacitive sensing CPS3, OSC2/CLKOUT crystal connection or FOSC/4 output, Timer1 oscillator output T1OSO, comparator C1IN1-, clock reference CLKR, SPI SDO, USART CK/TX, PWM P1B, Timer1 gate T1G, and modulator carrier input MDCIN2."
      },
      {
        "number": "4",
        "name": "MCLR/VPP/RA3",
        "type": "input",
        "description": "RA3 is an input-only pin (TRISA3 always reads '1') that functions as Master Clear reset input MCLR with internal pull-up or as high-voltage programming input VPP, and also carries the SS and T1G alternate functions."
      },
      {
        "number": "5",
        "name": "RA2",
        "type": "bidirectional",
        "description": "General-purpose I/O (25 mA sink/source) that is also ADC channel AN2, capacitive sensing CPS2, comparator C1OUT, SR latch output SRQ, Timer0 clock T0CKI, CCP1/P1A, ECCP auto-shutdown fault input FLT0, I2C SDA, SPI SDI, external interrupt INT, and modulator carrier input MDCIN1."
      },
      {
        "number": "6",
        "name": "RA1/ICSPCLK",
        "type": "bidirectional",
        "description": "General-purpose I/O (25 mA sink/source) that is also ADC channel AN1, VREF input, capacitive sensing CPS1, comparator C1IN0-, SR latch input SRI, USART RX/DT, I2C SCL, SPI SCK, modulator source input MDMIN, and the ICSP serial programming clock ICSPCLK."
      },
      {
        "number": "7",
        "name": "RA0/ICSPDAT",
        "type": "bidirectional",
        "description": "General-purpose I/O (25 mA sink/source) that is also ADC channel AN0, DAC output DACOUT, capacitive sensing CPS0, comparator C1IN+, USART TX/CK, SPI SDO and SS, PWM P1B, modulator output MDOUT, and the ICSP data pin ICSPDAT."
      },
      {
        "number": "8",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference for the device."
      }
    ],
    "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 as given (PIC12F1840-E) has no package suffix. The datasheet lists PDIP among the 8-pin pack; Pin 4 is a multiplexed pin (RA3 / MCLR / VPP). It is typed 'input' because RA3 is input-only and MCL; The datasheet gives no per-pin voltage or current limits beyond the supply range (page 1) and the 25"
        ],
        "pages_sent": 78,
        "cost_usd": 0.2913,
        "at": "2026-10-16T06:10:32"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8589807942221664256",
        "pages": 397,
        "sha256": "79e88d8e63728e96",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 8,
        "described": 8,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "pic12f1840-e.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "body on z = 0, through-hole leads below",
        "extents_mm": [
          7.874,
          9.27,
          6.98
        ],
        "zmin_mm": -3.3,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "4a377a56a8d9e9c0b86c095ef9ecc1869ac19e7f5069a3247b294250bf4f235d",
        "checked": "2026-10-16",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "pic12f1840-e-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "body on z = 0, through-hole leads below",
        "extents_mm": [
          7.874,
          9.27,
          6.98
        ],
        "zmin_mm": -3.3,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "ccedfedca85fbeb38f2e46d60ec7eb7deeb52d947cf3e751cf64e854da07a502",
        "checked": "2026-10-16",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}