DS1302 real-time clock module with ESP32

Supply 3.3-5 V Bus GPIO Measures time
VCCGNDCLKDATRST

Pins and ESP32 wiring

PinRoleESP32 pinNotes
VCCPower3V3
GNDGroundGND
CLKInput (the ESP32 drives it)D25Serial clock. This is a 3-wire bus, not I2C
DATInput (the ESP32 drives it)D26Data, both directions
RSTInput (the ESP32 drives it)D27Chip enable (CE): HIGH during a transfer

Suggested wiring for the 30-pin ESP32 DevKit, avoiding flash, input-only and strapping pins. BoardPilot checks it for you as you wire.

Sources

Try it in 3D in BoardPilot

BoardPilot Part data (JSON)

Related parts

Part data: CC BY 4.0, free to reuse with credit to BoardPilot.