We know computer and another device like microcontroller is not accurate in ticking clock comparing to wall clock that using cesium atom.
I heard RTC module is purpose to making accurate the ticking.
But microcontroller that I used is Espressif family which they have built-in Wi-Fi module.
I mean, I can just syncron the time with using Network Time Protocol
aka NTP for every few period for example syncroun every 1 hour. So that's mean the MCU will retrieve data from NTP server every 1 hours relative calculated with using millis()
function.
So do I still need RTC module?
Yes the disadvantage of using NTP is need online while RTC still can be used in offline. But once the device is online, it will syncroun again following NTP server.