Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 33 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,33 @@
dcf77
======

_dcf77_ contains a state machine to identify a [DCF77][] signal fed in to a
regular GPIO pin. It also contains a decoder for the received signal into
date/time values.

The driver is hardware independent and can e.g. be used with microcontrollers and
any implementation of an [embedded-hal][] crate.

[embedded-hal]: https://github.com/japaric/embedded-hal.git
[DCF77]: https://en.wikipedia.org/wiki/DCF77

License
-------

[0-clause BSD license](LICENSE-0BSD.txt).
dcf77
======

_dcf77_ contains a state machine to identify a [DCF77][] signal fed in to a
regular GPIO pin. It also contains a decoder for the received signal into
date/time values.

The driver is hardware independent and can e.g. be used with microcontrollers and
any implementation of an [embedded-hal][] crate.

The input signal of the dcf77 statemachine shall look like this

```text
DCF77 RF signal:

| ||||||||||||||||||||||||||||||||||||| ||||||||||||||||||||||||||||||| |||
| ||||||||||||||||||||||||||||||||||||| ||||||||||||||||||||||||||||||| |||
| ||||||||||||||||||||||||||||||||||||| ||||||||||||||||||||||||||||||| |||
...|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||...

DCF77 receiver output that can be fed into this state machine:
___ _______ ___
..._| |____________________________________| |______________________________| |___...
100ms 900ms 200ms 800ms 100ms
```

[embedded-hal]: https://github.com/japaric/embedded-hal.git
[DCF77]: https://en.wikipedia.org/wiki/DCF77

License
-------

[0-clause BSD license](LICENSE-0BSD.txt).
Loading