Hi, I am building a machine to make my life easier, not really much of a coder, Arduino or circuit guy so I am really struggling with this.
Can anyone help me with the circuit and code for controlling two solenoid valves and a motorized ball valve to my Arduino and it's motor shield?
I would like to have the following happen:
Have the water solenoid valve turn on
Have the water solenoid valve turn off.
Have the pneumatic solenoid valve open to extending the arm at the same time as
Have the electric ball valve open.
have the electric ball valve close after 4 seconds
Have the pneumatic solenoid turn back "off" retracting the arm.
Repeat 1-6 with the press of a button.
2,3 and 4 can happen at the same time.
5 and 6 can also happen at the same time.
I believe my motor shield can only control two motors - not sure about solenoids, but since some steps can be done simultaneously, perhaps there is a way?
If not, what do I need to control all three of these items?
Voltage, Current types of valves, same for motorized valve.
They're all 12v solenoids and motors.
How often does this action happen?
The button to initiate the sequence will probably be pressed 400 times within an hour at most.
What are you trying to accomplish?
I am trying to build this machine: https://www.youtube.com/watch?v=o6QmMHo_HWc -- this is where the pneumatic cylinder/pneumatic solenoid is used.
But it will also have a water volumetric water dispenser; the solenoid valve will fill a vessel, and the motorized ball valve will empty that vessel. I choose the motorized & solenoid because of their working PSI; the solenoid will work fine for the water source but not the drain, as it only works effectively if the difference is above 3 PSI.
I know this thread has been dormant for awhile, but for new viewers, you need to consider the time it takes to actuate the ball valve if you are operating it 400 times per hour and it is open for 4 seconds. This equates to 9 seconds per cycle. The solenoid valves won't have any issue, but the ball valve might. 9 second per cycle, minus 4 seconds of open, leaves 2.5 seconds for the open and 2.5 seconds for the close with no safety factor. Ensure your ball valve can meet this. This electric ball valve example takes 16 seconds to open/close. I'm sure there's quicker ones, but keep it in mind.