O'Reilly logo

Make: Basic Arduino Projects by Don Wilcher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 19. The Rocket Launching Game (with Processing)

Would you like to build a rocket launching game? How cool would it be to launch the rockets from your Maker bench or bedroom? Since launching real rockets is a bit beyond the scope of this book, we’re going to use four pushbutton switches and the Arduino microcontroller to build a virtual rocket launcher. The rest is done in Processing. The electronic components to build this gadget are shown in the Parts List. The Rocket Launcher is shown in Figure 19-1.

Parts List

  • Arduino microcontroller
  • MakerShield kit
  • R1-R5: 1KΩ resistors (brown, black, red stripes)
  • S1-S4: pushbutton switches
  • USB cable
  • Full-size breadboard
Figure 19-1. The Rocket Launcher

Let’s Build a Rocket Game

The Rocket Game, like ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required