Keep scrolling down to learn about the main steps of making this important and useful project.
Step 1: Things You Need
Make sure to purchase all the necessary components to make this project. Here is a list of these components.
- Arduino Nano - 1
- Ultrasonic sensor - 2
- Female buck pin
- Universal PCB
- Soldering iron
- Soldering wire
You need to ultrasonic sensors to cover the front and rear areas. Make sure to keep the distance from the front and rear as well. For that reason, two ultrasonic sensors are used here. We prefer Universal PCB over Breadboard for a social distancing reminder system.
Step 2: Schematic Diagram
After purchasing the components mentioned above, the next step is to make the connections according to the schematic. Place the Arduino on the PCB and connect its terminals using soldering wire. Once the Arduino is placed, make sure to connect the buzzer and ultrasonic sensors carefully.
The one end of the buzzer is connected to the D12 pin of the Arduino and the other end is grounded.
For the first ultrasonic sensor, connect the trigger and Echo pins to D5 and D3 respectively. The other two pins are VCC and GND. In the same way, connect the second ultrasonic sensor to the Arduino according to the schematic diagram.
After making the connections, make sure to thoroughly check whether all the components are connected or not.
Step 3: Code
Once you have made the connections according to the circuit diagram, copy the following code and paste in on the application of the Arduino. For that purpose, connect the Arduino to the computer using a USB cable.
Step 4: Testing of the Project
Run the code given above to test the project. You may wonder where to place this system to let it serve the social distancing purpose. Keep in mind that you have to place this project on your body so that you could keep the social distance while going outside. Using Tape, place the first ultrasonic on the front side of your body and the second on the rear side.
In testing the social distancing reminder system, whenever you get close to someone, the buzzer will turn ON to remind you about the distancing. In this way, you can help yourself to tackle the Covid-19 epidemic. This project is easy to make and very useful these days.