Iot Hand Sanitiser / Soap Dispenser

About the project

Avoid contact to sanitiser to wash your hands safely with this IoT Hand sanitiser, also providing insights into usage pattern

Project info

Difficulty: Moderate

Platforms: DigilentNodeMCUSparkFun

Estimated time: 1 hour

License: Apache License 2.0 (Apache-2.0)

Items used in this project

Hardware components

Tiny Breadboard Tiny Breadboard x 1
Ultrasonic Sensor Hc-sr04 Ultrasonic Sensor Hc-sr04 x 1
USB A/Micro Cable - 2m USB A/Micro Cable - 2m x 1
Arduino MKRFOX 1200 Arduino MKRFOX 1200 x 1

Software apps and online services

10 Pc. Jumper Wire Kit, 5 cm Long 10 Pc. Jumper Wire Kit, 5 cm Long
Arduino IDE Arduino IDE

Hand tools and fabrication machines

soap dispenser soap dispenser x 1


Amidst COVID-19 outbreak, people are becoming more and more cautious about health and safety and avoiding direct contact to surfaces of usual contacts. As sanitisation is an imperative factor to keep us clean, paradoxically it's also one of the most vulnerable point of contact for diseases and infections as many people tend to touch it to dispense the sanitiser or liquid soap.

In this hacker maker, we develop an IoT based hand sanitiser/soap dispenser to avoid such contact and operate it fully autonomously using proximity sensor and a servo motor for some mechanical action.

How does it work?

So the concept is pretty easy! We use servo motor to dispense the liquid soap/sanitiser out from the bottle which is actuated by sensing the proximity of user by IR proximity sensor. Ideally there's no need of a Microcontroller to use in this project but we create a differentiator by making it connect to internet and post the usage pattern to cloud. That way we can know how many times the device was used and can be monitored regularly by some monitoring authorities.

Step by step guide on building IoT Hand Sanitiser

Schematics, diagrams and documents

Schematic for IoT Hand Sanitiser


Code for IoT Hand Sanitiser


Leave your feedback...