X10 Community Forum

🔌General Home Automation => Automating Your House => User Modified Devices => Topic started by: Puck on June 07, 2007, 12:11:39 PM

Title: [MOD] DS10A Water Leak Detector
Post by: Puck on June 07, 2007, 12:11:39 PM
With OnAlert allowing the (inexpensive 4 for $20) DS10A Door/Window Sensors to trigger AHP macros, I started looking at what can occur around the house that I want to know about and/or automate a response to.

The first thing I thought of was (unfortunately from a past experience) coming home to a flooded basement caused by a leak in the water heater.

You can buy independent sensors that shut off the house water automatically, but I was looking for a much less expensive method of immediately bringing this problem to my attention.

If a water leak occurs while I am away from home, I get an email sent to my cellphone, letting me know what happened and that I need to go home now.

If it occurs while Iím home, my bedroom light comes on (in case itís the middle of the night), chimes happen and X10wavplayer tells me (repeatedly) there is a water leak.

So using one of my spare DS10As and basic electronic parts that I had laying around, here is my Water Leak Detector.


The LED on the front cover is just to let me know the detector has power and all is ok.

The unit is powered by a +9Vdc wall-wart. The Good: never need to worry about the batteries. The Bad: if there is a power blackout then the DS10A becomes unregistered with AHP & OnAlert; it will handle a momentary power dropout.

The water sensor is home-made, and just consists of a PCB with two interweaving traces.

The control circuit for the water detector is built onto a PCB that will fit inside the DS10A where the batteries would normally be housed.

The schematic of the DS10A Water Leak Detector.

Due to geocities free Site closing I attached images below, Dave_x10_L
Title: Re: [MOD] DS10A Water Leak Detector
Post by: KDR on June 07, 2007, 01:56:58 PM
Great Job Puck ...  Nice detailed pictures and print.

(http://www.bdshost.com/X10/lpup.gif)---(http://www.bdshost.com/X10/lpup.gif)---(http://www.bdshost.com/X10/lpup.gif)---(http://www.bdshost.com/X10/lpup.gif)---(http://www.bdshost.com/X10/lpup.gif)----KDR
Title: Re: [MOD] DS10A Water Leak Detector
Post by: Tuicemen on June 07, 2007, 02:32:14 PM
Awesome Puck!
Nice to see an example of x10WavPlayer at work too! ;)
There are many posible uses for the door window sensors,nice detailed post!
Can't wait to see what you do with the other sensors ! ;)
Title: Re: [MOD] DS10A Water Leak Detector
Post by: Brian H on June 07, 2007, 06:06:08 PM
Nice mod and details. Got a Helpful from me
Title: Re: [MOD] DS10A Water Leak Detector
Post by: Oldtimer on July 31, 2007, 08:14:21 AM
PUCK:  Much needed idea.  Great documentation.  Sorry I missed it when you first posted it.
Title: Re: [MOD] DS10A Water Leak Detector
Post by: -Bill- (of wgjohns.com) on July 31, 2007, 01:39:57 PM
PUCK:† Much needed idea.† Great documentation.† Sorry I missed it when you first posted it.
Nice mod and details. Got a Helpful from me

Ditto to both of the above!   ;D
Title: Re: [MOD] DS10A Water Leak Detector
Post by: gil shultz on September 07, 2007, 04:52:22 PM
Good Afternoon,

Great solution if you are there and wake up in the middle of the night,  but what happens if you are on vacation or gone or ???

I would also prefer a solenoid valve in the main water line or a shut off on the well pump depending what type of system you have.  I have lost several hot water tanks over the years and they started slow but they kept getting worse.  It is amazing how much water even a slow leak will put on the floor in a few days.

A valve can be designed to keep the water flowing in case of a power failure but still shut off the water when there is a leak.

Have Fun,
Gil Shultz

Title: Re: [MOD] DS10A Water Leak Detector
Post by: Puck on September 07, 2007, 06:40:32 PM
Great solution if you are there and wake up in the middle of the night,† but what happens if you are on vacation or gone or ???

I would also prefer a solenoid valve in the main water line or a shut off on the well pump depending what type of system you have.† I have lost several hot water tanks over the years and they started slow but they kept getting worse.† It is amazing how much water even a slow leak will put on the floor in a few days.

A valve can be designed to keep the water flowing in case of a power failure but still shut off the water when there is a leak.

You can buy independent sensors that shut off the house water automatically, but I was looking for a much less expensive method of immediately bringing this problem to my attention.

If a water leak occurs while I am away from home, I get an email sent to my cellphone, letting me know what happened and that I need to go home now.

If it occurs while Iím home, my bedroom light comes on (in case itís the middle of the night), chimes happen and X10wavplayer tells me (repeatedly) there is a water leak.

The main purpose is to give you immediate notice that a leak occurred. When away on vacation, I have always shut-off my water heater and turn the house supply water off.

Floodstop makes various auto-valves for shutting water off from various appliances as well as the main house supply. Great products, but not in my budget right now. ;)

Even with these type of auto-shutoff valves, a water heater is still going to release a tank (at most) of water onto the floor. With the main house supply turned off, and no pressure behind it, the drain on the floor should keep the water damage to a minimum.


On a side note, this modification can be used for other purposes as well. It can be used to let AHP (OnAlert) know if it's raining. If you have an auto-sprinkler as part of your home automation, and if it doesn't already have a built in sensor, it can be used to prevent your lawn from being watered during the rain. It can trigger macros to verbally announces that it's raining and which windows are currently open.
Title: Re: [MOD] DS10A Water Leak Detector
Post by: RebHawk on February 29, 2008, 02:00:43 PM
Cool idea!  Is there, perhaps, a commercial sensor that simply has NC contacts, or even NO contacts you could run through a small relay, ala the smoke alarm hack, in order to do this same job?  I've looked around, and haven't found anything obvious yet...

Regards,
--Lee
Title: Re: [MOD] DS10A Water Leak Detector
Post by: KDR on February 29, 2008, 05:40:16 PM
RebHawk take a look at this one. I purchased one and it works as advertised.

http://www.smarthome.com/71932.html (http://www.smarthome.com/71932.html[/color)

(http://www.bdshost.com/X10/lpup.gif)---(http://www.bdshost.com/X10/lpup.gif)---(http://www.bdshost.com/X10/lpup.gif)---(http://www.bdshost.com/X10/lpup.gif)---(http://www.bdshost.com/X10/lpup.gif)----KDR
Title: Re: [MOD] DS10A Water Leak Detector
Post by: RebHawk on February 29, 2008, 11:10:02 PM
Yep, saw that one KDR.  Thanks.  Did you mod it with a relay to be able to use it with a DS10a (NC contacts), modify a DS10a with a wired-or cable attached to the test button so you can trigger it with NO contacts, or do you use a powerflash with it?  It's not convenient for me to use it with a powerflash, so a DS10A is the only option... and at that price, it's pretty much a wash between making one of Puck's mods above or the mods necessary to make this work with a DS10A...

Regards,
--Lee
Title: Re: [MOD] DS10A Water Leak Detector
Post by: Knightrider on March 05, 2008, 07:04:43 PM
Puck,
In my home remodeling experience, about 10% of our projects start out as some water damage repair.  This is not limited to water heaters in the basement either.  My opinion is that everyone needs one of these things under their washing machines and under the dishwasher.  I've also seen many a hardwood floor in the kitchen ruined because of the water supply line to the refrigerator springing a leak.  Installing one of these units at each of these (and other) locations is a small price to pay for the piece of mind afforded by preventing costly repairs that could be prevented.
Good job finding a new use for X10!
Title: Re: [MOD] DS10A Water Leak Detector
Post by: Alan V on March 05, 2008, 09:06:32 PM

The unit is powered by a +9Vdc wall-wart. The Good: never need to worry about the batteries. The Bad: if there is a power blackout then the DS10A becomes unregistered with AHP & OnAlert; it will handle a momentary power dropout.


Nice Job.

If you add a Schottky diode (1N5711) in series with the battery pack and connect its cathode to the cathode of the second 1N914 (furthest away from the voltage regulator) then you can have battery back-up when there is a blackout.
Title: Re: [MOD] DS10A Water Leak Detector
Post by: KDR on March 06, 2008, 05:59:18 AM
Yep, saw that one KDR.† Thanks.† Did you mod it with a relay to be able to use it with a DS10a (NC contacts), modify a DS10a with a wired-or cable attached to the test button so you can trigger it with NO contacts, or do you use a powerflash with it?† It's not convenient for me to use it with a powerflash, so a DS10A is the only option... and at that price, it's pretty much a wash between making one of Puck's mods above or the mods necessary to make this work with a DS10A...

Regards,
--Lee

I use a Power Flash unit with mine. I can see where using a DS10A would have some advantages. You could keep the DS10A as a battery operated unit and use OnAlert with AHP. AHP would alert you if the batteries get low.

I will say that when I got the unit the instructions for it say the unit is polarity sensitive and hooking it up wrong to the Power Flasher will damage the unit.

(http://www.bdshost.com/X10/lpup.gif)---(http://www.bdshost.com/X10/lpup.gif)---(http://www.bdshost.com/X10/lpup.gif)---(http://www.bdshost.com/X10/lpup.gif)---(http://www.bdshost.com/X10/lpup.gif)----KDR
Title: Re: [MOD] DS10A Water Leak Detector
Post by: RebHawk on March 06, 2008, 11:28:56 AM

I use a Power Flash unit with mine. I can see where using a DS10A would have some advantages. You could keep the DS10A as a battery operated unit and use OnAlert with AHP. AHP would alert you if the batteries get low.

Yep, in my case there are no 110VAC outlets for a powerflash in my laundry, nor easily convenient to any of my bathrooms or my main pressure tank. 

Cheers,
--Lee

Title: Re: [MOD] DS10A Water Leak Detector
Post by: dimka2000 on July 07, 2008, 12:54:29 PM

   What's the easiest way to make a water sensor like this one?  Any suggestions with possible links to required materials will be much appreciated!

   Thanks!
Title: Re: [MOD] DS10A Water Leak Detector
Post by: igi on September 07, 2008, 06:29:17 PM
Thanks to all the people who posted on this thread. I was trying to do the same water leak detection and initially used plain DS10A's but never got enough sensitivity. Inspired by the posted circuits, I ended taking a slightly different route: I already had a couple of those "water bugs"  boxes that beep when they sense water. Their water detection circuitry is very simple but very sensitive. So instead of adding the posted circuit to the DS10A I hacked something similar so that when these water bugs go active, they activate the DS10A's.

Very simple, 1 mosfet, 1 relay, 1 diode. If anyone's interested, then let me know and I'll post the circuit and where I connected this to these "water bugs".

I.
Title: Re: [MOD] DS10A Water Leak Detector
Post by: Puck on September 07, 2008, 07:37:40 PM
If anyone's interested, then let me know and I'll post the circuit and where I connected this to these "water bugs".

igi: Different ways of doing something are always welcome here. Please post your circuit on the forum too. Feel free to add to this thread or start a new one.

Cheers
Title: Re: [MOD] DS10A Water Leak Detector
Post by: bgardner on June 23, 2010, 05:28:35 PM
I found this topic recently and was so impressed I decided to try my hand at a slightly different implementation with a battery backup to retain the DS10A ID.  Rather than attempting to provide all the details here, I am posting a link to my web page that details the implementation.  I hope this isn't a problem.

www.gardnerswebsite.com/ds10a/index.html (http://www.gardnerswebsite.com/ds10a/index.html)

Thanks for all the information and inspiration.

Bob
Title: Re: [MOD] DS10A Water Leak Detector
Post by: HA Dave on June 23, 2010, 08:00:51 PM
I found this topic recently and was so impressed I decided to try my hand at a slightly different implementation with a battery backup to retain the DS10A ID.  Rather than attempting to provide all the details here, I am posting a link to my web page that details the implementation.  I hope this isn't a problem.
www.gardnerswebsite.com/ds10a/index.html (http://www.gardnerswebsite.com/ds10a/index.html)

Wow Bob... very impressive... and your 1st post too.
Title: Re: [MOD] DS10A Water Leak Detector
Post by: Brian H on June 24, 2010, 06:13:41 AM
Very well thought out and presented modification how to.
Thank you for sharing it.
I also gave you a helpful.
Title: Re: [MOD] DS10A Water Leak Detector
Post by: JMac on June 24, 2010, 10:36:27 AM
Lot of thought here. Thanks..............
Title: Re: [MOD] DS10A Water Leak Detector
Post by: pconroy on June 24, 2010, 11:39:32 AM
I found this topic recently and was so impressed I decided to try my hand at a slightly different implementation with a battery backup to retain the DS10A ID.  Rather than attempting to provide all the details here, I am posting a link to my web page that details the implementation.  I hope this isn't a problem.
www.gardnerswebsite.com/ds10a/index.html (http://www.gardnerswebsite.com/ds10a/index.html)

Wow Bob... very impressive... and your 1st post too.

+1!!!

Wish I could solder and new something about electronics...   
Title: Re: [MOD] DS10A Water Leak Detector
Post by: Brian H on June 24, 2010, 08:05:15 PM
Actually his second project posted here in the X10 forums.
The link to his Ninja Pan and Tilt Base Modification write up was posted by me in another thread.

http://www.gardnerswebsite.com/index.html
Title: Re: [MOD] DS10A Water Leak Detector
Post by: Alan V on June 25, 2010, 10:53:50 AM
I found this topic recently and was so impressed I decided to try my hand at a slightly different implementation with a battery backup to retain the DS10A ID.  Rather than attempting to provide all the details here, I am posting a link to my web page that details the implementation.  I hope this isn't a problem.

www.gardnerswebsite.com/ds10a/index.html (http://www.gardnerswebsite.com/ds10a/index.html)

Thanks for all the information and inspiration.

Bob


Great post.

It looks like there may be a way to simplify your circuit.  One of the inputs to the DS10 is referenced to ground already, so I don't think the analog switch is needed.  Unless it's there so that the user doesn't have to figure out which one of the DS10A wires is ground.  -:)

Also, it looks like the sense is wrong if someone wanted to use this with a DS7000.  For that use, connect pin 4 of U1 to the collector of Q2 instead of Q1.

Someone might want to check, but it looks like that would work.
Title: Re: [MOD] DS10A Water Leak Detector
Post by: Brian H on June 25, 2010, 03:15:28 PM
Alan; I would think the analog switch was used so the water sensor part of the electronics was running on 5 volts and the sensors 3 volts supply was not compromised or bucked.

Yes the logic is inverted if linked to a DS7000 but with the W800RF32 as the receiver. You get an On when it is wet and maybe what was wanted.
Q2 is off when sensor is dry.
Q1 is On pulling the analog switches enable low and it goes off.
DS10 sends an Open signal to the W800RF32.
If it was a DS7000 as you said a open zone would be reported.
Title: Re: [MOD] DS10A Water Leak Detector
Post by: Alan V on June 25, 2010, 03:52:46 PM
Alan; I would think the analog switch was used so the water sensor part of the electronics was running on 5 volts and the sensors 3 volts supply was not compromised or bucked.

Yes the logic is inverted if linked to a DS7000 but with the W800RF32 as the receiver. You get an On when it is wet and maybe what was wanted.
Q2 is off when sensor is dry.
Q1 is On pulling the analog switches enable low and it goes off.
DS10 sends an Open signal to the W800RF32.
If it was a DS7000 as you said a open zone would be reported.

Just run the last transistor stage that's required from 3.3V instead of 5V (before the Schottky).  Then the analog switch is not needed.
Title: Re: [MOD] DS10A Water Leak Detector
Post by: tybirdtybird on August 05, 2010, 09:41:05 PM
Thats what i need to. My basement gets flooded a lot. Having my backup pump hook up to x10 modules
Title: Re: [MOD] DS10A Water Leak Detector
Post by: jheere on September 07, 2011, 11:49:28 PM
Puck,
I was wondering if you still get on the Home Automation chat room?  I tried to register tonite so I could contact you but it would NOT accept my email.  Says it's invalid.  It's just name at gmail.com--maybe it doesn't like Gmail??
Jerry Heere
Title: Re: [MOD] DS10A Water Leak Detector
Post by: HA Dave on September 08, 2011, 04:16:59 PM
Puck,
I was wondering if you still get on the Home Automation chat room? 
I haven't seen Puck in the chat room in months. Actually the room hasn't had much traffic lately. I chatted with KDR (the rooms owner) last night and there has been some maintenance and changes. I am sure if there is any problems... he'll have it working fine soon.
Title: Re: [MOD] DS10A Water Leak Detector
Post by: Puck on September 26, 2011, 10:15:37 PM
Puck,
I was wondering if you still get on the Home Automation chat room?  I tried to register tonite so I could contact you but it would NOT accept my email.  Says it's invalid.  It's just name at gmail.com--maybe it doesn't like Gmail??
Jerry Heere

Hi jheere, I haven't been very active here on the forum lately but if you have any questions feel free to ask them here or send me a PM.

 >!