Solenoid valve wiring question

Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum

Help Support Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

cank

Supporting Member
HBT Supporter
Joined
Nov 17, 2012
Messages
523
Reaction score
36
Location
Jonesboro
I have this 1/2" valve: http://www.ebay.com/itm/290601557472?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1423.l2649

and this float switch:
http://www.ebay.com/itm/Mini-Stainl...Ke6iYc9MJ1CnYDg2ec9Rw%3D&orig_cvip=true&rt=nc

I want the float valve to control the solenoid valve so that when the HLT fills up it turns the valve off.

I figured I could put a 12v or 24v transformer in-line with the float switch on the hot side and this would go to a 12v or 24v contactor to control the valve.

Here is a wiring diagram I drew up but need some assistance. In the future I would like to automate this with the Raspberry Pi and can't seem to figure that out so I am going the manual route. I plan to have this on a timer outlet or a remote controlled switch so as soon as I wake up I can fill my HLT.

Any help would be much appreciated.

solenoid_valve_wiring.jpg
 
That'll work.

For a 'Pi applicaton, ground one side of the float switch, connect the other side to a GPIO pin, and when you configure that IO as an input, add a pull-up. When the float switch closes, the GPIO pin will go to ground - easy enough to monitor that event. Then for the valve, a GPIO output pin to a compatible relay or SSR can do the actuation piece. Then it's just a matter of tying the two GPIO pins logically together in your code...

Cheers!
 
Back
Top