FremoClockRF/README.md

16 lines
943 B
Markdown
Raw Permalink Normal View History

2018-10-18 19:05:40 +00:00
# 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.