Raspberry Pi - Real Time Clock (RTC)

In this project, we will be making a Real Time Clock (RTC) which keep the time for your Raspberry Pi even if it is turned off.

Real Time Clock is essential for every Micro-controllers to keep the time even if it is turned off. Without a Network Time Protocol (NTP), the system time and date will almost certainly be wrong. For some projects this is a vital problem especially if you are logging time stamps or performing other time sensitive operations.

It’s a fairly easy project and can be used either on its own or part of something bigger (Check it Out >> Raspberry Pi - Data Logging).

Supplies:

Step 1: List of Materials

For this project, we will be using:

- Raspberry Pi

- DS3231 module cost: ~2.00 USD

- Jumper Wire or Custom Proto Shield (Check it out how to make it >> )

Step 2: Hardware Connections

In general, the connections are very simple. Follow the instructions and images above, and you should have no problems.

Classroom Science Contest

Gardening Contest

Arduino Contest 2019

5 Discussions

I'm planning my first ever Raspberry Pi project and this tut seems like a very nice resource, thank you! I was just thinking, can you suggest any tips or stuff to read if I'd want to have my Raspberry Pi device to be powered by mains, but allow the real time clock battery take over (to power the clock only), if the device is unplugged from the mains / rebooted for other reason?