Added proportional output funtionality by turning the oven (SSR) on for a portion of the time_step determined by the pid loop output. So, if time_step = 1, and the pid loop is calling for .3 heat, the SSR will be on for .3 seconds, and off for .7 seconds. I did this by adding an additional sleep. Previously, the SSR would be on whenever pid > 0. |
||
|---|---|---|
| .. | ||
| init | ||
| max6675.py | ||
| max31855.py | ||
| max31855spi.py | ||
| oven.py | ||
| ovenWatcher.py | ||