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

by Rucksikaa_R in Circuits > Arduino

4093 Views, 6 Favorites, 0 Comments

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

Automatic faucet (Touchless) using Arduino - Wash hands and stay safe during COVID-19 crisis

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

Connections

IMG_20200325_130627.jpg
IMG_20200325_140459.jpg
Diagram_bb.jpg

Ultrasonic sensor

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

Relay module - 5V single channel

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

How It Works

IMG_20200325_135026.jpg
IMG_20200325_135848.jpg

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.

Coding

codes.png

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.

Final Look

IMG_20200325_135049.jpg

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.