Littlebits Pong

by Louisville Public Library in Circuits > Gadgets

2906 Views, 9 Favorites, 0 Comments

Littlebits Pong

55.png

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).

Pong

40.png

Start with a power module.

Pong

41.png

Add a fork to the power module.

Pong

42.png

Attach a slider dimmer to the middle fork output.

Pong

43.png

Attach a second slide dimmer to the bottom fork output.

Pong

44.png

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

Pong

45.png

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

(Computer is not shown).

Pong

46.png

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

Pong

47.png

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

Pong

48.png

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

Pong

49.png

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

Pong

50.png

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

Pong

51.png

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

Pong

52.png

Extract the contents of the downloaded zip file.

Pong

53.png

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

Pong

54.png

Click the Run button under the File menu.

Pong

55.png

Have fun playing pong!

Press a key to start the game.

Pong

56.png

Use the sliders to move the paddles up and down.

Pong

57.png

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