Tuesday, July 20, 2010

All night test - Complete!

I finally got the thermostat working. I added a delay to the relay loop that makes it wait ~ 3 minutes before shutting off the relay and ~ 3 minutes before turning on the relay.

This keeps the relay/freezer from thrashing (turning on and off rapidly) when the temperature is on the cusp. I ran it all night with the set temp at 50° when I got up this morning the current temp was 48° FTW!

I’m going to lengthen the delay a little bit and add 1° to the upward set temp so it stays off longer on the temperature rise and gives a bigger compressor rest zone between runs.

Pictures and source code to follow.

No comments:

Post a Comment