MSF receiver module (analogue but with data pins available)
Hi all
I've discovered an MSF clock module I have actually has a serial data output to display the full details fropm the msf signal, i.e. year, date day time etc
it's a clock module of German manufacture (http://www.u-t-s.de/radio%20controlled_1.htm)
There is no data sheet all I have is the following taken from the pdf file on the manufacturers website, I have emailed him asking for help/ info but his email doen't work!
Now I've looked up as much info as I can on the msf system, and from what i can gather its a simple data bcd/hex output? What I'd like to do is connect the output from the serial port on the clock module to a PIC chip, at the moment I have a 16F877A available but I'm open to suggestions of a more suitable chip?
I want to decode the output and display it on a 4 X 20 LCD
Getting the info to the lcd isnt a problem, I know how to do that
what I'd like help with, as in suggestions as to how to do it, is how to connect the data/clock pins from the module to the pic chip, and decode the info encoded in the data stream.
I've never done anything like this before so please be gentle in your rebuffs like read the dats sheet and the search function etc :)
Any suggestions welcome
Thanks in Advance
Code:
Taken from the PDF file the ONLY info relating to the data output pins:
Serial Output
This port can be used for connecting external units, like. digital displays.
Available information:
Actual year
Actual month
Actual day
Actual day of the week
Actual hour [12h]
Actual AM/PM
Actual minute
Actual second
The transmition always happens on the begining of every hour, at
HH:00.00,500 and takes 44 ms.
Additional transmitions will happen after „first receive“, „forced receive“ und „auto
receive“ and after any correction of the hands was necessary.
Specification Date: 09.03.2005
MSF RC_wallclockDO_Specification
2.7.1. Format of data
Nr. Describtion Format Numbers Explanation
1 daylow BCD 00 - 31 Lower byte of actual day
2 dayhigh BCD 00 - 31 High byte of actual day
3 dayofweek HEX 1 - 7 Day of the week, 1 = monday
4 month HEX 1 - 12 Actual month, 1 = January
5 yearlow HEX 00 - 63 Actual year, 14H = xx20
6 yearhigh HEX 00 - 63 Actual year, 14H = xx20
7 minutelow BCD 0 - 9 Actual minute, 0 - 9
8 minutehigh BCD 0 - 5 Actual minute, 10 -50, 0xxx = AM, 1xxx = PM
9 hour HEX 0 - 11 Actual hour
10 secondlow BCD 0 - 9 Actual second, 0 - 9
11 secondhigh BCD 0 - 5 Actual second, 10 -50
The transmition is serial, sychronized to a clock-frequency of 1 kHz. The clock frequency is
also available on the port. (see connection diagram)
Timing diagram:
clock pin … 1
data pin ... 2
First nibble Second nibble Third nibble Fourth nibble ...
daylow = 0101B =5 dayhigh = 0010H =2 dayofw. = 0011H =3 month = 1011H =11 ...
Beispiel: 25. Nov. Mittwoch
Example: Nov. 25th Wednesday