Close
0%
0%

Fight Coronavirus: Simple Handwash Timer

A DIY timer to ensure you're washing your hands for at least 20 seconds.

Similar projects worth following
This simple timer sits next to your hand soap dispenser. It has a sensor on top that detects when you take your hand in front of the soap dispenser. Then it starts counting down 20 seconds, lighting up one LED after another. Once the green LED turns on, you have washed your hands long enough to kill most of the germs, and you can wash the soap off with water.

With the current pandemic in the world, the situation seems pretty scary. The Corona virus might be anywhere. As far as we know, one might carry the virus for a few days without even showing any symptoms. Scary indeed.

But hey, don't get too scared. There are some easy ways we can fight against this virus. One is to wash our hands, properly. Our hands are the main carrier of all sorts of germs. We frequently touch our eyes, nose, and mouth without even noticing it. Germs from unwashed hands might get into our food as well, some of which may even grow in the food and when we eat those, they can make us seriously sick. And washing hands with soap can mostly kill them.

But how long do you think you wash your hands? Do you sing the happy birthday song? Once or twice? Is it always enough or do you actually just scratch your hands a little for 5 seconds and wash it off?
If we actually count our typical hand washing time, most of us barely washes for 10 seconds, which is definitely not enough. So here at The Tech Lab, we wanted to make something simple, something to force us to wash for at least a good 20 second.

This simple timer sits next to your hand soap dispenser. It has a sensor on top that detects when you take your hand in front of the soap dispenser. Then it starts counting down 20 seconds, lighting up one LED after another. Once the green LED turns on, you have washed your hands long enough to kill most of the germs, and you can wash the soap off with water.

Hand Wash Timer Code.zip

Code for Arduino

x-zip-compressed - 1.21 kB - 03/31/2020 at 12:54

Download

  • 1 × Arduino Uno/Nano
  • 1 × Ultrasonic Sensor (HC-SR04
  • 4 × Blue LED
  • 1 × Green LED
  • 1 × Red LED

View all 6 components

  • 1
    How It Works

    We made this project super simple so that anyone can build it on the weekend. Not only is it fun to make with children but it is also educational, and definitely useful in the current situation. The main brain of this countdown timer is an "Arduino". It's a tiny computer that can be programmed using personal computers. Arduinos are widely used for learning, prototyping and even actual products. If you don't have any experience with it then don't worry, we will walk you through the process easily and you will be able to get started with Arduino, maybe even make more future projects with it if you like the idea of it.

    So the Arduino is connected to an ultrasonic distance sensor, and 6 LEDs. The Arduino is sending ultrasonic sound waves with the distance sensor and checking the time it takes for the sound waves to be reflected back to the sensor. Using the time, it measures the distance of anything right in front of it. So the Arduino is always reading the sensor, waiting for your hand to appear within 30 centimeter. As soon as it detects something within 30 centimeters, the Arduino turns on the red LED and waits for 4 second for you to take some water and soap on your hands. Then it starts the 20 seconds countdown. Eventually the 5 blue LEDs light up, one by one, over the period of 20 seconds.

    Once the green LED turns up, you have washed your hands for long enough and you can rinse off the soap.

  • 2
    Making the Breadboard Version

    There are two version of this project that you can build. One is on a solder-less breadboard and another is on a veroboard or perfboard. If you know don't know how to solder or have very little experience with it, we encourage you to make the breadboard version as it requires no soldering. We recommend Arduino Uno if you want to make the breadboard version since Arduino Nano requires soldering.

    Making this project on the breadboard is really simply. We just have connect our Arduino to the sensor and 6 LEDs. You can follow the picture provided above that shows how to hook things up with both Arduino Uno and Nano, whichever taste you prefer. We use jumper wires to connect everything together. Don't forget to check the LED polarities. The longer pin is usually the positive pin, so the longer pins should be connected to the Arduino digital pins. The shorter pins on the other hand should be connected to ground (GND) pin of the Arduino.

  • 3
    Step 3

    If you have some experience with electronics and you know how to solder, you can solder this onto a solder-able board or even design a PCB of your own. The schematic is provided above, here's the EasyEDA design file so that you can export the PCB easily.

    When soldering, make sure you get the LED polarities correct. You can also add some 150 Ohm resistors to all the LEDs so that they get a longer lifetime. We excluded the resistors to make this project more beginner friendly. Not using resistors is completely fine according to our test, the LEDs seem to be just fine. They should last fairly long as they are only lit up for 4 seconds at a time.

View all 8 instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates