vogelchr / radioclkd2

Quick and dirty fork of http://www.jonatkins.com/page/software/radioclkd2 adding Linux GPIO pin support.
19 stars 7 forks source link

Sensitivity #6

Closed Womble-1 closed 6 years ago

Womble-1 commented 6 years ago

Are there any parameters i can change to make the decoder less sensitive. I have successfully received the time using dcf77pi in under and hour, so the signal is good enough.

i ran radioclkd2 for over a week and its has not synchronised.

radioclkd2 -t dcf77 -d -v -s gpio /sys/class/gpio/gpio25/value:DCD

user@ntp2:~$ tail -20 nohup.out
pulse end: length 0.802928 - # Bits:  41: Pulse Width (10ths): 8
pulse start: at 1511538792.123542
pulse end: length 0.908992 - # Bits:  42: Pulse Width (10ths): 9
pulse start: at 1511538793.123914
pulse end: length 0.909745 - # Bits:  43: Pulse Width (10ths): 9
pulse start: at 1511538794.220051
pulse end: length 0.805939 - # Bits:  44: Pulse Width (10ths): 8
pulse start: at 1511538795.130036
pulse end: length 0.907033 - # Bits:  45: Pulse Width (10ths): 9
pulse start: at 1511538796.126900
pulse end: length 0.900076 - # Bits:  46: Pulse Width (10ths): 9
pulse start: at 1511538797.126491
pulse end: length 0.904047 - # Bits:  47: Pulse Width (10ths): 9
pulse start: at 1511538798.223344
pulse end: length 0.806069 - # Bits:  48: Pulse Width (10ths): 8
pulse start: at 1511538799.128995
pulse end: length 0.899354 - # Bits:  49: Pulse Width (10ths): 9
pulse start: at 1511538800.223239
pulse end: length 0.804273 - # Bits:  50: Pulse Width (10ths): 8
pulse start: at 1511538801.131402
user@ntp2:~$ cat nohup.out | wc -l
3113647
user@ntp2:~$ cat nohup.out | grep DCF | wc -l
81
Womble-1 commented 6 years ago

Module i am using ( SYM-RFT-77 ) uses an inverted signal. therefore the command is (with a hyphen): radioclkd2 -t dcf77 -d -v -s gpio /sys/class/gpio/gpio25/value:-DCD