• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

NI ELVIS II controlled solenoid valve

Not open for further replies.


New Member

I am attempting to program a simple solenoid valve to shut off at a specific pressure using Labview and the ELVIS board. I am just struggling with how to wire my valve and power it with this breadboard. Everything I have seen to power this valve is utilizing an arduino and I am just not sure if I should use the same setup or if it should be wired differently (different components or completely different). I am pretty new to using this software and just want to make sure my connections are correct before turning the board on.

Here is the valve I currently have.

And here is a typical set up for the valve using an arduino.

Would I just need to connect my valve to my output, ground it, and then place a diode across the connection to protect my circuitry? It may be a silly question, but I just don't want to set it up incorrectly!

Any information will be helpful for me as I am just starting out!
Thanks for your time!
Last edited:


Hey Lepeck.

That solenoid will draw 320 mA at 12V. Your ELVIS board appears to have a positive variable output supply from 0-12 V available with a max current draw of 500mA. If you ran the solenoid at 11V, it would draw about 350mA.
Check out second to last page on their datasheet:

Keep in mind that you wont have much more room on your variable +12V rail. You still have 2 amps available on your +5 V rail, and 500mA on each of your -15 and +15 V rails. If you need more 12V room, you could always run a cheap regulator from 15 ->12 V and have ~ 580 mA to play with after losses (if switcher is used).
Not open for further replies.

Latest threads

EE World Online Articles