Two switches one valve

Hello!

I am trying to learn arduinos and need to know whether I can do what I want to do. I have a 12 volt pneumatic valve that I need to control with two separate switches. The #2 switch needs to be nonfunctional until after the #1 switch is activated. We need to depress the #1 switch and have the valve stay open for 2 seconds and then we need to depress the #2 switch and have the valve open again for 2 seconds. Is this something a newby can learn to do fairly quickly? I really appreciate any help.

Thanks,
Phil

Yes.

One way is to get hold of an Arduino developing kit and perform the exercises there.

Learn how to safely read the state of a button. Then learn how to manouver a relay, coil, actuator etc.

Seconds here and there are all in Your hands when You come that faar.
There is absolutely no ready code waiting on the shelf.

Always always always start with a proposed schematic, it can be changed as needed later.

Why not start by defining the problem with specifications and flow charts. What is the expected outcome. Purchase the Arduino cookbook and read it, this will give you some basics. also use the online tutorials and videos available, there are many good ones on this web site. At this point you will be able to define the problem and may have already solved it.

crazytown71:
Hello!

I am trying to learn arduinos and need to know whether I can do what I want to do. I have a 12 volt pneumatic valve that I need to control with two separate switches. The #2 switch needs to be nonfunctional until after the #1 switch is activated. We need to depress the #1 switch and have the valve stay open for 2 seconds and then we need to depress the #2 switch and have the valve open again for 2 seconds. Is this something a newby can learn to do fairly quickly? I really appreciate any help.

Thanks,
Phil

Why do you need 2 switches? One button to open the valve for 2 seconds will do just fine if you press it twice.