mohammadsohail0008
Published © GPL3+

Touchless doorbell for Covid-19

Knockless doorbell for covid 19

IntermediateFull instructions provided137
Touchless doorbell for Covid-19

Things used in this project

Hardware components

Arduino UNO & Genuino UNO
Arduino UNO & Genuino UNO
×1
IR Transceiver (Generic)
×1
LED (generic)
LED (generic)
×1
Buzzer
Buzzer
×1
Jumper wires (generic)
Jumper wires (generic)
×1
9V battery (generic)
9V battery (generic)
×1
9V Battery Clip
9V Battery Clip
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Cardboard Box

Story

Read more

Schematics

Circuit

Code

Arduino Code

Arduino
//www.youtube.com/Electronics is Fun//
//www.facebook.com/Electronics is Fun//


int analogInPin = A5;  // Analog input pin that the potentiometer is attached to

int out =13;
int sensorValue = 0;        // value read from the pot


void setup() {
  // initialize serial communications at 9600 bps:
  Serial.begin(9600);
  pinMode(out, OUTPUT);
}

void loop() {
  // read the analog in value:
  sensorValue = analogRead(analogInPin);


  Serial.print("sensor = " );
  Serial.println(sensorValue);

  delay(200);
  
  if(sensorValue<500)
  {
    digitalWrite(out,1);
  }
  else
  {
    digitalWrite(out,0);
  }
  
}

Credits

mohammadsohail0008

mohammadsohail0008

0 projects • 0 followers

Comments