Components and supplies
Buzzer
Ultrasonic Sensor - HC-SR04 (Generic)
Arduino UNO
Project description
Code
Doorbell
c_cpp
Comments
Only logged in users can leave comments
Anonymous user
2 years ago
Hey so i'm currently building this but I wanted to know where you plugged in the VCC cable from the sensor at?
Anonymous user
2 years ago
Actually my question is how did you wire the sensor and where did you put the vcc wire and the gnd wire
GadhaGod
2 years ago
VCC - 5V GND - GND
Anonymous user
2 years ago
Hey, can you just show us that how did u do the setup with arduino and how do we know where'd you put what so can u make a video and upload showing where u put the buzzer and how is arduino uno and genuino use?
GadhaGod
2 years ago
'DISTANCE SENSOR: Vcc goes to 5V on arduino Gnd goes to ground pin on arduino. Trigger goes to pin 8 on the arduino. Echo goes to pin 9 on the arduino. BUZZER: Positive leg goes to pin 11 on the arduino. Negative leg goes to GND on arduino. I just edited the comments on the code for it to be easier to understand. Thank you.
Anonymous user
2 years ago
Can you pls explain the code ? i didnt understand the use of 11 the pin setting as low in void setup
GadhaGod
2 years ago
I accidentally put that there. Removed it now, thank you!
Anonymous user
2 years ago
If I will keep my hand over sensor continues than buzzing will be continues. So what to do for single buzzing instead of continuous though someone keeps his hand over sensor constantly .For next buzzing he must remove his hand from over the sensor. Please let me know how to achieve this.
tarantula3
2 years ago
The only problem with this setup is, its not too loud. Unless you are next to the setup you wont hear anything.
Anonymous user
2 years ago
sir i want use this code for sanitizer . my problem is when you keep your hand relay should on for 3 sec and OFF LIKE ON DELAY TIMER. if some one dos not removed there hand relay should be in off state only. for on he should keep once again his hand can you help me code
Anonymous user
2 years ago
hi, I have a elegoo uno and I was just hoping that you could tell me where the buzzer goes.
GadhaGod
2 years ago
The positive leg of the buzzer goes to digital pin 12 and the negative leg goes to ground.
Anonymous user
2 years ago
I installed a similar item in my house and my food delivery guys always talk about it and appreciate their thanks for me installing this device.
tarantula3
3 years ago
The only problem with this setup is, its not too loud. Unless you are next to the setup you wont hear anything.
rajningar
5 years ago
sir i want use this code for sanitizer . my problem is when you keep your hand relay should on for 3 sec and OFF LIKE ON DELAY TIMER. if some one dos not removed there hand relay should be in off state only. for on he should keep once again his hand can you help me code
Anonymous user
5 years ago
Can you pls explain the code ? i didnt understand the use of 11 the pin setting as low in void setup
GadhaGod
2 years ago
I accidentally put that there. Removed it now, thank you!
Anonymous user
5 years ago
what can we use if we dont have a buzzer in tinkercad..cuz im making exactly this same project in tinkercad but im unable to find the buzzer so can u tell me what do i use instead of a buzzer can i use vibration motor>
ShreyanR
2 years ago
On tinkerkad, use a Piezo.
GadhaGod
2 years ago
You can use a speaker. In fact, you can probably make this sound more like a doorbell. I have never used one myself but I have heard that they are not too hard to use.
pranav74364
5 years ago
If I will keep my hand over sensor continues than buzzing will be continues. So what to do for single buzzing instead of continuous though someone keeps his hand over sensor constantly .For next buzzing he must remove his hand from over the sensor. Please let me know how to achieve this.
Anonymous user
5 years ago
Hey, can you just show us that how did u do the setup with arduino and how do we know where'd you put what so can u make a video and upload showing where u put the buzzer and how is arduino uno and genuino use?
GadhaGod
2 years ago
'DISTANCE SENSOR: Vcc goes to 5V on arduino Gnd goes to ground pin on arduino. Trigger goes to pin 8 on the arduino. Echo goes to pin 9 on the arduino. BUZZER: Positive leg goes to pin 11 on the arduino. Negative leg goes to GND on arduino. I just edited the comments on the code for it to be easier to understand. Thank you.
Anonymous user
5 years ago
Hey so i'm currently building this but I wanted to know where you plugged in the VCC cable from the sensor at?
Anonymous user
2 years ago
Actually my question is how did you wire the sensor and where did you put the vcc wire and the gnd wire
GadhaGod
2 years ago
VCC - 5V GND - GND
Anonymous user
5 years ago
hi, I have a elegoo uno and I was just hoping that you could tell me where the buzzer goes.
GadhaGod
2 years ago
The positive leg of the buzzer goes to digital pin 12 and the negative leg goes to ground.
dhruba_borthakur
5 years ago
I installed a similar item in my house and my food delivery guys always talk about it and appreciate their thanks for me installing this device.
GadhaGod
1 Followers
•12 Projects
20
30
Touchless Doorbell | Arduino Project Hub
desu00
2 years ago
Hello! we are planning to do this project but we want to make wireless. Can you tell us how to do it? Thanks!