controlling temperature of brewing mash tun
Porcelina
Posts: 5
Hi All,
I the past I have tried to control the temperature of a mash tun in order to control a brewing process.
At different time steps the temperature should be increased to a certain setpoint (and holded for a set time).
I was experimenting with the basic stamp 2: Basic stamp was acting as bridge (serial connection of basic stamp with computer) between program written in visual basis and LM35 temperature probe (INPUT) and relay connected to 230V heating plate (OUTPUT).
The code included a PID algoritm but I was not able to translate the calculated power output to the heating plate.
For example, the output is a value between 1 and 10 and an output value of 6 is calculated. How to make the heating process possible at power of 60% of full power?
How to control the power of a 220V heating plate by means of a relay?
Best Regards
I the past I have tried to control the temperature of a mash tun in order to control a brewing process.
At different time steps the temperature should be increased to a certain setpoint (and holded for a set time).
I was experimenting with the basic stamp 2: Basic stamp was acting as bridge (serial connection of basic stamp with computer) between program written in visual basis and LM35 temperature probe (INPUT) and relay connected to 230V heating plate (OUTPUT).
The code included a PID algoritm but I was not able to translate the calculated power output to the heating plate.
For example, the output is a value between 1 and 10 and an output value of 6 is calculated. How to make the heating process possible at power of 60% of full power?
How to control the power of a 220V heating plate by means of a relay?
Best Regards
Comments
So I have to experiment with a duty cycle method?
http://www.parallax.com/product/28176
Yes, basically. Can the heater+mash average a 1 second cycle?
Where the PWM cycle duration is 1 second, and time enters as ms from 1 to 999. It is possible to insert code to read the LM34 and to send and receive data to the PC, by slicing some time out of the pause durations.