Adhyoksh Jyoti
Published

Touch-free Hand-wash

The project that helps to battle Covid-19.

BeginnerFull instructions provided30 minutes283
Touch-free Hand-wash

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
IR Transceiver (Generic)
×1
SG90 Micro-servo motor
SG90 Micro-servo motor
×2
Jumper wires (generic)
Jumper wires (generic)
×8
Hand wash with pump
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Hot glue gun (generic)
Hot glue gun (generic)

Story

Read more

Schematics

Circuit connections

Code

Main code

Arduino
#include<Servo.h>
Servo s1,s2;
void setup() 
{
  s1.attach(3);
  s2.attach(4);
  pinMode(5,INPUT);
}
void loop() 
{
  s1.write(0);
  s2.write(0);
  if(digitalRead(5)==1)
  {
    s1.write(180);
    s2.write(180);
    delay(500);
  }
}

Credits

Adhyoksh Jyoti
11 projects • 9 followers
Electronics and Communication Engineering B.Tech graduate from NIT Srinagar, J&K.

Comments