main
Ray Publish 0.1.0 857ef50 1d ago
{
  "slug": "xw12a-sop24",
  "version": "0.1.0",
  "type": "component",
  "description": "Sam wing Touch Sensors, SOP-24. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "sensors",
    "xw12a sop24",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "xw12a-sop24.kicad_sym",
    "xw12a-sop24.kicad_mod",
    "xw12a-sop24.glb",
    "xw12a-sop24.step",
    "xw12a-sop24.lbr",
    "docs/hero.png",
    "docs/xw12a-sop24-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "xw12a-sop24-hero.glb",
    "xw12a-sop24-hero.overlay.json",
    "xw12a-sop24-etched.glb"
  ],
  "component": {
    "mpn": "XW12A SOP24",
    "manufacturer": "Sam wing",
    "package": "SOP-24",
    "pin_count": 24,
    "category": "Sensors",
    "subcategory": "Touch Sensors",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8589835776524648448",
    "parts": {
      "symbol": "xw12a-sop24.kicad_sym",
      "footprint": "xw12a-sop24.kicad_mod",
      "model_3d": "xw12a-sop24-hero.glb",
      "model_3d_plain": "xw12a-sop24-etched.glb",
      "model_3d_step": "xw12a-sop24-etched.step",
      "model_3d_step_plain": "xw12a-sop24.step",
      "lbr": "xw12a-sop24.lbr"
    },
    "distributor_links": {
      "lcsc": "C5185738"
    },
    "distributor_check": {
      "checked_at": "2026-10-20T17:43:17Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "GND",
        "type": "power_in",
        "description": "Power ground (电源地) for the device."
      },
      {
        "number": "2",
        "name": "C1",
        "type": "passive",
        "description": "Internal balance capacitor interface; the datasheet gives a 1nF to 10nF range and recommends 4.7nF, placed as close to the IC as possible."
      },
      {
        "number": "3",
        "name": "CSEL",
        "type": "passive",
        "description": "Sensitivity-setting capacitor interface; the value range is 0 to 100pF, with smaller values giving higher sensitivity and leaving it floating (0pF) also allowed."
      },
      {
        "number": "4",
        "name": "PAD0",
        "type": "passive",
        "description": "Touch key pad 0; leave floating if unused, and pad area should be 3mm×3mm to 30mm×30mm with the same area for every pad."
      },
      {
        "number": "5",
        "name": "PAD1",
        "type": "passive",
        "description": "Touch key pad 1; leave floating if unused, and pad area should be 3mm×3mm to 30mm×30mm with the same area for every pad."
      },
      {
        "number": "6",
        "name": "PAD2",
        "type": "passive",
        "description": "Touch key pad 2; leave floating if unused, and pad area should be 3mm×3mm to 30mm×30mm with the same area for every pad."
      },
      {
        "number": "7",
        "name": "PAD3",
        "type": "passive",
        "description": "Touch key pad 3; leave floating if unused, and pad area should be 3mm×3mm to 30mm×30mm with the same area for every pad."
      },
      {
        "number": "8",
        "name": "PAD4",
        "type": "passive",
        "description": "Touch key pad 4; leave floating if unused, and pad area should be 3mm×3mm to 30mm×30mm with the same area for every pad."
      },
      {
        "number": "9",
        "name": "PAD5",
        "type": "passive",
        "description": "Touch key pad 5; leave floating if unused, and pad area should be 3mm×3mm to 30mm×30mm with the same area for every pad."
      },
      {
        "number": "10",
        "name": "PAD6",
        "type": "passive",
        "description": "Touch key pad 6; leave floating if unused, and pad area should be 3mm×3mm to 30mm×30mm with the same area for every pad."
      },
      {
        "number": "11",
        "name": "PAD7",
        "type": "passive",
        "description": "Touch key pad 7; leave floating if unused, and pad area should be 3mm×3mm to 30mm×30mm with the same area for every pad."
      },
      {
        "number": "12",
        "name": "PAD8",
        "type": "passive",
        "description": "Touch key pad 8; leave floating if unused, and pad area should be 3mm×3mm to 30mm×30mm with the same area for every pad."
      },
      {
        "number": "13",
        "name": "PAD9",
        "type": "passive",
        "description": "Touch key pad 9; leave floating if unused, and pad area should be 3mm×3mm to 30mm×30mm with the same area for every pad."
      },
      {
        "number": "14",
        "name": "PAD10",
        "type": "passive",
        "description": "Touch key pad 10; leave floating if unused, and pad area should be 3mm×3mm to 30mm×30mm with the same area for every pad."
      },
      {
        "number": "15",
        "name": "PAD11",
        "type": "passive",
        "description": "Touch key pad 11; leave floating if unused, and pad area should be 3mm×3mm to 30mm×30mm with the same area for every pad."
      },
      {
        "number": "16",
        "name": "NC",
        "type": "unconnected",
        "description": "Internal test pin; leave floating (悬空)."
      },
      {
        "number": "17",
        "name": "NC",
        "type": "unconnected",
        "description": "Internal test pin; leave floating (悬空)."
      },
      {
        "number": "18",
        "name": "INT",
        "type": "output",
        "description": "Key-valid output as an NMOS open-drain: it goes low when any key is pressed and is high-impedance when no key is pressed."
      },
      {
        "number": "19",
        "name": "ASEL",
        "type": "input",
        "description": "I2C address select; high, low or floating sets the device address to 44H, 42H or 40H respectively."
      },
      {
        "number": "20",
        "name": "AO",
        "type": "output",
        "description": "Analog voltage output that outputs VDD when no key is pressed and a fraction of VDD (2/16 to 13/16 VDD, by key) when a key is pressed."
      },
      {
        "number": "21",
        "name": "SCL",
        "type": "input",
        "description": "I2C clock input; both SDA and SCL require a pull-up resistor to the supply."
      },
      {
        "number": "22",
        "name": "SDA",
        "type": "bidirectional",
        "description": "I2C serial data input/output; the device is read-only and is pulled low for ACK and used for the sleep-exit low pulse."
      },
      {
        "number": "23",
        "name": "BUZZ",
        "type": "output",
        "description": "Buzzer driver output producing a fixed 2.7 kHz square wave that can directly drive a buzzer (rated source 30 mA and sink 30 to 40 mA at VDD=5V)."
      },
      {
        "number": "24",
        "name": "VDD",
        "type": "power_in",
        "description": "Positive supply; operating voltage range is 2.5 V to 5.5 V and absolute maximum is -0.3 V to 6.0 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 gives one pin table (page 3) that is shared by the SOP24L and SSOP24 drawings on page ; Pin types are inferred from the functional descriptions (for example, CSEL and C1 as passive, PAD pi; The SOP24 package drawing (SOP24L) is on page 10 and gives dimensions only, not pin positions; pin n"
        ],
        "pages_sent": 11,
        "cost_usd": 0.054,
        "at": "2026-10-20T17:39:22"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8589835776524648448",
        "pages": 11,
        "sha256": "dd590366b2dc4fe6",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 24,
        "described": 24,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "xw12a-sop24.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          10.46,
          15.4,
          2.65
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "424aa24232a27cdf747e9d0c5d461e5f56e12ebe328162637480bd4da58411da",
        "checked": "2026-10-20",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "xw12a-sop24-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          10.46,
          15.4,
          2.65
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "d640e0e6587248a6ae9835750fb83c31ab2f96f8c8006cceaa9e39990bbed633",
        "checked": "2026-10-20",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}