GithubHelp home page GithubHelp logo

dcf77-decode's Introduction

dcf77-decode

Decode the DCF77 time signal on a PC. Tested on Linux, should work on most operating systems.

Building and usage

Compile with

gcc dcf77_decode.c -o dcf77_decode

Run with

./dcf77_decode datafile

Due to the differences in receiving hardware, the data is read from a file. If "-" is specified as the datafile, input is read from stdin.

Datafile format

  • Empty line ("\n") = Missing pulse at the start of a minute
  • Line only with a 1 ("1\n") = Bit 1
  • Line only with a 0 ("0\n") = Bit 0

An example can be found in data-example.txt

Arduino example

The arduino_dcf77_to_serial directory contains Arduino code that can be used to send the data coming from a DCF77 receiver module over serial to a PC. In this case the serial device file (e.g. /dev/ttyUSB0) can be specified as the datafile.

License

GNU GPL v3 or later

dcf77-decode's People

Contributors

dokutan avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.