By this point in the series, you should have a working robot. In previous chapters, I covered everything you need to know to install and program your robot. You’ve worked with motors, sensors, and communication between the Raspberry Pi and the Arduino. In Chapters 3 and 5, you learned to work with ultrasonic rangefinders using both Python and Arduino. The remainder of the book introduces new sensors, processing algorithms, and computer vision.
In this chapter, we work with infrared (IR) sensors. We look at different types of sensors. At the end of the ...