main
Ray Publish 0.1.3 c545148
{
  "slug": "sn8f5814sg",
  "version": "0.1.3",
  "type": "component",
  "description": "SONIX Microcontroller Units (MCUs/MPUs/SOCs), SOIC-28-300mil. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "single chip microcomputer-microcontroller",
    "sn8f5814sg",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "sn8f5814sg.kicad_sym",
    "sn8f5814sg.kicad_mod",
    "sn8f5814sg.glb",
    "sn8f5814sg.step",
    "sn8f5814sg.lbr",
    "docs/hero.png",
    "docs/sn8f5814sg-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "sn8f5814sg-hero.glb",
    "sn8f5814sg-hero.overlay.json"
  ],
  "component": {
    "mpn": "SN8F5814SG",
    "manufacturer": "SONIX",
    "package": "SOIC-28-300mil",
    "pin_count": 28,
    "category": "Single Chip Microcomputer/Microcontroller",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/4b90c9df5c3ed63223b150ba229afc74.pdf",
    "parts": {
      "symbol": "sn8f5814sg.kicad_sym",
      "footprint": "sn8f5814sg.kicad_mod",
      "model_3d": "sn8f5814sg-hero.glb",
      "model_3d_plain": "sn8f5814sg.glb",
      "model_3d_step": "sn8f5814sg-etched.step",
      "model_3d_step_plain": "sn8f5814sg.step",
      "lbr": "sn8f5814sg.lbr"
    },
    "distributor_links": {
      "lcsc": "C2981273"
    },
    "distributor_check": {
      "checked_at": "2026-11-17T22:56:25Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin at 0 V, the low reference for the device."
      },
      {
        "number": "2",
        "name": "SCL/T2COM0/INT1/XIN/P00",
        "type": "bidirectional",
        "description": "GPIO P0.0 with Schmitt-trigger input, built-in pull-up and level-change wake-up; alternates as external system clock input (XIN), I2C clock (SCL), Timer 2 compare 0 output (T2COM0) and external interrupt 1 (INT1)."
      },
      {
        "number": "3",
        "name": "SDA/T2COM1/XOUT/P01",
        "type": "bidirectional",
        "description": "GPIO P0.1 with Schmitt-trigger input, built-in pull-up and level-change wake-up; alternates as crystal/resonator drive output (XOUT), I2C data (SDA) and Timer 2 compare 1 output (T2COM1)."
      },
      {
        "number": "4",
        "name": "PWM10/T2CC2/LXIN/P02",
        "type": "bidirectional",
        "description": "GPIO P0.2 with Schmitt-trigger input, built-in pull-up and level-change wake-up; alternates as low-speed clock external input (LXIN), Timer 2 capture 2 input (T2CC2) and PWM output (PWM10)."
      },
      {
        "number": "5",
        "name": "PWM20/T2CC3/LXOUT/P03",
        "type": "bidirectional",
        "description": "GPIO P0.3 with Schmitt-trigger input, built-in pull-up and level-change wake-up; alternates as low-speed crystal drive output (LXOUT), Timer 2 capture 3 input (T2CC3) and PWM output (PWM20)."
      },
      {
        "number": "6",
        "name": "INT2/RST/P04",
        "type": "bidirectional",
        "description": "GPIO P0.4 with Schmitt-trigger input, built-in pull-up and level-change wake-up; alternates as active-low system reset (RST) and external interrupt 2 (INT2)."
      },
      {
        "number": "7",
        "name": "T2CC0/COM0/P05",
        "type": "bidirectional",
        "description": "GPIO P0.5 with Schmitt-trigger input, built-in pull-up and level-change wake-up; alternates as Timer 2 capture 0 input (T2CC0) and LCD common 0 output (COM0)."
      },
      {
        "number": "8",
        "name": "T2CC1/COM1/P06",
        "type": "bidirectional",
        "description": "GPIO P0.6 with Schmitt-trigger input, built-in pull-up and level-change wake-up; alternates as Timer 2 capture 1 input (T2CC1) and LCD common 1 output (COM1)."
      },
      {
        "number": "9",
        "name": "T2COM2/COM2/P07",
        "type": "bidirectional",
        "description": "GPIO P0.7 with Schmitt-trigger input, built-in pull-up and level-change wake-up; alternates as Timer 2 compare 2 output (T2COM2) and LCD common 2 output (COM2)."
      },
      {
        "number": "10",
        "name": "T2COM3/COM3/P10",
        "type": "bidirectional",
        "description": "GPIO P1.0 with Schmitt-trigger input, built-in pull-up and level-change wake-up; alternates as Timer 2 compare 3 output (T2COM3) and LCD common 3 output (COM3)."
      },
      {
        "number": "11",
        "name": "SEG0/CM15/P11",
        "type": "bidirectional",
        "description": "GPIO P1.1 with Schmitt-trigger input, built-in pull-up and level-change wake-up; alternates as LCD segment 0 output (SEG0) and capacitive-sensing input channel 15 (CM15)."
      },
      {
        "number": "12",
        "name": "SEG1/CM14/P12",
        "type": "bidirectional",
        "description": "GPIO P1.2 with Schmitt-trigger input, built-in pull-up and level-change wake-up; alternates as LCD segment 1 output (SEG1) and capacitive-sensing input channel 14 (CM14)."
      },
      {
        "number": "13",
        "name": "SEG2/CM13/P13",
        "type": "bidirectional",
        "description": "GPIO P1.3 with Schmitt-trigger input, built-in pull-up and level-change wake-up; alternates as LCD segment 2 output (SEG2) and capacitive-sensing input channel 13 (CM13)."
      },
      {
        "number": "14",
        "name": "SEG3/CM12/P14",
        "type": "bidirectional",
        "description": "GPIO P1.4 with Schmitt-trigger input, built-in pull-up and level-change wake-up; alternates as LCD segment 3 output (SEG3) and capacitive-sensing input channel 12 (CM12)."
      },
      {
        "number": "15",
        "name": "P15/CM11/AIN12/SEG4",
        "type": "bidirectional",
        "description": "GPIO P1.5 with Schmitt-trigger input, built-in pull-up and level-change wake-up; alternates as LCD segment 4 output (SEG4), ADC input channel 12 (AIN12) and capacitive-sensing input channel 11 (CM11)."
      },
      {
        "number": "16",
        "name": "P16/CM10/AIN11/SEG5",
        "type": "bidirectional",
        "description": "GPIO P1.6 with Schmitt-trigger input, built-in pull-up and level-change wake-up; alternates as LCD segment 5 output (SEG5), ADC input channel 11 (AIN11) and capacitive-sensing input channel 10 (CM10)."
      },
      {
        "number": "17",
        "name": "P17/CM9/AIN10/SEG6",
        "type": "bidirectional",
        "description": "GPIO P1.7 with Schmitt-trigger input, built-in pull-up and level-change wake-up; alternates as LCD segment 6 output (SEG6), ADC input channel 10 (AIN10) and capacitive-sensing input channel 9 (CM9)."
      },
      {
        "number": "18",
        "name": "P27/CM8/AIN9/SEG7/URX",
        "type": "bidirectional",
        "description": "GPIO P2.7 with Schmitt-trigger input and built-in pull-up; alternates as UART receive pin (URX), LCD segment 7 output (SEG7), ADC input channel 9 (AIN9) and capacitive-sensing input channel 8 (CM8)."
      },
      {
        "number": "19",
        "name": "P26/CM7/AIN8/SEG8/UTX",
        "type": "bidirectional",
        "description": "GPIO P2.6 with Schmitt-trigger input and built-in pull-up; alternates as UART transmit pin (UTX), LCD segment 8 output (SEG8), ADC input channel 8 (AIN8) and capacitive-sensing input channel 7 (CM7)."
      },
      {
        "number": "20",
        "name": "P25/CM6/AIN7/SEG9/SSN",
        "type": "bidirectional",
        "description": "GPIO P2.5 with Schmitt-trigger input and built-in pull-up; alternates as SPI slave select (SSN, slave mode), LCD segment 9 output (SEG9), ADC input channel 7 (AIN7) and capacitive-sensing input channel 6 (CM6)."
      },
      {
        "number": "21",
        "name": "P24/CM5/AIN6/SEG10/SCK",
        "type": "bidirectional",
        "description": "GPIO P2.4 with Schmitt-trigger input and built-in pull-up; alternates as SPI clock (SCK), LCD segment 10 output (SEG10), ADC input channel 6 (AIN6) and capacitive-sensing input channel 5 (CM5)."
      },
      {
        "number": "22",
        "name": "P23/CM4/AIN5/SEG11/MISO",
        "type": "bidirectional",
        "description": "GPIO P2.3 with Schmitt-trigger input and built-in pull-up; alternates as SPI MISO, LCD segment 11 output (SEG11), ADC input channel 5 (AIN5) and capacitive-sensing input channel 4 (CM4)."
      },
      {
        "number": "23",
        "name": "P22/CM3/AIN4/SEG12/MOSI",
        "type": "bidirectional",
        "description": "GPIO P2.2 with Schmitt-trigger input and built-in pull-up; alternates as SPI MOSI, LCD segment 12 output (SEG12), ADC input channel 4 (AIN4) and capacitive-sensing input channel 3 (CM3)."
      },
      {
        "number": "24",
        "name": "P21/CM2/AIN3/SEG13/PWM21",
        "type": "bidirectional",
        "description": "GPIO P2.1 with Schmitt-trigger input and built-in pull-up; alternates as PWM output (PWM21), LCD segment 13 output (SEG13), ADC input channel 3 (AIN3) and capacitive-sensing input channel 2 (CM2)."
      },
      {
        "number": "25",
        "name": "P20/CM1/AIN2/SEG14/PWM11",
        "type": "bidirectional",
        "description": "GPIO P2.0 with Schmitt-trigger input and built-in pull-up; alternates as PWM output (PWM11), LCD segment 14 output (SEG14), ADC input channel 2 (AIN2) and capacitive-sensing input channel 1 (CM1)."
      },
      {
        "number": "26",
        "name": "P31/AIN1/SWAT",
        "type": "bidirectional",
        "description": "GPIO P3.1 with Schmitt-trigger input and built-in pull-up; alternates as the debug interface pin (SWAT) and ADC input channel 1 (AIN1)."
      },
      {
        "number": "27",
        "name": "P30/CM0/AIN0/SEG15/INT0/AVREFH/PWMFL",
        "type": "bidirectional",
        "description": "GPIO P3.0 with Schmitt-trigger input and built-in pull-up; alternates as external interrupt 0 (INT0), PWM fail-detect input (PWMFL), LCD segment 15 output (SEG15), ADC input channel 0 (AIN0), external ADC reference voltage input (AVREFH) and capacitive-sensing input channel 0 (CM0)."
      },
      {
        "number": "28",
        "name": "VDD",
        "type": "power_in",
        "description": "Power supply pin; the device operates from 1.8 V to 5.5 V."
      }
    ],
    "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: Pin table for SOP28 is on page 7 (section 4.1, shared with SSOP28/TSSOP28); SN8F5814SG is the SOP28 ; Pin types were assigned as bidirectional for all GPIO pins, since the datasheet defines each as a bi; The 1.8 V to 5.5 V supply range is stated in the features list (page 2) rather than the pin descript",
          "12/28 pins cited to the wrong page (name found elsewhere): ['16:P16/CM10/AIN11/SEG5@p10', '17:P17/CM9/AIN10/SEG6@p10', '18:P27/CM8/AIN9/SEG7/URX@p11', '19:P26/CM7/AIN8/SEG8/UTX@p11']"
        ],
        "pages_sent": 43,
        "cost_usd": 0.1715,
        "at": "2026-11-17T22:55:33"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/4b90c9df5c3ed63223b150ba229afc74.pdf",
        "pages": 177,
        "sha256": "6061f8b1c1fff302",
        "source_tier": "lcsc",
        "citation": "SONIX datasheet, copy hosted by 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": "sn8f5814sg.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-11-17",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "sn8f5814sg-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": "0e0fedfb0f111435eea816167fc690cc3efcb1c447d3af123c19f514453b2128",
        "checked": "2026-11-17",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "package_dims": {
      "package_code": "SOP28",
      "source_page": 169,
      "D": {
        "nom_mm": 18.2,
        "range_mm": [
          17.7,
          18.7
        ]
      },
      "E1": {
        "nom_mm": 7.5,
        "range_mm": [
          null,
          null
        ]
      },
      "E": {
        "nom_mm": 10.3,
        "range_mm": [
          null,
          null
        ]
      },
      "e": {
        "nom_mm": 1.27,
        "range_mm": [
          null,
          null
        ]
      },
      "A": {
        "nom_mm": 2.65,
        "range_mm": [
          null,
          2.65
        ]
      },
      "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",
      "model_check": {
        "file": "sn8f5814sg.step",
        "verdict": "PASS",
        "reasons": [
          "height and body within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  }
}