DonZalmrol
Forum Replies Created
-
AuthorPosts
-
30.11.2020 at 15:28 in reply to: Arduino NTP issue for IN-12 Arduino Shield+Adapter+Raspberry Pi Nixie Tubes CLK #35935
Hi Zwartoog,
Yes, I’ve looked at your code and we have certainly some similarities in our code.
Mine seems to be working stable at the moment.I will probably use some of your code for a CPM sensor display 😉
Thx!
22.10.2020 at 11:05 in reply to: Arduino NTP issue for IN-12 Arduino Shield+Adapter+Raspberry Pi Nixie Tubes CLK #35129I was able to create my own NTP sync with the help from this source: https://medium.com/@joeldavidw/nixie-clock-ntp-sync-remote-switch-4b6ad7b686d
I then improved the code and added some failsafes e.g. when no internet connection is there or the UDP package size is not 48, … it retries to fetch the NTP and if that fails after 3 consecutive tries it goes over to GPS
My code can be viewed/ downloaded from my GitHub page: https://github.com/DonZalmrol/GRA-AFCH-IN-12-Arduino-Nixie-clock-kit-with-NTP
Cheers!
16.10.2020 at 14:50 in reply to: Arduino NTP issue for IN-12 Arduino Shield+Adapter+Raspberry Pi Nixie Tubes CLK #35029Ah fantastic looking forward for other solutions/ insights.
Do you experience any other issues regarding your NTP solution?16.10.2020 at 13:06 in reply to: Arduino NTP issue for IN-12 Arduino Shield+Adapter+Raspberry Pi Nixie Tubes CLK #35027Hi, do you have a link to your firmware and more information about this? 🙂
Apologies for digging this up from the past, but I’ve followed similar instructions on how to incorporate the NTP, it works but its buggy.
The UDP package size drops from 48 (What it should be for NTP) to 0 causing my RTC to default to 1970… I’ve created topic for my issue.Arduino NTP issue for IN-12 Arduino Shield+Adapter+Raspberry Pi Nixie Tubes CLK
16.10.2020 at 11:14 in reply to: Arduino NTP issue for IN-12 Arduino Shield+Adapter+Raspberry Pi Nixie Tubes CLK #35023Screenshot: https://drive.google.com/file/d/1RFTbuxxkNdk7MhseVxAiCaDOahn-5l38/view
As you can see the UDP package size drops from 48 (What it should be for NTP) to 0 and then after a while the WifiESP gets a timeout followed by a Data packet send error.
What happens then is that the clock sets its NTP to 1970 (default UNIX time) or messes up the DST (jumping +1 or +2) or even displaying a completely different date from who knows where…
If it’s a known issue with the NTP udp packages on Arduino, could I fetch this and create an exception e.g try-catch-finally?
- This reply was modified 4 years, 3 months ago by DonZalmrol.
-
AuthorPosts