loading

Hey Guys it's time to recreate the famous Pong Attari game using Arduino and some other components such as: Potentiometers, a couple of resistors , a button and a TV Out cable.All in 10 or less minutes! Let's get started

UPDATE: Thanks everyone for helping reach (a small but considerable) amount of 1000 views!

Step 1: What Will You Need

x1 Arduino Uno or same Arduino Compatible board

x1 USB cable to connect the board

x1 Breadboard to connect the components

x2 10k Ohm Potentiometer

x1 470 Ohm resistor

x1 1k Ohm resistor

x1 Pushbutton

x1 RCA cable (TV Out)

x2 Clips to connect the resistors with the cable (Alternativelly you can solder them)

Some wires

Step 2: The Wiring

You can easily connect the components according to the schematic .Something to notice is that the 1k ohm resistor goes to pin D09, while the 470 ohm resistor goes slot into pin D07. As you can see at the sketch there is a puprle cable splting at half.Don't connect this yet,exept the resistors to the correct pin according to the guide.In my real-life Arduino they are the yellow cables.I have this layout so it's more neat ,tidy and user friendly and each player can use his potentiometer with ease.

Step 3: The TV Cable

Using a sharp knife cut the cable.The RCA cable has 2 wires. One that is proected by a white "shell" and the other that covers the white ,protected by the black.You should try to cut throught them and form them like the right cable of the image.The left one is before cut and the right is after.The white one will be connected with the restors in the next step ,and the other goes to the ground

Step 4: Connect the Cable at the Circuit

Now connect the white cable with the 470 Ohm and the 1K Ohm resistors using the clip(I didn't want to solder them,but you can if you want).The other end of the RCA cable is to be connected with the ground of the breadboard.

Step 5: Almost There!The Completed Circuit

Before I give you the code there is something to be done.You have to download a special library so your Arduino can communicate with the TV.Let's go to the next step

Step 6: Download the Libraries

Step 7: Unzip the File

Unzip the file and select the extracted file

Step 8: Add Libraries to Arduino

Inside the extracted there are 3 files.Copy and paste them at the Arduino Libraries directory of your computer (/Documents/Arduino/libraries). Its the same if you are using a Linux OS

Step 9: The Code

You can download the code from : http://pastebin.com/Su0wdEKG

Copy and paste it at the Arduino IDE

Connect the Arduino board

Upload it!!!

Step 10: Ready to Roll

That's it folks.The Pong has uploaded to the board.Connect the cable to your TV and find a nearby power supply for the Arduino board. Get your Player 2 and enjoy the classic game you have just created

Thanks for your time ,hope you enjoyed as much as I did creating this Instructable.Don't forget to Like and Vote at the Tech contest

<p>Very nice instructable. I made it (will post that later) and it works great! Just a remark, next time, maby you want to show a full diagram of all the circuits instead of proceeding by steps (so that you can understand it easier).</p>
<p>Thank you ...Its the first image that shows the full circuit. But I had to make sure you would understand the TV Out Cable connection...</p>
<p>i just got this wroking but im not terrible good at programming, what might i have to change to speed the ball up a tad?</p>
<p>&eacute; possivel ser s&oacute; de um jogador ?</p>
<p>Hy! I made it but it isn't works! </p><p>The error code: </p><p>PONG.ino:11:21: fatal error: fontALL.h: No such file or directory<br>compilation terminated.<br>Error compiling.</p><p>What's the matter?</p>
<p>There seems to be a problem with the libraries.Try to re-add them after deleting them from the folder(See steps 6-8)</p>
<p>Thank you! I will try that!</p>
<p>This isn't working for me </p>
<p>could you be more specific about it?I would gladly help you if I had more info</p>
<p>TOOK ME 42.24 MINUTES YOU LIER!11! HOPE YOU FEEL ASHAMED!!111!1</p>
<p>hahaha ...but did it work?</p>
<p>Great game</p>
<p>Thanks a lot . It is my first Instructable!</p>

About This Instructable

2,588views

40favorites

License:

More by EvaggelosM:Star Wars Theme Song with LED Arduino Pong! 
Add instructable to: