Refer to the following requirements for this chapter:
- The Raspberry Pi robot and the code from the previous chapters (you will require level shifters from Chapter 11, Programming Distance Sensors with Python, regarding the breadboard).
- Two slotted speed sensor encoders. Search for slotted speed sensor, Arduino speed sensor, LM393 speed sensor, or Photo Interrupter module. See the The encoders we will be using section for images of these.
- Long male-to-female jumper cables.
- A ruler to measure the size of the wheels on your robot, or better yet calipers, if you can use them.
- The code for this chapter is available in GitHub.
Check out the following video to see the Code in Action: