Project tutorial
DIY Hand Wash Reminder

DIY Hand Wash Reminder © GPL3+

Hand Wash Reminder is a Hand Band which reminds you to wash your hands after every 20 minutes.

  • 395 views
  • 1 comment
  • 1 respect

Components and supplies

Necessary tools and machines

09507 01
Soldering iron (generic)

Apps and online services

About this project

Hand Wash Reminder is made using a Arduino Nano, a WS2812b LED and a home made Vibration Sensor. Whenever a person wants wash his/her hands they have to shake their hand with force so that vibration sensor detects the vibrations and triggers the reset of the Arduino board. As Arduino is reset the program comes to the initial values and starts. First the fading colors are lighten on the LED for 30 seconds which acts as a timer for rubbing our hands for 30 seconds, after fading mode Green color lights on the LED it stays for 20 minutes indicating that your hands are washed, after 20 minutes LED lights with Red color indicating that your hands are not washed. The Red color stays until you shake your hand and wash your Hands.

Code

Arduino CodeArduino
#include<FastLED.h>

#define LED_PIN     3
#define NUM_LEDS    1
#define LED_TYPE    WS2812B
#define COLOR_ORDER GRB
#define BRIGHTNESS  100
CRGB leds[NUM_LEDS];
#define UPDATES_PER_SECOND 100

void setup() 
{
  Serial.begin(9600);
  FastLED.addLeds<LED_TYPE, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS);
  FastLED.setBrightness(  BRIGHTNESS );
}

void loop() 
{
    Serial.print("Start\n");
    for(int i=0;i<=3000;i++)
    {
    static uint8_t hue = 0;
    for(int i = 0; i < NUM_LEDS; i++) 
    {
    leds[i] = CHSV(hue++, 255, 255);
    FastLED.show(); 
    fadeall();
    delay(10);
    }
    }
    for(int i=0;i<20;i++)
    {
      leds[0] = CRGB(0,255,0);
      FastLED.show();
      delay(60000);
    }
    while(1)
    {
      leds[0] = CRGB(255,0,0);
      FastLED.show();
    }
}
void fadeall()
{ 
  for(int i = 0; i < NUM_LEDS; i++) 
  { 
    leds[i].nscale8(250);
  }
}

Custom parts and enclosures

Circuit Connectio
Handwash circuit bm7lcgu6ie
Hand Band Clip
3D Body

Schematics

Circuit Diagram
Handwash circuit b6xp66owwk
img_20200607_150720_Vjd221kya5.jpg
Img 20200607 150720 vjd221kya5

Comments

Similar projects you might like

DIY Hand Sanitizer Dispenser Using Arduino

Project tutorial by Mission Critical

  • 13,147 views
  • 4 comments
  • 8 respects

A DIY Smart Insole to Check Your Pressure Distribution

Project tutorial by Juliette van der Pas

  • 23,786 views
  • 15 comments
  • 54 respects

COVID - 19 Touchless Hand Wash Timer

Project tutorial by Akshay Joseph

  • 3,632 views
  • 1 comment
  • 15 respects

DIY Arduino Tic Toc Toe Game

Project tutorial by Mukesh Sankhla

  • 892 views
  • 0 comments
  • 5 respects

DIY | RGB LED Shades Controlled By Arduino

Project tutorial by RGBFreak

  • 8,235 views
  • 1 comment
  • 13 respects

DIY Lithophane Floating Lamp

Project tutorial by Mukesh Sankhla

  • 501 views
  • 0 comments
  • 2 respects
Add projectSign up / Login