Knowledge Base

The AB Electronics UK Knowledge Base provides support solutions, tutorials and troubleshooting guides.

RTC Pi and Arduino

Created 02/10/2015 | 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

  1. Download the project files in ZIP or Tar format
  2. Unpack the archive and rename the resulting folder to "RTClib".
  3. Move it to the "libraries" folder in your Arduino sketches area.
  4. Restart the Arduino IDE to make sure it sees the new files.

The examples/ds1307 folder contains a demo which will run with the RTC Pi board.

RTC Pi with Arduino