French guide for wiring and programming a Didel DS1307 I2C clock module with Arduino and an OLED display.
This document describes the DS1307 clock circuit, which uses an I2C interface, a battery-backed timekeeping register and a 32 kHz quartz. It explains how to connect the Grove and 2.54 mm pin module to an Arduino, how to read and write the time registers, and how to display the time on an OLED screen.
The guide includes Arduino C programs for initializing the DS1307, blinking its SQW output, reading seconds and minutes, and displaying the time on a 126x64 OLED. It also covers compatibility with the Adafruit GFX library and the required SDA/SCL wiring. This manual is written in French.
| Interface | I2C |
|---|---|
| I2C address | 104 (7-bit) |
| Supply voltage | 3 to 5 V |
| Current consumption | less than 1 mA |
| I2C pull-up resistors | 4k7 preferred |
| Timekeeping | 32 kHz quartz, a few seconds per day |
The 7-bit I2C address of the DS1307 is 104 in decimal.
The module has a Grove connector and four 2.54 mm pins; it can be plugged directly onto Arduino pins 16 (Gnd), 17 (5V), 18 (Sda) and 19 (Scl).
The information is kept by the battery, or there is an internal EEPROM; the text suggests experimenting to find out.