I'm trying to develop a "Dawn Simulator " clock using an MSF receiver for the clock with an OLED 20 by 4 display and PWM of a halogen bulb simulating dawn at the set time.
I have succeeded in getting the time using this module http://universal-solder.com/product/60khz-wwvb-atomic-radio-clock-receiver-replaces-c-max-cmmr-6p-60/ and Hippy's software, post 36 here http://www.picaxeforum.co.uk/showthread.php?11334-Decoding-UK-s-NPL-MSF-Time-Signal/page4
For that to work, it needs a Picaxe constantly monitoring the clock data. But the overall system needs to be able to adjust the alarm time; I think 3 push button inputs will serve here.
Then we also need a PWM output to slowly adjust the bulb brightness.
I tried to use 4 bit driving of the OLED (AXE134) but it seems that isn't possible with the West European Table 2 font - which I'm using to help draw big numbers (2 and a half lines high).
I have concluded that I must use at least one other Picaxe in addition to the 18M2 with the display. But how best to read the MSF time while keeping the display up-to-date, being available for alarm time adjustment and driving the PWM output? Will I be able to do all that with just one other Picaxe? How best to manage the different inputs? What's the best way to interface between Picaxes? Or can anyone suggest how I could fit all these functions into the 18M2 of the OLED?
I expect there's more than one answer; I'm most interested in the simplest!
Derek
I have succeeded in getting the time using this module http://universal-solder.com/product/60khz-wwvb-atomic-radio-clock-receiver-replaces-c-max-cmmr-6p-60/ and Hippy's software, post 36 here http://www.picaxeforum.co.uk/showthread.php?11334-Decoding-UK-s-NPL-MSF-Time-Signal/page4
For that to work, it needs a Picaxe constantly monitoring the clock data. But the overall system needs to be able to adjust the alarm time; I think 3 push button inputs will serve here.
Then we also need a PWM output to slowly adjust the bulb brightness.
I tried to use 4 bit driving of the OLED (AXE134) but it seems that isn't possible with the West European Table 2 font - which I'm using to help draw big numbers (2 and a half lines high).
I have concluded that I must use at least one other Picaxe in addition to the 18M2 with the display. But how best to read the MSF time while keeping the display up-to-date, being available for alarm time adjustment and driving the PWM output? Will I be able to do all that with just one other Picaxe? How best to manage the different inputs? What's the best way to interface between Picaxes? Or can anyone suggest how I could fit all these functions into the 18M2 of the OLED?
I expect there's more than one answer; I'm most interested in the simplest!
Derek