Automatic Faucet (Touchless) Using Arduino - Wash Hands and Stay Safe During COVID-19 Crisis

Introduction: Automatic Faucet (Touchless) Using Arduino - Wash Hands and Stay Safe During COVID-19 Crisis

About: I am interested in Arduino and looking forward to discover more.

Hey friends!

I hope you are all doing well and staying safe now. In this post, I will be explaining you about my prototype which I designed to wash hands safely. I made this project with limited resources. Those who are interested can remake this project, and if you like you can make some improvements too. The codes can be found in the Coding section of this page. I did not have a solenoid water valve with me, so I had to use the submersible water pump to demonstrate my project.

By having an automatic faucet, you do not have to touch the surface of the faucet after you wash your hands; you can wash your hands safely and prevent coronavirus disease.

Supplies

  • Arduino Nano
  • Solderless Breadboard - Half +
  • Ultrasound sensor
  • Relay module - 5V single channel
  • Submersible water pump (5V) / solenoid water valve (12V)
  • Regulated power supply (optional) - compulsory if solenoid water valve is used
  • Jumper wires

Step 1: Connections

Ultrasonic sensor

  • Trig - D5
  • Echo - D4
  • VCC - 5V
  • GND - Ground

Relay module - 5V single channel

  • S - D6
  • (+) - 5V
  • (-) - Ground

Step 2: How It Works

I have programmed my Arduino microcontroller to switch on the relay module when the ultrasonic sensor detects my hand within 10 cm.

If anyone has any questions, please feel free to comment below.

Step 3: Coding

The codes for this project is included in the image above. Anyone can use these codes for your remake project.

If anyone has questions with the coding, please feel free to comment below.

Step 4: Final Look

Watch the YouTube video included in the first section to see how this prototype works.

If anyone has any questions or suggestions with this project, please feel free to comment below or send me an email at arduinoprojectsbyr@gmail.com.

Be the First to Share

    Recommendations

    • Lamps and Lighting Contest

      Lamps and Lighting Contest
    • Tinkercad Student Design Contest

      Tinkercad Student Design Contest
    • Make it Move Challenge

      Make it Move Challenge

    4 Comments

    0
    ruelombina7
    ruelombina7

    1 year ago

    Please share the code.

    0
    Rucksikaa_R
    Rucksikaa_R

    Answer 1 year ago

    Sorry. I've added the schematic now.