tommo_NZ
New Member
I am tying to develop "another" timer/scheduler using a DS3231 RTC and a Picaxe 20M2.
There are up to 8 outputs controlled by the timer at various adjustable times and for different periods.
(lights, sprinklers, misters, doping pumps etc..)
On and off times are at 1 minute resolution and are stored in EEPROM as 'minutes since midnight'.
This requires the RTC chip to be read frequently.
Question!, is there a theoretical maximum no of times the RTC can be read, and..
should I let the code just loop without delay reading the time, comparing it with on/off times or....
should the code pause for x seconds and then continue with loop to reduce the number of reads.
Thanks in anticipation,
Regards, Kevin Thompson
Gisborne, New Zealand.
There are up to 8 outputs controlled by the timer at various adjustable times and for different periods.
(lights, sprinklers, misters, doping pumps etc..)
On and off times are at 1 minute resolution and are stored in EEPROM as 'minutes since midnight'.
This requires the RTC chip to be read frequently.
Question!, is there a theoretical maximum no of times the RTC can be read, and..
should I let the code just loop without delay reading the time, comparing it with on/off times or....
should the code pause for x seconds and then continue with loop to reduce the number of reads.
Thanks in anticipation,
Regards, Kevin Thompson
Gisborne, New Zealand.