Jump to content
vsc

Yet Another DIY Leak Sensor

Recommended Posts

A number of DIY leak sensors have been published over the years where SparkFun published a project in 2013 based upon an Arduino. This project builds upon the SparkFun design using an AdaFruit Trinket and a few other components.

 

The following is a link to the instructions for this project,

 

https://www.instructables.com/id/Underwater-Camera-Housing-Leak-Detector/

 

post-53499-0-52159100-1495508572_thumb.jpg

 

 

 

  • Like 1

Share this post


Link to post
Share on other sites

Sweet! Thanks for sharing.

Share this post


Link to post
Share on other sites

I must admit a few weeks ago getting the enclosure wet for the first time, at 100 feet the leak detector sounded. In short a small fiber, most likely from a lens wrap, was on the main o-ring. I missed it. That said there was only a few drops of water in the bottom of the housing and the leak detector picked it up doing its job. The fact that there is an audible alert ensured that I immediately reacted to the situation, heading for the surface.

 

That said after rinsing out the enclosure and in theory drying it, I locked it up for the night without desiccant. At some point in the middle of the night the alarm went off again. It would appear enough residual moisture was present, most likely between the wires and the heat shrink tubing used at the end of the sensor circuit board.

 

Note I updated the firmware on Instructables to include a power savings mode which should extend the battery life to a year of standby time. The leak detector in the power savings mode polls the sensor every four seconds. When on travel, test at the start of the trip. The detector shifts to polling the sensor once per second, shifting back to power savings mode after two weeks. The older source code file is still present on Instructables which should yield three months of continuous monitoring (e.g. once per second polling), using a CR2032 battery. The updated file is what was in use when the small flood occurred, thus I'm rather sure the code is working.

Edited by vsc

Share this post


Link to post
Share on other sites

hi

i can't upload trinke m0

Do you mind if I ask you a favor?

 

sorry my english very bad

 

thank you

 

Arduino:1.8.4 (Windows 10), 開發板:"Adafruit Trinket M0"

C:\Users\hank\Downloads\H2OhNo\H2OhNoM0\H2OhNoM0.ino:23:19: fatal error: power.h: No such file or directory
#include <power.h>
^
compilation terminated.
exit status 1

sorry my english is very bad

Share this post


Link to post
Share on other sites

Sponsors

Advertisements



×
×
  • Create New...