O'Reilly logo

Mastering Arduino by Jon Hoffman

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

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

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