I'm running your part on a RPI 3B+, with a 7" touch screen, and heat sink fan
After installation and testing, I have determined the RTC is not working correctly.
I have done everything I know to test and verify the battery and program changes.
I suspect the stemma connections pins (at the board) or the battery (minus) contact.
Upon power down and reboot, the clock will not hold its' correct time. Sometimes accurate, most times in testing time is off. Sporadic at best.
The significant error I see other than the time retention issue is at
Sudo hwclock -r =
hwclock: ioctl(RTC_RD_TIME) to /dev/rtc0 to read the time failed: Invalid argument
The battery has been tested and checks out as good.
IPlease advise next steps. I'd like a replacement.
mike
RTC DS3231 Part#4282 Invoice#2898771 8.08.2022
Moderators: adafruit_support_bill, adafruit
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
- littlemo
- Posts: 3
- Joined: Mon Aug 15, 2022 2:47 pm
RTC DS3231 Part#4282 Invoice#2898771 8.08.2022
- Attachments
-
- IMG-0535paint.jpg (130.67 KiB) Viewed 80 times
-
- IMG-0533paint.jpg (298.29 KiB) Viewed 80 times
-
- IMG-0532paint.jpg (167.99 KiB) Viewed 80 times
- littlemo
- Posts: 3
- Joined: Mon Aug 15, 2022 2:47 pm
Re: RTC DS3231 Part#4282 Invoice#2898771 8.08.2022
another photo sudo hwclock -vr
- Attachments
-
- IMG-0536paint.jpg (199.88 KiB) Viewed 77 times
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: RTC DS3231 Part#4282 Invoice#2898771 8.08.2022
Check your services to see if the 'fake-hwclock' is active.
The RasPi doesn't have an internal clock, but things like the system logs depend on time moving forward monotonically (always increasing, never decreasing). To make that happen, the fake-hwclock service saves the clock time to a file when the OS shuts down, and sets the system clock from the information in the file when the OS boots.
That service disables any other RTC connected to the system, so you have to disable it before configuring a real clock.
The RasPi doesn't have an internal clock, but things like the system logs depend on time moving forward monotonically (always increasing, never decreasing). To make that happen, the fake-hwclock service saves the clock time to a file when the OS shuts down, and sets the system clock from the information in the file when the OS boots.
That service disables any other RTC connected to the system, so you have to disable it before configuring a real clock.
- rooppoorali
- Posts: 98
- Joined: Sat Jul 16, 2022 12:04 pm
Re: RTC DS3231 Part#4282 Invoice#2898771 8.08.2022
Along with following the instructions given by adafruit_support, I also suggest you to check the jumper wires with a multimeter. Sometimes these cables betray.
- littlemo
- Posts: 3
- Joined: Mon Aug 15, 2022 2:47 pm
Re: RTC DS3231 Part#4282 Invoice#2898771 8.08.2022
I went through all the steps as described for installation again, just to make sure I didn't miss anything. It is working now. I must have missed something the first time around. Ha, Also, the fact that I dropped the pi yesterday maybe helped correct something. I'd say this is resolved...Thank you.
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: RTC DS3231 Part#4282 Invoice#2898771 8.08.2022
Glad to hear it's working for you. Happy hacking!
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/