Category: The Rocket Launching Game (With Processing)
-
The Rocket Launcher with Processing
The numbers from the MultiDigital4 sketch will be interpreted by Processing and used to drive a cool graphics screen, with color numbers and text. The layout of the Processing canvas is similar to the projects (with obvious differences in text and animation). After uploading the Rocket Game sketch to the Arduino, a jumbled blob of text…
-
Upload the MultiDigital4 Sketch
After building the Rocket Game pushbutton circuit and checking for wiring errors, it is time to upload the sketch. Example 19-1 sends digital information to the Arduino IDE (integrated development environment) Serial Monitor, displaying the numbers 0, 1, 2, and 4 with each individual press of the four pushbutton switches. The serial communication technique used in remains the same…
-
Let’s Build a Rocket Game
The Rocket Game, like the projects requires the use of a USB cable to send digital information from four pushbutton switches to the computer screen. As shown in Figure 19-1, the breadboard circuit is quite simple to build and requires five 1KΩ fixed resistors and four pushbutton switches. The basic digital circuit consists of a pushbutton switch and…
-
Introduction
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. 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…