Summary
So, what have we learned in this project? Firstly, we learned how to connect the microphone module, LED, and resistor to the STM32 Blue Pill microcontroller board, which would be controlled by the STM32 microcontroller. We then wrote a piece of code to read an analog value and analyze it in our microcontroller. Subsequently, we sent a digital signal to turn the LED on or off depending on the embedded rules in our STM32. Lastly, we physically tested the device to understand the real-life operation.
This project gives us the skills to begin to create a remote control to automate home appliances and use them according to our needs. For example, you can add a relay module and connect it to a lamp so you can turn it on and off from the comfort of where you are without the need to reach the lamp switch.
In the next chapter, we will learn how to use the serial monitor feature to analyze the outputs that our sketch generates while it is running. We will do so by building a gas...