Skip to Content
Basic Arduino Projects
book

Basic Arduino Projects

by Don Wilcher
March 2014
Beginner content levelBeginner
258 pages
4h 45m
English
Make: Community
Content preview from Basic Arduino Projects

Chapter 8. Tilt Flasher

Up-Down Sensor

In Chapter 4, the FrankenBot toy illustrated the method of flashing two LEDs wired in parallel. The Arduino microcontroller made it easy to change the flash rate of two LEDs using a 10KΩ potentiometer. How cool would it be to control an LED’s flash rate by moving an electronic box in an up-down motion? This project is a small window into the inner workings of gesture controls used to operate video games, robots, and electronic toys using simple body motions. Now we’re going to build and use orientation control, in the form of a tilt switch, to operate an Arduino flasher. The parts for the project consist of a tilt control switch, three resistors, and two LEDs. Figure 8-1 shows the Up-Down Sensor block diagram. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Arduino Essentials

Arduino Essentials

Francis Perea

Publisher Resources

ISBN: 9781449360658Errata Page