Skip to content

arduino library for accurate clock synchronization over wifi between multiple esp32 controllers

License

Notifications You must be signed in to change notification settings

blumamir/TimeSyncClientArduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

TimeSync

This library is a client implementation of the Time Sync Protocol, which is used for precise, efficient and simple clock synchronization for multiple esp controllers that communicate over unreliable, high latency network. LED shows are a common example of distributed system which requires very precise accuresy time synchronization to run a single visual show from different controllers over Wifi or Etherent.

Install

Recommended installation is via the platformio library manager. Add this to your lib_deps in the platformio.ini file:

lib_deps =
    https://github.com/BlumAmir/TimeSyncClientArduino.git

and you'r good to go.

Usage

This is the client part of the protocol. You need to install and run the Time Sync Server and configure the host and port in the client. Usage examples are availible in the examples folder of the project.

Configuration

The client can be configured with 4 values which control the required precision of the clock vs the network overhead in aquiring it.

About

arduino library for accurate clock synchronization over wifi between multiple esp32 controllers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages