← Commit history

Initial commit: component/cn312

Ray ·2368a3d5c0 ·
2 files changed +79
README.mdadded+45
@@ -0,0 +1,45 @@+# CN312++**ShangHai Consonance Elec** · Touch Sensors · SOT-23-6L++CN312 from ShangHai Consonance Elec, in a SOT-23-6L. 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 | FTH | input | Falling-threshold (lower-threshold) sense input. Typically driven from an external resistor divider tapping the monitored battery voltage. When the FTH pin voltage falls below the internal 1.205 V bandgap reference, LBO goes high and LBO-bar goes low. Input leakage is ±30 nA max. |+| 2 | GND | power_in | Ground / negative supply return for the chip. |+| 3 | LBO | output | Active-high low-battery detect output (CMOS push-pull). During power-up t_RESET (min 25 ms) LBO is high. When RTH exceeds Vref for longer than t_D (min 25 ms) LBO goes low; when FTH falls below Vref, LBO goes high. VOL ≤ 0.3 V at ISINK = 3.2 mA (VCC = 3 V); VOH ≥ VCC−0.4 V at ISOURCE = 3 mA. |+| 4 | VCC | power_in | Positive supply input, 1.8 V to 6 V operating range (6.5 V absolute max). Typical supply current is 2.7 µA at 3 V. Bypass with 0.1 µF close to the pin; VCC must never exceed 6 V. |+| 5 | LBO_N | output | Active-low low-battery detect output, LBO-bar (CMOS push-pull), complement of pin 3 LBO. During power-up t_RESET (min 25 ms) LBO-bar is low. When RTH exceeds Vref for longer than t_D (min 25 ms) LBO-bar goes high; when FTH falls below Vref, LBO-bar goes low. Same drive spec as LBO. |+| 6 | RTH | input | Rising-threshold (upper-threshold) sense input. Typically driven from an external resistor divider tapping the monitored battery voltage. When the RTH pin voltage rises above the internal 1.205 V bandgap reference for longer than t_D (min 25 ms), LBO-bar goes high / LBO goes low. Input leakage is ±30 nA max. |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | ShangHai Consonance Elec |+| Package | SOT-23-6L |+| Category | Sensor |+| Pins | 6 |++## Ordering variants++- `CN312`++## CAD (KiCad official)++- Symbol: `CN312`+- Footprint: `Package_TO_SOT_SMD:SOT-23-6`+- 3D model: SOT-23-6L (KiCad packages3D, STEP)++## Provenance++Data extracted from the manufacturer datasheet, not a distributor listing:++- **Datasheet:** [ShangHai Consonance Elec datasheet](docs/cn312-datasheet.pdf) (9 pp, sha256 `1352076e05a296cb`, retrieved 2026-08-17, tier: lcsc)+- **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/cn312-datasheet.pdf)
page.jsonadded+34
@@ -0,0 +1,34 @@+{+  "slug": "cn312",+  "version": "0.1.0",+  "type": "component",+  "description": "ShangHai Consonance Elec Touch Sensors, SOT-23-6L. Datasheet-verified pinout, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "sensor",+    "cn312"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "cn312.kicad_sym",+    "cn312.kicad_mod",+    "cn312.glb",+    "cn312.step",+    "cn312.lbr",+    "docs/hero.png",+    "docs/cn312-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "visibility": "public",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  }+}\ No newline at end of file