Hi All,
I need a little help here and from the posts I've read, there's a lot of brain power on this site. It's been 20 years since I messed with circuits, and I must have forgotten something important.
I'm building a controller for the heater for a hot tub, and it worked great on the bench using a gallon bucket and an old heating element for a coffee cup. When I put it in the tub, it will work fine for a while, but then it sticks in the "on" position.
What's changed from the bench to the tub is that the test run used a single 9V relay to switch the cup heater on and off and there are two relays (one for each leg of the 240V).
When the heater wouldn't shut off, I pulled the LM339 out of it's socket, and the heater was still on. That put the problem in the transistor or the relay. When I grounded the drain, the relays shut off. My first thought was that the relay has inductance and maybe when it's field collapsed, the transistor picked up some charge and continued to conduct, hence the 2200Ω R4 dropping resistor. No luck on that idea.
Next thought was that the electrons might rather return to the transistor instead of fighting 2200Ω to the positive bus, so I put a 1N4004 diode to stop that. Still no luck.
I'm missing something simple here. This can't be that hard. Any help would be greatly appreciated.
I need a little help here and from the posts I've read, there's a lot of brain power on this site. It's been 20 years since I messed with circuits, and I must have forgotten something important.
I'm building a controller for the heater for a hot tub, and it worked great on the bench using a gallon bucket and an old heating element for a coffee cup. When I put it in the tub, it will work fine for a while, but then it sticks in the "on" position.
What's changed from the bench to the tub is that the test run used a single 9V relay to switch the cup heater on and off and there are two relays (one for each leg of the 240V).
When the heater wouldn't shut off, I pulled the LM339 out of it's socket, and the heater was still on. That put the problem in the transistor or the relay. When I grounded the drain, the relays shut off. My first thought was that the relay has inductance and maybe when it's field collapsed, the transistor picked up some charge and continued to conduct, hence the 2200Ω R4 dropping resistor. No luck on that idea.
Next thought was that the electrons might rather return to the transistor instead of fighting 2200Ω to the positive bus, so I put a 1N4004 diode to stop that. Still no luck.
I'm missing something simple here. This can't be that hard. Any help would be greatly appreciated.
Attachments
-
10.1 KB Views: 50