The NEW Build Your Own Arcade Controls

Main => Raspberry Pi & Dev Board => Topic started by: DaOld Man on September 28, 2018, 09:20:50 am

Title: Real Time Clock for RPi
Post by: DaOld Man on September 28, 2018, 09:20:50 am
I ordered a RTC circuit board from amazon.
https://www.amazon.com/battery-Raspberry-Arduino-Atomic-Market/dp/B01M105UFC/ref=pd_ybh_a_2?_encoding=UTF8&psc=1&refRID=9MXA2DFDVRBN0HH1D42N (https://www.amazon.com/battery-Raspberry-Arduino-Atomic-Market/dp/B01M105UFC/ref=pd_ybh_a_2?_encoding=UTF8&psc=1&refRID=9MXA2DFDVRBN0HH1D42N)

(Sorry for the long link).

I installed it on my photobooth's RPi and it seems to be working great.
Now the RPi doesnt lose date and time when I shut it off. It would get correct date and time from the internet, but only if a connection was available.
This clock has a battery and keeps date and time just like the PC's do.
I needed this because Im adding the option to watermark date and time on each photo the photobooth takes.

It takes up 5 pins of the GPIO, so I had to do some re-arranging of the pins I was using for other things. Just keep this in mind if you decide to get one. This one occupies pins 1,3,5,7, and 9.
Im sure there are RTCs out there that will still let you piggy back off those pins, but this one doesnt.
So far my only gripe is that the shipping was almost as much as the part.

Edit: It also comes with NO paperwork or instructions. However some kind users have posted how to program it in the comments section on that amazon post.
If you get one and need help, holler at me. I can send you the instructions that worked for me.

Here is s a photo of it installed on my RPi2 B