Close

receive test

A project log for Smart DCF77 Wirst Watch

A retro style Wirst Watch with a LED segment Display. Receiving time over DCF77 and personal reminders over a hacked/modified DCF77 signal.

mclienmclien 08/18/2014 at 18:580 Comments

first step was to simply connect the DCF77 receive modul to a arduino and see if I get those 0 and 1 bits received.

I used this code:

#define DCF77PIN 2 
unsigned char signal = 0; 
unsigned char buffer; 
void setup(void) { 
  Serial.begin(9600); 
  pinMode(DCF77PIN, INPUT); 
} 
void loop(void) { 
  signal = digitalRead(DCF77PIN); 
  if (buffer != signal) { 
  Serial.println(signal); 
  buffer = signal; 
} 
}

after searching a better position for the antenna (don't place it near the computer), I got the 1-0-1-0-1-0  response on the serial monitor. Fine

Discussions