1Hz output from DS3231
Posted: Wed Apr 13, 2022 10:54 pm
I am using the 1Hz SQW from a DS3231 to count seconds, I use the same RTC for a Date/Time and DHT22 & BMP180 for Humidity/Baro/Temp/etc. I use the NEO-6m to make sure the RTC is always up-to-date, and add 1 hr on for BST.
My question concerns when the RTC & GPS do a sync, currently 4x a day ( every 6 hrs ), if the RTC is 'out of sync' would any change to the date & time affect the 1Hz output. I can say that ' this sync ' throws the seconds count out with regards to the GPS pulse.
I also ask the same question regarding whenever the DS3231 decide to make any ' internal compensation ' so the Oscillator either runs quicker / slower, would that also have any effect on the SQW outputs.
Currently I have been checking the 32k output pin and that reads anywhere between 32.758khz - 32.760khz, while the SQW 1Hz seems to sit at 1Hz. That does not make sense if the same Oscillator is providing both outputs - I would have expected somewhere between say 0. 990 - 0.999Hz.
Anyone able to shed any light on the issue ( sorry for any unitended puns ).
My question concerns when the RTC & GPS do a sync, currently 4x a day ( every 6 hrs ), if the RTC is 'out of sync' would any change to the date & time affect the 1Hz output. I can say that ' this sync ' throws the seconds count out with regards to the GPS pulse.
I also ask the same question regarding whenever the DS3231 decide to make any ' internal compensation ' so the Oscillator either runs quicker / slower, would that also have any effect on the SQW outputs.
Currently I have been checking the 32k output pin and that reads anywhere between 32.758khz - 32.760khz, while the SQW 1Hz seems to sit at 1Hz. That does not make sense if the same Oscillator is providing both outputs - I would have expected somewhere between say 0. 990 - 0.999Hz.
Anyone able to shed any light on the issue ( sorry for any unitended puns ).