DS3231 RTC
A nother commom issue is timekeeping. This little module contains a DS3231 (or DS3232 with RAM) and the backup battery.

It uses an I2C bus plus a squarewave output that provides a 1Hz signal or an alarm interrup.

I used some thin selfsticking copper foil for the contact of the battery to spare the doublesided PCB. Works great.