Загрузка...

Arduino Water Leak Detection for HomeSeer

This project allows you to connect at least 4 “leak ropes” to an Arduino and provide an audible alarm if water is detected on one of the ropes.
The circuit is a voltage divider with some protection. When you first power it up, you need to press the calibrate button - this will write the current analogue readings into Eeprom and will be remembered between reboots.
From that point, the code just compares the live reading to the baseline reading and and works out the percentage deviation from that value. The rest of the code is the Enigmatheatre API mode code for Homeseer - you can either ignore or remove the code if you are not using HomeSeer - or adapt it to make it transmit data over UDP to your particular app.
The conductive wire on the leak rope is stainless steel, which means you can’t solder it. I used bootlace ferules to crimp wires which were then soldered.
The end of the rope has a 6 meg resistor added - this acts to provide a slight input bias downwards, so if it becomes disconnected we can detect that by a rise in the input value.
Further technical details can be found here:
http://www.mez.co.uk/leakrope.html
Music: http://www.purple-planet.com

Video took me longer to edit than it took me to code this thing :(

Видео Arduino Water Leak Detection for HomeSeer канала Eliot Mansfield
Яндекс.Метрика

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять