Project showcase
Touchless Doorbell

Touchless Doorbell

No more spreading germs through doorbells.

  • 3,349 views
  • 15 comments
  • 21 respects

Components and supplies

About this project

The simplest touchless doorbell there is. Doorbells are a way for germs and disease to spread, so using this DIY doorbell will be helpful. It uses an ultrasonic distance sensor and a buzzer. Just put your hand in front of the sensor and you will hear the buzzer from the inside. (This project can be made wireless for better looks).

I do not have a circuit schematic maker, so here is the circuit:

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 12 on the arduino. Negative leg goes to GND on arduino.

Code

DoorbellC/C++
/*
'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 12 on the arduino.
Negative leg goes to GND on arduino.
*/
int trigPin = 8;    
int echoPin = 9;    

 
void setup() {
  pinMode(trigPin, OUTPUT);
  pinMode(echoPin, INPUT);
  delay(100);
}
 
void loop() {
 
  digitalWrite(trigPin, LOW);
  delayMicroseconds(5);
  digitalWrite(trigPin, HIGH);
  delayMicroseconds(10);
  digitalWrite(trigPin, LOW);

  int duration = pulseIn(echoPin, HIGH);
  delay(50);
  
  if (duration <= 600){
    tone(12, 2000, 3000);
  }

  else{
    noTone(12);
    
  }
}

Comments

Similar projects you might like

Touchless Doorbell

by Akshay Joseph

  • 4,615 views
  • 10 comments
  • 28 respects

SD Card Doorbell

Project tutorial by Projecter

  • 3,975 views
  • 0 comments
  • 10 respects

Doorbell

Project tutorial by moty

  • 16,317 views
  • 0 comments
  • 31 respects

NERD ALERT! // Smart Doorbell with Arduino

Project tutorial by Alex Glow

  • 7,822 views
  • 3 comments
  • 14 respects

Dropping Spider on Doorbell - Halloween Scare Prank

Project tutorial by Kristian Blåsol

  • 3,439 views
  • 1 comment
  • 11 respects

Smart Doorbell

Project showcase by Kaustubh Agarwal

  • 69,467 views
  • 23 comments
  • 136 respects
Add projectSign up / Login