Hi all.
I've been working on a circuit using a Raspberry Pico to monitor room temperature and turn on/off my gas fireplace - a thermostat really. Room temperature is monitored via signals from at TMP36 and from the built-in temperature sensor on the Pico. The temperature setting can be adjusted up/down in 0.5C increments using two MOM Switches. A 1306 Oled displays current and set temperatures. And this part of the circuit all works fine, albeit still necessary to tweak when I get things working.
The problem I have is that the gas valve on the stove is turned on by 'shorting' the connection between thermopile (TPTH) and TH. Measured voltage between TPTH and TH is 0.56V. In order to create the short with my PICO circuit, I have been trying to use a MOSFET (BS170). This MOSFET has a minimum Gate voltage of 0.8V and maximum of 3.0V. I've reduced the 3.3V PICO high signal from GPIO16 to about 2.6V using a divider, in order to keep the gate voltage between min and max.
On the bench, I've been using a higher voltage 3.4V to emulate the TPTH side so that I can use an LED/resistor combination to see if/when the gate opens, which it does exactly as expected when set temperature exceeds current temperature.
When I hook it up to the fireplace, however, nothing happens. Any suggestions? Is it related to the need for a common ground? If so, how to wire that as I don't believe that TH is a ground.
Thanks for your help. I've attached a schematic thing....
Jim (in Guelph, Ontario, Canada)
I've been working on a circuit using a Raspberry Pico to monitor room temperature and turn on/off my gas fireplace - a thermostat really. Room temperature is monitored via signals from at TMP36 and from the built-in temperature sensor on the Pico. The temperature setting can be adjusted up/down in 0.5C increments using two MOM Switches. A 1306 Oled displays current and set temperatures. And this part of the circuit all works fine, albeit still necessary to tweak when I get things working.
The problem I have is that the gas valve on the stove is turned on by 'shorting' the connection between thermopile (TPTH) and TH. Measured voltage between TPTH and TH is 0.56V. In order to create the short with my PICO circuit, I have been trying to use a MOSFET (BS170). This MOSFET has a minimum Gate voltage of 0.8V and maximum of 3.0V. I've reduced the 3.3V PICO high signal from GPIO16 to about 2.6V using a divider, in order to keep the gate voltage between min and max.
On the bench, I've been using a higher voltage 3.4V to emulate the TPTH side so that I can use an LED/resistor combination to see if/when the gate opens, which it does exactly as expected when set temperature exceeds current temperature.
When I hook it up to the fireplace, however, nothing happens. Any suggestions? Is it related to the need for a common ground? If so, how to wire that as I don't believe that TH is a ground.
Thanks for your help. I've attached a schematic thing....
Jim (in Guelph, Ontario, Canada)
Attachments
-
3.9 MB Views: 22




