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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.