Figure 19-1. The Rocket Launcher
Category: Arduino Projects
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… Continue reading Introduction
Let’s Visualize Digital Data with Processing
With the Arduino attached to a Processing sketch running on your computer, the digital information (L’s and H’s) from the Arduino can be changed to a horizontally moving white circle based on the orientation of the tilt switch, as shown in Figure 18-5 and Example 18-2. TECH NOTE Check out the Processing sketch listings for Arduino projects. Example 18-2. The pa_Tilt Processing sketch Figure 18-5. An interactive… Continue reading Let’s Visualize Digital Data with Processing
Upload the Terrific Tilt Switch Sketch
It’s time to upload the Arduino sketch for the Terrific Tilt Switch. Example 18-1 takes information from the tilt switch and sends it to the Arduino IDE (integrated development environment) Serial Monitor, displaying a series of the characters “H” and “L” with each rotation of the tilt switch. Did you notice that parts of the program look like… Continue reading Upload the Terrific Tilt Switch Sketch
Let’s Build a Terrific Tilt Switch
The Terrific Tilt Switch, like the Amazing Pushbutton, requires a USB cable to send digital information from the switch to the computer screen. As shown in Figure 18-1, the device is quite simple to build: it requires just a 1KΩ fixed resistor and a tilt switch. The two components are connected in series like the Amazing Pushbutton device.… Continue reading Let’s Build a Terrific Tilt Switch
Parts List
Figure 18-1. The Terrific Tilt Switch
Introduction
Processing is an awesome programming language that creates graphics and pictures that you can move in fun ways across the computer screen. Do you remember the tilt switch. It was an electrical device capable of controlling electronic devices, based on its orientation or position. If you combine the Processing language with a tilt switch, you can… Continue reading Introduction
Troubleshooting Tips for Processing
As in all Maker projects, a bug can occasionally creep in. Processing is an awesome software package for developing cool Arduino microcontroller projects, but it can be challenging to use. Here are a few troubleshooting tips for the most common problems that can occur: Following these three guidelines should minimize your frustration when it comes… Continue reading Troubleshooting Tips for Processing
Let’s Visualize Digital Data with Processing
The characters “L” and “H” are an interesting way to represent the information you get when the pushbutton turns on and off. But if we really want to see the “magic” of the pushbutton, we’ll need to use a graphical software language called Processing. Processing software allows digital information (actually, just about any kind of information)… Continue reading Let’s Visualize Digital Data with Processing
Download and Install Processing Notes
Before building this awesome visual Arduino Microcontroller project, you have to install the Processing programming language on your computer. Here are the installation instructions: After installing the Processing programming language onto your computer, you’re now ready to build the visualization software for the Amazing Pushbutton device!