Hardware configuration
Let's now build our project. We will have to connect the different modules and sensors with Arduino, connect the smaller components (such as a resistor and capacitor), and connect everything together using jumper wires.
To help you out in visualizing the different connections that have to be made, you can have a look at the following image:
To build our project, let's execute the following steps:
The first step is to place the Arduino board next to the breadboard so that you can easily make different connections. You can also place the Bluetooth module at this point. When you are done with placing the components, you should have something similar to the following image:
We'll now take care of the connections of the Bluetooth module, starting with the power. You have to connect the GND pin of the Arduino board to one of the blue power rail of the breadboard, which will be the negative rail from now. You can also connect the 5V of the Arduino board to the red power rail...