Page 1 of 1

Back-up Heater

Posted: Sat Nov 05, 2011 3:37 pm
by jsclownfish
So I've written my first code (trying not to strain myself patting my own back). It seems to work well, except one thing. I have two heaters on the sytem in case one fails. I set them up to go on at two different temps in case the first failed or it got really cold. Probelm is it only works once in awhile, mostly both heaters are on before the temp drops to the lower point. It is a pretty basic pde started from RAGen with the latest Dev libraries. The only 'extra' is the buzzer set to go off it the temp gets too high (thanks Roberto for the help on that one).

Is there a problem in the code or logic? Thanks.
RA_110411_1908_Current.pde
(2.25 KiB) Downloaded 425 times

Re: Back-up Heater

Posted: Sat Nov 05, 2011 5:11 pm
by rimai
What is the temperature you want to keep your tank at?

Re: Back-up Heater

Posted: Sat Nov 05, 2011 8:07 pm
by jsclownfish
I usually have to keep it warm in at about 79F due to the heat from the MH lamps. I plan to add a chiller at some point later to bring the temperature down.

-Jon

Re: Back-up Heater

Posted: Sat Nov 05, 2011 8:33 pm
by rimai
Try changing this:

Code: Select all

    ReefAngel.StandardHeater(Port1,788,792);
    ReefAngel.StandardHeater(Port2,770,792);
To this:

Code: Select all

    ReefAngel.StandardHeater(Port1,788,792);
    ReefAngel.StandardHeater(Port2,770,788);