component
CN3158
Public Made by Adomby adom
ShangHai Consonance Elec Battery Management, ESOP-8. Pinout extracted from the datasheet, KiCad symbol/footprint/3D.
← Commit history
README.mdadded+47@@ -0,0 +1,47 @@+# CN3158++**ShangHai Consonance Elec** · Battery Management · ESOP-8++CN3158 from ShangHai Consonance Elec, in a ESOP-8. 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 | TEMP | input | Battery temperature sense input. Connect to the output of an NTC thermistor on the battery pack. Charging is paused when V(TEMP) < 45% or > 80% of V(VIN), indicating battery over/under-temperature; charging resumes when V(TEMP) is between 45% and 80% of V(VIN). Tie to GND to disable temperature monitoring. |+| 2 | ISET | passive | Constant-current charge current programming and charge-current monitor. Connect a resistor R_ISET from ISET to GND to set the charge current: I_CH = (V_ISET x 986) / R_ISET. V(ISET) = 1.205V in constant-current mode and 0.12V in trickle-charge mode. |+| 3 | GND | power_in | Device ground / power return. |+| 4 | VIN | power_in | Positive input supply, 4.4V to 6V. Powers the internal circuits and the pass transistor. When V(VIN) - V(BAT) < 10mV the chip enters low-power sleep mode and BAT current drops below 3uA. |+| 5 | BAT | power_out | Battery connection. Connect the battery positive terminal here. Supplies charge current and constant-voltage regulation (3.63V nominal). In UVLO or sleep mode BAT sink current is < 3uA. |+| 6 | DONE | output | Open-drain charge-end status output. Pulled low internally when charging has terminated; high-impedance otherwise. Sink capability 10mA (V_DONE=0.3V); off-state leakage <1uA at 6V. |+| 7 | CHRG | output | Open-drain charge-in-progress status output. Pulled low internally while charging is active; high-impedance otherwise. Sink capability 10mA (V_CHRG=0.3V); off-state leakage <1uA at 6V. Typically drives a red status LED. |+| 8 | FB | input | Battery voltage feedback / sense input. Precisely regulates the battery-side constant-voltage charge point, bypassing wire and contact resistance between the battery + terminal and BAT pin. Add a resistor Rx from FB to BAT to raise V_REG per V_REG = 3.63 + 3.707e-6 x Rx (V, ohms). Input bias current typ 3uA. |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | ShangHai Consonance Elec |+| Package | ESOP-8 |+| Category | PMIC |+| Pins | 8 |++## Ordering variants++- `CN3158`++## CAD (KiCad official)++- Symbol: `CN3158`+- Footprint: `Package_SO:SOIC-8-1EP_3.9x4.9mm_P1.27mm_EP2.41x3.3mm`+- 3D model: ESOP-8 (KiCad packages3D, STEP)++## Provenance++Data extracted from the manufacturer datasheet, not a distributor listing:++- **Datasheet:** [ShangHai Consonance Elec datasheet](docs/cn3158-datasheet.pdf) (13 pp, sha256 `36aa8aedab632b81`, 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/cn3158-datasheet.pdf)
page.jsonadded+34@@ -0,0 +1,34 @@+{+ "slug": "cn3158",+ "version": "0.1.0",+ "type": "component",+ "description": "ShangHai Consonance Elec Battery Management, ESOP-8. Datasheet-verified pinout, KiCad symbol/footprint/3D.",+ "tags": [+ "component",+ "pmic",+ "cn3158"+ ],+ "dependencies": {},+ "hero": {+ "type": "image",+ "path": "docs/hero.png"+ },+ "files": [+ "page.json",+ "README.md",+ "cn3158.kicad_sym",+ "cn3158.kicad_mod",+ "cn3158.glb",+ "cn3158.step",+ "cn3158.lbr",+ "docs/hero.png",+ "docs/cn3158-datasheet.pdf",+ "viewers/symbol.html",+ "viewers/footprint.html"+ ],+ "visibility": "public",+ "author": {+ "name": "Ray",+ "email": "[email protected]"+ }+}