element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Fighting Germs
  • Challenges & Projects
  • Project14
  • Fighting Germs
  • More
  • Cancel
Fighting Germs
Blog COVID-19 Handwash Timer (Touchless)
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Fighting Germs to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: drecali
  • Date Created: 15 Jun 2020 4:09 AM Date Created
  • Views 927 views
  • Likes 4 likes
  • Comments 0 comments
  • fighting germs
  • fightinggermsch
  • modular
  • modi
Related
Recommended

COVID-19 Handwash Timer (Touchless)

drecali
drecali
15 Jun 2020
image

Fighting Germs

Enter Your Project for a Chance to Win a Thermal Imaging Camera, Germicidal UV Lamp, and a Shopping Cart with Matching Charity Donation!

Submit an EntrySubmit an Entry  Back to homepage image
Project14 Home
Monthly Themes
Monthly Theme Poll

 

This is a DIY timer that ensures you wash your hands for at least 20 seconds, which is proven to kill the coronavirus. Why make this timer instead of just singing "Happy Birthday" twice? Because it's fun to engineer your own custom solution and learn about coding while you're at it. Plus, singing the same song gets boring.

How does it work? An infrared proximity sensor starts a 20-second countdown. The display shows the time remaining. When 20 seconds have passed, the timer beeps, and the display changes to notify the user that they can rinse their hands. This project applies key coding fundamentals to solve a real-world problem, so it's suitable as an introduction for new coders, or a review to strengthen understanding.

A MODI Expert Kit is used, but the concepts could be adapted and used with other tools like the Arduino, micro:bit, etc. The MODI Expert Kit has 13 different types of smart, interchangeable, programmable robotics modules. MODI modules are ideal for this project because they can be coded with a simple drag-and-drop interface, and they are self-contained so they do not have exposed electronic components. It's also easy to add more functionality to a project by connecting more modules.

 

The first challenge was how to start the timer at the right time (when starting to lather) without touching it. It was solved by using the infrared module as a proximity sensor.

Another consideration was not triggering the proximity sensor unintentionally, by objects within its range or hands straying in its path. This was addressed by limiting the maximum detection distance.

Also, in noisy environments, it might be hard to hear the beeps from the speaker. This was solved by using an LED that blinks red while the timer is counting down and changes to a green light when the countdown has completed.

Here's a video of the final product (without the LED)

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Here's the final code:

image

And here's a more detailed explanation of the concepts, the approach, and live coding.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

 

If anyone has any questions about the project, please let me know. I hope this was helpful!

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube