In this chapter, you will learn how to modify the Mini 3-Layer Round Robot you built in Chapter 2, Building a Mini Round Robot with Original ESP8266, by connecting wheel encoders with the motor shaft (not the output shaft) of the DC gear motor to measure the distance traveled and the average speed of the robot chassis.
In this chapter, you will learn the following topics:
- About the SparkFun wheel encoder
- Connecting the wheel encoders to DC gear motors
- Building a Blynk app to display distance traveled and average speed with the Labeled Value widget
- Reading the pulses generated by the two wheel encoders
- Calculating the distance traveled
- Calculating the average speed