Check out this tutorial from shazbert.com and learn how to build your own drink mixer powered by a raspberry pi!
So, have you ever been to a party with a terrible bartender? No bartender? Who wants to pour their own drink like a peasant? BarBot can and will change all that! BarBot is a simple, effective way to entertain and intoxicate your guests. Four liquids can be installed and mixed for creative compositions. I designed BarBot so party guests can simply walk up, place their cup on the platform and select a drink from the simple interface (accessible from a smart phone or tablet). A fun loading screen lets you know that your drink is being compiled! The menu then comes back for another selection to be made. Drink up!
How it works:
The Raspberry Pi is listening on 2 ports; apache2 webserver on 80 and Golang on 8080. The menu page is loaded onto your tablet or smart phone. Once a button is selected from the web interface, the options are hidden so multiple selections cannot be made. Then an AJAX request to the BarBot program is made. BarBot receives the request, and then compiles the selected drink by triggering the relays to corresponding pumps, (A pump normally pours at the rate of 1ml per second). After the drink is poured, the BarBot program responds to the AJAX request by loading the page. The menu buttons then return.
Featured Adafruit Products!
Peristaltic Liquid Pump with Silicone Tubing – Move fluid safely from here to there with this very nice little pump. Unlike most liquid pumps, this is a peristaltic type – the pump squishes the silicone tubing that contains the liquid instead of impelling it directly. The upshot? The pump never touches the fluid which makes this an excellent choice for any food/drink/sterile based pumping such as for making drink-bots or gardening robots!
The pump is basically a geared down DC motor, so it has a lot of torque. Inside the pump is a ‘clover’ pattern of rollers. As the motor turns, the clover presses on the tube to press the fluid though. The pump does not need to be primed and in fact can self-prime itself with water a half meter with ease. You can PWM the motor to speed up or slow down the flow rate and if you connect the motor the other way it will move fluid the other direction. Works great with either a power transistor (basic on/off) or a motor driver chip such as the L293D.(read more)