Introduction: Serv O'Beer With IPhone for the Perfect Pour

Picture of Serv O'Beer With IPhone for the Perfect Pour
With New Years fast approaching, I wanted to make a project that allows for the perfect pour and take out all of that physical work. Using Construx as the mechanical platform, a servo driving the action, and ioBridge controlling the system, I was able to achieve the perfect pour controlled with the turning of my iPhone (using the accelerometer feedback).

Step 1: Construct Contrux Platform

Picture of Construct Contrux Platform

Using Construx, create a platform that will hold the weight of a bottle of beer (soda works, but does not have the same aftereffect).

Step 2: Enclose Servo

Picture of Enclose Servo

Enclose servo to keep the servo from turning as it torques the beer holder.

Step 3: Perform "Dry" Run

Picture of Perform "Dry" Run

While near the kitchen sink perform a "dry" run with water (no beer was harmed during the testing) and find the pivot points.

Step 4: Connect and Calibrate Servos

Picture of Connect and Calibrate Servos

Connect the servo to the ioBridge servo module. Calibrate using the module page to find the positions of the servo for the start of the pour and the end of the pour. You will have to readjust positions when the full weight of the bottle and beer are in the housing. Careful not to push the servo past its limits.

Step 5: Setup HTML and JavaScript

Picture of Setup HTML and JavaScript

On an empty HTML file, copy the servo widgets into the file. Add the orientation code from ioBridge's iTurn library to allow the iPhone to cause the widgets to execute depending on the orientation of the iPhone. I trigger the widget at 15 degrees off vertical to start the servo pouring. I finish the pour at -90 degrees. If I turn the phone in the opposite direction the Serv O'Beer resets its position.

Step 6: Perform Calibration of Servo Positions and Speed

Picture of Perform Calibration of Servo Positions and Speed

Under the full weight of a bottle of "water" (no beer wasting is my credo) recalibrate the positions and servo speed. Go ahead and do a test pour. I had some towels handy, because the first run threw water all over the desk.

Step 7: Pour Beer (It's Go Time)

Picture of Pour Beer (It's Go Time)
It's time for the perfect pour. Load up a new bottle of beer (or another tasty beverage of your choosing). Make sure to enjoy the perfect pour with Serv O'Beer after turning your iPhone.


tjfagan (author)2010-02-04

Great Project!

I have a few questions. I would like to control a robot with an IPhone. I know very little about robots or iphone apps. Is this possible using the IO bridge, and if so can you shead some light onto how I can achieve this?

Thanks in advance,


PyroManiac96 (author)2009-04-14

Lol i saw this in my popular science magazine, gotta make one of these :P

dknutson (author)2009-03-15

Great! I saw your story in PopSci, and had to see this. Im going to try this with my iPod touch 2G..

t0mbutler (author)2009-01-11

good stuff, you should build a stand to angle the empty glass, that way you wont have a glass of foam but a real beer instead

polymythic (author)t0mbutler2009-01-19

A great suggestion, and again the "perfect pour" it is not. A bit tongue-in-cheek there. Once my other servos get freed up from other projects, I just may have to implement that scheme and virtually pour you a cold one.

eranox (author)2009-01-19

Irrelevant to the project, but thank you for drinking real beer. Anyway, this is awesome. I'm sure Steve Jobs and Tim Wozniak are in a basement in an undisclosed location weeping softly. If I ever perfect my Lego Mindstorms get-me-a-beer-o-tron 6000, we're going to have to compare notes.

polymythic (author)eranox2009-01-19

I think you'll be able to do a great job with Legos. I saw another post with a very smooth pouring rig. I have also done some more tinkering to get mine improved a bit. Perhaps you can up the ante with a 40 oz. pouring machine? Yes, we'll have to pour a little out too. Good luck!

mytearsrblood (author)2009-01-08

pour***lol misspelled XD

mytearsrblood (author)2009-01-08

i tried to teach my dog to poor my beer! it didn't work at all.... lol

AnarchistAsian (author)2009-01-03

Hey, what's with the target in the backround?

Another Construx project I am working on at the moment. Just trying to make good use of a giant bin I had as a kid!

ha ha, ok i see...

SWANKIM (author)2009-01-04

I'd say that this is a very very creative project that i cant wait to try..Do u have any expertise in robotics coz i am quite fascinated by Physics but at the moment lack some expertise in several fields..

polymythic (author)SWANKIM2009-01-05

I took a robotics course in college, but playing with Construx as a kid was the real classroom. With mechanical, like anything else, just guess and test. Had to with the weight of the bottle as well.

polymythic (author)2009-01-05

Yeah, I have a couple arduinos (which are cool if you don't have one you should check 'em out) and an IO Bridge. Lots of cool stuff you can do. Good luck and I'll look forward to your posts.

omnibot (author)2009-01-03

*lol* Has anyone ever told you you have way to much free time?

guitarman63mm (author)2009-01-03

Quite a bit of head on that! I would definitely find a way to tilt the glass, maybe make the mechanism closer to minimize the amount of air introduced?

whatsisface (author)2009-01-02

Cool stuff! Looks a little foamy though, maybe tilt the glass?

bumpus (author)whatsisface2009-01-02

Its got more head than a prostitute.

AnarchistAsian (author)bumpus2009-01-03


whatsisface (author)bumpus2009-01-02

Oh dear.

That was excellent

firefletcher (author)2009-01-03

great! but maybe you could make it more sensitive so that it will give you less of a head. the accelorometers in the iphone are very sensitive so that is not a problem it is just the servo has to work quite hard. keep trying thought i bet you can crack it !

thecapacity (author)2009-01-02

I agree with whatsisface, and it seems like two servos could be fairly easily coordinated to do a "tipping pour". I'd also imagine that the volume could be due to the IPA. They're usually strong boddied and generally served warm (they survived the boat ride to India after all). Maybe with a different beer or a little tuning on the mechanics and you wouldn't even have to worry about it!

bumpus (author)2009-01-02

I saw this on Hack-a-day! :D

About This Instructable




Bio: By sharing ideas there can be a crossroads of polymaths and myths. The origins of facts (found through science) meeting the origins of our beliefs ... More »
More by polymythic:Haptic Feedback device for the Visually Impaired [Project HALO]Motion Feedback MP3 PlayerServ O'Beer with iPhone for the Perfect Pour
Add instructable to: