To perform on a schedule, any smart device needs an accurate clock. This real-time clock module from our Troyka modules series will help your device become punctual. This module is indispensable if you need to automatically feed fish, turn eggs in an incubator, or light up a christmas tree.
The module is also useful if you are doing a project related data logging. When you write to the SD-card or to a remote server you can add a clear, readable time stamp.
Use the module to get the current second, minute, hour, day of the week, month, or year. Thanks to an additional power supply from a CR1225 battery, power surges will not ruin your project.
We made this module based on the popular DS1307 chip. It communicates with the control electronics via I²C interface.
The module correctly handles leap years up to 2100. Before you start using the module, you need to set the current date and time once and then they can be read any time as long as the battery is alive.
The battery slot is designed for a CR1225 style battery. Without it, the module does not work even if you apply external power. The battery itself is not included in the kit.
Connection of this module differs from the standard, it has two three-pin connectors. One connector is used to supply the voltage, the other to connect to the I2C bus.
Connect the module via 3-pin jumper cable. The 3-pin jumper cables needed for the connection are included in the kit.
There are several different ways to wire this module:
Troyka Shield. The most straightforward method. Connect the module to a pin group on Troyka Shield with the 3-pin jumper cable and you’re ready to interface with it from your Arduino.
Troyka Slot Shield. The best choice for quick prototyping. Using slots on the shield, you can get rid of cables. The module will be held securely in place using both pin headers.
Breadboard. For advanced use. Troyka pin headers have 0.1” spacing which is compatible with any breadboard. Simply wire the module like you would do with any IC.
The CR1225 battery is not included in the kit.