Thoughts on reprogramming exhaust fans
Posted: Tue Oct 16, 2012 7:41 pm
So I currently have this code to turn on and off my exhaust fans in my canopy:
// Turn on Port 3 when the temp of T2 gets above 80.0 degrees
if ( ReefAngel.Params.Temp[T2_PROBE] >= 800 ) ReefAngel.Relay.On(Port3);
// Turn off Port 3 when the temp of T2 gets below 80.0 degrees
if ( ReefAngel.Params.Temp[T2_PROBE] < 800 ) ReefAngel.Relay.Off(Port3);
The issue is, once the temperature gets to around 80.0 degrees, it starts bouncing between 79.9 and 80.0, which causes my fans to flicker on and off for a couple minutes until the temperature stabilizes below 80.0. My fans aren't plugged into port 5 or 6 with the extra dampening, so I can't imagine this is healthy for the controller.
Any thoughts or ideas on how to reprogram this so the fluctuation doesn't happen?
// Turn on Port 3 when the temp of T2 gets above 80.0 degrees
if ( ReefAngel.Params.Temp[T2_PROBE] >= 800 ) ReefAngel.Relay.On(Port3);
// Turn off Port 3 when the temp of T2 gets below 80.0 degrees
if ( ReefAngel.Params.Temp[T2_PROBE] < 800 ) ReefAngel.Relay.Off(Port3);
The issue is, once the temperature gets to around 80.0 degrees, it starts bouncing between 79.9 and 80.0, which causes my fans to flicker on and off for a couple minutes until the temperature stabilizes below 80.0. My fans aren't plugged into port 5 or 6 with the extra dampening, so I can't imagine this is healthy for the controller.
Any thoughts or ideas on how to reprogram this so the fluctuation doesn't happen?