Instructables
Picture of Littlebits Pong

This project demonstrates the Pong game from the
Little Bits web site at http://littlebits.cc/projects/analog-pong. Make sure you have the Arduino IDE installed
(see the SOS project for instructions).

Step 1: Pong

Picture of Pong

Start with a power module.

Step 2: Pong

Picture of Pong

Add a fork to the power module.

Step 3: Pong

Picture of Pong

Attach a slider dimmer to the middle fork output.

Step 4: Pong

Picture of Pong

Attach a second slide dimmer to the bottom fork output.

Step 5: Pong

Picture of Pong

Attach an Arduino at Heart module
to the slide dimmers as shown.

Step 6: Pong

Picture of Pong

Attach a USB cable to the Arduino at Heart
module, and connect it to your computer

(Computer is not shown).

Step 7: Pong

Picture of Pong

Download the “Analog Pong – Arduino” file in the
Other files section at http://littlebits.cc/projects/analog-pong
by right-clicking the link and saving it as analog_pong_arduino.ino

Step 8: Pong

Picture of Pong

Double-click the analog_pong_arduino.ino file to
load it into the Arduino IDE.

Step 9: Pong

Picture of Pong

Press the upload button just under the Edit
menu. The lights on your Arduino at
Heart module should flash during the upload.


Download Processing from https://processing.org/download/?processing

Step 10: Pong

Picture of Pong

Extract Processing by right-clicking the download
and selecting Extract All…

Step 11: Pong

Picture of Pong

Double-click the extracted folders and
double-click “processing.”

Step 12: Pong

Picture of Pong

Download Analog Pong – Processing file from the
Other files section.

Step 13: Pong

Picture of Pong

Extract the contents of the downloaded zip file.

Step 14: Pong

Picture of Pong

Double click the Analog_Pong_Processing.pde file
from the analog_pong_processing folder.

Step 15: Pong

Picture of Pong

Click the Run button under the File menu.

Step 16: Pong

Picture of Pong

Have fun playing pong!

Press a key to start the game.

Step 17: Pong

Picture of Pong

Use the sliders to move the paddles up and down.

Step 18: Pong

Picture of Pong

After the game is over, press “r” to replay.

 
Remove these adsRemove these ads by Signing Up

How fun!