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.
Hardware components used in this project
- Arduino Nano
- Solderless Breadboard - Half +
- Ultrasonic 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
Ultrasonic sensor
- Trig - D5
- Echo - D4
- VCC - 5V
- GND - Ground
Relay module - 5V single channel
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.
Codes
I have programmed my Arduino microcontroller to switch on the relay module when the ultrasonic sensor detects my hand within 10cm. The submersible water pump is switched on along with the relay module and begins to pump water through the tube connected to it. The tube is led out of the plastic container and acts as a faucet.
If anyone has any questions, please feel free to contact me at arduinoprojectsbyr@gmail.com.
Final Look
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.
Comments
Post a Comment