Arduino android projets evilgenius

Page 59

The Droid Accessory is used in both battery-and AC adapter—powered projects. So for now, we will attach a switch and two leads. Those leads can then either be connected to a battery clip, or as is the case with the light show project that follows, a power socket.

Step 7. Test There are a lot of connections, all close together in this project, so take some time to inspect the board and make sure you have made all the connections as described in Figure 3-5 and that there are no unwanted solder bridges. We will eventually use the light show project to test this, but we can get a basic sanity check by installing the Droid Geiger sketch onto an Uno and then carefully easing the microcontroller IC off the board and fitting it onto the IC socket on the shield. Be very careful not to bend the leads on the IC socket, because it is easy to snap them off. Also, make sure you put the IC the correct way around, with the notches on the IC and the IC socket lining up. Hold or clip the connections from a 9V battery to the power leads from the Droid Accessory Base and plug the USB lead into your fully charged Android phone. If you installed the Droid Geiger app for the project in Chapter 2, it should be launched, although you will obviously not get any readings. If the Droid Geiger app is not installed, you should get a popup message telling you that you can get it from this book’s web site. In both cases, this is a good sign.

Construction: The Light Show Project Now that we have made our Droid Accessory Base, the rest of this project (and the next three projects) are relatively straightforward. The schematic diagram for the project is shown in Figure 3-13.


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.