O'Reilly logo

Make an Arduino-Controlled Robot by Michael Margolis

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 9. Modifying the Robot to React to Edges and Lines

This chapter covers techniques that enable your robot to use sensors to gain awareness of its environment. Using reflectance sensors, the robot will gain the ability to follow lines or to avoid falling off the edge of the surface it is on. Information from the sensors is abstracted so that the robot logic has a single consistent interface and can easily be enhanced to support other sensors. The physical mounting of the sensors varies with different platforms: see Chapter 4, Building the Four-Wheeled Mobile Platform if you have the 4WD chassis, Chapter 3, Building the Two-Wheeled Mobile Platform if you have the 2WD chassis.

Hardware Required

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