O'Reilly logo

Arduino in Action by Martin Evans, Joshua Noble, and Jordan Hochenbaum

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Object detection

This chapter covers

  • Detecting objects with ultrasound
  • Range finding with active infrared
  • Detecting motion with passive infrared

In this chapter we’re going to begin exploring how to get meaningful data from the objects and environments around your Arduino controller and use it in your Arduino programs. Of course, meaningful data could mean any number of things: temperature, sound, light, color, and so on. To start, we’ll focus on detecting objects.

There are a number of fields where this is important, including robotics, monitoring, interactive applications, security, and home automation, to name a few. There are three simple technologies that this chapter will explore: ultrasonic sensors, active infrared

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required