I am working on a project for school where I am making a machine to pour mixed drinks. I want to control the flow of liquids using a servo, which is connected to 9 buttons(3 different liquids with 3 different ounce amounts). Essentially, the servo will open and close a valve allowing the liquid to flow. Leaving the fluid dynamics aside of calculating how long I should have the valve open to get specific ounce amounts, what is a good place to start creating such a device? I have access a large variety of parts and tools, but don't have a lot of programming experience. I am willing to learn however. Any advice you may have will be much appreciated.