Introduction

In this chapter, we will look at three sensors that we can use to add obstacle avoidance and/or collision detection to our projects. These sensors are:

  • Crash sensor: Used to detect a crash and also used as limit switches for 3D printers
  • Infrared obstacle avoidance sensor: Used for obstacle avoidance for robotics
  • Ultrasonic range finder: Used for obstacle avoidance for robotics and has many other commercial and military uses

Get Mastering Arduino 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.