Top Logo Sp Logo
Understanding Real Time Clocks (RTC) and Their Use in Raspberry Pi 5

Understanding Real Time Clocks (RTC) and Their Use in Raspberry Pi 5

Understanding Real Time Clocks (RTC) and Their Use in Raspberry Pi 5

What is a Real Time Clock (RTC)?

A Real Time Clock (RTC) is a specialized clock device that keeps track of the current time even when the main device is powered off. Unlike a regular clock, an RTC operates on its own power source, typically a small battery, allowing it to maintain time accurately over extended periods. This feature is crucial for applications that require precise timekeeping, such as logging data, scheduling tasks, and maintaining accurate timestamps.

Why is RTC Important for Raspberry Pi?

The Real-Time Clock (RTC) is one of the Raspberry Pi 5's major features, attracting a lot of attention. These clocks can be found in a wide range of modern products, including cellphones, laptop computers, washing machines, and automobiles. But Raspberry Pi 5 is the first Raspberry Pi Motherboard to come equipped with one. 

Direct Battery Connection or Battery Holder

When integrating an RTC with your Raspberry Pi 5, you have two primary options for powering the RTC: a direct battery connection or using a battery holder. 

Direct Battery Connection

The Raspberry pi 5 can use a ML2020 Manganese Rechargeable Lithium Battery for powering Raspberry Pi 5's real-time clock. Supplied with a pre-fitted two-pin JST plug to connect to Raspberry Pi 5's dedicated RTC battery connector

 

Battery Connector

If you have a LIR2032 battery you can also use a  Battery connector to connect a battery to the RTC battery port. 

 

You can learn more about the function of RTC on a Raspberry Pi 5 HERE.

 

 

Shop the story