Linux-Based Bar-Monkey
An anonymous reader writes "The Bar-Monkey is a bar built around a 486 running linux that can dispense an 8 ounce mixed drink in under 10 seconds. It uses a Matrix Orbital Serial LCD panel with a keypad built into the bar surface for user input. Three Harvey Mudd College students built the bar in their spare time last semester. The bar holds 16 ingredients with which it can currently mix 188 drinks stored in its drink database. Total project cost: $235."
Bahaha that was a great scene.
For those of you who missed the reference, it's from the highly underrated Fifth Element. This guy is pouring out his heart to a bartender, and asks if he knows what he means.
Camera angle cuts over and the bartender's a robot. It shakes it's head no and askes "You want some more?", which is funny since that's pretty much the reaction I've gotten from human bartenders the two or three times I've gone to drown serious sorrows.
Using windows would almost double their budget, so I think it's fair to say it can only be done cheaply and legally with a free OS.
The Bar Monkey
Designed and Implemented by Steven Avery, Dustin Cooper, and Brad Greer
of Harvey Mudd College
The Bar Monkey, simply put, is a vending machine that serves mixed drinks. It houses 16 reservoirs which currently contain the following ingredients:
* Vodka
* Rum
* Tequila
* Whiskey
* Gin
* Amaretto
* Triple Sec
* Kahlua (or coffee liqueur)
* Midori (or melon liqueur)
* Orange Juice
* Pineapple Juice
* Cranberry Juice
* Sour Mix
* Cola*
* Tonic*
* Grenadine*
*Ingredients currently under consideration for replacement
Using these 16 ingredients, a total of 188 different drinks can be made, with the included ability to add ounce increments of each ingredient to customize (or create) a drink. The drink database is easy to update and nearly infinitely expandable.
Customers sign up for a user account, for which they are assigned a unique, 5-digit, hexadecimal PIN. The account is debit-based, with each drink charging the customer at cost for the drink they are purchasing, automatically deducting from their account balance.
All told, the project took about 3 months and $235 to complete. It is worth mentioning, however, that the LCD (the most expensive single component) was donated (approx. value: $100+), and various other components were otherwise acquired for free. The Bar Monkey was graciously funded by West Dorm HMC, even though we were overbudget by $85. Continual maintenance and occasional improvements are still always a concern.
Some Pictures:
Beta Testing
Here's the cabinet when it was just a few shelves holding empty 2-liter bottles. One pump is hooked up to the computer for the purpose of taking time-constant data.
Soldering I
Having collected the time-constant data, Steve and Brad dutifully solder half-inch jumpers to each of the 4 leads on each of the 16 relays. Neither of us knows, to this day, why we did this outside.
Soldering II
Closeup of the meticulous but tedious jumper-soldering process.
Bartop Under Construction
The unfinished bartop, with various tools, containers, and other helpful things strewn across it in the midst of hard work.
The Monkey's Central Nervous System
The finished relay board, connected to the computer via parallel ports. The computer is running the Bar Monkey program, which displays the drink code prompt on the LCD.
LCD and Keypad Closeup
The above-mentioned drink prompt, but closer.
Behind the Scenes of the Relay Board
It looks really nice and neat on top, but the relay board was quite possibly the most difficult part of the entire project. What you see here are 16 relays, 16 diodes, 16 resistors, 16 transistors, and approximately 70 small segments of wire (not counting the 64 jumpers).
Inside the Finished Product I (shown above)
Pretty self-explanatory. The pumps and their respective reservoirs in place, the computer and relay board safely tucked on a shelf, the LCD behind a half-inch of acrylic, and all the tubes pulled through the PVC dispenser neck.
Inside the Finished Product II
Same as above, but from a different angle.
Electronics Closeup
The LCD, with extension cable to the keypad and serial cable to the computer, is at the top right. The bottom of the computer is unimpressive, though dominant in the frame, and the relay board is seen off to the side.
Outside the Finished Product
Here we see the Bar Monkey as customers see it, complete with Dustin's excellent stencil design and the nozzle, which is removable for cleaning.
The Finished Bartop
The top of the Bar Monkey, covered in rugged black plastic with a viewing window for the LCD.
Finished LCD and Keypad Closeup
It still looks pretty much the way it did when it was unfinished, only now it isn't just laying on the floor.
Drink Confirmation
The true beginning of the customer's experience with the Bar Monkey.
Technical Specs:
* Runs a program written in C by Dustin Cooper, in Linux.
* Bartop is approximately four feet above the ground.
* Holds approximately 1.75 liters of each ingredient.
* Uses 16 windshield washer pumps run by a 12V adaptor. Pumps are connected in parallel and run sequentially by the program.
* Dispenses an 8 oz. mixed drink in less than 10 seconds.
* Currently has 30 registered user accounts, with expected rapid growth as people cease being broke.
CounterCentral hit counters
Since 10:00 PM EST on Jan 7, 2003
I can almost guarantee this will be modded down for lack of recognition. How about:
Cornelius: "I feel so guilty sending her to do the dirty work. I know she was made to be strong but she's also so fragile... So human. You know what I mean?"
Bartender: [shaking head]
My
Limekiller
Harcourt Fenton Mudd, actually.
Already being done! Most of the bars at Casinos use automated bar tenders. The guy in the "monkey suite" just presses a button and out comes your drink. No chance of "over pouring" and giving out too strong a drink. Don't want too loose money by not maximising the number of drinks per liter of booze!!!
Yeah, peri pumps are great. We have hundreds of impeller pumps to recirculate ink on our presses, and the are always dying, going off balance, or developing other problems. Plus, they have to be meticulously cleaned with every ink color change. We're moving to peri pumps exclusively in the next few months...just rinse out or throw away the tube, snap in, and go.
...
Comment removed based on user account deletion
Sweet, I get to rant about two of my pasions: drink and math :)
Your math is bunk. First of all, you're assuming that pouring drinks is a binary operation where a given ingredient is either in there or not, on or off. This simply isn't true, as proportions of different ingredients is often what makes or breaks a drink. For example, of the 188 drinks BarMonkey can make, 10 of them could be just vodka and sweet vermouth in different proportions, yeilding many levels of "dryness" to martinis. Secondly, and perhaps more importantly, there's definetly some permutations that won't really work. (e.g. gin, whiskey, tequila, and tonic probably wouldn't be too great, but you never know) Therefore, the number of ingredients available to the system is only a starting point with regards to indicating how many cocktails can be mixed, not a deterministic number....
Of course, I haven't yet been able to read the article as the sight is slashdotted, but nevertheless, you get my point.
However, this would be illegal or unwise in states where the bar owner is assumed to have liability for the actions of overly inebriated persons. Half of bartending school is how to recognize and handle customers who have had too much. Sad but true, in our litigious society.
Not to mention that you're a cheap bastard for not wanting to tip :-).
That is all.
I never said what they did was not ingenious.
Strapping a rocket to your back while wearing skis might also be considered ingenious.
That does NOT mean that it is not DANGEROUS.
Using a non-food grade pump to handle things you plan on ingesting is a bad idea. When the substance you plan on moving consists of one of the world's premire polar solvent mixes, it become downright DANGEROUS.
Sorry, but I used to design industrial robotics for a living - perhaps I am just a bit harder to impress than most.
www.eFax.com are spammers
Use your computer's printer port - 8 bidirectional lines you can wiggle to make things happen.
I'd suggest using solid state relays (SSR)'s - your printer port wouldn't drive a normal relay directly, but it could drive an SSR.
Either that, or use the printer port to drive a transistor, then use the transistor to drive the coil on a standard relay.
Don't forget to add a snubber network across the relay coil - either a diode or a capacitor. Otherwise the inductive kickback from the coil when you de-energize it could fry things.
www.eFax.com are spammers
actually the solution is to use solenoid valves and CO2.
if you would simply buy a few old pepsi or coke premix containers that are stainless steel and simply use older but still purchaseable at low cost soda fountian parts you can have each of the canisters hold each ingredient in a fridge. pressurize each canister as they are supposed to be via CO2 and use stainless solenoid valves. you wont get super accurate dispensing unless you do aholding bottle... open valve 1 fill 1 ounce length of line, close valve one open valve 2 to dispense while valve 3 opens to purge the line to actually do the dispensing.
I'd just go with a simple timer and open the valve for a certian time constant.. if someone accidnetly get's a stronger drink... whooptie doo.
I discovered adding a soda bar to by basement is dirt cheap if you go for the older technology.. I purchased the premix-canisters from ebay for $5.00 each and simply use food grade tubing and CO2 is the absolute cheapest gas on the planet.
PROBLEM... Orange juice is horribly acidic and will attack anything... including stainless steel. get low acid juice or remove that ingredient from your selection.
Do not look at laser with remaining good eye.
I've always wanted to do little projects like this, where a computer controls various relays. The only thing I don't know how to do is get the computer to control them! Are there inexpensive kits that connect to, say, a serial port? I'd love it if anyone who has experience with similar things can tell me how to do this cheaply.
l /-/1878 707159/103-7968018-2248661?vi=glance
There's a book called Controlling the world through your PC, or something like that. It's old and comes with a floppy disk, but i recall it having schematics for hooking things up to the paralle port. You can wire it directly but you generally want opto-isolators so you can't fry your computer. You can also get a wide array of stuff to interface to the serial port. I like the motoralla 68hc11 microcontroller. It does cool shit (we actually used one in a previous barmonkey prototype), and the evaluation board with chip runs around $100. Try http://www.axman.com/
Also, the amazon page for the above book:
http://www.amazon.com/exec/obidos/tg/detai
The "customers who bought this also bought this" section may be helpful
Much better would be to take a look at
h tml
the coffe-howto on linux.org. Using
the simple diagram I was able to turn
off and on all the appliances in my home.
May or may not be safe if you're not an
electrician. Just go to home depot and
get a couple electrical sockets and mounts
then wire the relay(always open) to the
sockets. Not to difficult, relays are the
most expensive part, 20 a pop at radio
shack, but 3 - 10 bucks at one of those mom
and pop electrical parts resellers.
Wasn't a difficult project, but don't forget
the diode between your relay and parallel port.
It'll work without it but there's a small chance
of making your mobo become black and smelly
(parts of it anyways)
a quick google found the link...
http://www.tldp.org/HOWTO/mini/Coffee-2.
Good luck, be safe!
Ansi's and stupid tricks!
I have written several conveyor control projects with them- you can do serial port interface using a couple different PLC protocols. Unlike building your own, they come pre-wired with manly relays for both AC (for line voltage) and DC (for motors, etc) contacts and relays (input switches and output for motors, etc).
Programming isn't really hard if you have had an electric primer- you can do simple on/off or write really complicated logic using "virtual" interlocking relays, etc.
If you have the money and some time, a PLC will produce a much better project IMHO than hacking together circuit boards and optoisolators, etc.
For us carnivores, "Sucking the marrow out of life" isn't a transcendentalist philosophy but a practical instruction.