Parts Sensors and input

The Real-Time Clock (DS1307) as drawn on the PinBench canvas.

Real-Time Clock (DS1307)

An I²C real-time clock module with battery backup.

Category
Sensors and input
Interface
I²C, 0x68
Size
20.3 × 15.2 mm

Pins

PinRole
GNDGround
VCCPower
SDASignal
SCLInput

Settings

Change these in the part's properties on the canvas.

Clock at start
Current timenow, unset

How PinBench simulates it

  • The clock counts simulated time, so it keeps pace with millis() and stops while the run is paused.
  • It starts at your computer's time, as if its battery kept it set, or halted at 2000-01-01 until the sketch sets it.
  • Like the real DS1307 it needs 5 V. Wired to 3.3 V it does not answer.