main
Ray Publish 0.1.0 efc4cda
{
  "slug": "xw01d",
  "version": "0.1.0",
  "type": "component",
  "description": "Sam&wing Touch Sensors, SO-8. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "sensors",
    "xw01d",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "xw01d.kicad_sym",
    "xw01d.kicad_mod",
    "xw01d.glb",
    "xw01d.step",
    "xw01d.lbr",
    "docs/hero.png",
    "docs/xw01d-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "xw01d-hero.glb",
    "xw01d-hero.overlay.json",
    "xw01d-etched.glb"
  ],
  "component": {
    "mpn": "XW01D",
    "manufacturer": "Sam&wing",
    "package": "SO-8",
    "pin_count": 8,
    "category": "Sensors",
    "subcategory": "Touch Sensors",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/86516b3dbc65b392adc9efb733de44be.pdf",
    "parts": {
      "symbol": "xw01d.kicad_sym",
      "footprint": "xw01d.kicad_mod",
      "model_3d": "xw01d-hero.glb",
      "model_3d_plain": "xw01d-etched.glb",
      "model_3d_step": "xw01d-etched.step",
      "model_3d_step_plain": "xw01d.step",
      "lbr": "xw01d.lbr"
    },
    "distributor_links": {
      "lcsc": "C880553"
    },
    "distributor_check": {
      "checked_at": "2026-11-12T07:12:16Z",
      "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": "Negative power supply pin, serving as the ground reference for the device."
      },
      {
        "number": "2",
        "name": "VREG",
        "type": "output",
        "description": "Internal reference source output, which the datasheet specifies is decoupled with a 4.7 nF capacitor."
      },
      {
        "number": "3",
        "name": "SEN",
        "type": "bidirectional",
        "description": "Sensitivity capacitor pin, where a 15 pF to 100 pF capacitor sets sensitivity and a smaller value gives higher sensitivity."
      },
      {
        "number": "4",
        "name": "CR",
        "type": "bidirectional",
        "description": "Detection reference value setting pin, used with the reference capacitor shown in the application circuit."
      },
      {
        "number": "5",
        "name": "CX",
        "type": "bidirectional",
        "description": "Sensing antenna pin, connected in series with a 3 kΩ resistor per the datasheet."
      },
      {
        "number": "6",
        "name": "OUT",
        "type": "output",
        "description": "Key output pin with high-impedance and low-level states, intended for use with an external pull-up resistor to VCC (open-drain, low-level sink current rated 10 mA at VCC=5 V)."
      },
      {
        "number": "7",
        "name": "FUN",
        "type": "input",
        "description": "Function setting pin: leaving it floating selects lower-sensitivity operation for slow changes such as water level detection, while tying it to VCC selects higher-sensitivity self-calibrating operation such as toilet-lid body detection."
      },
      {
        "number": "8",
        "name": "VCC",
        "type": "power_in",
        "description": "Positive supply voltage input, with an operating range of 2.5 V to 6.5 V and absolute maximum of -0.3 V to +6.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: The datasheet calls VREG an 'analog output'; I mapped it to KiCad 'output' since no analog class exi; SEN, CR and CX are labeled 'analog input/output' in the datasheet; I mapped them to KiCad 'bidirecti; OUT is described as open-drain with high-impedance and low states and an external pull-up; I classif"
        ],
        "pages_sent": 4,
        "cost_usd": 0.0016,
        "at": "2026-11-12T07:12:09"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/86516b3dbc65b392adc9efb733de44be.pdf",
        "pages": 4,
        "sha256": "91bcfad8f80d1073",
        "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": "xw01d.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.0,
          4.9,
          1.75
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "07f46cff378d30e6c27dfd5a03092c795323f86d91c71fc7e743f4f418dc553a",
        "checked": "2026-11-12",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "xw01d-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.0,
          4.9,
          1.75
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "c61fb5bcbd6b5e3f1bd9b16f5e364025428940268d462d1d3bb3d2d77c39034f",
        "checked": "2026-11-12",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "package_dims": {
      "package_code": "SO-8",
      "source_page": 4,
      "D": {
        "nom_mm": 4.92,
        "range_mm": [
          4.72,
          5.12
        ]
      },
      "E1": {
        "nom_mm": 3.95,
        "range_mm": [
          3.75,
          4.15
        ]
      },
      "E": {
        "nom_mm": 6.0,
        "range_mm": [
          5.7,
          6.3
        ]
      },
      "e": {
        "nom_mm": 1.27,
        "range_mm": [
          null,
          null
        ]
      },
      "A": {
        "nom_mm": 1.5,
        "range_mm": [
          1.3,
          1.7
        ]
      },
      "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",
      "model_check": {
        "file": "xw01d.step",
        "verdict": "PASS",
        "reasons": [
          "height and body within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  }
}