After building the Temperature Indicator circuit and checking for wiring errors, it is time to upload the sketch. Example 20-1 sends analog information to the Arduino IDE (integrated development environment) Serial Monitor, and displays a series of numbers based on the thermistor’s change in resistance. It uses the same serial communication technique used in to talk with the Processing… Continue reading Upload the Temperature Indicator Sketch
Let’s Build a Temperature Indicator
As shown in Figure 20-1, the breadboard analog circuit is quite simple to build, and requires only a thermistor and a 10KΩ fixed resistor wired in series. Where the two components are tied together, a jumper wire connects between them and pin A3 of the Arduino microcontroller. The Temperature Indicator can be built using the Fritzing wiring diagram… Continue reading Let’s Build a Temperature Indicator
Parts List
Figure 20-1. The Temperature Indicator
Introduction
Here’s an awesome project that allows you to quickly check the temperature of the environment using a few electronic components. This temperature indicator uses a small electronic sensor called a thermistor, which changes its resistance—the way electricity flows through it—depending on the temperature. The electronic components to build this gadget are shown in the Parts List. The Temperature… Continue reading Introduction
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… Continue reading The Rocket Launcher with Processing
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… Continue reading Upload the MultiDigital4 Sketch
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… Continue reading Let’s Build a Rocket Game
Parts List
Figure 19-1. The Rocket Launcher
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