Home Made Automatic Water Dispensing Wash Basin by using Arduino

The Aim of this design is to dispense the water from the faucet when you stretch your hand to wash in the basin without soiling the tap and wasting water. Opensource Arduino –Nano board is used to accomplish this.

What is Arduino:

Arduino is a microcontroller motherboard which provides a platform for building hardware and software systems and it is considered as one component in a computer. Arduino performs low intelligence tasks and it can only be assigned one program at a time.
Such as:
  •  Open the garage door.
  •  Reading the temperature
  •  Making a robot for home security. 
  •  Burglar Alarm
Arduino does not function on an operating system. Arduino is a very simple motherboard. It cannot be connected to any external devices and contains an only small amount of storage memoryClick Here To Read More 

Why Should You Use Arduino:

1) It is very simple to interface electronics equipment and the coding itself is much simpler than raspberry. Without the need for networking.
2) It operates on a wide range of voltages and it requires less power.
3) Arduino can be easily turned ON or OFF without any risk of damage.

4) It’s much cheaper.


5) Simple projects such as building a home automation system are much easier with Arduino where you do not to get to complex.

6) There is no Linux and software hectic…Click Here To Read More

Components required:

  1. Arduino – Nano (Any board)
  2. Infrared module (IR)
  3. 5V relay board
  4. Solenoid valve
  5. Connecting wires
  6. Breadboard
  7. Basic knowledge of Arduino Programming language(Preferably C++)

Circuit Description

Circuit interconnections are shown in below figure. Arduino Nano is the central part and other components are used to complete the requirement. Arduino Nano will keep on receiving data from the IR module. This IR module can be used to detect the objects that are nearby to it.

Working logic:

IR receiver will check for the object at a specific distance. If any object(hand) found within the range specified Arduino will make of its digital (D4 in this case) to a logical high. Logical High (5V) is used to switch the relay from Normally closed to the Normally Open position so that the switch can be turned ON. A relay is connected to solenoid valve and 230V power supply to energize the valve. When the Relay is turned ON solenoid valve is opened up and the water is dispensed in the wash basin.

Hardware Setup:

1. Arduino and Relay Setup

 2.Faucet setup

3.Solenoid valve setup

Watch Video 

Source Code: 

int output = 6;

int receiver=4;

void delayfunction()
void setup()
pinMode(receiver, INPUT);
pinMode(output, OUTPUT);

void loop() {
int value = digitalRead(receiver);
if(value == HIGH)
Serial.println("Value is high");
Serial.println("Value is low");





This Project is Made by Mr. Gopinath Palani , he is part of our team kindly Click Here if you want to Read His Biography.

Related posts

Arduino Opta PLC Pros & Cons

Breakthrough of Ardino-Pro Opta: Micro-PLC with industrial IoT proficiency

Top Arduino sensors – the ultimate list 2021

1 comment

Anower October 15, 2018 - 1:49 pm

Circuit Description and Hardware Setup: 1. Arduino and Relay Setup are not same. Pls place a clear picture of circuit diagram

Add Comment