Python script that transmits a faux DCF77 signal. It uses system time as its time source. It can be used to time radio controlled clocks and watches that accept DCF77 signal. Requires PyAudio and NumPy to run.
This script was tested on my Casio Wave Ceptor wristwatch.
- This script will produce a high-pitched 15.5kHz sine wave noise! Please protect your hearing! Also, it may or may not be legal to transmit this sound in your country. Consult your local laws if you are unsure.
- Run the script. The sound will start playing immediately. The encoded time signal will automatically be in German time (UTC+1)1.
- Set your radio controlled watch or clock to "receive" mode and place its antenna near the speaker or headphones (~1-5 cm)
- Wait. It can take anywhere from 2 to 10 minutes for your watch to synchronize. This script will produce 10-11 minutes of DCF77 signal before closing. You can terminate the script yourself by pressing Ctrl + C.
1 To change the signal timezone, edit line 11 in the script.
It's most likely one of these reasons:
- The speaker volume is not loud enough: Try increasing your system volume.
- The clock/watch is not placed near enough to the speaker: Try placing it closer to the speaker.
If it's still not working, your clock/watch probably cannot be fooled by this signal.