mrburnette
Senior Member
While messing around in the 18M2 serial driver code for the OLED AXE133Y display, it seemed that with all that blank program space, that I really should do something to up the consumption ratio! I was thinking about Adrian Hudson's OLED brightness question at the time so I had "clock" on my mind.
I started my prototyping on an 08M2 connected to the AXE133Y and will port the code over to the 18M2 when my new display arrives tomorrow. In the mean time, I started a short blog detailing the working prototype code here: http://www.picaxeforum.co.uk/entry.php?38-IR-time-set-OLED-digital-clock-w-08M2-and-old-wall-clock-quartz-module
As digital clocks are often tackled by beginners, I thought I would try and document the process in enough detail that someone could follow the logic and reproduce the results. As I often do, I will probably post the completed project in my Instructables corner.
As I am pre-port of the 08M2 code to the 18M2 code, I thought it might be nice to ask forum members what they would like to have (want) in a dedicated OLED clock. Then, experienced forum members can suggest an approach to satisfy the need. If you already know how to implement a feature, simply post that feature with the code snippet. Keep things simple... the idea is to have a final project that a novice can replicate.
Some ideas for evolution:
(1) I already have the 08M2 code for a digital thermometer along with the EEPROM table values for using a 10K resistor/10K thermistor as the active temperature sensor: http://www.instructables.com/id/PICAXE-Pitcher-Perfect-Thermometer/ The entire 1st line of the OLED display is "free" for use...
(2) Alarm
(3) Improvements on the GetIR to eliminate repeat digits without using a delay
(4) A solution for the OLED brightness issue surfaced by Adrian
(5) Alternate 1-second sources to drive the PICAXE PINC.3
(6).... your ideas and code snippets and alternative (read this: more efficient) replacement code for my current skeleton code. To those who take offense with the "goto" statement, please note the RevEd AXE133Y official post. If you want to rewrite it with DO/LOOP, go for it... I'll try your implementation
Thanks for your ideas. Let's build something fun and useful and reasonably simple.
-Ray
I started my prototyping on an 08M2 connected to the AXE133Y and will port the code over to the 18M2 when my new display arrives tomorrow. In the mean time, I started a short blog detailing the working prototype code here: http://www.picaxeforum.co.uk/entry.php?38-IR-time-set-OLED-digital-clock-w-08M2-and-old-wall-clock-quartz-module
As digital clocks are often tackled by beginners, I thought I would try and document the process in enough detail that someone could follow the logic and reproduce the results. As I often do, I will probably post the completed project in my Instructables corner.
As I am pre-port of the 08M2 code to the 18M2 code, I thought it might be nice to ask forum members what they would like to have (want) in a dedicated OLED clock. Then, experienced forum members can suggest an approach to satisfy the need. If you already know how to implement a feature, simply post that feature with the code snippet. Keep things simple... the idea is to have a final project that a novice can replicate.
Some ideas for evolution:
(1) I already have the 08M2 code for a digital thermometer along with the EEPROM table values for using a 10K resistor/10K thermistor as the active temperature sensor: http://www.instructables.com/id/PICAXE-Pitcher-Perfect-Thermometer/ The entire 1st line of the OLED display is "free" for use...
(2) Alarm
(3) Improvements on the GetIR to eliminate repeat digits without using a delay
(4) A solution for the OLED brightness issue surfaced by Adrian
(5) Alternate 1-second sources to drive the PICAXE PINC.3
a. 50/60Hz sources (electrically isolated)
b. National timebases such as WWBV / MSF / etc.
b. National timebases such as WWBV / MSF / etc.
(6).... your ideas and code snippets and alternative (read this: more efficient) replacement code for my current skeleton code. To those who take offense with the "goto" statement, please note the RevEd AXE133Y official post. If you want to rewrite it with DO/LOOP, go for it... I'll try your implementation
Thanks for your ideas. Let's build something fun and useful and reasonably simple.
-Ray