Onwusoro Ifeanyi Emmanuel
Published © GPL3+

Smart Solar Public Hand wash/sanitizer machine(Arduino Nano)

As a digital company, our product is : Smart solar public hand sanitizer/wash that is controlled by a sensor Hereby reduce spread of virus.

IntermediateFull instructions providedOver 2 days2,942

Things used in this project

Hardware components

Metal Enclosure, Electrical / Industrial
Metal Enclosure, Electrical / Industrial
×1
Grove - PIR Motion Sensor
Seeed Studio Grove - PIR Motion Sensor
×1
100 watts, 12 volts Solar panel
×1
12 volts, Deep cycle rechargable battery (any design will do)
×1
500 watt inverter
×1
12v water DC pump (3 pcs)
×1
5v relay module (4 pcs)
×1
mini hair dryer ( used as hand dryer)
×1
Kitchen sink
×1
Hose pipe for water pump
×1
Jumper wires (generic)
Jumper wires (generic)
×1
Tap head ( normal water tap head)
×1
3 Plastic containers( for liquid storage)
×1
Arduino Nano board
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
Solder Wire, Lead Free
Solder Wire, Lead Free
Arduino nano board

Story

Read more

Custom parts and enclosures

img_20200521_223526_52_4HGnNCH6MI.jpg

sdraw_2020-05-19_12-19-04_kh7w28HGr1.png

img_20200521_223526_52_IGxFDEbsUh.jpg

Schematics

Pir diagram

Code

Arduino code

C/C++
Upload to the Arduino board
int pump1 = 9; // PUMP1
int pump2 = 5; // PUMP2
int pump3 = 6; // PUMP3
int dryer = 7; // Hand dryer
int inputPin = 8; // choose the input pin (for PIR sensor)

int val = 0; // variable for reading the pin status

void setup() {

pinMode(pump1, OUTPUT); // declare pump as output
pinMode(pump2, OUTPUT); // declare pump as output
pinMode(pump3, OUTPUT); // declare pump as output   
pinMode(dryer, OUTPUT); // declare dryer as output 

pinMode(inputPin, INPUT); // declare sensor as input

Serial.begin(9600);

}

void loop(){

val = digitalRead(inputPin); // read input value

Serial.println(val);

if( val == HIGH) {

digitalWrite(pump1,HIGH); // turn ON the soap pump
delay(5000);    
digitalWrite(pump1,LOW); // turn OFF the pump       
digitalWrite(pump2,HIGH); // turn ON the water pump
delay(20000);   //for 20 seconds 
digitalWrite(pump2,LOW); // turn OFF the pump          
digitalWrite(dryer,HIGH); // turn ON the hand dryer  
delay(10000);   
digitalWrite(dryer,LOW); // turn OFF the dryer     
digitalWrite(pump3,HIGH); // turn ON the sanitizer pump
delay(5000);    
digitalWrite(pump3,LOW); // turn OFF the pump                 
} else {

digitalWrite(pump1,LOW); // turn OFF the pump
digitalWrite(pump2,LOW); // turn OFF the pump
digitalWrite(pump3,LOW); // turn OFF the pump
 digitalWrite(dryer,LOW); // turn OFF the dryer
 

}

}

Credits

Onwusoro Ifeanyi Emmanuel

Onwusoro Ifeanyi Emmanuel

1 project • 5 followers
A graduate of Mechanical Engineering, I have been developing for 7 years plus, I love solving real life problems with innovative technology.

Comments