hydrulic and pneumatic automation is very much use full in industry here one of the technique to control the solenoid valve with arduino
see the full article
http://arduino-easycontrollingtechniques.blogspot.in/p/controlling-solenoids-with-arduino.html