Social distancing alarm using Arduino:
Hey guys, welcome back to my new article. As you know. Our PM Narendra Modi has spoken about keeping social distance to fight against COVID 19. So I thought why not make such a gadget to track social distancing even more. In this article, we will make a social distancing alarm using Arduino.
Introduction:
Components Required:
- Arduino Uno
- Ultrasonic sensor
- Led
- Buzzer
A device which helps us to maintain social distancing:
Working:
How does it work? Ultrasonic sensors send waves. These waves are absolutely invisible and come back after hitting an optical. The Trig pin activates (D11) Or (D12). In which we have connected LED and Buzzer. We have kept a distance of 100 cm. You can increase this parameter by modifying the code.
Watch YouTube Video:
And if you have any questions, then watch the video before commenting and if your question does not go away, then you can comment to me and ask.
Circuit Schematics:
I have Made the circuit diagram on offline software in fritzing
Code:
1 Comments
i tried it but its having a issue that when my hand is like litrally touching the sensor the buzzur stop making noise and when i remove my hand it makes the noise
ReplyDeletePost a Comment