DCF77 library for Arduino - synchronize with atomic clock

Hi!

I wired a cheap DCF77 receiver from Pollin to an Arduino Uno: DCF 77 Empfangsmodul DCF1 online kaufen | Pollin.de

It works out of the box. No extra components were necessary.

Then I ran the examples bundled with the DCF77 library. It turns out that SyncProvider is one minute ahead at the first sync. InternalClockSync works as expected.

Please find the output of InternalClockSync at Output of InternalClockSync - Pastebin.com

The output of SyncProvider is here: Output of SyncProvider - Pastebin.com
In line 4 of the output of SyncProvider it’s 12:01:00 actually. After the next sync the time is corrected (line 126).

Another output is here: Output of SyncProvider 2 - Pastebin.com

I enabled VERBOSE_DEBUG and recorded a video of the output:
http://dl.dropbox.com/u/87685034/SyncProvider_3_converted.avi

I tried both examples a couple of times. The DCF77 signal is quite clear.

Any idea what’s going wrong?

Best regards
Franz