Skip to content
/ DCF77 Public

Faux DCF77 signal transmitter written in Python

License

Notifications You must be signed in to change notification settings

smre/DCF77

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

DCF77.py

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.

Signal documentation

Disclaimer

  • 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.

Instructions

  1. Run the script. The sound will start playing immediately. The encoded time signal will automatically be in German time (UTC+1)1.
  2. Set your radio controlled watch or clock to "receive" mode and place its antenna near the speaker or headphones (~1-5 cm)
  3. 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.

What if it doesn't work?

It's most likely one of these reasons:

  1. The speaker volume is not loud enough: Try increasing your system volume.
  2. 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.

About

Faux DCF77 signal transmitter written in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages