component
DS1307N
Public Made by Adomby adom
HGSEMI Real Time Clocks, DIP-8. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569
{
"schema_version": 1,
"type": "component",
"slug": "ds1307n",
"title": "DS1307N",
"brief": "HGSEMI Real Time Clocks, DIP-8. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
"version": "0.1.0",
"license": "CC-BY-SA-4.0",
"tags": [
"component",
"clock-timing",
"ds1307n",
"factory-2.0.0",
"extractor-text"
],
"component": {
"mpn": "DS1307N",
"manufacturer": "HGSEMI",
"package": "DIP-8",
"pin_count": 8,
"category": "Clock/Timing",
"subcategory": "Real Time Clocks",
"datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8756372559656816640",
"parts": {
"symbol": "ds1307n.kicad_sym",
"footprint": "ds1307n.kicad_mod",
"model_3d": "ds1307n-hero.glb",
"model_3d_plain": "ds1307n-etched.glb",
"model_3d_step": "ds1307n-etched.step",
"model_3d_step_plain": "ds1307n.step",
"lbr": "ds1307n.lbr"
},
"distributor_links": {
"lcsc": "C434596",
"digikey": "DS1307N-ND",
"mouser": "700-DS1307N-NR"
},
"distributor_check": {
"checked_at": "2026-10-16T04:27:40Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": "DS1307N-ND",
"status": "found",
"lifecycle": "Obsolete"
},
"mouser": {
"pn": "700-DS1307N-NR",
"status": "found",
"lifecycle": "Obsolete"
}
},
"pins": [
{
"number": "1",
"name": "X1",
"type": "passive",
"description": "Connection for the standard 32.768 kHz quartz crystal; it can alternatively be driven by an external 32.768 kHz oscillator output, with X2 left floating."
},
{
"number": "2",
"name": "X2",
"type": "passive",
"description": "Connection for the other terminal of the 32.768 kHz crystal, which is specified for a 12.5 pF crystal load capacitance; left unconnected when X1 is driven by an external oscillator."
},
{
"number": "3",
"name": "VBAT",
"type": "power_in",
"description": "+3 V battery input for a standard 3 V lithium cell or other backup supply; the battery voltage must be kept between 2.0 V and 3.5 V for proper operation."
},
{
"number": "4",
"name": "GND",
"type": "power_in",
"description": "Ground reference for the device."
},
{
"number": "5",
"name": "SDA",
"type": "bidirectional",
"description": "I2C serial data input/output, open-drain; it requires an external pull-up resistor."
},
{
"number": "6",
"name": "SCL",
"type": "input",
"description": "I2C serial clock input that synchronizes data transfer on the serial interface; the datasheet pin table describes it as open-drain."
},
{
"number": "7",
"name": "SQW/OUT",
"type": "output",
"description": "Open-drain square-wave/output driver that requires an external pull-up resistor; when SQWE is 1 it outputs 1 Hz, 4.096 kHz, 8.192 kHz or 32.768 kHz, and it can operate from either the VCC or VBAT supply."
},
{
"number": "8",
"name": "VCC",
"type": "power_in",
"description": "+5 V supply input; the recommended operating range is 4.5 V to 5.5 V, and below 1.25×VBAT the device blocks RTC and RAM access."
}
],
"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 datasheet's pin table is in Chinese; pin names and functions were translated into English descri; The datasheet pin table labels SCL as open-drain, but the I2C input role is the typical reading; SCL; The ordering table lists DS1307N in DIP-8 (datasheet page 1). The DS1307 (non-Z) variant is rated 0 "
],
"pages_sent": 14,
"cost_usd": 0.0514,
"at": "2026-10-16T04:27:26"
},
"datasheet": {
"url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8756372559656816640",
"pages": 14,
"sha256": "99d95856b4d3f840",
"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": "ds1307n.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,
"footprint_binding": "identity",
"sha256": "4a377a56a8d9e9c0b86c095ef9ecc1869ac19e7f5069a3247b294250bf4f235d",
"checked": "2026-10-16",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "ds1307n-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,
"footprint_binding": "identity",
"sha256": "b7d947eedfe78aa6efa2991fa2996a1b4568e2bc39064b598f07ef634cde1495",
"checked": "2026-10-16",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
},
"metadata": {
"specs": {
"Manufacturer": "HGSEMI",
"Package": "DIP-8",
"Category": "Clock/Timing",
"Pins": "8"
},
"characteristics": {
"version": 1,
"source": "datasheet",
"datasheet_sha256": "99d95856b4d3f840893b52984a7b764d02ed4be716e26e677ba24fa01b9e4333",
"rows": [
{
"name": "Supply voltage",
"symbol": "VCC",
"kind": "recommended_operating",
"unit": "V",
"min": 4.5,
"typ": 5,
"max": 5.5,
"conditions": "",
"source_page": 3,
"source": "datasheet"
},
{
"name": "Logic 1 input voltage",
"symbol": "VIH",
"kind": "recommended_operating",
"unit": "V",
"min": 2.2,
"typ": null,
"max": null,
"conditions": "",
"source_page": 3,
"source": "datasheet"
},
{
"name": "Logic 0 input voltage",
"symbol": "VIL",
"kind": "recommended_operating",
"unit": "V",
"min": -0.5,
"typ": null,
"max": 0.8,
"conditions": "",
"source_page": 3,
"source": "datasheet"
},
{
"name": "Battery voltage",
"symbol": "VBAT",
"kind": "recommended_operating",
"unit": "V",
"min": 2,
"typ": null,
"max": 3.5,
"conditions": "",
"source_page": 3,
"source": "datasheet"
},
{
"name": "Voltage on any pin to ground",
"symbol": "",
"kind": "absolute_maximum",
"unit": "V",
"min": -0.5,
"typ": null,
"max": 7,
"conditions": "",
"source_page": 3,
"source": "datasheet"
},
{
"name": "Storage temperature",
"symbol": "",
"kind": "absolute_maximum",
"unit": "°C",
"min": -55,
"typ": null,
"max": 125,
"conditions": "",
"source_page": 3,
"source": "datasheet"
},
{
"name": "Operating temperature (DS1307, commercial)",
"symbol": "",
"kind": "absolute_maximum",
"unit": "°C",
"min": 0,
"typ": null,
"max": 70,
"conditions": "",
"source_page": 3,
"source": "datasheet"
},
{
"name": "Soldering temperature",
"symbol": "",
"kind": "absolute_maximum",
"unit": "°C",
"min": null,
"typ": null,
"max": 260,
"conditions": "10 s",
"source_page": 3,
"source": "datasheet"
},
{
"name": "Input leakage current (SCL)",
"symbol": "ILI",
"kind": "electrical",
"unit": "µA",
"min": null,
"typ": null,
"max": 1,
"conditions": "",
"source_page": 3,
"source": "datasheet"
},
{
"name": "I/O leakage current (SDA & SQW/OUT)",
"symbol": "ILO",
"kind": "electrical",
"unit": "µA",
"min": null,
"typ": null,
"max": 1,
"conditions": "",
"source_page": 3,
"source": "datasheet"
},
{
"name": "Logic 0 output voltage",
"symbol": "VOL",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 0.4,
"conditions": "IOL=5mA",
"source_page": 3,
"source": "datasheet"
},
{
"name": "Operating supply current",
"symbol": "ICCA",
"kind": "electrical",
"unit": "mA",
"min": null,
"typ": null,
"max": 1.5,
"conditions": "Note 7: SCL at maximum frequency, 100kHz",
"source_page": 3,
"source": "datasheet"
},
{
"name": "Standby supply current",
"symbol": "ICCS",
"kind": "electrical",
"unit": "µA",
"min": null,
"typ": null,
"max": 200,
"conditions": "Note 1: VCC, SDA and SCL at 5.0V",
"source_page": 3,
"source": "datasheet"
},
{
"name": "Battery current (oscillator ON, SQW/OUT OFF)",
"symbol": "IBAT1",
"kind": "electrical",
"unit": "nA",
"min": null,
"typ": 300,
"max": 500,
"conditions": "Note 2: VCC=0V, VBAT=3V; SQW/OUT OFF",
"source_page": 3,
"source": "datasheet"
},
{
"name": "Battery current (oscillator ON, SQW/OUT ON 32kHz)",
"symbol": "IBAT2",
"kind": "electrical",
"unit": "nA",
"min": null,
"typ": 480,
"max": 800,
"conditions": "Oscillator ON; SQW/OUT ON (32kHz)",
"source_page": 3,
"source": "datasheet"
},
{
"name": "SCL clock frequency",
"symbol": "fSCL",
"kind": "timing",
"unit": "kHz",
"min": 0,
"typ": null,
"max": 100,
"conditions": "",
"source_page": 4,
"source": "datasheet"
},
{
"name": "Bus idle time between STOP and START",
"symbol": "tBUF",
"kind": "timing",
"unit": "µs",
"min": 4.7,
"typ": null,
"max": null,
"conditions": "",
"source_page": 4,
"source": "datasheet"
},
{
"name": "START condition hold time",
"symbol": "tHDSTA",
"kind": "timing",
"unit": "µs",
"min": 4,
"typ": null,
"max": null,
"conditions": "Note 3",
"source_page": 4,
"source": "datasheet"
},
{
"name": "SCL low period",
"symbol": "tLOW",
"kind": "timing",
"unit": "µs",
"min": 4.7,
"typ": null,
"max": null,
"conditions": "",
"source_page": 4,
"source": "datasheet"
},
{
"name": "SCL high period",
"symbol": "tHIGH",
"kind": "timing",
"unit": "µs",
"min": 4,
"typ": null,
"max": null,
"conditions": "",
"source_page": 4,
"source": "datasheet"
},
{
"name": "START condition setup time",
"symbol": "tSUSTA",
"kind": "timing",
"unit": "µs",
"min": 4.7,
"typ": null,
"max": null,
"conditions": "",
"source_page": 4,
"source": "datasheet"
},
{
"name": "Data hold time",
"symbol": "tHDDAT",
"kind": "timing",
"unit": "µs",
"min": 0,
"typ": null,
"max": null,
"conditions": "Notes 4, 5",
"source_page": 4,
"source": "datasheet"
},
{
"name": "Data setup time",
"symbol": "tSUDAT",
"kind": "timing",
"unit": "ns",
"min": 250,
"typ": null,
"max": null,
"conditions": "",
"source_page": 4,
"source": "datasheet"
},
{
"name": "SDA and SCL rise time",
"symbol": "tR",
"kind": "timing",
"unit": "ns",
"min": null,
"typ": null,
"max": 1000,
"conditions": "",
"source_page": 4,
"source": "datasheet"
},
{
"name": "SDA and SCL fall time",
"symbol": "tF",
"kind": "timing",
"unit": "ns",
"min": null,
"typ": null,
"max": 300,
"conditions": "",
"source_page": 4,
"source": "datasheet"
},
{
"name": "STOP condition setup time",
"symbol": "tSUSTO",
"kind": "timing",
"unit": "µs",
"min": 4.7,
"typ": null,
"max": null,
"conditions": "",
"source_page": 4,
"source": "datasheet"
},
{
"name": "Capacitive load per bus",
"symbol": "CB",
"kind": "timing",
"unit": "pF",
"min": null,
"typ": null,
"max": 400,
"conditions": "Note 6: CB = total bus capacitance",
"source_page": 4,
"source": "datasheet"
},
{
"name": "I/O capacitance",
"symbol": "CI/O",
"kind": "electrical",
"unit": "pF",
"min": null,
"typ": null,
"max": 10,
"conditions": "TA=25℃",
"source_page": 4,
"source": "datasheet"
}
]
}
},
"variants": [],
"sections": [
"hero",
"viewers",
"readme",
"breadcrumbs",
"info"
],
"discovery_triggers": [
"ds1307n"
],
"discovery_pitch": "DS1307N (HGSEMI) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
"author": {
"name": "Ray",
"email": "[email protected]"
},
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"ds1307n.kicad_sym",
"ds1307n.kicad_mod",
"ds1307n.glb",
"ds1307n.step",
"ds1307n.lbr",
"docs/hero.png",
"docs/ds1307n-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"ds1307n-hero.glb",
"ds1307n-hero.overlay.json",
"ds1307n-etched.glb"
],
"visibility": {
"public": true
}
}