Skip to main content

72. Touchless faucet with door control system

Hey everyone!
Today I will be explaining about my new project. I have made a touchless faucet with door control system. COVID-19 is a serious pandemic at this moment. The coronavirus is spreading quickly and easily between humans. There are ways to curb the spread of this virus and one way is to wash hands using soap for at least 20 seconds. Sometimes, if the person carelessly touches the faucet - which could be contaminated - after washing his/ her hands, he/she has a higher chance of contracting this coronavirus disease. If you go out, it is safe to wash your hands before entering your premises. You do not have to touch the door handle because the door lock system is automated. In my project, a person will only be granted access once he/ she washes his/ her hands.
In this project, I have made a prototype to wash hands safely with automatic door control system. I have made an automatic faucet so that you do not have to touch the surface of the faucet. The prototype is cheap and easy to make. This faucet is automatic and could also prevent wasting water when not in use.

I made this prototype using the resources at my home as I could not go out due to the lockdown in my country. You are allowed to remake this project or even improve it, but you could also try to convert any container of water into a faucet. I would suggest you to use a solenoid water valve instead of the submersible water pump. The tube is modelled as the faucet in this prototype. This model could be used in malls, offices and your home. This model could be used in places with automatic sliding doors or automatic door system, by replacing the single channel relay module with solid state relay module.

This prototype could also be used as an automatic alcohol-based hand sanitizer dispenser, but when using the hand sanitizer, the container should be closed as the alcohol could evaporate.

Hardware components used in this project

  • Arduino Uno
  • USB Type A/ B cable (for Arduino Uno)
  • Solderless Breadboard - Half + (You will only be needing the power rail)
  • Ultrasonic sensor module (HC-SR04)
  • IR tracking sensor module 
  • Towerpro Micro servo motor - SG90
  • Relay module - 5V single channel
  • LCD display module with I2C interface - 16x2
  • Submersible water pump - 5V (You could also use a solenoid water valve instead of this)
  • Male-to-Male Jumper wires
  • Female-to-Male Jumper wires

Hardware setup





Connections

Ultrasonic sensor

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

Relay module

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

16x2 LCD display module with I2C interface

  • VCC - 5V
  • GND - Ground
  • SDA - A4
  • SCL - A5

IR tracking sensor module

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

Servo motor (SG-90)

  • S (Yellow/ Orange wire) - D9
  • (+) (Red wire) - 5V
  • (-) (Black/ Brown wire) - Ground

Coding

If you want to wash your hands, place your hands within 15 cm from the ultrasonic sensor. According to my Arduino program, this will switch on the relay module. The submersible water pump is connected to the relay module and an external power supply. The external power supply can be adjusted to provide the appropriate voltage. The water pump is switched on and the water is pumped from the container to your hands through a tube, which is modelled as the faucet in this prototype.
After washing your hands, place your hand in front of the IR tracking sensor. The IR sensor sends a LOW signal when an object is detected within 2cm. The LOW signal makes the servo motor to rotate 90° and open the door (in this model). The door will automatically close after 10 seconds.
If you place your hand in front of the IR tracking sensor without washing your hands, the door will not open and the LCD display module will show a message asking you to wash your hands.



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

Final Look

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

Comments

  1. Replies
    1. Check the codes from my Instructables page:
      https://www.instructables.com/id/Touchless-Faucet-With-Door-Control-System-for-COVI/

      Delete
  2. hello..... can i have a look inside the prototype house..... i want to see how that door can open nd closed automatically.

    ReplyDelete
  3. Hi ,
    The relay module is not working with arduino for your project so does we have to provide external supply for relay module or to connect it with arduino only ?

    ReplyDelete
    Replies
    1. it be better to gave external battery supply of about 5v to both relay module and servo motor.. and where as u can connect your display module to board of 5v supply

      Delete

Post a Comment

Popular posts from this blog

51. Buzz wire game using Arduino

Hello everyone! This is my first Arduino project in 2020 and it is going to be a fun and simple project. You would have heard of the Buzz Wire, a steady hand game, and today you will be learning to make one using Arduino. Hardware components used in this project Arduino Nano USB Type A to mini B cable (for Arduino Nano) Solderless Breadboard - Mini and Full-size LEDs (x2) - Green and Red Resistors (x2) - 220 Ω  Active Buzzer module (KY-012) LCD display module with I2C interface - 16x2 Male-to-Male Jumper wires (x4) - 10cm Female-to-Male Jumper wires (x5) - 20 cm Jumpers (x5) - to reduce the usage of wires Copper wire  Tape (or any form of insulation)  Setup Your hardware setup must look somewhat similar to the ones in the images above. The beginning and end of the copper wire maze must be taped to prevent conductivity between the wire loop and maze. Connections LCD display module with I2C interface GND - Ground VCC - 5V SDA - A4 SCL - A5

71. Buzz Wire Game ( Version 2.0 ) using Arduino

Hey Everyone! I hope that everyone's safe during this pandemic. Today I am going to explain you about the second version of my Buzz wire game. People who are bored of staying indoors can find this game pretty interesting and fun to play.  If you are a beginner, you can start off with my first version of this project :  51. Buzz wire game using Arduino   Hardware components used in this project Arduino Uno Solderless Breadboard (x2) - Full/ Full+ LCD display module with I2C module - 16x2 Potentiometer - B20K Push-buttons (x3) Resistor - 220 Ω Active Buzzer module (KY-012) LED - Red Copper Wire - 19/ 20 gauge thick Male-to-Male Jumper wires - 10cm and 20cm Wire - Long enough to connect the loop of copper wire to ground Other tools required for this project Cutting pliers - To cut the right amount of copper wire Round-nose pliers - To bend the copper wire and make a maze and loop Hardware setup Connections Wire Maze - D2 Wire loop - Ground (GND) B20K Potentiometer S - A0 (+) - 5V (-)

86. RFID Health tag (Arduino and Python)

 Hey everyone, Sorry I have not uploaded in a while. Today, I will be sharing an interesting project with all of you. This RFID Health tag project is useful when it comes to keeping track of vaccinated individuals, their biodata and their health conditions and medications. For this project, you will be needing Arduino and Python. Read on further to see how I did this project. Hardware components used in this project Arduino Uno Solderless Breadboard - Half+ MRFC522 RFID reader RFID key tags (x5) Push-buttons (x2) Male-to-Male Jumper wires (x12) USB Type A/ B cable (for Arduino Uno) Software required Arduino IDE - latest version recommended Python 3.8 Schematic MFRC522 RFID reader SDA/ SS - D10 SCK - D13 MOSI - D11 MISO - D12 IRQ - Not connected GND - Ground RST/ RESET - D9 3.3V - 3.3V Push-buttons Submit button - D4 Retrieve button - D5 Coding Arduino For this project, you will be using the following libraries: MFRC522 by miguelbalboa -  https://github.com/miguelbalboa/rfid SPI - In-bu