Automatic Infrared Water Tap


In this mini-project, I will make an automatic water tap under ₹300 / $5 only. I will use an IR proximity sensor and a 12v solenoid valve to make this automatic infrared water tap. I have not used any microcontroller for this automatic infrared water tap.

Automatic Infrared Water TAP

Place your hands or dishes under the automatic tap to activate the IR sensor, the water will release from the tap. The water will automatically stop after removing the object.

Here, I have used the Active High IR proximity sensor. But if you use an Active Low IR Proximity sensor then the circuit will be different, so I have shared both circuit diagrams.

If the output pin of the IR sensor becomes LOW when it detects any object then refer the Active Low IR sensor circuit, otherwise, refer the Active High IR sensor circuit.

Circuit for Active Low IR Sensor:

Circuit Diagram Active Low IR Sensor:
Circuit for Active Low IR Sensor

Circuit for Active High IR Sensor:

Infrared water tap circuit
Circuit for Active High IR Sensor
Automatic Water Tap connections
Here, I have used Active High IR sensor

Component List:

  1. IR Proximity Sensor – 1no
  2. 12V Solenoid Valve – 1no
  3. 220-ohm 0.25watt Resistor – 1no
  4. 1k 0.25watt Resistor – 1no
  5. 1N4007 Diode 1no
  6. TIP122 NPN Transistor – 1no (for Active High IR Sensor)
  7. TIP32C PNP Transistor – 1no (for Active Low IR Sensor)
  8. DC connector – 1no
  9. 12 volt DC Adaptor – 1no

IR Proximity Sensor:

IR Proximity Sensor

The IR proximity sensor can detect the presence of any nearby objects without any physical contact.

IR module circuit
How does the IR proximity sensor works?

1. The IR emitter LED emits infrared continuously.
2. When any object comes within the range, the infrared falls on that object and some amount of infrared reflects from that object.
3. Then the refected infrared sensed by the IR receiver LED.
4. The voltage across the IR receiver LED changes proportional to the amount of reflected infrared.
5. Then we compare the voltage with the predefined value by the LM358 comparator.
6. If the voltage crosses the predefined limit the output pin of the LM358 IC becomes high.
Thus the IR proximity sensor can detect the presence of the nearby objects without any physical contact.

Tutorial Video:

How the IR controlled Water Tap works?

When someone places a hand under the water tap,
1) The IR proximity sensor detects the hand.
2) Then the output pin of the IR proximity sensor becomes high.
3) The transistor TIP122 turns on, as the output pin of the IR sensor is connected with the base of the NPN transistor (TIP122).
4) So the current can flow through the coil of the solenoid valve and the valve opens.
5) When the hand removed, the output pin of the IR sensor becomes low.
6) Due to no positive pulse at the BASE, the NPN transistor turns off.
7) As no current can flow through the coil of the solenoid valve. So the valve closes.

Solder the components as per circuit

Automatic Water Tap connections

Now connect all the components as per the circuit diagram.

Testing the Automatic Water Tap:

Testing the Automatic Water Tap

Now, if I place my hand close to the IR proximity sensor the solenoid valve should turn on.

Placing all the component inside:

Placing the circuit inside

​Now, I will place the circuit inside the housing carefully. Please use proper insulation to avoid any short circuits.

Fitting the Automatic Tap:

Automatic Tap fitting

As you can see in the picture, the Automatic infrared water tap can be easily mounted with an existing pipeline.

Finally, the Automatic Water Tap is ready to use:

I hope you like this electronics project. Please Click Here to explore more such useful projects.

You can also subscribe to our newsletter to receive more such useful electronics projects through email.

Please do share your feedback on this mini-project. Thank you for your time.

This Post Has 14 Comments

  1. Pcb

    Dear friends my requirements only
    Plain pcb required my name Rabindranath moharana my business electronic [email protected] ad dagarpara brahmana sahi chandinichowk Cuttack Odisha pin 753002 haw pcb cost

    1. techstudycell

      You don’t need any custom PCB for this project. Just buy an IR proximity sensor from Amazon (Cost Rs 75) Then refer the Active low IR proximity sensor circuit from the blog. Thank you.

  2. M dharmalingam

    Sir I want this project

  3. Nitin

    Please help i had gone through the tutorial but in my case everything goes opposite when i turn on the circuit the solenoid valve opens and when i place my hand on the IR sensor it gets close pleas help ( i had gone through active high circuit )

  4. Madhu Malar Maran

    How can I diffretiate a low active and high active sensor. Please EXPLAIN to me as I am a beginner.

    1. techstudycell

      When the IR sensor detects any object, the output pin of active low sensor will become low, and the active high type will give high output. Most of the sensor is active low type.

  5. biden we just did 46 hat

    Wow, that’s what I was seeking for, what a information! present here at this
    website, thanks admin of this website.

  6. Pianino

    I had this content bookmarked some time ago but my notebook crashed. I have since gotten a new one and it took me a while to locate this! I also really like the template though.

  7. Pianino

    Dude, please tell me that youre going to create additional. I notice you havent written another blog for a while (Im just catching up myself). Your weblog is just too important to be missed. Youve acquired so a lot to say, this kind of knowledge about this subject it would be a shame to see this blog disappear. The internet needs you, man!

  8. indrasen

    can u make hole system on one pcb?

  9. Wiertarki

    I have been meaning to write something like this on my site and this has given me an idea. Cheers.

  10. Alko

    Thanks for this informational publocation. I think helpful to everyone who is interested in the possibility of learning from this.

  11. Karma

    I wanted to make a wash basin for general public for washing hand, so that auto tap is necessary. Can u help to get few sets like this.

Leave a Reply