Technical requirements
The software tool that you will be using in this chapter is the Arduino IDE for editing and uploading your programs to the Blue Pill microcontroller board.
The code used in this chapter can be found in the book's GitHub repository:
https://github.com/PacktPublishing/DIY-Microcontroller-Projects-for-Hobbyists/tree/master/Chapter14
The Code in Action video for this chapter can be found here: https://bit.ly/3gQZdPf
In this chapter, we will use the following pieces of hardware:
- One solderless breadboard.
- One Blue Pill microcontroller board.
- One micro-USB cable for connecting your microcontroller board to a computer and a power bank.
- One USB power bank.
- One ST-INK/V2 electronic interface, needed for uploading the compiled code to the Blue Pill. Bear in mind that the ST-LINK/V2 requires four female-to-female DuPont wires.
- One HC-SR04 ultrasonic sensor.
- One 1602 16x2 LCD.
- One 2.2k ohm resistor, 1/4 watt. This is for...