how to make automatic soap dispenser at home

DIY Automatic Soap Dispenser: Make at Home with These Simple Steps

By Laura Moore
AD

Ever wondered how to add a touch of luxury and hygiene to your home without breaking the bank? This step-by-step guide will show you how to make an automatic soap dispenser at home, transforming your handwashing routine into a futuristic, hands-free experience. With a little DIY ingenuity and some simple materials, you'll be enjoying squeaky clean hands in no time. Let's dive right in!

Before we begin, let's clarify what an automatic soap dispenser is. Essentially, it's a hands-free soap dispenser that dispenses the perfect amount of soap each time you position your hands underneath the sensor. It's not only convenient but also helps maintain a cleaner sink area by minimizing touch points. Now, let's explore the world of DIY and create your own!

Gathering Your Materials and Tools

First things first, you'll need to gather all the necessary components and tools. Fear not, as most of these items are readily available at your local hardware store or online. Here's what you'll need:

AD
How To Make DIY Automatic Soap Dispenser || Without Arduino
How To Make DIY Automatic Soap Dispenser || Without Arduino
Automatic Soap Dispenser Hack | DIY
Automatic Soap Dispenser Hack | DIY
DIY Soap Dispenser
DIY Soap Dispenser

  • An infrared proximity sensor
  • A 1.5V or 3V DC motor
  • A soap pump (ensure it matches your motor's voltage)
  • A piece of Perspex or acrylic glass (approximately 3mm thick)
  • An infrared LED and diffuser (both optional, for a sleek light-up effect)
  • A microcontroller, such as an Arduino Uno
  • Jumper wires
  • A 9V battery and connector
  • A wire stripper and pliers
  • Super glue or a hot glue gun
  • A pen knife or Dremel tool
  • Silicone sealer
  • a drill

Soap Dispenser | DIY
Soap Dispenser | DIY
Automatic Soap Dispenser Hack | DIY
Automatic Soap Dispenser Hack | DIY
How to make IR Sensor Soap Dispenser With Anet ET4 3D Printer
How to make IR Sensor Soap Dispenser With Anet ET4 3D Printer

Choosing the Perfect Soap Pump and Motor

The soap pump and motor are the heart of your automatic soap dispenser. They work together to dispense soap when triggered. Ensure the pump's flow rate and your motor's speed are compatible. Most soap pumps are designed to work with DC motors, so choose one that matches your pump's voltage.

Tip: Consider a pump with an adjustable flow rate for better control over how much soap is dispensed with each trigger.

AD

Understanding the Role of an Infrared Sensor

An infrared proximity sensor is what makes your automatic soap dispenser ... automatic. This clever little gadget emits an infrared beam and detects changes in the reflection. When your hands interrupt the beam, the dispenser knows it's time to dispense soap.

DIY No-Contact Hand Sanitizer or Liquid Soap Dispenser / Homemade Automatic Sensor Machine
DIY No-Contact Hand Sanitizer or Liquid Soap Dispenser / Homemade Automatic Sensor Machine
Como Hacer un 🧪 DISPENSADOR DE GEL Antibacterial Casero 👉 con Cartón
Como Hacer un 🧪 DISPENSADOR DE GEL Antibacterial Casero 👉 con Cartón
How to Stop Refilling the Soap Dispenser
How to Stop Refilling the Soap Dispenser
HOMELYLIFE Touchless Soap Dispenser, 380ML Rechargeable Foam Dispenser for Kitchen & Bath
HOMELYLIFE Touchless Soap Dispenser, 380ML Rechargeable Foam Dispenser for Kitchen & Bath
a person is holding out their hand in front of a wall mounted soap dispenser
a person is holding out their hand in front of a wall mounted soap dispenser

Did you know? The distance at which the sensor triggers can be adjusted by changing the pot (potentiometer) on the sensor module.

Assembling the Automatic Soap Dispenser

Now that you've got all your components, it's time to start building. Remember, safety first! Ensure your workspace is free of clutter and you're working in a well-lit area. Let's begin!

AD

The following steps will guide you through the assembly process. If you're more of a visual learner, plenty of YouTube tutorials are available to help you through the trickier bits.

Mounting the Soap Pump and Motor

First, attach your soap pump to the motor using the supplied screws. Next, carefully cut a small circular hole in your Perspex or acrylic glass, large enough to fit the pump's dispenser head. Insert the pump through the hole and secure it in place using silicon sealer.

Once dry, securely fasten your motor to the underside of the Perspex or acrylic glass using super glue or a hot glue gun. Ensure the motor's shaft is correctly aligned with the pump's driving mechanism.

AD

Wiring the Microcontroller and Sensor

Now it's time to connect your components. Using your jumper wires, connect the infrared sensor's output to one of your microcontroller's digital input pins. Likewise, connect the motor to one of your microcontroller's digital output pins.

The 9V battery connector should be connected to your microcontroller's power pins, with the battery itself securely attached.

Important: Double-check your connections to ensure everything is secure and correctly wired. Incorrect wiring can damage your components or cause your dispenser to malfunction.

Programming the Microcontroller

Arduino, a popular open-source electronics platform, is an excellent choice for programming your microcontroller. To create your automatic soap dispenser's brain, you'll need to write a simple program that triggers the motor when the sensor detects an object (i.e., your hands).

Upload your program to the microcontroller, and with a working power source, your dispenser should now be functioning!

Do you need help with programming? Arduino has a vast online community and plenty of resources to help you through the process. Additionally, many DIY tutorials include the necessary code for your convenience.

Adding the Finishing Touches

Congratulations! You've built your automatic soap dispenser. Before you celebrate, let's give it a professional finish. Here's how:

  • Mount the infrared sensor onto the Perspex or acrylic glass, pointing downwards toward the soap dispenser's dispensing area.
  • If you've chosen an infrared LED and diffuser, mount them near the sensor for a sleek, light-up effect.
  • Drill a small hole in the Perspex or acrylic glass for the motor's power cable, ensuring a neat, tidy finish.
  • Finally, give your automatic soap dispenser a good cleaning, making sure no dust or debris is left on the sensor or LED.

You're now ready to enjoy your hands-free, germ-free handwashing experience!

Customizing Your Automatic Soap Dispenser

Feeling creative? With a little imagination, you can customize your automatic soap dispenser to suit your unique style. Here are a few ideas to get you started:

  • Create a stylish enclosure using wood, acrylic, or 3D-printed materials to house your dispenser.
  • Add a captive touch switch to adjust the dispensing time, allowing you to control the amount of soap dispensed with each trigger.
  • Integrate a low-soap level indicator to alert you when it's time to refill.
  • For a touch of elegance, mount your dispenser on a swanky wall bracket.

Remember, safety is paramount when working with electrical components. Always double-check your wiring, keep your workspace clean, and ensure your project complies with local electrical safety regulations.

Enjoying your new automatic soap dispenser is a rewarding feeling, and the sense of accomplishment you gain from a successful DIY project is unmatched. Get creative, have fun, and happy building! Who knows – you might become the next DIY sensation. Now, go wow your guests with your handiwork and elevated hygiene standards!

AD