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/Chapter12
The Code in Action video for this chapter can be found here: https://bit.ly/2SMUkPw
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 Arduino Uno microcontroller board.
- One USB 2.0 A to B cable for the Arduino Uno board.
- Two USB power banks.
- One ST-Link/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...