← Commit history

Initial commit: component/cn3142

Ray ·2f3de41a87 ·1mo ago
2 files changed +175
README.mdadded+43
@@ -0,0 +1,43 @@+# CN3142++**ShangHai Consonance Elec** · Battery Management · SOT-23-6++CN3142 from ShangHai Consonance Elec, in a SOT-23-6. 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 | CHRG | tri_state | Open-drain charge-status indicator output; outputs 2 Hz pulse during charging, continuous low level at end of charge, and high-impedance during sleep mode or battery over-temperature/over-cold; sink current ICHRG = 10 mA (typ) at VCHRG = 0.3 V (charge-complete state), leakage 1 µA max at VCHRG = 6 V in sleep mode. |+| 2 | GND | power_in | Power-supply ground return; PCB copper area on this pin should be maximized to improve thermal dissipation from the SOT-23-6 package. |+| 3 | BAT | power_out | Battery positive terminal; delivers trickle, constant-current (up to 400 mA), and constant-voltage (4.2 V ±1%) charge current to the battery; battery leakage current < 3 µA in sleep mode or when VIN is below the UVLO threshold (2.65 V typ). |+| 4 | VIN | power_in | Supply voltage input, 4.5 V to 6.0 V; powers all internal circuits; CN3142 enters low-power sleep mode when VIN − VBAT < 10 mV and exits sleep when VIN − VBAT rises above 60 mV; quiescent current 280-500 µA (BAT open). |+| 5 | TEMP | input | Battery temperature monitor input; pin sources 30 µA (typ) through an external 10 kΩ NTC resistor to GND; charging suspends when VTEMP < 100 mV (over-hot) or > 850 mV (over-cold); charge current reduced to 50 % ICC when 100-135 mV (warm) or 25 % ICC when 550-850 mV (cool); connect fixed 10 kΩ to GND if temperature monitoring is not used. |+| 6 | ISET | passive | Constant-current set and charge-current monitor; connect resistor RISET from this pin to GND; ICH = 502 V / RISET (A, Ω); pin voltage regulated to 0.4 V (typ) in trickle mode and 1.205 V (typ) in CC mode, allowing current monitoring via ICH = (VISET × 417) / RISET; over-current protection shuts down the device if charge current exceeds 0.47 A (typ) for more than 2 ms (typ). |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | ShangHai Consonance Elec |+| Package | SOT-23-6 |+| Category | Power Management (PMIC) |+| Pins | 6 |++## CAD (KiCad official)++- Symbol: `CN3142`+- Footprint: `Package_TO_SOT_SMD:SOT-23-6`+- 3D model: SOT-23-6 (KiCad packages3D, STEP)+- 3D model files: `cn3142-etched.step` / `cn3142-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `cn3142.step` / `cn3142.glb` are the bare package body.++## Provenance++Data extracted from the manufacturer datasheet, not a distributor listing:++- **Datasheet:** [ShangHai Consonance Elec datasheet](https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590904927466713088) (11 pp, sha256 `bbc80ba3304aaf98`, 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/cn3142-datasheet.pdf)
page.jsonadded+132
@@ -0,0 +1,132 @@+{+  "slug": "cn3142",+  "version": "0.1.0",+  "type": "component",+  "description": "ShangHai Consonance Elec Battery Management, SOT-23-6. Datasheet-verified pinout, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "power management (pmic)",+    "cn3142",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "cn3142.kicad_sym",+    "cn3142.kicad_mod",+    "cn3142.glb",+    "cn3142.step",+    "cn3142.lbr",+    "docs/hero.png",+    "docs/cn3142-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "component": {+    "mpn": "CN3142",+    "manufacturer": "ShangHai Consonance Elec",+    "package": "SOT-23-6",+    "pin_count": 6,+    "category": "Power Management (PMIC)",+    "subcategory": "Battery Management",+    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590904927466713088",+    "parts": {+      "symbol": "cn3142.kicad_sym",+      "footprint": "cn3142.kicad_mod",+      "model_3d": "cn3142-etched.glb",+      "model_3d_plain": "cn3142.glb",+      "model_3d_step": "cn3142-etched.step",+      "model_3d_step_plain": "cn3142.step",+      "lbr": "cn3142.lbr"+    },+    "distributor_links": {+      "lcsc": "C7495113"+    },+    "pins": [+      {+        "number": "1",+        "name": "CHRG",+        "type": "tri_state",+        "description": "Open-drain charge-status indicator output; outputs 2 Hz pulse during charging, continuous low level at end of charge, and high-impedance during sleep mode or battery over-temperature/over-cold; sink current ICHRG = 10 mA (typ) at VCHRG = 0.3 V (charge-complete state), leakage 1 µA max at VCHRG = 6 V in sleep mode."+      },+      {+        "number": "2",+        "name": "GND",+        "type": "power_in",+        "description": "Power-supply ground return; PCB copper area on this pin should be maximized to improve thermal dissipation from the SOT-23-6 package."+      },+      {+        "number": "3",+        "name": "BAT",+        "type": "power_out",+        "description": "Battery positive terminal; delivers trickle, constant-current (up to 400 mA), and constant-voltage (4.2 V ±1%) charge current to the battery; battery leakage current < 3 µA in sleep mode or when VIN is below the UVLO threshold (2.65 V typ)."+      },+      {+        "number": "4",+        "name": "VIN",+        "type": "power_in",+        "description": "Supply voltage input, 4.5 V to 6.0 V; powers all internal circuits; CN3142 enters low-power sleep mode when VIN − VBAT < 10 mV and exits sleep when VIN − VBAT rises above 60 mV; quiescent current 280-500 µA (BAT open)."+      },+      {+        "number": "5",+        "name": "TEMP",+        "type": "input",+        "description": "Battery temperature monitor input; pin sources 30 µA (typ) through an external 10 kΩ NTC resistor to GND; charging suspends when VTEMP < 100 mV (over-hot) or > 850 mV (over-cold); charge current reduced to 50 % ICC when 100-135 mV (warm) or 25 % ICC when 550-850 mV (cool); connect fixed 10 kΩ to GND if temperature monitoring is not used."+      },+      {+        "number": "6",+        "name": "ISET",+        "type": "passive",+        "description": "Constant-current set and charge-current monitor; connect resistor RISET from this pin to GND; ICH = 502 V / RISET (A, Ω); pin voltage regulated to 0.4 V (typ) in trickle mode and 1.205 V (typ) in CC mode, allowing current monitoring via ICH = (VISET × 417) / RISET; over-current protection shuts down the device if charge current exceeds 0.47 A (typ) for more than 2 ms (typ)."+      }+    ],+    "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": [+          "extractor flagged: Pin 1 name 'CHG' is not explicitly listed in the pin function description table but is inferred from",+          "1/6 pin names appear NOWHERE in the datasheet text: ['1:CHG@p4']"+        ],+        "pages_sent": 11,+        "cost_usd": 0.2046,+        "at": "2026-09-22T11:54:38"+      },+      "datasheet": {+        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590904927466713088",+        "pages": 11,+        "sha256": "bbc80ba3304aaf98",+        "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"+    }+  },+  "visibility": "public",+  "org": "adom",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  }+}\ No newline at end of file