Summary
In this chapter, we learned the basics of coding an easy-to-read 20-second counter. This count is recommended by many health authorities for properly washing our hands during that time in an attempt to destroy some viruses such as the one that causes COVID-19. The chapter also explained how the HC-SR04 ultrasonic sensor works for activating the counter. One major skill that you gained on completing the project from this chapter is that you learned how to connect a practical LCD to a microcontroller board, and how we could show the counting on an LCD. You can use the LCD in other projects that require showing numeric or text data from a microcontroller board.
We have covered in this chapter a practical way to obtain data from a sensor, process it on the microcontroller board, and do something about it such as showing results on an LCD. Obtaining data from sensors and processing it is one of the main applications of microcontrollers, leveraging their simplicity for connecting...