This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Thermostat script
#2
For several temperature sensors you can calculate the average and use it as a source temperature for PID regulator.
PID example: https://openrb.com/example-pid-thermostat-with-lm2/
It requires minor modifications to work with 1 bit output instead of 1 byte: https://forum.logicmachine.net/showthread.php?tid=386
To prevent overheating you can make a separate script that activates PID "manual" object and turns off the valve if the temperature raises above a certain level. The temperature limit depends on many factors like the sensor placement and flooring material.
Reply


Messages In This Thread
Thermostat script - by almoisey - 13.01.2023, 08:57
RE: Thermostat script - by admin - 19.01.2023, 11:36

Forum Jump: