Knowledge Base
The AB Electronics UK Knowledge Base provides support solutions, tutorials and troubleshooting guides.
RTC Pi and Arduino
Adding a Real Time clock to an Arduino
The RTC Pi can be used with Arduino boards using the easy-to-use RTCLib library written by JeeLab.
The library can be downloaded from https://github.com/abelectronicsuk/ABElectronics_Arduino_Libraries
To use the library with the Arduino IDE
- Download the project files in ZIP or TAR format
- Unpack the archive and rename the resulting folder to "RTClib".
- Move it to the "libraries" folder in your Arduino sketches area.
- Restart the Arduino IDE to make sure it sees the new files.
The examples/ds1307 folder contains a demo that will run with the RTC Pi board.
(images created with Fritzing)
Related Expansion Boards
Related Articles
A tutorial showing how to use the internal memory for storing integers on the RTC Pi
A tutorial showing how to use the internal memory for storing double values on the RTC Pi