Project tutorial

Corona Hand Wash Timer © GPL3+

A cool timer gadget to teach your kids about washing hands for twenty seconds.

  • 8,257 views
  • 12 comments
  • 66 respects

Components and supplies

Necessary tools and machines

Apps and online services

About this project


This is a great project to teach your kids the importance of cleanliness & washing hands properly in the current times. This project turns the LED red when you start washing hands & will turn green once twenty seconds are complete thus reminding you to wash hands for twenty seconds & do not keep the water running while washing hands. Remember, in the midst of one global crisis, let's not worsen another.Maker : @devd_31 The circuit is made out of @arduino.cc uno board, an infrared sensor & a RGB led.

Thanks UTSOURCE.net to offer electronic components for our projects.

Follow Us on instagram : https://www.instagram.com/random_stuff_we_make/

Code

CodeArduino
Use Arduino IDE to upload the code
/* The following code is developed by members of Random Stuff Community.
   for further information or ideas, please keep following "Random Stuff We Make" on instagram
*/

void setup() 
{
pinMode(2,OUTPUT); //RED
pinMode(3,OUTPUT); //GREEN
pinMode(4,OUTPUT); //BLUE
pinMode(5,INPUT);  //IR sensor
Serial.begin(9600);
}

void loop() 
{
  int a= digitalRead(5);
  Serial.println(a);
  delay(100);

  digitalWrite(2,LOW); //RED off
  digitalWrite(3,HIGH); //GREEN on by default
  digitalWrite(4,LOW); //BLUE off

  if(a==1)
  { 
    digitalWrite(3,LOW);
    digitalWrite(4,LOW);
            
       for(int i=0; i<20; i++)
         {
            digitalWrite(2,HIGH);
            delay(1000);
         }  
     digitalWrite(2,LOW);
  }
}

Schematics

Schematics
Make the circuit like shown below
Automatictimer rfcyls5h8b

Comments

Similar projects you might like

Unlock Your Door With a Hand Gesture

Project tutorial by AdhamN

  • 1,744 views
  • 0 comments
  • 6 respects

Washing Machine Timer

Project tutorial by Shahariar

  • 4,488 views
  • 5 comments
  • 11 respects

Arduino Deep Fridge Timer

Project showcase by Shahariar

  • 3,103 views
  • 4 comments
  • 8 respects

Personal Gym Timer

Project tutorial by Pramod C Wickramasinghe

  • 1,780 views
  • 1 comment
  • 6 respects

Telegram Bot with ESP8266

Project tutorial by Shebin Jose Jacob

  • 45,127 views
  • 44 comments
  • 78 respects

Stopwatch and Lap Timer with Arduino

Project tutorial by LAGSILVA

  • 22,642 views
  • 20 comments
  • 50 respects
Add projectSign up / Login