← Commit history

Initial commit: component/ai04

Ray ·d042bb3ed7 ·2mo ago
2 files changed +84
README.mdadded+50
@@ -0,0 +1,50 @@+# AI04++**Sam wing** · Touch Sensors · SOP-14++AI04 from Sam wing, in a SOP-14. 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 | Power ground (电源地). Reference 0V for the device. |+| 2 | C1 | passive | Internal reference/balance capacitor connection (内部基准电容). Connect a 4.7nF capacitor to GND (range 1nF-10nF). Use NPO 10% dielectric placed close to the IC. |+| 3 | CSEL | passive | Sensitivity-adjust capacitor connection (灵敏度调节电容接口). Connect 0-100pF to GND; smaller value increases sensitivity, larger value increases noise immunity. Typically left floating (0pF) but a placeholder pad is recommended. |+| 4 | KEY1 | input | Capacitive touch sensing input for channel 1 (触摸按键/感应天线). Connect through a 1kΩ series resistor to the touch pad. Sensed capacitance range 0.2-200pF. |+| 5 | KEY2 | input | Capacitive touch sensing input for channel 2. Connect through a 1kΩ series resistor to the touch pad. |+| 6 | KEY3 | input | Capacitive touch sensing input for channel 3. Connect through a 1kΩ series resistor to the touch pad. |+| 7 | KEY4 | input | Capacitive touch sensing input for channel 4. Connect through a 1kΩ series resistor to the touch pad. |+| 8 | OUT4 | output | Channel 4 key output (通道4输出口). Output polarity/mode set by MD pin: direct active-high (MD=VDD), toggle/latched (MD=GND), or active-low open-drain requiring external pull-up (MD=floating). Sink current 30-40mA at VDD=5V. |+| 9 | OUT3 | output | Channel 3 key output. Behavior determined by MD pin (direct / toggle / open-drain). |+| 10 | OUT2 | output | Channel 2 key output. Behavior determined by MD pin (direct / toggle / open-drain). |+| 11 | OUT1 | output | Channel 1 key output. Behavior determined by MD pin (direct / toggle / open-drain). |+| 12 | SLEEP | input | Sleep mode select (睡眠模式选择). Tie to VDD to enable auto-sleep after ~80s of inactivity (reduced current, wakes on touch). Tie to GND to keep chip always active. |+| 13 | MD | input | Output mode select (输出模式选择). MD=VDD → direct active-high push-pull output. MD=GND → toggle/self-lock output, initial low. MD=floating → active-low open-drain output requiring external pull-up. |+| 14 | VDD | power_in | Positive supply (正电源). Operating range 2.5-5.5V; absolute max 6.0V. Typical operating current 0.8mA at 3V / 1.6mA at 5V; sleep current 45µA at 3V / 90µA at 5V. Decouple with 100nF near the pin; a ~20Ω series resistor from the rail is recommended in the typical application. |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | Sam wing |+| Package | SOP-14 |+| Category | Sensor |+| Pins | 14 |++## CAD (KiCad official)++- Symbol: `AI04`+- Footprint: `Package_SO:SOIC-14_3.9x8.7mm_P1.27mm`+- 3D model: SOP-14 (KiCad packages3D, STEP)++## Provenance++Data extracted from the manufacturer datasheet, not a distributor listing:++- **Datasheet:** [Sam wing datasheet](docs/ai04-datasheet.pdf) (9 pp, sha256 `0a6e891daf512f33`, retrieved 2026-08-17, 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:** `ds2sf` (Claude). Every pin and dimension is cited to a datasheet page; it refuses to fabricate.+- **CAD:** KiCad official libraries (CC-BY-SA 4.0).++[Datasheet PDF](docs/ai04-datasheet.pdf)
page.jsonadded+34
@@ -0,0 +1,34 @@+{+  "slug": "ai04",+  "version": "0.1.0",+  "type": "component",+  "description": "Sam wing Touch Sensors, SOP-14. Datasheet-verified pinout, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "sensor",+    "ai04"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "ai04.kicad_sym",+    "ai04.kicad_mod",+    "ai04.glb",+    "ai04.step",+    "ai04.lbr",+    "docs/hero.png",+    "docs/ai04-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "visibility": "public",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  }+}\ No newline at end of file