Wireless Water Leak Sensor

by jade7272 in Circuits > Electronics

2251 Views, 14 Favorites, 0 Comments

Wireless Water Leak Sensor

806D255A-C264-4EE5-94BC-1CB31B19B9A4.jpeg
In this instructable I will demonstrate how to build your own water Leak Sensor with Temperature Sensors ,Alarms and Notifications vía Twillio ..It is surprisingly simple so this will be a really short Instructable.

https://m.youtube.com/watch?v=VojkQFnYJD8

The Board Design

20C1490D-1FE3-42E8-BC40-7A0F751A1969.jpeg
IMG_0324.jpg
717B5939-74C4-4A0A-8822-764089297914.jpeg
DFF690F3-0264-4188-8735-00F6EE57166F.jpeg

I Designed a really small board that can be fit into just about anything ..With a Power jack but we are going to use a Particle Electron with Battery..I will last a very long time as the Particle will be asleep until there is an event and then it will wake up send an alarm.. You can reset the alarm by sending the Particle a number 1 via the Particle app..

I have my PCBs manufactured by pcbway.com they are great and produce quality PCBs very quickly and quite economically ..You can just upload the gerber file to them and have your PCB within 7 days..

Sensor Design and Box Build

DB7B81B2-3D6F-4AB1-91DC-A8077A06019A.jpeg
60427341-7B3F-46BC-B172-68E1973761B4.jpeg
F0CD57AB-084C-4052-A5CB-665BAF27F56E.jpeg
2A9509C9-E4C3-460D-A865-0E18D5E6FDDD.jpeg
The Box Design is surprisingly simple.. I had a left over box from another project and just drilled 6 holes evenly spaced into the box then inserted 6 10/32 by 1.25” bolts into it.. I then had 6 little stake-ons with wires crimped on. And zig-zagged the wires so that no matter where the water went under the box it would make contact and send the alarm.it takes a few minutes for the box to wake up and connect to the cellular network before sending the alarm but that’s ok. I have developed a water shut off box as well that would automatically shut the water off to the house if an alarm went off ...but that is a whole other instructable..

The Programming ..and Testing

9CB76761-EAFB-4FEF-92E4-A3DB79E9F81A.jpeg
959ECCDF-5A86-45D0-9BEF-4BA30F685332.jpeg
5A178786-7B8E-42B1-B582-505370B20333.jpeg
B5573D99-8FD9-46D9-9714-C8C224FCF156.jpeg
C7A5498D-A9DC-45F2-A35E-48B7F1E2BF2D.jpeg

I will include a text file of the Web hooks needed for sending your alarms as well as Gerber files for the boards..I am a big particle enthusiast as it is really low cost and programmable from anywhere which is a real bonus when tweaking your programs.. When using a Particle Electron it is advisable to Program and upload the program via a computer as opposed to using the On Line IDE as you will use data using the remote upload..

In the Particle IDE simply click on the little cloud upper left corner of code file..It wiil download the code to your downloads file folder

If you are using a linux computer

simply open a terminal and type

"cd downloads"

then type in

"particle flash --serial firmware.bin"

put the particle into listening mode by holding down the little button (the other one not the reset) and follow instructions..If you haven't done this before there are instructions on how to do it here

https://docs.particle.io/guide/tools-and-features/...

You will need a Particle account
Http://www.Particle.io (Free)
And a Twillio Account
Http://www.Twillio.com (One month Free)

There are instructions on both sites on how to get the required information that you need to continue.

the Particle Code is here ..You can change it all you want

https://go.particle.io/shared_apps/59ee0f6c59ad15e...

Testing

A7947A6E-0CDF-4CE7-9EBB-2B3281405CC9.jpeg
2988818E-4282-4292-80D8-453D526D7364.jpeg
Particle Leak Sensor DIY

..Thanks for reading

contact me via this site if you have any questions I will be happy to answer any that you have ..