The place most of us like to see a hands-free toilet flusher is in public washrooms. It will be a welcome convenience – no-one wants to touch a public toilet! In this COVID-19 pandemic touching the flush button in a public toilet is risky also and can be a cause of infection. But do you know you can make an automatic flusher for your toilets in your home?
In this tutorial, I will show you how I made an automatic flusher for my toilet very easily using an Arduino and some 3D printed parts. Though you will find some automatic flushers on the internet those are expensive. Besides, the installation is also not easy. Following my tutorial, you will be able to make your own flusher just by spending a few pennies. Placing it on your toilet is also super easy.
Follow the steps, make one by yourself, stay safe.
Supplies:
For making one by yourself you will be required the following materials:
Components
1. Arduino Nano (1 piece) (buy one from aliexpress.com)
2. TowerPro MG995 metal gear servo motor (1 piece) (buy one from aliexpress.com)
3. HC-SR04 Ultrasonic Distance sensor (1 piece) (buy one from aliexpress.com)
4. Battery and Battery Case
i. 2 AA Battery with battery case (aliexpress.com) + Boost converter (aliexpress.com)
OR
ii. 1 18650 Li-ion battery (buy from aliexpress.com) + power bank circuit (buy from aliexpress.com)
5. Perfboard (buy from aliexpress.com)
6. PCB jumper wire (buy from aliexpress.com)
Tools
1. Soldering Iron (buy one from gearbest.com)
2. Wirecutter (buy from gearbest.com)
3. And access to a 3D printer (buy a quality 3D printer only at $220)
Step 1: 3D Printing

Step 2: Making Circuit Connection

Step 3: Connecting Li-ion Battery & Power Bank Circuit

Powerbank circuit is a circuit that includes both a Li-ion charger circuit and a boost converter circuit which is exactly required for our purpose. I soldered a single Li-ion cell to the power bank circuit using jumper wires. Then I used insulating tape to tightly attach the cell to the circuit. It will also protect the connection.
If you like to use non-rechargeable AA cells then you can follow the next step otherwise ignore it.
Step 4: Using AA Cells

Step 5: Connecting Motor & Sensor

For automatically pressing the flush button a linear actuator is required. I am using a 3D printed door lock model with some modification from the thingiverse.com for serving the purpose. The modified model is attached in a previous step.
For driving the actuator a TowerPro MG995 metal gear servo motor is required. I used Arduino pin 10 for the servo motor. The trigger pin of the ultrasonic sensor is used pin 11 and the echo pin is used pin 12 of the Arduino.
Step 6: Attaching the 3D Printed Parts

Step 7: Uploading the Program and Testing
For the perfect working of the system, you must upload the program in the Arduino nano. The program is simple and no external library is required for compiling the program. Just copy the program to Arduino and upload the program to Nano. Then place it in the bathroom to test everything is working as expected or not.
Read more: Automatic Toilet Flusher (Reduce Touch, Reduce COVID-19 Infection)