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 18. The Terrific Tilt Switch (with Processing)

Processing is an awesome programming language that creates graphics and pictures that you can move in fun ways across the computer screen. Do you remember the tilt switch from Chapter 3? It was an electrical device capable of controlling electronic devices, based on its orientation or position. If you combine the Processing language with a tilt switch, you can create computer graphics that move across the screen when you make simple body gestures like waving a hand or raising and lowering an arm! In this project, a white circle will move from side to side on your computer screen as you rotate the tilt switch.

The electronic components to build this device are shown in the Parts List. The Terrific ...

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