Is a solenoid piston strong enough to lock a water tubling? My question is about hardware that i'll control with my arduino... Not Arduino itself (So I don't know if I'm in the right section ... :s)

My project is to create a cocktail machine at the cheapest price.

I was wondering if this kind of solenoid piston would be strong enough to seals a plastic pipe like this one ?

My idea from now is to use only 1 water pump (as this one) and connect all the pipes from the bottles with some Y and control which one is giving the liquid by controling pistons that are going to compress the tube.

I'm open to all advices you could give me and new ideas ... I saw that there's also solenoid valves ... But I only find it in 12V ... Does it exist in 5V ?
The pump you are looking at is to powerful for you application: 350 liters/hour, or little less than 5 ltr/min. It will fill a 250 ml glass in about 3 seconds! 

The solenoid cost you $5 a piece, but you still need a valve and a way to attach solenoid, valve and tubing.

Also, your idea means liquids will get mixed inside the tubes. And nobody wants a trace of whiskey in his Vodka Screwdriver.

You must visit The Inebriator, a cocktail mixing machine. His design have one tube for every bottle pouring liquid into the glass.



As they note, they have in version 2.0


  Switching mixers from a pressurised system with valves to using pumps
  – This slows the pouring, but vastly simplifies the machine as a
  whole. We have a capacity for 16 pumps


They don't use valves, but pumps. I recomend a peristaltic pump ($7 on Aliexpress), like this:



They don't touch the fluid, easy to mount, and are a very precise delivery mechanism, like in this video https://youtu.be/GdTUIwj5ros, showing an Arduino controlling a pump to 1ml precision: