Knowledge Base

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

Knowledge Base

RTC Pi and Arduino

Adding a Real Time clock to an Arduino

Created 02/10/2015 | Last Updated: 09/11/2024

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 the Arduino Libaries website.

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 that will run with the RTC Pi board.

RTC Pi connected to an Arduino Uno


(images created with Fritzing)

Home

Shop

Learn

Forum

FAQ

Contact

0 item

Your cart is empty

Please browse our shop to order from the wide range of Raspberry Pi boards and accessories.

Subtotal:£0.00
View Basket Continue to Checkout