Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
Akshay Joseph
Published © GPL3+

Touchless Doorbell

This doorbell can operate without touch the switch.

BeginnerProtip42,597
Touchless Doorbell

Things used in this project

Hardware components

Arduino Nano R3
Arduino Nano R3
×1
IR Sensor Module
×1
Female/Female Jumper Wires
Female/Female Jumper Wires
×1
5v USB Adapter
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

Touchless Doorbell

Relay Module

Code

Touchless Doorbell

Arduino
//sketch created by Akshay Joseph
void setup(){
pinMode(2,INPUT);
pinMode(13,OUTPUT);
}
void loop(){
if(digitalRead(2)==HIGH){
digitalWrite(13,HIGH);
}
else{
digitalWrite(13,LOW);
}
}

Credits

Akshay Joseph

Akshay Joseph

25 projects • 157 followers
B.Sc. Electronics Student at Govt. College Tanur

Comments