![]() |
Looking for guidance on setting up with external RTC - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85) +--- Forum: Linux on Rock64 (https://forum.pine64.org/forumdisplay.php?fid=88) +--- Thread: Looking for guidance on setting up with external RTC (/showthread.php?tid=16647) |
Looking for guidance on setting up with external RTC - Ditchmagnet - 05-13-2022 Hi, I'm currently using a Raxda Rock Pi 4, running Ubuntu Server 20.04. I'm using it with grabserial to automatically create logs from a serial port I need to record. I need to setup a bunch more locations doing this, so I was looking at the ROCK64_v2.0 on amazon since its just $30 for a whole kit. I will be needing RTC functionality though since the locations I will have to put these wont have network access and I don't want to have to go set the time manually in the event of a power outage. I have been trying to do some research on adding RTC to the ROCK64 and found that it appears possible. According to this- https://forum.pine64.org/showthread.php?tid=6309&pid=44024#pid44024 It looks like they are using Ubuntu 18.04 there which will hopefully still be compatible with the usb-to-serial cables I'll use. I think the RTC module he is using is this one on amazon- https://www.amazon.com/AT24C32-Replace-Arduino-Batteries-Included/dp/B07Q7NZTQS/ref=sr_1_5?crid=1CG39C6C5E4YS&keywords=DS1307&qid=1652483479&sprefix=ds1307%2Caps%2C119&sr=8-5&th=1 But I also saw this thread - https://forum.armbian.com/topic/8856-solved-how-to-add-an-external-rtc-module-to-rock64-board/ Saying that this part was compatible with Armbian- https://www.amazon.com/Adafruit-3296-DS1307-Clock-Breakout/dp/B01MG3NEWF/ref=sr_1_3?crid=1CG39C6C5E4YS&keywords=DS1307&qid=1652483406&sprefix=ds1307%2Caps%2C119&sr=8-3 Additionally, it appears that this particular module is more accurate, which is the SN model- https://www.amazon.com/Adafruit-3296-DS1307-Clock-Breakout/dp/B01MG3NEWF/ref=sr_1_3?crid=33K7YC661A2N7&keywords=Adafruit+3296+DS1307+Real+Time+Clock&qid=1652483967&sprefix=adafruit+3296+ds1307+real+time+clock%2Caps%2C83&sr=8-3 SO! Does what I want to do sound feasible? It also sounds like I could run Ubuntu 20.04 according to this post- https://forum.pine64.org/showthread.php?tid=4849&pid=65313#pid65313 I'm not sure I'm up to the task of getting the RTC module to work, I haven't every compiled a kernel etc, so this would really be a learning experience, but I'm worried I might get stuck too. Any suggestions or insights would be appreciated! |