main
Ray Publish 0.1.0 737e485 10d ago
{
  "slug": "ds1302zn",
  "version": "0.1.0",
  "type": "component",
  "description": "HGSEMI Real Time Clocks, DIP-8. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "clock-timing",
    "ds1302zn",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "ds1302zn.kicad_sym",
    "ds1302zn.kicad_mod",
    "ds1302zn.glb",
    "ds1302zn.step",
    "ds1302zn.lbr",
    "docs/hero.png",
    "docs/ds1302zn-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "ds1302zn-hero.glb",
    "ds1302zn-hero.overlay.json",
    "ds1302zn-etched.glb"
  ],
  "component": {
    "mpn": "DS1302ZN",
    "manufacturer": "HGSEMI",
    "package": "DIP-8",
    "pin_count": 8,
    "category": "Clock/Timing",
    "subcategory": "Real Time Clocks",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8758163134802464768",
    "parts": {
      "symbol": "ds1302zn.kicad_sym",
      "footprint": "ds1302zn.kicad_mod",
      "model_3d": "ds1302zn-hero.glb",
      "model_3d_plain": "ds1302zn-etched.glb",
      "model_3d_step": "ds1302zn-etched.step",
      "model_3d_step_plain": "ds1302zn.step",
      "lbr": "ds1302zn.lbr"
    },
    "distributor_links": {
      "lcsc": "C910858"
    },
    "distributor_check": {
      "checked_at": "2026-10-18T18:22:34Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "quota"
      },
      "mouser": {
        "pn": null,
        "status": "quota"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VCC2",
        "type": "power_in",
        "description": "Main power supply input; the device runs from the higher of VCC1 or VCC2, and the recommended supply range is 2.0 V to 5.5 V."
      },
      {
        "number": "2",
        "name": "X1",
        "type": "passive",
        "description": "Connection to the 32.768 kHz crystal, which should have a specified load capacitance of 6 pF."
      },
      {
        "number": "3",
        "name": "X2",
        "type": "passive",
        "description": "Connection to the 32.768 kHz crystal, which should have a specified load capacitance of 6 pF."
      },
      {
        "number": "4",
        "name": "GND",
        "type": "power_in",
        "description": "Ground reference for the device."
      },
      {
        "number": "5",
        "name": "RST",
        "type": "input",
        "description": "Reset/chip-enable input: driving it high starts data transfer and driving it low aborts transfer and forces I/O to high impedance, and it must be low before VCC reaches 2.5 V at power-up."
      },
      {
        "number": "6",
        "name": "I/O",
        "type": "bidirectional",
        "description": "Serial data input/output pin that goes high impedance when RST is low; at VCC=5 V the logic levels are TTL compatible."
      },
      {
        "number": "7",
        "name": "SCLK",
        "type": "input",
        "description": "Serial clock input: data is sampled on rising edges and output on falling edges, and SCLK must be low when RST is driven high."
      },
      {
        "number": "8",
        "name": "VCC1",
        "type": "power_in",
        "description": "Backup power supply input that keeps the clock and RAM powered when VCC2 is absent, within the 2.0 V to 5.5 V recommended range."
      }
    ],
    "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 DS1302ZN is listed as DIP-8 in the ordering table on page 1, and the DIP-8/SOP-8/MSOP-8 pin tabl; Pin types for X1 and X2 are not stated in the datasheet; they are marked passive because they are cr"
        ],
        "pages_sent": 15,
        "cost_usd": 0.055,
        "at": "2026-10-18T18:20:33"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8758163134802464768",
        "pages": 15,
        "sha256": "610b1880d250ea8d",
        "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"
    },
    "models_3d": [
      {
        "file": "ds1302zn.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "body on z = 0, through-hole leads below",
        "extents_mm": [
          7.874,
          9.27,
          6.98
        ],
        "zmin_mm": -3.3,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "4a377a56a8d9e9c0b86c095ef9ecc1869ac19e7f5069a3247b294250bf4f235d",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "ds1302zn-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "body on z = 0, through-hole leads below",
        "extents_mm": [
          7.874,
          9.27,
          6.98
        ],
        "zmin_mm": -3.3,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "c4c742ed61ef0c8209be25a6724c7139c7322e31e82f69b5054d73c1f6be5f44",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}