A touchless water dispenser uses an IR sensor to detect whether or not a hand/glass is present near it. If detected, then a relay module is automatically triggered that is connected to a solenoid valve. This trigger turns the valve on to start the dispensing of water.
Here we will also make one more model of automatic touchless water dispenser that can dispense a hand sanitizer or soap along with water. So let’s make our prototype of an automatic touchless water dispenser.
Bill Of Material
First of all we need to collect the following components:
Some extra parts are needed such as a pipe/hose (as per requirement and with a diameter similar to the solenoid valve inlet and outlet).
Construction of Touchless Water Dispenser
Connect the solenoid valve inlet with any water source using any pipe or hose and then connect the components as described below. Here we will connect the power pins of the IR sensor i.e. VCC and -VE to a 5V Battery or to any other DC power source. Here VCC pin of the IR sensor is connected to the +ve pin of the battery or power source and GND is connected to -ve pin of the power source. We will also connect the VCC and GND pins of the relay modules in the same way. Next, the digital out pin of the IR sensor is to be connected to the in the pin of the relay.
|NO (Normally Open)||+Ve|
|12V Power source||Relay|
Contactless water and sanitizer dispenser
Here we will use the two IR sensors and a 2 channel relay module with solenoids, valve1 and valve2. The digital output pin of the 1st IR sensor is connected to the IN1 pin of the relay module for controlling the 1st relay of the relay module (that triggers valve1 on/off). The digital output pin of the 2nd IR sensor is connected to the IN2 pin of the relay module that triggers valve2 on/off.
Bill of Material
Now power the device and then put the glass or hand near the IR sensor. When the IR sensor with high input comes near the relay, the plunger is pushed to make contact with NO (Normally open ) and C (common ) and hence the valve turns to on position, therefore allowing the water to flow to fill the glass. When the glass is removed from there, then the valve automatically turns to off position.
If it is working in a reverse way(i.e on when not detect on and when detect off) then try the to connect the valve pin to NC
But sir, this IR sensor (proximity sensor) mal-operate in the sun light. Sun light is having the infra red light waves because of this it not working properly. it valve is turn ON in sun light. I am designing for the entry which is exposed to sunlight or bright day light.
Please suggest another sensor that will work properly.
use ultrasonic sensor
In ultrasonic sensor how we produce trigger signal…
You need to use a microcontroller, Digispark Attiny 85 is good for this.
Where can I buy those components, can you source me ?
you can get it on any online store or on Kits n spares
For me it is working reverse i mean when i placed my hand near the sensor it stops …otherwise continuously the motor is rotating …i did the same connections help me out please…
Try Changing the valve/ motor pin to NC pin of the Relay
You change the connection in relay
Some valve normally closed type/ Normally open type and also some relay move trigger to NC(Normally Close) to NO (Normally Open) when reads signal so it might be confusing according to the module and valve type it better to check to reverse the connection when it works in reverse.
To Mr Ashwini Kumar Sinha
You are trying to make Indians fool by this circuit. Because due day light this circuit malfunctions. You better make the circuit first and then show the results to others.
For Outdoor use in daylight, you can use the ultrasonic sensor with a microcontroller. This circuit work well in indoor use, As most of the contactless dispenser that you find the malls and in the washroom uses the IR sensor.
If you want the circuit for outdoor use in sunlight then you can ask me I will give you the full circuit and code for that.
send me the detials of circuit and code for ultrasonic sensor
You can use IR FILTERs to protect IR receiver from sunlight or any other unwanted light sourses. Such filters you can see infront of the IR module of your TV, Satellite receiver, Music system etc…. It is type of plastic having a dark colour.
sir what type of solenoid valve is best suited for this automatic hand sanitizer machine, direct acting (which does not require pressure but high operating current) or pilot operated valve ( which need some minimum pressure 0.5bar but less operating current.)
You have to select this according to your need
The IFR KY-032 doesn’t malfunction with daylight you can use it instead of IF-51
The project is working whwn we donot put thwe pump in sanitizer and when we put pump in sanitizer once the pump start the pump is running continuously.
Here I am using a Solenoid valve why using a pump? The pump should also work can you show me the pic of how you put sanitizer and pump and sensor.