IT’S TIME TO push the boundaries of your Arduino! In previous adventures you used Digital and Analog Pins on your Arduino Uno, but what’s the difference between a digital and analogue signal? You have output on a Digital Pin in Adventures 1 through 3, have read in from a Digital Pin in Adventures 2 and 5, and read in from an Analog Pin in Adventure 2, but what about outputting analogue signals? Well, that comes next. But then what? After you’ve tackled outputting analogue signals, is that it? Is that the end of Arduino coding? Not at all!
You can push your Arduino even further by using libraries. This allows you easily to incorporate clever functions, which have been written by other people, into your sketches. In this adventure you will use a library that lets you turn (almost) anything you like into a touch sensor. You are then going to build a magical crystal ball that glows when you wave your hands over it.
You need the following items for the first part of this adventure. The electronic components are shown in Figure 6-1.
If you ...