Fast clock with a RF based (NRF24) transmission of clock information
Go to file
Dirk Jahnke a6db04c201 Sends broadcast of time messages. 2018-11-15 13:01:09 +01:00
include Initial commit. 2018-10-18 21:05:40 +02:00
lib Initial commit. 2018-10-18 21:05:40 +02:00
src Sends broadcast of time messages. 2018-11-15 13:01:09 +01:00
.gitignore Initial commit. 2018-10-18 21:05:40 +02:00
.travis.yml Initial commit. 2018-10-18 21:05:40 +02:00
README.md Added configuration to config.h, splitted master code from main. 2018-10-19 23:48:54 +02:00
platformio.ini Sends broadcast of time messages. 2018-11-15 13:01:09 +01:00

README.md

FREMO Fast Clock

This is a fast clock implementation based on a 2.4GHz wireless transmission layer based on NRF24 controllers. The software runs in two modes: Master or Client. A GPIO pin decides which role the hardware should play.

The definitions in config.h define the ports to be used:

  • PIN_MASTER_CLIENT_SELECT defines the pin to be used to identifiy master or client. If that pin is LOW, then master is identified.
  • PIN_NRF24_CE defines the pin that is used for the CE signal
  • PIN_NRF24_CSN defines the pin that is used for the CSN signal
  • PIN_RELAY1 defines the pin that controls relay 1
  • PIN_RELAY2 defines the pin that controls relay 2
  • DEFAULT_HOLD_RELAY_MS 150
  • DEFAULT_MIN_RELAY_OFF_TIME_MS 80
  • DEFAULT_RELAY_ACTIVE_LOW true

Depending of the controller used, an SD1306 controlled display can be used. See the "-D WITH_DISPLAY" flag in the build_flags definition of the appropriate environment.