Easy Water Overflow Alarm Using Household Scrap

by Pro Maker_101 in Circuits > Electronics

267 Views, 2 Favorites, 0 Comments

Easy Water Overflow Alarm Using Household Scrap

This DIY device is a must-have in every home

Water is a precious resource, and preventing its wastage is everyone’s responsibility. One common cause of water waste is tank overflow due to forgetting to turn off the motor in time. In this project, we’ll build a simple and effective water tank overflow alarm using an old mobile charger and a few basic components. This DIY solution is low-cost, easy to build, and helps conserve water by alerting you when the tank is full. No microcontrollers or programming needed—just basic electronics and smart reuse of household items!

Supplies


  1. 1 × D882 NPN Transistor
  2. 2 × 100Ω Resistors
  3. 1 × 5mm LED (any color)
  4. 1 × 2-Pin Connector
  5. 1 × Old Mobile Charger (5V output)
  6. 2 × Wires (for water sensing)

Prepare the 5V Charger

IMG_5604.PNG
IMG_5605.PNG
IMG_5607.PNG

Find an unused 5V mobile charger—make sure it’s still working properly.

Now, carefully open the charger case using a screwdriver or a cutter.

We need access to the internal DC output wires, usually marked as + (positive) and – (negative).


⚠️ Be cautious while opening—ensure the charger is unplugged to avoid any shock or injury.

Mount and Prepare the Charger PCB

IMG_5608.PNG
IMG_5609.PNG
IMG_5610.PNG
IMG_5611.PNG
IMG_5612.PNG

Fix the charger’s PCB securely on a base or stand to keep it stable while working.

You’ll see the USB socket on the board—remove it carefully using a desoldering pump or any suitable method.


After removing the socket, you’ll find two pads or tracks where the USB pins were.

These are your + (positive) and – (negative) output points.

Use a multimeter or inspect the PCB markings to confirm the polarity before connecting anything.


Mark the + and – clearly to avoid mistakes later.

Prepare and Place the D882 Transistor

IMG_5613.PNG
IMG_5614.PNG
IMG_5615.PNG
IMG_5616.PNG
IMG_5617.PNG

Take the D882 transistor and bend the emitter leg as shown in the image (usually bent backward).

Cut the other two legs (base and collector) slightly shorter for neat placement.


Insert the emitter leg into the +ve (positive) side of the removed USB socket hole on the PCB.

Apply a small drop of glue (like hot glue or super glue) to secure the transistor in place.

This setup will make your circuit cleaner and more stable.

Connect the 100Ω Resistor and LED

IMG_5618.PNG
IMG_5619.PNG
IMG_5620.PNG
IMG_5621.PNG
IMG_5622.PNG
IMG_5623.PNG

Take one 100Ω resistor, cut the legs to a suitable length.

Solder one leg of the resistor to the base pin (center leg) of the D882 transistor.


Next, prepare the 5mm LED by bending its legs to fit the PCB as shown in the image.

Insert the LED’s negative leg (cathode) into the –ve (negative) side of the removed USB socket hole on the PCB.

Solder the positive leg (anode) of the LED to the other leg of the 100Ω resistor connected to the D882.


After soldering, cut off any excess length from the LED legs for a neat finish.

Dd Another 100Ω Resistor for Sensor Input

IMG_5625.PNG
IMG_5627.PNG
IMG_5628.PNG

Take the second 100Ω resistor and solder one leg to the base pin (center leg) of the D882 transistor—on the same point where the first resistor is connected.


Cut the other leg of this resistor slightly, leaving enough length to later connect a water level sensing wire to it.


This resistor will act as a current limiter for the signal coming from the water probe.

🛠️ Make It Look Pro: Turn Your Circuit Into a Real PCB With PCBWay!

FS0GUTCM7NCVD6P.jpg

Upgrade your circuit from breadboard to a professional PCB with PCBWay – trusted by makers worldwide for quality and affordability.

✅ Why PCBWay?

  1. High-precision manufacturing
  2. Fast delivery and global shipping
  3. Low-cost for students, makers, and pros
  4. PCB Assembly service available
  5. Excellent support and instant online quoting

🧾 Simple Ordering Steps:

  1. Design your PCB in software (like KiCad, EasyEDA, or Eagle)
  2. Export Gerber files
  3. Go to PCBWay.com
  4. Upload your Gerber files
  5. Get an instant quote and place your order!


🚀 Make your project neater, stronger, and ready for real-world use with PCBWay!

👉 Order now at PCBWay.com

Connect Power Output Using 2-Pin Connector

IMG_5629.PNG
IMG_5630.PNG
IMG_5631.PNG
IMG_5637.PNG
IMG_5634.PNG

From the back side of the PCB, solder two wires to the +ve and –ve output points (where the USB pins were previously removed).

Take a 2-pin connector and fix it near the USB area using a drop of glue to hold it firmly in place.

  1. Solder the +ve wire (from emitter leg / USB + pad) directly to one pin of the 2-pin connector.
  2. Take the other pin of the 2-pin connector and connect it to the free end of the 100Ω resistor that was soldered to the base (center pin) of the D882.


This 2-pin connector is where the sensor wires (probes) will be connected later.

Install the Buzzer

IMG_5641.PNG
IMG_5642.PNG
IMG_5643.PNG
IMG_5645.PNG
IMG_5647.PNG


Once the circuit is complete and tested, take the top cover of the charger case.

Drill or make a small hole at the center side of the top cover, as shown in the image.


Take a buzzer (5V type) and insert its wires through the hole.

Place the buzzer on the case and fix it using short screws.

⚠️ Do not use long screws—they may touch the internal circuit and cause a short when the case is closed.

Connect Buzzer Wires and Final Assembly

IMG_5649.PNG
IMG_5650.PNG
IMG_5651.PNG
IMG_5653.PNG
IMG_5654.PNG

Solder the +ve wire of the buzzer to the +ve pad (where the USB + was connected or directly to the + pin of the connector).

Solder the –ve wire of the buzzer to the base pin (center leg) of the D882 transistor, before the resistor.

Once the buzzer is wired correctly, carefully close the charger case and make sure all internal parts are secure and not touching.

After closing the case properly, make a small hole on the top outer side of the case—this allows the LED to be clearly visible when the tank is full.

Connect the Water Sensor Wires

IMG_5655.PNG
IMG_5656.PNG
IMG_5657.PNG
IMG_5660.PNG
IMG_5663.PNG
IMG_5664.PNG
IMG_5665.PNG
IMG_5667.PNG
IMG_5672.PNG

For testing, you can use short wires, but for real use, you’ll need longer wires to run from the tank to the adapter inside the house.

Here’s how to set up the water sensor:

  1. Take two wires and connect one end of each to the 2-pin connector on the adapter circuit.
  2. On the other end, you’re using a smart trick—take a 2-pin connector, open it, insert and screw the wires tightly onto the two metal contacts, then close the connector.
  3. Place or fix this connector at the desired water level in the tank.

When water touches both pins, it will complete the circuit, activating the LED and buzzer to alert you that the tank is full.


This is a simple, effective, and reusable probe setup without soldering at the tank side.

Demo & Final Result

This DIY device is a must-have in every home

You can see the full working and demonstration of this water tank alarm in the video below:


🎥 Watch Full Video Here

This simple and cost-effective DIY project helps prevent water wastage using an old mobile charger and basic electronic components. No programming or microcontroller needed!