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.

Ardu-pong! the Arduino based pong console

Ardu-pong! the Arduino based pong console
A while back the instructables robot made a post on Facebook about some guys who played pong on an Arduino (http://wayneandlayne.com/projects/video-game-shield/games/#pong)
but after looking around, i saw that everyone who did this was only worried about making it work. and often resulted as a very hard to use system with only potentiometers to use as controllers. so in my attempt at this, i decided that it needs to be much more polished if it is ever to be something of use. so heres how i did it:

UPDATE! ive managed to shink it down into an entire atari themed mint tin! check it out here 

 
Remove these adsRemove these ads by Signing Up
 

Step 1Get the stuff.

so to do this, we are going to need a couple of things.
first off, we obviously need an Arduino, we are also going to need an atari joystick, a rs232 socket, a rca jack,  1Kohm resistor and a 330 ohm resistor, a switch for power, and something to cram all the guts into , i decided to use a busted digital tv receiver as my enclosure  
« Previous StepDownload PDFView All StepsNext Step »
81 comments
1-40 of 81next »
Mar 20, 2012. 1:09 PMTheRealDutchOwner says:
You could use a Commodore 64 controller if you don't have an Atari one but you do have a C64 one. A Sega MegaDrive/Genesis controller MIGHT work, but that would need to be a official SEGA one, and even then i'm not sure.
Feb 25, 2012. 1:54 PMThe nerdling says:
is there anyway of making it single player?
Nov 23, 2011. 7:01 PMhightekrednek2396 says:
I cant get my arduino to output a tv signal ive tried every sketch i could find tried diferant version of the library and every tv in my house but i dont get any signal i was close one it showed text then went white diamond to black then repeats so i almost had it just it was off
Feb 1, 2011. 4:07 PMcomputergeek321 says:
can you use a sega genies controller and a serial cable
Jun 13, 2011. 9:19 PMmusick_08 says:
yes, you can use a sega master system controller too
Apr 24, 2011. 7:16 AMXDule 97 says:
I have a question. Does the controller output a analog or digital signal. If it outputs a analog why put it on pin6 and pin7 for an input. If it is a digital then its ok. And one more thing, will this damage the arduino. Please answer this, i really want to build this. Thanks for the instructable its awesome. :)
Jun 13, 2011. 9:17 PMmusick_08 says:
the atari controller doesnt output a signal. it's basically just 6 momentary switches. No ics or anything of that sorts.
Apr 24, 2011. 12:18 PMNicky_G says:
Hey, I was able to get my arduino to display imagines on my tv, but I'am unable to get the pong code compiled I get this error:

sketch_apr24b.cpp: In function 'void drawGameScreen()':
sketch_apr24b:100: error: 'class TVout' has no member named 'vert_res'
sketch_apr24b:101: error: 'class TVout' has no member named 'horz_res'
sketch_apr24b:107: error: 'class TVout' has no member named 'vert_res'
sketch_apr24b:114: error: 'class TVout' has no member named 'horz_res'
sketch_apr24b:115: error: 'class TVout' has no member named 'horz_res'
sketch_apr24b:118: error: 'class TVout' has no member named 'vert_res'
sketch_apr24b:119: error: 'class TVout' has no member named 'horz_res'
sketch_apr24b:119: error: 'class TVout' has no member named 'horz_res'
sketch_apr24b.cpp: In function 'void drawMenu()':
sketch_apr24b:145: error: '_8X8' was not declared in this scope
sketch_apr24b:146: error: 'class TVout' has no member named 'print_str'
sketch_apr24b:148: error: '_5X7' was not declared in this scope
sketch_apr24b:149: error: 'class TVout' has no member named 'print_str'
sketch_apr24b:150: error: 'class TVout' has no member named 'print_str'
sketch_apr24b:151: error: 'class TVout' has no member named 'print_str'
sketch_apr24b:152: error: 'class TVout' has no member named 'print_str'
sketch_apr24b:157: error: 'class TVout' has no member named 'horz_res'
sketch_apr24b:158: error: 'class TVout' has no member named 'vert_res'
sketch_apr24b.cpp: In function 'void setup()':
sketch_apr24b:186: error: 'class TVout' has no member named 'start_render'
sketch_apr24b:188: error: 'class TVout' has no member named 'horz_res'
sketch_apr24b:189: error: 'class TVout' has no member named 'vert_res'
sketch_apr24b.cpp: In function 'void loop()':
sketch_apr24b:203: error: 'class TVout' has no member named 'vert_res'
sketch_apr24b:208: error: 'class TVout' has no member named 'horz_res'
sketch_apr24b:220: error: 'class TVout' has no member named 'horz_res'
sketch_apr24b:230: error: '_8X8' was not declared in this scope
sketch_apr24b:231: error: 'class TVout' has no member named 'print_str'
sketch_apr24b:232: error: 'class TVout' has no member named 'print_str'
sketch_apr24b:237: error: '_5X7' was not declared in this scope

Any help would be appreciated, Thank you for sharing this with everyone!
Apr 24, 2011. 7:39 PMfar.peter says:
I had that same error, this game requires a version of TVOut before beta 1, i copied my arduino ide folder to another location and put the older library in it, so i can choose witch one to use
Apr 27, 2011. 8:46 AMNicky_G says:
Thanks I got it to work! Now I'm going to try to modify the new code for the Wayne and Layne Pong for the Atari controller.
Apr 27, 2011. 6:31 PMfar.peter says:
I tried using the Atari paddles, but they never worked for me, mabey i didnt have the right pin-outs.
Mar 16, 2011. 3:40 PMduboisvb says:
Kyle,
I have just published an Instructable of my version of the Ardu Pong. Thanks. I hope I gave you the proper credit.
Jan 20, 2011. 4:21 PMmatt_and_nick says:
is arduino a game system? i have heard about a lot of hacks using it, and was very confused.
Dec 3, 2010. 10:02 AMTerivia says:
Is there a way to set it up for two player?
Nov 22, 2010. 7:15 AMduboisvb says:
Hello,
I am hoping you can help me. I have put this project together but I can not get it to work properly. I am new to Arduino and electronics in general but io am learning. It loads the screen but the joystick does not respond. Nor does thje button. I have tried a different Arduino but with no success. I bet it is something simple and I hope the pictures show what i have done wrong.

Thanks for any help
Nov 22, 2010. 12:59 PMduboisvb says:
Thanks for the help. I do have the paddles and will try them. I copied and pasted the code from your link and it will not verify. I wonder if it is all there as I do not see a loop function and it fails in the draw net function which seems very differenty than yours. But again I am new to this
Nov 23, 2010. 12:36 PMduboisvb says:
Thanks for your help. I am actually relieved to find that there was something amiss. Maybe I am starting to understand this a bit. :) Thanks again.
Nov 7, 2010. 9:33 PMlloydrmc says:
I do like your project. I'm glad you found paddles. Now, I presume you can make a two player game? Paddles were cool - you could put english on the ball by moving the paddle across the ball as you contacted it.
Nov 20, 2010. 9:34 PMlloydrmc says:
Klone is right. Have you played ping pong? You can make the ball curve quite a bit by flipping the paddle in a certain way as the ball contacts it.
Nov 20, 2010. 9:04 PMKlone38 says:
The term "to put english" just means to put some angle or spin on the ball if you hit it right with the paddles. which means that if you move the paddle sharply at the time the ball hits the paddle you can make the ball have some spin or fly away in a less obvious angle.
Nov 20, 2010. 9:36 PMlloydrmc says:
I'm from Maryland, and live in Colorado, and we use the King's English here. And the term "english" is both.
Nov 6, 2010. 2:22 PMoctopuscabbage says:
Is this the programming in c? Would you be interested in a community program to make an option for other types of pong?
Nov 7, 2010. 4:19 PMoctopuscabbage says:
Oh i was just asking for general c, I only know a small bit of c++ (Im a python guy) And we could make a special instructables edition
Nov 7, 2010. 8:09 PMoctopuscabbage says:
What do you mean?
Nov 8, 2010. 1:59 PMoctopuscabbage says:
Oh i was thinking arduino like this project is lol
We could also do it for pc for people who do not have an arduino like me :(
1-40 of 81next »

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!
54
Followers
11
Author:kyle brinkerhoff(mormon.org)
hi i enjoy making ludicrisly over the top and complex devices.... only thing that helps with the ADD..... Being an ameture engineer, I refuse pick the easy option, but rather the one that seems best, ...
more »