In this chapter, you learned how to connect SparkFun Wheel Encoder Kit to the DC gear motors to read and count pulses generated in the hall-effect sensors. Then, you modified the Mini Round Robot Blynk app by adding the labeled value widget to display the distance traveled and average speed of the robot chassis. After this, you calculated the distance traveled and the average speed of the robot chassis based on the pulses generated by the two magnetic discs of the wheel encoders. Finally, you fed the resulting values to the Blynk app through the Blynk virtual pins every 1000 milliseconds.
Further, you can improve the app by calculating and displaying the instantaneous speed rather than displaying the average speed of the chassis.
However, you can build a more compact and lightweight robot by replacing both Arduino UNO and ESP8266 (ESP01) with Adafruit Feather HUZZAH ESP8266. In Chapter 4, Building a Mini Round Robot with the Feather HUZZAH ESP8266, you will use Adafruit Feather HUZZAH...