Obstacle Avoidance and Collision Detection

If you are making an autonomous robot that needs to avoid obstacles, a remote-controlled car that needs to detect when it hits something or even a 3D printer that needs to know when the print heads have reached the limits of the print area, you will need to include some sort of obstacle avoidance or collision detection system in your project. In this chapter, we will look at several sensors that can be used for obstacle avoidance and collision detection systems.

Throughout this chapter, you will learn:

  • How to use a crash sensor
  • How to use an infrared obstacle avoidance sensor
  • How to use an Ultrasonic rangefinder

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.