What is a “circ-11”? I searched and found nothing.
It would be helpful if you could provide a circuit diagram.
My first thought is that the back emf of the relay may be causing the processor to reboot. I also was wondering if the power rail droops when the relay is on and jumps back up when off and that is causing the temp variation. Have you measured the voltage of the supply when the realy is on and off?
fll-freak:
What is a “circ-11”? I searched and found nothing.
It would be helpful if you could provide a circuit diagram.
My first thought is that the back emf of the relay may be causing the processor to reboot. I also was wondering if the power rail droops when the relay is on and jumps back up when off and that is causing the temp variation. Have you measured the voltage of the supply when the realy is on and off?
"CIRC-11" refers to the Experimenter's Guide that comes with the Arduino. Look up [[http://ardx.org/CIRC11/](http://ardx.org/CIRC11/) to get all the juicy details on it.](http://ardx.org/CIRC11/)
you have to either increase the delay or increase the temp range. think about it. as soon as the temp gets to 24.01 degrees it turns off, when you read it again 1 second later it has dropped to 23.99 degrees so turns on and goes back to 24.01. even signal noise could cause this rather than actual temperature changes
i would recommend a 1 degree range rather than a delay change.
yo may also want to do some research on PID control