DCFclock problem

wsandor
Benutzer
Avatar
Geschlecht: keine Angabe
Alter: 54
Beiträge: 26
Dabei seit: 07 / 2012
Betreff:

DCFclock problem

 · 
Gepostet: 10.07.2012 - 08:50 Uhr  ·  #1
Hi,

I have a problem with DCFclock:
DCFfieldMode = reset;
The DCF signal is very noisy at some times here, but after a while DCFField becomes 255 and keep this value for a while (which should mean a good reception), but DCFready never becomes True, so I can't get the clock data. What could cause this problem?
(I use AVRCo 3.97 Build 061202)
Thanks in advance for your help.

Sandor
rh
Administrator
Avatar
Geschlecht:
Herkunft: Germany
Alter: 25
Homepage: e-lab.de
Beiträge: 5558
Dabei seit: 03 / 2002
Betreff:

Re: DCFclock problem

 · 
Gepostet: 10.07.2012 - 14:16 Uhr  ·  #2
Hello Sandor,

the driver counts valid pakets. If 255 is reached then the field seems to be ok.
But the other criteria is that there must be no invalid paket in the next few
minutes so that all data sec, min, hour, day, week, month, year will be valid.
If this is not the case DCFready will not be set.

My experience with DCF77 receiver is that there are huge quality differences.
Hungary is a long way from Frankfurt. I think you must use an active antenna.

rolf
wsandor
Benutzer
Avatar
Geschlecht: keine Angabe
Alter: 54
Beiträge: 26
Dabei seit: 07 / 2012
Betreff:

Re: DCFclock problem

 · 
Gepostet: 10.07.2012 - 14:36 Uhr  ·  #3
Dear Rolf,

Thank you for your fast reply.
I have a cheap weather station with DCF clock at the next room. It gets the clock data normally. (after restart it usually sets the time within some minutes)
Maybe my DCF module (I bought it from Conrad) has a weaker performance.
I try to experiment then with the antenna position.

Sandor
rh
Administrator
Avatar
Geschlecht:
Herkunft: Germany
Alter: 25
Homepage: e-lab.de
Beiträge: 5558
Dabei seit: 03 / 2002
Betreff:

Re: DCFclock problem

 · 
Gepostet: 10.07.2012 - 15:09 Uhr  ·  #4
Hello Sandor,

I also had some DCF receivers from Conrad. Most of them were very sensitive for antenna
position. One of them, in a triangular plastic case, was absolute perfect.

rolf
wsandor
Benutzer
Avatar
Geschlecht: keine Angabe
Alter: 54
Beiträge: 26
Dabei seit: 07 / 2012
Betreff:

Re: DCFclock problem

 · 
Gepostet: 18.07.2012 - 14:14 Uhr  ·  #5
Hello Rolf,

The DCF is working perfectly.
I've made a mistake, I thought that once it gets a good packet DCFReady became true, and the DCF_xxx variables contains the actual time for at least until the next data package - 1 minute - , but this is not the case.
Now I copy the values of the DCF_xxx variables to my own ones in DCFUpdate - and set my RTC accordingly a little bit later at an other part of my program. This way it seems to work perfectly.

Sandor
Gewählte Zitate für Mehrfachzitierung:   0

Registrierte in diesem Topic

Aktuell kein registrierter in diesem Bereich

Die Statistik zeigt, wer in den letzten 5 Minuten online war. Erneuerung alle 90 Sekunden.
MySQL Queries: 15 · Cache Hits: 14   96   110 · Page-Gen-Time: 0.05135s · Speichernutzung: 2 MB · GZIP: ein · Viewport: SMXL-HiDPI