This is a simple python implementation of the NTP protocol that uses serial radio modules as the communication medium. The notebooks are pretty self explanatory.
This project relys on pyserial for communication and adjtimex for adjusting the clock. Other requirements are numpy, jupyterplot for computation and visualization purposes. This project requires python 3.8 or newer to work.
Using this simple program and a set of Holybro telemetry modules, a sub-millisecond synchronization accuracy between a raspberry Pi 4 and laptop was achieved.