component
DS1302 Trickle-Charge RTC
Public Made by Adomby adom
Trickle-charge real-time clock with 31 bytes of RAM and a simple 3-wire interface.
← Commit history
page.json+120−8@@ -1,8 +1,11 @@ {+ "schema_version": 1,+ "type": "component", "slug": "ds1302",+ "title": "DS1302 Trickle-Charge RTC",+ "brief": "Trickle-charge real-time clock with 31 bytes of RAM and a simple 3-wire interface.", "version": "0.1.0",- "type": "component",- "description": "Trickle-charge real-time clock with 31 bytes of RAM and a simple 3-wire interface.",+ "license": "CC-BY-SA-4.0", "tags": [ "rtc", "real-time-clock",@@ -12,6 +15,120 @@ "adi", "sop-8" ],+ "component": {+ "mpn": "DS1302",+ "manufacturer": "Analog Devices",+ "package": "SOP-8 (208 mil)",+ "pin_count": 8,+ "category": "Clock / Timing",+ "subcategory": "Real-Time Clock (RTC)",+ "datasheet": "https://www.analog.com/media/en/technical-documentation/data-sheets/DS1302.pdf",+ "parts": {+ "symbol": "ds1302.kicad_sym",+ "footprint": "ds1302.kicad_mod",+ "model_3d": "ds1302.glb"+ },+ "distributor_links": {},+ "pins": [+ {+ "number": "1",+ "name": "VCC2",+ "type": "power_in",+ "description": "Primary power-supply pin in dual-supply configuration. The DS1302 operates from the larger of VCC1 or VCC2. When VCC2 is greater than VCC1 + 0.2V, VCC2 powers the DS1302; when VCC2 is less than VCC1, VCC1 powers the DS1302. Operating range 2.0V to 5.5V."+ },+ {+ "number": "2",+ "name": "X1",+ "type": "passive",+ "description": "Connection for a standard 32.768kHz quartz crystal. Internal oscillator is designed for a crystal with 6pF specified load capacitance. Can also be driven by an external 32.768kHz oscillator applied to X1 (with X2 floated)."+ },+ {+ "number": "3",+ "name": "X2",+ "type": "passive",+ "description": "Second connection for the 32.768kHz quartz crystal. Left floating when an external oscillator drives X1."+ },+ {+ "number": "4",+ "name": "GND",+ "type": "power_in",+ "description": "Device ground."+ },+ {+ "number": "5",+ "name": "CE",+ "type": "input",+ "description": "Chip enable input. CE must be asserted high during a read or write to enable the control logic and shift register access. Has an internal 40k-ohm (typ) pulldown to ground. Previous datasheet revisions referred to this pin as /RST; functionality is unchanged."+ },+ {+ "number": "6",+ "name": "I/O",+ "type": "bidirectional",+ "description": "Bidirectional serial data pin for the 3-wire interface. Push-pull output during read, high-impedance when CE is low, tri-stated on rising edge of SCLK. Has an internal 40k-ohm (typ) pulldown to ground."+ },+ {+ "number": "7",+ "name": "SCLK",+ "type": "input",+ "description": "Serial clock input used to synchronize data movement on the 3-wire serial interface. Has an internal 40k-ohm (typ) pulldown to ground."+ },+ {+ "number": "8",+ "name": "VCC1",+ "type": "power_in",+ "description": "Low-power/battery-backup supply pin. In systems using the trickle charger the rechargeable energy source (e.g. supercap or lithium cell) is connected to this pin. UL-recognized reverse-charging protection is required when used with a lithium battery."+ }+ ],+ "provenance": {+ "extractor": "ds2sf",+ "datasheet": {+ "url": "https://www.analog.com/media/en/technical-documentation/data-sheets/DS1302.pdf",+ "pages": 13,+ "sha256": "fb627b436b89e8c9",+ "source_tier": "mfr"+ },+ "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"+ }+ },+ "metadata": {+ "specs": {+ "Type": "Real-time clock (RTC)",+ "Interface": "3-wire (CE, SCLK, I/O)",+ "Timekeeping": "Seconds to year, leap-year compensated to 2100",+ "RAM": "31 bytes scratchpad",+ "Backup": "Trickle-charge circuit for cap/cell",+ "Supply voltage": "2.0 V to 5.5 V",+ "Operating temperature": "-40 C to 85 C"+ }+ },+ "sections": [+ "hero",+ "viewers",+ "readme",+ "breadcrumbs",+ "info"+ ],+ "discovery_triggers": [+ "real-time clock",+ "battery-backed clock",+ "timekeeping",+ "3-wire RTC"+ ],+ "discovery_pitch": "A low-cost RTC that keeps date and time with a backup cell and talks over a simple 3-wire bus.",+ "author": {+ "name": "Ray",+ "email": "[email protected]"+ }, "dependencies": {}, "hero": { "type": "image",@@ -27,10 +144,5 @@ "docs/ds1302-datasheet.pdf", "viewers/symbol.html", "viewers/footprint.html"- ],- "visibility": "public",- "author": {- "name": "Ray",- "email": "[email protected]"- }+ ] }