Adding an RTC

When I first looked at the Raspberry Pi there was one missing piece of hardware that stood out to me. This little piece of hardware has been on pretty much every system you may have used, especially in recent years. What exactly is this missing piece of hardware? It’s the real-time clock, or RTC for short. In most modern computer systems you would be hard-pressed not to find the RTC with a quick glance. What you would notice is that little silver coinshaped battery. Why would the RTC chip need a battery? The main function of the RTC is to keep the current time and date, which has been set into the RTC chip.

This little ...

Get Practical Raspberry Pi now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.