EddyVB / ESP8266-NTP2DCF77

Uses a ESP8266 to retrieve the internet time and 'broadcast' a DCF 77.5 KHz time signal for clocks.
GNU General Public License v3.0
11 stars 2 forks source link

NTP2DCF77 using ESP8266

DCF77 is a German transmitter broadcasting on 77.5KHz. This signal can be received in most of Europe. It sends date and time info generated from an atomic clock. ‘DCF’ compatible Clocks are sold in Europe, digital and analog ones. They have a 77.5KHz receiver and decoder build in to set their time automatically. See https://en.wikipedia.org/wiki/DCF77 This program is useful when you want to use a DCF clock outside the transmitter range, or in places with poor reception. Other time zones can be set in the settings.h file, so no restriction to the CET.

The ESP8266 connects to your wifi and receives the time from a Network Time Server. A 77.5KHz signal is generated, and also a modulation signal according to the DCF77 standard. These 2 signals (gpio pins) must be connected with 2 resistors to create a 77.5KHz modulated signal.

Getting Started

The files NTP2DCF77.ino and settings.h + libraries are needed to compile this program. Links to libraries are commented in source code. Also 2 resistors and an antenna is needed. A ferrite antenna, or even a simple open wire can be sufficient.

Prerequisites

WARNING: Check if it is allowed in your country to generate this (very low level) RF signal. Keep this signal as low as possible, in the cm range from your clock.

Installing

Acknowledgements

Thanks to: