QUESTION: operational lifetime circuit/system

Status
Not open for further replies.

Thanks Brevor, I think I will also follow the same solution because it seems most cost effective solution probably with a coil meter as dr pepper's suggestion. One question, does your system write the data to eeprom after each completed hour or does it make a calculation between the switch on and off time and write the final value at the end?
 
My system counts minutes, it uses 2 bytes of RAM to make a 16 bit down counter. It is preloaded to 30,000 Dec. (30,000 minutes = 500 hours) Each minute the motor is running it decrements the counter, when it reaches zero it turns on the led. It only saves the state of the counters to EEPROM if there is a power failure. One input of the PIC is used to detect power loss.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…