4 ms·
I don't know who needs this kind of precision, especially on a Pi. But there's often a need to improve on the Pi's sucky out-of-the-box time experience. It does
by scottlamb 5y ago
I don't know who needs this kind of precision, especially on a Pi. But there's often a need to improve on the Pi's sucky out-of-the-box time experience. It doesn't have a battery-backed real-time clock. After a power outage, it will boot with time that's hours behind and then step the clock after the network becomes available.
So a nice middle ground is to buy a separate RTC and attach it via the I2C GPIO pins. The modules are ~$10 including shipping. I wrote up the software setup recently here: https://github.com/scottlamb/moonfire-nvr/wiki/System-setup#realtime-clock-on-raspberry-pi https://github.com/scottlamb/moonfire-nvr/wiki/System-setup#...