{"id":13802015,"url":"https://github.com/elehobica/pico_dcf77_tx","last_synced_at":"2025-04-08T00:59:49.492Z","repository":{"id":172785810,"uuid":"646302283","full_name":"elehobica/pico_dcf77_tx","owner":"elehobica","description":"DCF77 transmitter for Raspberry Pi Pico W","archived":false,"fork":false,"pushed_at":"2024-03-05T14:38:19.000Z","size":189,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-18T17:51:01.382Z","etag":null,"topics":["dcf77","micropython","raspberry-pi-pico-w"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elehobica.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-28T00:09:36.000Z","updated_at":"2024-08-21T17:55:14.000Z","dependencies_parsed_at":"2023-12-07T12:27:18.067Z","dependency_job_id":"0a99f259-363a-40a9-bc66-8b711c289c96","html_url":"https://github.com/elehobica/pico_dcf77_tx","commit_stats":null,"previous_names":["elehobica/pico_ntp2dcf77","elehobica/pico_dcf77_tx"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elehobica%2Fpico_dcf77_tx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elehobica%2Fpico_dcf77_tx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elehobica%2Fpico_dcf77_tx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elehobica%2Fpico_dcf77_tx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elehobica","download_url":"https://codeload.github.com/elehobica/pico_dcf77_tx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247755574,"owners_count":20990626,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dcf77","micropython","raspberry-pi-pico-w"],"created_at":"2024-08-04T00:01:33.234Z","updated_at":"2025-04-08T00:59:49.466Z","avatar_url":"https://github.com/elehobica.png","language":"Python","funding_links":[],"categories":["Libraries"],"sub_categories":["Communications"],"readme":"# DCF77 transmitter for Raspberry Pi Pico W\n\n## Overview\nThis project is DCF77 transmitter for Raspberry Pi Pico W in proximate usage\n\nThis project supports:\n* fetch CET (CEST) time by NTP\n* DCF77 carrier frequency at 77500 Hz\n* DCF77 amplitude modulation (High: 100%, Low: 12.5%)\n* DCF77 phase modulation (0°, +15.6°, -15.6°) (Implemented, not verified yet)\n* minimum peripheral circuits with wired headphones to emit weak radio waves\n\n## Supported Board\n* Raspberry Pi Pico W\n\n## Pin Assignment\n\n| Pico Pin # | Pin Name | Function | Note |\n----|----|----|----\n|  4 | GP2 | PIN_MOD_P | DCF77 signal differential output Pch |\n|  5 | GP3 | PIN_MOD_N | DCF77 signal differential output Nch |\n\n* Single-ended signal is not available since pair signals are asymmetrically driven in actual to have effect of PWM. Use a transformer to convert into single-ended output.\n\n## Connection Diagram\n![Connection Diagram](doc/pico_dcf77_tx_connection.png)\n\n## How to make the program work\n* Use [Thonny](https://thonny.org/) (Confirmed with Thonny 4.0.2, Python 3.10.9)\n* Install MicroPython (Raspberry Pi Pico) interpreter firmware on Raspberry Pi Pico W by Thonny\n* Confirmed with MicroPython v1.22.2\n* Add `secrets.py` to include your WiFi configuration and put it on the storage of Raspberry Pi Pico W\n```\n# secrets.py\nsecrets = {\n  'ssid': 'xxxx',\n  'password': 'xxxx',\n}\n```\n* Excecute `pico_dcf77_tx.py` from Thonny\n* For stand-alone application, please rename `pico_dcf77_tx.py` as `main.py` and store in the storage of Raspberry Pi Pico W\n\n## Log\nBit description log displayed in the console is made compliant to https://www.dcf77logs.de/live except for Civil warning bits / weather information\n```\nTimecode: Sat, Jun 03, 2023 21:17:00  0-000000000000000-001001-11101000-1000010-110000-011-01100-110001001\n```\n\n## Tips for emitting DCF77\n* The recommended way to make the clock detect DCF77 emulated singal in limited proximate environment, is just to connect wired earphone between PIN_MOD_P and PIN_MOD_N pins through designated circuit (LPF) and put the clock close to the earphone cable. (This could damage the earphone. please try with cheaper one.)\n![Scene](doc/pico_dcf77_tx_scene01.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felehobica%2Fpico_dcf77_tx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felehobica%2Fpico_dcf77_tx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felehobica%2Fpico_dcf77_tx/lists"}