main
Ray Publish 0.1.0 190bcf3 6d ago
{
  "slug": "cn5820",
  "version": "0.1.0",
  "type": "component",
  "description": "ShangHai Consonance Elec LED Drivers, SOT-23-6. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "led drivers",
    "cn5820",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "cn5820.kicad_sym",
    "cn5820.kicad_mod",
    "cn5820.glb",
    "cn5820.step",
    "cn5820.lbr",
    "docs/hero.png",
    "docs/cn5820-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "cn5820-hero.glb",
    "cn5820-hero.overlay.json",
    "cn5820-etched.glb"
  ],
  "component": {
    "mpn": "CN5820",
    "manufacturer": "ShangHai Consonance Elec",
    "package": "SOT-23-6",
    "pin_count": 6,
    "category": "LED Drivers",
    "subcategory": "LED Drivers",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588894579080220672",
    "parts": {
      "symbol": "cn5820.kicad_sym",
      "footprint": "cn5820.kicad_mod",
      "model_3d": "cn5820-hero.glb",
      "model_3d_plain": "cn5820-etched.glb",
      "model_3d_step": "cn5820-etched.step",
      "model_3d_step_plain": "cn5820.step",
      "lbr": "cn5820.lbr"
    },
    "distributor_links": {
      "lcsc": "C840505"
    },
    "distributor_check": {
      "checked_at": "2026-10-21T00:39:47Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "CSN",
        "type": "input",
        "description": "Negative current-sense input; the sense resistor RCS is connected between VIN and CSN, and in normal operation the average (VIN−CSN) is regulated to 160 mV."
      },
      {
        "number": "2",
        "name": "DIM",
        "type": "input",
        "description": "LED brightness control input: below 0.4 V the DRV output is low (LED off), above 1.2 V it runs normal PWM with average LED current 0.16 V/RCS, and between 0.4 V and 1.2 V it gives analog dimming with average current 0.133×VDIM/RCS; PWM frequency up to 20 kHz."
      },
      {
        "number": "3",
        "name": "VIN",
        "type": "power_in",
        "description": "Positive power input that supplies the internal circuitry and is the positive sense input for LED current; operating input range is 4 V to 28 V, with absolute maximum −0.3 V to 32 V to GND."
      },
      {
        "number": "4",
        "name": "VCC",
        "type": "power_out",
        "description": "5 V regulated output that requires a 4.7 µF or 10 µF filter capacitor to GND and can supply a maximum of 5 mA."
      },
      {
        "number": "5",
        "name": "DRV",
        "type": "output",
        "description": "Gate drive output for the external N-channel MOSFET, with absolute maximum range −0.3 V to VCC."
      },
      {
        "number": "6",
        "name": "GND",
        "type": "power_in",
        "description": "Power ground, which should be returned to system ground separately from high-current paths and the VCC capacitor ground."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-haiku-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: The pin-diagram text on page 1 lists pin numbers and names out of order after text extraction, so th; The datasheet gives a single package, SOT23-6, in its ordering information, so no other package vari"
        ],
        "pages_sent": 8,
        "cost_usd": 0.0312,
        "at": "2026-10-21T00:37:11"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588894579080220672",
        "pages": 8,
        "sha256": "f02226f82a1b727c",
        "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"
    },
    "models_3d": [
      {
        "file": "cn5820.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.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "c9fe686b4d1b56927a41fa84a9bc1efb61d8a45a123a3db43bcaa05c2891d635",
        "checked": "2026-10-21",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "cn5820-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.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "f65737025b52f91a29d5ae02112d227ab9d3086738027a08c0f3b1e3478ce84d",
        "checked": "2026-10-21",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}