sisakest grouppopoola segun
Published

Multiple user hand washing machine

I look inward and I came up with a seasonal solution that can serve four users at a time and can be operated manually or automatically

AdvancedFull instructions providedOver 10 days286
Multiple user hand washing machine

Things used in this project

Hardware components

1/2 pvc pipe
×1
5000 litres storex tank
×1
angle iron
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

angle grinder
welding machine

Story

Read more

Custom parts and enclosures

multiple user hand sanitizing machine

Code

automatic hand sanitizer

C/C++
Written on arduino ide
int HBRIDGE=3;
int MOTOR1=4;  // SOAP MOTOR
int MOTOR2=5;  // WATER MOTOR


void setup() {
  // LOW OF HBRIDGE SMOTOR IS CLOSING THE VALVE WHILE HIGH IS DOING CONTRARY

Serial.begin(9600);
pinMode(HBRIDGE,OUTPUT);
pinMode(MOTOR1,OUTPUT);
pinMode(MOTOR2,OUTPUT);


}

void loop() {
  // put your main code here, to run repeatedly:
// SOAP RUNNING OPERATION
int state= digitalRead(2); 
while ( state==HIGH){
digitalWrite(MOTOR1,HIGH);
digitalWrite(MOTOR2,LOW);
digitalWrite(HBRIDGE,HIGH);
Serial.print("clockwise");
delay(400);  // the time taken for the screw thread to max position
digitalWrite(HBRIDGE,LOW);
Serial.print("Anticlockwise");
digitalWrite(MOTOR1,LOW);
delay(2000);   // the time taken for the soap  to keep  position


digitalWrite(MOTOR1,HIGH);

digitalWrite(HBRIDGE,LOW);
delay(400);  // the time taken for the screw thread to RETURN position
digitalWrite(HBRIDGE,LOW);
digitalWrite(MOTOR1,LOW);
delay(2000);  // the time taken for the user to wash his(her) hand 

// WATER RUNNING OPERATION


digitalWrite(MOTOR2,HIGH);
digitalWrite(MOTOR1,LOW);
digitalWrite(HBRIDGE,HIGH);
Serial.print("clockwise");
delay(500);  // the time taken for the screw thread to max position
digitalWrite(HBRIDGE,LOW);
digitalWrite(MOTOR2,LOW);
delay(2000);   // the time taken for the soap  to keep  position


digitalWrite(MOTOR2,HIGH);

digitalWrite(HBRIDGE,LOW);
Serial.print("Anticlockwise");
delay(500);  // the time taken for the screw thread to RETURN position
digitalWrite(HBRIDGE,LOW);
digitalWrite(MOTOR2,LOW);
delay(2000);  // the time taken for the user to wash his(her) hand 
return;
}

//digitalWrite(HBRIDGE,LOW);
//digitalWrite(MOTOR1,HIGH);
//digitalWrite(MOTOR2,HIGH);
//delay(1000);  // the time taken for the screw thread to RETURN position
digitalWrite(MOTOR1,LOW);
digitalWrite(MOTOR2,LOW);

}

Credits

sisakest group

sisakest group

1 project • 0 followers
popoola segun

popoola segun

1 project • 0 followers

Comments