-
Initial mess-around code
01/12/2015 at 22:13 • 0 commentsI've written some initial code for the temperature control portion of the Thermostat, just because I haven't tinkered much with analog temperature sensors before. You can take a peek at https://github.com/jayo89/ATTINY85-Wifi-Temperature-Sensor
The code currently checks whether the ambient temperature is within pre-programmed threshold and tolerance levels, and toggles one of two pins (to later be used as "heat" and "cool" triggers when used as a thermostat replacement) on or off accordingly.
The next step is to write a few methods to facilitate external communication with the chip (reading present values, getting/setting threshold levels, etc), and integrating the wi-fi module to relay these details to/from a remote terminal.
Not a massive leap I know, but free time is at a premium, and any progress is progress.