Page 1 of 1

scaling temperature to PWM

Posted: Sunday 05 April 2020 13:19
by Remicade
Hi,
First of all a short introduction of my idea.
I am building a smoker for food.
What I use is a wooden cabinet with two trays.
At the bottom I have an electric heater.
This heater has a thermostat but i will not use it.
For now I have the Virtual Smart Thermostat running.
This is switching the heater with a contactor.
The temperature is measured with an ESPEASY running ESP8266 with an add on, the MAX6675 board with a thermocouple Type K.

May it be possible to build a script that is doing the temperature control by calculating PWM constantly within Domoticz?
something like : What is the difference in temperature between setpoint and measured value?
Adjust the PWM signal and send it to the ESP.

May be this is to be changed within the Smart Virtual Thermostat script? (So not only on or of, but duty cycle as an output?)

Pleas give your opinion.....Is this thougt to much for a smoker or is it a usefull way of controlling temperature, speed, etc?

Thanks for all the comments,
Cheers Paul