文档介绍:Arduino™+ Android™ Projects for the Evil Genius™
To Linda. The love of my life.
About the Author
Simon Monk has a bachelor’s degree in ics puter Science and a doctorate in Software
Engineering. He has been an active electronics hobbyist since his school days and is an occasional author
in hobby electronics magazines. He is also author of 30 Arduino Projects for the Evil Genius and 15
Dangerously Mad Projects for the Evil Genius.
Acknowledgments
I THANK LINDA for giving me the time, space, and support to write this book and for putting up with the
various messes my projects create around the house.
I also thank my boys, Stephen and Matthew Monk, for taking an interest in what their Dad is up to
and their general assistance with project work.
Finally, I would like to thank Roger Stewart, Patricia Wallenburg, Mike McGee, and everyone at
McGraw-Hill, who did a great job once again. It’s a pleasure to work with such a great team.
Introduction
THIS IS A PROJECT BOOK that marries together the simple-to-use microcontroller boards (Arduino) and
the world of Android mobile phones and puters.
The book contains detailed instructions for constructing various projects that use Arduino and
Android devices. Some of the projects, such as the Geiger Counter and the Ultrasonic Distance Meter, are
essentially electronic accessories for your Android phone.
Other projects in the book work toward a home automation system, complete with electric door lock
and a remote control for power and heating, making even home automation accessible from the
and your Android device.
Arduino
Arduino (Figure 1) is a small microcontroller board with a USB plug to connect to puter and a
number of connection sockets that can be wired up to external electronics such as motors, relays, light
sensors, laser diodes, loudspeakers, microphones, and other items. They can either be powered through
the USB connection from puter, or from a battery or other power supply. They c