CHAPTER 2

image

Using Sensors with the Android

In the last chapter, you made a machine that interacts with itself. A simple response to flipping a switch to turn itself off is a good start, but for more interactive projects, you need to start working with analog sensors that do more than just turn on and off. Sensors allow a machine to monitor the world around it and react accordingly. In this chapter, you will create a project that will be able to react to its surroundings.

When Google introduced their mobile operating system known as Android, they created a mascot to represent it. The little green robot became synonymous with the cell phones and ...

Get Arduino and LEGO Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.