Keg Washer - Solenoid Valve Questions

I’m building a keg (as in beer keg) washer for my friends brewery. I have an Arduino Uno that I would like to control the keg washer. To do this I will use five solenoid water valves, two power switch tails, one momentary switch, and a buzzer.
My background is in Civil Engineering, dirt and concrete, and I have only one semester intro to e-circuits education. I have spent a few weeks reading up on the arduino and completing a few sketches. First, the switch is obviously to start and interrupt the cycle, the buzzer is to signal the end of the cycle, the power switch tails will control one pump each, and as far as the valve I have options:
The solenoid I am testing now is a latching solenoid;

As seen on Ray’s Minty Water Valve;

I have tried to recreate his controller but only to pop the AOP605 complementary MOSFETs, Surely due to my limited experience in e-circuits. The latching solenoid is energy efficient but I wonder if it would be better for me to use a standard return spring solenoid.

My question is what would be the best, i.e. most reliable and easiest to configure, solenoid valves to use. Once this is established I will need some assistance or reference to create the circuit to control it.

Please bear with me; this should be a fun project!

Matt

A latching solenoid (bi-stable) is a good thing if you run it on battery, as you don't have to power it all the time.

To switch it, get a beefy logic-level n-mosfet and a free wheeling diode. I couldn't find any valuable info about the valve you linked to as far as required voltage/current are concerned. That sucks.

Since I have no power constraints I have decided to go with a standard irrigation valve.

RJ by Lawn Genie 54048 3/4" In-Line Valve
Operating Pressure: 10–150 PSI (80 PSI max. recommended)
Flow Range: 5–25 GPM Solenoid:
24 V a.c., 60 Hz (nominal) 19 V a.c., 60 Hz (minimum)
Inrush: 0.40 amps, 9.6 VA @ 24 V a.c., 60 Hz
Holding: 0.20 amps, 4.8 VA @ 24 V a.c., 60 Hz

I will be trying the "how to drive a solenoid" scematic from the Arduino Playground. Arduino Playground - HomePage

I have one question:

If I use a 26.5 V AC 650 mA power supply can I Use a 1N4001 Diode and use a 2N2222 Transistor?

Thanks,

Matt

It's an AC valve... that changes things a bit. That would require a device that can switch AC, e.g. a TRIAC/solid state relay or a DC relay + transistor.

You can get one of this Relay for a very low cost.
http://cgi.ebay.com/One-Channel-5V-Relay-Module-Arduino-PIC-ARM-DSP-AVR-/120750492394?pt=LH_DefaultDomain_0&hash=item1c1d4a4aea
Or you can build by our own:
http://rentron.com/images/NPN-DRIVER1.GIF

mdmoore00:
Since I have no power constraints I have decided to go with a standard irrigation valve.

RJ by Lawn Genie 54048 3/4" In-Line Valve
Operating Pressure: 10–150 PSI (80 PSI max. recommended)
Flow Range: 5–25 GPM Solenoid:
24 V a.c., 60 Hz (nominal) 19 V a.c., 60 Hz (minimum)
Inrush: 0.40 amps, 9.6 VA @ 24 V a.c., 60 Hz
Holding: 0.20 amps, 4.8 VA @ 24 V a.c., 60 Hz

I will be trying the "how to drive a solenoid" scematic from the Arduino Playground. http://www.arduino.cc/playground/uploads/Learning/solenoid_driver.pdf

I have one question:

If I use a 26.5 V AC 650 mA power supply can I Use a 1N4001 Diode and use a 2N2222 Transistor?

Thanks,

Matt

Note the minimum pressure rating for that valve: "Operating Pressure: 10–150 PSI (80 PSI max. recommended)"

Some values won't work well if just gravity feed from a tank, as it takes some minimum inlet pressure along with the solenoid to open the valve.

Lefty

xanok:
You can get one of this Relay for a very low cost.
http://cgi.ebay.com/One-Channel-5V-Relay-Module-Arduino-PIC-ARM-DSP-AVR-/120750492394?pt=LH_DefaultDomain_0&hash=item1c1d4a4aea

Does that directly attach to my Arduino? Or do I attach it to my Arduino like such:

mdmoore00:
Does that directly attach to my Arduino? Or do I attach it to my Arduino like such:
Arduino Playground - HomePage

You can connect directly on Arduino outputs in the inputs of these relay boards.
They already have the transistors, resistors and diodes.
That's why I liked these boards.

Note the minimum pressure rating for that valve: "Operating Pressure: 10–150 PSI (80 PSI max. recommended)"

Some values won't work well if just gravity feed from a tank, as it takes some minimum inlet pressure along with the solenoid to open the valve.

Lefty

[/quote]

h=P/?g =10psi(144)/ (64.2*32.2)= .717'

Less than a foot head gets me 10psi.

Thanks for the reminder.

xanok:

mdmoore00:
Does that directly attach to my Arduino? Or do I attach it to my Arduino like such:
Arduino Playground - HomePage

You can connect directly on Arduino outputs in the inputs of these relay boards.
They already have the transistors, resistors and diodes.
That's why I liked these boards.

Now you are making this much to easy. Thanks, I'll be ordering one shortly!

h=P/?g =10psi(144)/ (64.2*32.2)= .717'

Less than a foot head gets me 10psi.

Thanks for the reminder.

12" of water head pressure is equal to only .433 PSI

Lefty

mdmoore00:
Now you are making this much to easy. Thanks, I'll be ordering one shortly!

forgot to mention, this relay board that showed before even comes with an opto-insulator, which completely isolates the signals from the microcontroller from the power of the relay (which can easily damage the microcontroller).

retrolefty:

h=P/ρg =10psi(144)/ (64.2*32.2)= .717'

Less than a foot head gets me 10psi.

Thanks for the reminder.

12" of water head pressure is equal to only .433 PSI

Pressure Units Converter

Lefty

You are correct, and I feel like a boob.
h=P/ρg =10psi(144)/ (64.2*32.2)= .717' too much gravity here.... removing 32.2 we get 22.43 feet of head needed!
Regardless I will have a pump on the lines with valves and one valve with municipal water.

Thanks!

Did this project ever work?

I''ve a keg cleaner project on my desk now and would be glad to trade notes...

Same. Please let me know how this went either of you!