← Commit history

Initial commit: component/xw12a

Ray ·02fc0a5e56 ·
2 files changed +298
README.mdadded+61
@@ -0,0 +1,61 @@+# XW12A++**Sam wing** · Touch Sensors · SSOP-24-150mil++XW12A from Sam wing, in a SSOP-24-150mil. Pinout and pin descriptions extracted from the manufacturer datasheet by ds2sf; symbol, footprint, and 3D from KiCad-official CAD.++## Pinout++| Pin | Name | Type | Function |+|---|---|---|---|+| 1 | GND | power_in | Ground connection, power return path |+| 2 | C1 | passive | Internal balanced capacitor interface connection for external 1nf-10nf capacitor (4.7nf recommended) |+| 3 | CSEL | passive | Sensitivity adjustment capacitor interface, external capacitor value 0-100pF determines detection sensitivity (smaller value increases sensitivity) |+| 4 | PAD0 | input | Capacitive touch sensor input for key 0, floating when unused |+| 5 | PAD1 | input | Capacitive touch sensor input for key 1, floating when unused |+| 6 | PAD2 | input | Capacitive touch sensor input for key 2, floating when unused |+| 7 | PAD3 | input | Capacitive touch sensor input for key 3, floating when unused |+| 8 | PAD4 | input | Capacitive touch sensor input for key 4, floating when unused |+| 9 | PAD5 | input | Capacitive touch sensor input for key 5, floating when unused |+| 10 | PAD6 | input | Capacitive touch sensor input for key 6, floating when unused |+| 11 | PAD7 | input | Capacitive touch sensor input for key 7, floating when unused |+| 12 | PAD8 | input | Capacitive touch sensor input for key 8, floating when unused |+| 13 | PAD9 | input | Capacitive touch sensor input for key 9, floating when unused |+| 14 | PAD10 | input | Capacitive touch sensor input for key 10, floating when unused |+| 15 | PAD11 | input | Capacitive touch sensor input for key 11, floating when unused |+| 16 | NC | unconnected | Internal test pin, floating not to be connected to external circuitry |+| 17 | NC | unconnected | Internal test pin, floating not to be connected to external circuitry |+| 18 | INT | tri_state | Key valid output open-drain, drives low when any key is pressed, high-impedance otherwise |+| 19 | ASEL | input | I2C address selection input, determines chip address high=44H, low=42H, floating=40H |+| 20 | AO | output | Analog voltage output proportional to pressed key, outputs VDD when no key pressed, output impedance 20-30kΩ |+| 21 | SCL | input | I2C serial clock input, maximum baud rate 400kbit/s |+| 22 | SDA | bidirectional | I2C serial data input/output line, bidirectional data transmission with pull-up resistor |+| 23 | BUZZ | output | Buzzer drive output at fixed 2.7kHz frequency, sources/sinks 30-40mA at 5V nominal |+| 24 | VDD | power_in | Positive power supply input, operating voltage range 2.5-5.5V |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | Sam wing |+| Package | SSOP-24-150mil |+| Category | Sensors |+| Pins | 24 |++## CAD (KiCad official)++- Symbol: `XW12A`+- Footprint: `Package_SO:SSOP-24_5.3x8.2mm_P0.65mm`+- 3D model: SSOP-24-150mil (KiCad packages3D, STEP)+- 3D model files: `xw12a-etched.step` / `xw12a-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `xw12a.step` / `xw12a.glb` are the bare package body.++## Provenance++Data extracted from the manufacturer datasheet, not a distributor listing:++- **Datasheet:** [Sam wing datasheet](https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588884441800585216) (9 pp, sha256 `d41fe6a9c52332e2`, retrieved 2026-09-22, tier: lcsc)+- **Datasheet language:** Chinese. Pin names, descriptions, and specs on this page were extracted and translated to English by ds2sf; the linked PDF is the manufacturer original.+- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.2`, primary `claude-haiku-4-5-20251001` (text), consensus `claude-sonnet-4-6` (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.+- **CAD:** KiCad official libraries (CC-BY-SA 4.0).++[Datasheet PDF](docs/xw12a-datasheet.pdf)
page.jsonadded+237
@@ -0,0 +1,237 @@+{+  "slug": "xw12a",+  "version": "0.1.0",+  "type": "component",+  "description": "Sam wing Touch Sensors, SSOP-24-150mil. Datasheet-verified pinout, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "sensors",+    "xw12a",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "xw12a.kicad_sym",+    "xw12a.kicad_mod",+    "xw12a.glb",+    "xw12a.step",+    "xw12a.lbr",+    "docs/hero.png",+    "docs/xw12a-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "component": {+    "mpn": "XW12A",+    "manufacturer": "Sam wing",+    "package": "SSOP-24-150mil",+    "pin_count": 24,+    "category": "Sensors",+    "subcategory": "Touch Sensors",+    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588884441800585216",+    "parts": {+      "symbol": "xw12a.kicad_sym",+      "footprint": "xw12a.kicad_mod",+      "model_3d": "xw12a-etched.glb",+      "model_3d_plain": "xw12a.glb",+      "model_3d_step": "xw12a-etched.step",+      "model_3d_step_plain": "xw12a.step",+      "lbr": "xw12a.lbr"+    },+    "distributor_links": {+      "lcsc": "C389618"+    },+    "pins": [+      {+        "number": "1",+        "name": "GND",+        "type": "power_in",+        "description": "Ground connection, power return path"+      },+      {+        "number": "2",+        "name": "C1",+        "type": "passive",+        "description": "Internal balanced capacitor interface connection for external 1nf-10nf capacitor (4.7nf recommended)"+      },+      {+        "number": "3",+        "name": "CSEL",+        "type": "passive",+        "description": "Sensitivity adjustment capacitor interface, external capacitor value 0-100pF determines detection sensitivity (smaller value increases sensitivity)"+      },+      {+        "number": "4",+        "name": "PAD0",+        "type": "input",+        "description": "Capacitive touch sensor input for key 0, floating when unused"+      },+      {+        "number": "5",+        "name": "PAD1",+        "type": "input",+        "description": "Capacitive touch sensor input for key 1, floating when unused"+      },+      {+        "number": "6",+        "name": "PAD2",+        "type": "input",+        "description": "Capacitive touch sensor input for key 2, floating when unused"+      },+      {+        "number": "7",+        "name": "PAD3",+        "type": "input",+        "description": "Capacitive touch sensor input for key 3, floating when unused"+      },+      {+        "number": "8",+        "name": "PAD4",+        "type": "input",+        "description": "Capacitive touch sensor input for key 4, floating when unused"+      },+      {+        "number": "9",+        "name": "PAD5",+        "type": "input",+        "description": "Capacitive touch sensor input for key 5, floating when unused"+      },+      {+        "number": "10",+        "name": "PAD6",+        "type": "input",+        "description": "Capacitive touch sensor input for key 6, floating when unused"+      },+      {+        "number": "11",+        "name": "PAD7",+        "type": "input",+        "description": "Capacitive touch sensor input for key 7, floating when unused"+      },+      {+        "number": "12",+        "name": "PAD8",+        "type": "input",+        "description": "Capacitive touch sensor input for key 8, floating when unused"+      },+      {+        "number": "13",+        "name": "PAD9",+        "type": "input",+        "description": "Capacitive touch sensor input for key 9, floating when unused"+      },+      {+        "number": "14",+        "name": "PAD10",+        "type": "input",+        "description": "Capacitive touch sensor input for key 10, floating when unused"+      },+      {+        "number": "15",+        "name": "PAD11",+        "type": "input",+        "description": "Capacitive touch sensor input for key 11, floating when unused"+      },+      {+        "number": "16",+        "name": "NC",+        "type": "unconnected",+        "description": "Internal test pin, floating not to be connected to external circuitry"+      },+      {+        "number": "17",+        "name": "NC",+        "type": "unconnected",+        "description": "Internal test pin, floating not to be connected to external circuitry"+      },+      {+        "number": "18",+        "name": "INT",+        "type": "tri_state",+        "description": "Key valid output open-drain, drives low when any key is pressed, high-impedance otherwise"+      },+      {+        "number": "19",+        "name": "ASEL",+        "type": "input",+        "description": "I2C address selection input, determines chip address high=44H, low=42H, floating=40H"+      },+      {+        "number": "20",+        "name": "AO",+        "type": "output",+        "description": "Analog voltage output proportional to pressed key, outputs VDD when no key pressed, output impedance 20-30kΩ"+      },+      {+        "number": "21",+        "name": "SCL",+        "type": "input",+        "description": "I2C serial clock input, maximum baud rate 400kbit/s"+      },+      {+        "number": "22",+        "name": "SDA",+        "type": "bidirectional",+        "description": "I2C serial data input/output line, bidirectional data transmission with pull-up resistor"+      },+      {+        "number": "23",+        "name": "BUZZ",+        "type": "output",+        "description": "Buzzer drive output at fixed 2.7kHz frequency, sources/sinks 30-40mA at 5V nominal"+      },+      {+        "number": "24",+        "name": "VDD",+        "type": "power_in",+        "description": "Positive power supply input, operating voltage range 2.5-5.5V"+      }+    ],+    "provenance": {+      "extractor": "extract_pins 0.2",+      "factory_chain": {+        "factory": "2.0.0",+        "extractor": "extract_pins 0.2",+        "primary_model": "claude-haiku-4-5-20251001",+        "primary_mode": "text",+        "consensus_model": "claude-sonnet-4-6",+        "consensus": "agreed",+        "guards": "pin_guards 0.1: passed",+        "guard_notes": [],+        "pages_sent": 9,+        "cost_usd": 0.2063,+        "at": "2026-09-22T10:59:12"+      },+      "datasheet": {+        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588884441800585216",+        "pages": 9,+        "sha256": "d41fe6a9c52332e2",+        "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"+    }+  },+  "visibility": "public",+  "org": "adom",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  }+}\ No newline at end of file