main
Ray cn312: white body in tscircuit (pre-1.8 etch structure under an assembly instance); Ray 2026-10-19: black IC body with… d8912fa
{
  "schema_version": 1,
  "type": "component",
  "slug": "cn312",
  "title": "CN312",
  "brief": "ShangHai Consonance Elec Touch Sensors, SOT-23-6L. Pinout extracted from the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.2.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "sensor",
    "cn312"
  ],
  "component": {
    "mpn": "CN312",
    "manufacturer": "ShangHai Consonance Elec",
    "package": "SOT-23-6L",
    "pin_count": 6,
    "category": "Sensor",
    "subcategory": "Touch Sensors",
    "datasheet": "https://wmsc.lcsc.com/wmsc/upload/file/pdf/v2/lcsc/2309151753_ShangHai-Consonance-Elec-CN312_C7495114.pdf",
    "parts": {
      "symbol": "cn312.kicad_sym",
      "footprint": "cn312.kicad_mod",
      "model_3d": "cn312-etched.glb",
      "model_3d_plain": "cn312.glb",
      "model_3d_step": "cn312-etched.step",
      "model_3d_step_plain": "cn312.step",
      "lbr": "cn312.lbr"
    },
    "distributor_links": {
      "lcsc": "C7495114"
    },
    "pins": [
      {
        "number": "1",
        "name": "FTH",
        "type": "input",
        "description": "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."
      },
      {
        "number": "2",
        "name": "GND",
        "type": "power_in",
        "description": "Ground / negative supply return for the chip."
      },
      {
        "number": "3",
        "name": "LBO",
        "type": "output",
        "description": "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."
      },
      {
        "number": "4",
        "name": "VCC",
        "type": "power_in",
        "description": "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."
      },
      {
        "number": "5",
        "name": "LBO_N",
        "type": "output",
        "description": "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."
      },
      {
        "number": "6",
        "name": "RTH",
        "type": "input",
        "description": "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."
      }
    ],
    "provenance": {
      "extractor": "ds2sf",
      "datasheet": {
        "url": "https://wmsc.lcsc.com/wmsc/upload/file/pdf/v2/lcsc/2309151753_ShangHai-Consonance-Elec-CN312_C7495114.pdf",
        "pages": 9,
        "sha256": "1352076e05a296cb",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 6,
        "described": 6,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "pin1": {
      "pad": "1",
      "at": [
        -1.1375,
        -0.95
      ],
      "corner": "top-left",
      "source": "silk-marker",
      "derived_from": "SOT-23-6@sha256:f341c73aac9dcb55",
      "mark": "drawn"
    },
    "models_3d": [
      {
        "file": "cn312.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          2.8,
          2.9,
          1.55
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "c9fe686b4d1b56927a41fa84a9bc1efb61d8a45a123a3db43bcaa05c2891d635",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "cn312-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          2.8,
          2.9,
          1.55
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "a96603daa31ed743a8f36f977828033509f3526566fe92b7c765894de3ceb850",
        "checked": "2026-10-26",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "ShangHai Consonance Elec",
      "Package": "SOT-23-6L",
      "Category": "Sensor",
      "Pins": "6"
    }
  },
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "cn312"
  ],
  "discovery_pitch": "CN312 (ShangHai Consonance Elec) component page with datasheet-verified CAD.",
  "author": {
    "name": "Ray"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "cn312.kicad_sym",
    "cn312.kicad_mod",
    "cn312.glb",
    "cn312.step",
    "cn312-etched.step",
    "cn312.lbr",
    "docs/hero.png",
    "docs/cn312-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html"
  ],
  "visibility": {
    "public": true
  },
  "variants": [
    {
      "mpn": "CN312",
      "kind": "packaging"
    }
  ],
  "updated_at": "2026-09-24T19:20:14.285Z"
}