component
CN3158
Public Made by Adomby adom
ShangHai Consonance Elec Battery Management, ESOP-8. Pinout extracted from the datasheet, KiCad symbol/footprint/3D.
main
Ray
cn3158: component.models_3d pose record per STEP (Z-up, seated z=0, pad-centre origin, identity binding)
c9d05c0
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
{
"schema_version": 1,
"type": "component",
"slug": "cn3158",
"title": "CN3158",
"brief": "ShangHai Consonance Elec Battery Management, ESOP-8. Pinout extracted from the datasheet, KiCad symbol/footprint/3D.",
"version": "0.2.0",
"license": "CC-BY-SA-4.0",
"tags": [
"component",
"pmic",
"cn3158"
],
"component": {
"mpn": "CN3158",
"manufacturer": "ShangHai Consonance Elec",
"package": "ESOP-8",
"pin_count": 8,
"category": "PMIC",
"subcategory": "Battery Management",
"datasheet": "https://datasheet.lcsc.com/datasheet/pdf/cad4808b762402ce7dd5989b1bc3bc91.pdf",
"parts": {
"symbol": "cn3158.kicad_sym",
"footprint": "cn3158.kicad_mod",
"model_3d": "cn3158-etched.glb",
"model_3d_plain": "cn3158.glb",
"model_3d_step": "cn3158-etched.step",
"model_3d_step_plain": "cn3158.step",
"lbr": "cn3158.lbr"
},
"distributor_links": {
"lcsc": "C559032"
},
"pins": [
{
"number": "1",
"name": "TEMP",
"type": "input",
"description": "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."
},
{
"number": "2",
"name": "ISET",
"type": "passive",
"description": "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."
},
{
"number": "3",
"name": "GND",
"type": "power_in",
"description": "Device ground / power return."
},
{
"number": "4",
"name": "VIN",
"type": "power_in",
"description": "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."
},
{
"number": "5",
"name": "BAT",
"type": "power_out",
"description": "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."
},
{
"number": "6",
"name": "DONE",
"type": "output",
"description": "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."
},
{
"number": "7",
"name": "CHRG",
"type": "output",
"description": "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."
},
{
"number": "8",
"name": "FB",
"type": "input",
"description": "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."
}
],
"provenance": {
"extractor": "ds2sf",
"datasheet": {
"url": "https://datasheet.lcsc.com/datasheet/pdf/cad4808b762402ce7dd5989b1bc3bc91.pdf",
"pages": 13,
"sha256": "36aa8aedab632b81",
"source_tier": "lcsc"
},
"cad": "KiCad official (CC-BY-SA 4.0)",
"pins": {
"total": 8,
"described": 8,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
},
"pin1": {
"pad": "1",
"at": [
-2.475,
-1.905
],
"corner": "top-left",
"source": "silk-marker",
"derived_from": "SOIC-8-1EP_3.9x4.9mm_P1.27mm_EP2.41x3.3mm@sha256:5848244c5e72002e",
"mark": "drawn"
},
"models_3d": [
{
"file": "cn3158.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
6.9,
4.9,
1.65
],
"zmin_mm": 0,
"centre_offset_mm": 0,
"footprint_binding": "identity",
"sha256": "f1718a42c5ea007e8e2dd672ac39a1bb358ee4849bd53c42e21ce83e0e5df7a9",
"checked": "2026-10-07",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "cn3158-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
6.9,
4.9,
1.65
],
"zmin_mm": 0,
"centre_offset_mm": 0,
"footprint_binding": "identity",
"sha256": "6231233504d10f632e54a36f227ce0498821f23389d30ec7c687edfe7a6b64d5",
"checked": "2026-10-07",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
},
"metadata": {
"specs": {
"Manufacturer": "ShangHai Consonance Elec",
"Package": "ESOP-8",
"Category": "PMIC",
"Pins": "8"
}
},
"sections": [
"hero",
"viewers",
"readme",
"breadcrumbs",
"info"
],
"discovery_triggers": [
"cn3158"
],
"discovery_pitch": "CN3158 (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",
"cn3158.kicad_sym",
"cn3158.kicad_mod",
"cn3158.glb",
"cn3158.step",
"cn3158-etched.step",
"cn3158.lbr",
"docs/hero.png",
"docs/cn3158-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html"
],
"variants": [
{
"mpn": "CN3158",
"kind": "packaging"
}
],
"updated_at": "2026-09-24T19:21:02.600Z"
}