3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Autonomous Foosball Table

Autonomous Foosball Table
«
  • SystemOverviewColored.jpg
  • foosball%20project.jpg
  • demo_pic4.jpg
The main project goal was to complete a working prototype for an Autonomous Foosball Table (AFT), where a human player faces a robotic opponent. From the human perspective of the game, the foosball table is very similar to a regular table. The player(s) on the human side are controlled via a series of four handles that can be moved in and out and rotated to move the players linearly across the playing field and to kick the ball towards the opponent's goal. The autonomous side consists of:

> Eight servo motors used to manipulate the handles of the foosball table
> A microcontroller to activate the servo motors and communicate with the computer
> An over-head mounted webcam to track the ball and players
> A computer to process the webcam images, implement artificial intelligence, and communicate with the microcontroller

Budget constraints for the prototype slowed the project some and kept its functionality to a minimum. Proper motors to move the players at a competitive speed were found to be very expensive, so lower-end servos had to be used.

While this particular implementation was limited by cost and time, a larger gear ratio would yield a faster playing robot, although doing so would cost more than the $500 base price (price without power supply & computer).


 
Remove these adsRemove these ads by Signing Up
 

Step 1Assembling the motor control board

Assembling the motor control board
«
  • servo schematic.jpg
  • demo_pic2.jpg
  • servo pcb.jpg
  • demo_pic1.jpg
The attached images are a full circuit schematic as well as a picture of the final product for the motor control board. All of these required parts may be purchased at most major online electronics stores (including Digi-Key and Mouser. As a side note, all of the parts used here were through hole, and thus, the parts may be assembled on a protoboard/breadboard, or using the attached PCB design. A much smaller package could be created by using a number of surface mount parts.

When we implemented, the design, we split the motor controls into 2 circuits, though there is no advantage to doing so other than any particular cabling scheme used. The small blue board implements the PWM control circuitry, which is basically just a clocked PIC-12F with some specialized code.
« Previous StepDownload PDFView All StepsNext Step »
42 comments
1-40 of 42next »
Dec 21, 2011. 10:51 AMpowercow244 says:
i am awesome at foosball!
in a championship game series, I won the most matches but lost the final games, so I lost.
May 11, 2011. 7:46 AM123ralph123 says:
hello
Apr 15, 2011. 9:07 PMnuckthebuck says:
I always loved autonomous objects...especially competitive ones. some other organizations that have done autonomous objects are FIRST ROBOTICS CHAMPIONSHIPS, and DARPA. check these out and fall in love... or look at the popsci.com for amazing news about technology. i am a electrical engineer from the first robotics championships. currently a student soon will mentor other students in programming, wiring, and electronics. and I hope to join the DARPA teams someday

Dec 11, 2010. 6:12 AMjerkey says:
This is a really cool instructable. Thank you for showing people how to do something so advanced. With understanding of modern technology, anything is possible and we can begin solving the problems of the world!
Mar 4, 2008. 5:05 PMShut Up Now says:
very nice work. this is a proof of concept and someday you may be able to use a system that could beat a descent human opponent. maybe strong magnets placed in a certain order of polarity at set distances inside the poles of the foosball table could be paired with a computer controlled electromagnet in order to move the poles. ur reply to this will probabally make this idea look stupid.. oh well
Mar 4, 2008. 5:07 PMShut Up Now says:
edit: in my above post it says computer controlled magnet, by that i mean a set of magnets for each pole.
Dec 11, 2010. 6:09 AMjerkey says:
no there are only magnets with both poles, north and south. unipolar magnets have so far not been discovered.
Mar 22, 2009. 10:29 PMdnicky2288 says:
Let me be the first to say that your project is so cool! I am quite a good programmer myself, but this is kind of advanced which is very interesting to me. I have a web cam, had c++ Programming before, and have a Foosball table. I am complete! I can make my own one now! Thanks for the help. I'm sure "Eric Wilhelm" will love to hear about this. I will spread the word for you. Again this is really awesome!
Jan 25, 2009. 4:56 PMiansilv says:
Could the author elaborate on what gears / motors / other parts could be improved on if the budget fo rthe project could be exceeded? For example,w hat model of motor to use for a faster player movement, or what model of server will do the full 180 degree kick?
Jan 21, 2009. 11:39 PMander says:
My gosh, this is great—and how generous of you to go to the considerable trouble to make an Instructable so you could share it with everybody. To those of you complaining that the AI can be improved—well, build one, improve it, and post about it here! (How do you spell "collaboration"?)
Sep 9, 2008. 4:09 PMlearningmasters says:
can you make it track a person???
Aug 21, 2008. 1:45 PMultrauber says:
That's quite a mind-boggling schematic, especially since I can't even solder.
Jul 11, 2008. 7:34 PMYakAttack says:
Excellent job guys! Vision with mechanics always presents extra trouble! I worked on a similiar project myself with some classmates in college:
RoboPoolTable
Jul 4, 2008. 2:35 PMNyanman says:
nice!!! but it seems to lag a little.
Jun 4, 2008. 5:58 PMonlyonebowman says:
Great Job
May 18, 2008. 8:24 PMjtkawasaki8 says:
i give u major props for makeing that
Apr 26, 2008. 12:26 PM=SMART= says:
wow looks very complicated but it is definitely worth it coz it sooo cool!
Jan 11, 2008. 5:45 AMetarr says:
I think there's a typo on this page. You said something about thanking the other 'three' members of your team.
Apr 22, 2008. 4:59 AMpeasant54 says:
"> And of course, the other three members of my team, of which, none of this would have been possible: Michael Aeberhard, Evan Tarr, and Nardis Walker." No typo. the three members are listed clearly, I don't get what you mean. The three first thanked persons were not in the team.
Mar 18, 2008. 5:54 PMbiolethal says:
Uhh... what happened to the video? It says that the video isnt available anymore.
Mar 1, 2008. 8:31 AMaki12345 says:
can that program be used to track anything? if yes, how do I compile it, or how do I use it? I don't want the output part, just the tracking
Feb 28, 2008. 11:14 AMawsome says:
This is impressive!
Feb 28, 2008. 10:32 AMfukenfooser says:
Very nice work! Getting a robot to even hit a ball is impressive. I've seen many people that couldn't do that! But, being a Foos junkie, I'm pretty sure any players could skunk it 9-0. For a real tracking system vision wouldn't work, real shots can not be seen, you have to know where it has to go and race it or block the long leaving the short or middle wide open. But, as I said, Impressive work!
Jan 24, 2008. 1:48 AMgolfball says:
Cool stuff the amount of work you have put in to it shows
Jan 20, 2008. 10:12 AMfurcino says:
Very nice of you to release the source, I look forward to reading it. Well, I understand that it can't work too fast with a just a webcam locating the ball. Most of these use infrared.
Jan 17, 2008. 12:48 PMorangeontoast says:
what does this have to do with a laser?
Jan 11, 2008. 7:51 AMCharl says:
Well done- Look awesome, Could be a bit smother with a faster camera. :-)
Jan 10, 2008. 7:35 PMandrew101 says:
sweet
Jan 7, 2008. 3:48 PMKentsOkay says:
Awesome! Now if only I had the stuff to build it...
Jan 1, 2008. 6:29 PMDoctor What says:
Looks fun, but I don't have the money for such a project, maybe when I am slightly older, and have sustainable employment (and my parents don't make me put my money earned in the bank).
Dec 27, 2007. 6:11 PMkkinney says:
Spiff! How well does it do against a moderate carbon based player?
Dec 27, 2007. 12:58 PMjcampbell says:
So when do you build a second unit so two machines can play against each other? Sounds like a setting for some fun research...
Dec 27, 2007. 6:38 AMBor says:
Is there a way to run the software on a Mac?
Dec 26, 2007. 5:47 AMsardines454 says:
that's incredible. how long did it take you to come up with idea and make it?
Dec 25, 2007. 12:42 PMjoejoerowley says:
I heard about something like this at an MSOE camp this summer. Really Cool!
Dec 25, 2007. 7:16 AMBor says:
it's awesome!
1-40 of 42next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
3
Followers
1
Author:eski