Given the Corona Virus situation across the globe, a will rose inside me to contribute to the war against this virus. I already had pretty good knowledge about Arduino programming, and I was thinking about creating something new. This idea suddenly popped into my head, as I was browsing through some old object such as my ultrasound sensor, and my other robotic components.
Click below to learn more about how this works--
These are the steps in creating this project--1. Connecting the Arduino Board to the HC-SR04 Ultrasound Sensor
Connect the 'echo' pin and 'trig' pin on the Ultrasound Sensor to the respective pins(defined in the code) on the Arduino Board(here in this code, pins 2 and 3). Then, connect the Vcc and Gnd pins on the sensor to the 5V and Gnd pins on Arduino Board respectively. With this, step 1 is done.2. Connecting a Buzzer to the Arduino Board
In the code, I have given output to pin 11, hence the Buzzer is connected with the positive terminal at pin 11 and the negative terminal at Gnd.3. Connecting a power source(9V battery) to the Arduino Board
Connect a 9V battery to the Arduino Board; with the battery's positive terminal at 5V on the Arduino Board and the negative terminal at Gnd.4. The Final Packaging
This step is up to you! You can package the entire circuit into some stylish and durable mobile holder, or any other object like that; such that the gadget can be clipped on your belt and is thus convenient while going out.
I hope these steps will be helpful to create this project; and I hope it will contribute in the war against today's greatest threat-- COVID-19