Public Lab Research note

Waterproof Housing for Arduino Conductivity Meter-- Part 2: results and other containers

by markwh | November 19, 2014 15:33 19 Nov 15:33 | #11368 | #11368

This is a follow-up to this research note

What I want to do

The hope is to make a simple waterproof housing for an arduino-based conductivity meter. From talking to Ben Gamari, who's been active in the Riffle, I learned that the biggest issue they're having is waterproofing the device. Since we're using a school-owned Arduino, we're trying to err on the side of overkill keeping ours dry. As I understand it, the Riffle has two main objectives: low-cost/ease of production and accuracy/quality of data. To the first objective, the Riffle team is trying to deploy it in a plastic soda bottle--something presumably anyone could get ahold of. In our interest of physical integrity, we opted for PVC--still relatively easy to get, but requires a fairly specific parts list and a trip to the hardware store. The thought was that this would ensure watertightness, making it worth the extra effort.

My attempt and results

See this research note for the setup. Quick synopsis: we assembled PVC pipe with our conductivity meter and thermistor integrated into the cap (no electronics inside), filled the assembled unit with steel chain to weigh it down, and submerged it in a bucket of water (approx. 10 inches deep). 24 hours later we opened it up to discover the following:


That's approximately 2 oz of water at the bottom of the pipe. Clearly this is not quite watertight.

Another container we tried was a pint-size peanut butter jar. This didn't have any wires or screws protruding, but we wanted to test it since it fit the Arduino, and it's something people could get ahold of easily. This also was not completely watertight, and after 24 hours it had about 2 tsp of water inside:


Next we tried modifying the peanut butter jar assembly. We found that a mason-jar lid (regular size, 70mm) fits nicely on the peanut butter jar, and lo! makes it seemingly waterproof. A 36-hour submersion showed no discernible water intrusion.

20141113_230636.jpg 20141113_230655.jpg 20141113_230704.jpg 20141113_230736.jpg

Questions and next steps

At this point the project seems to have forked, with one branch trying to waterproof the PVC enclosure and the other working on the peanut butter jar. The former will probably involve a different rubber stopper and a lot of silicon caulk. There was also a suggestion from @amysoyka to use melted milk-jug plastic for sealing. If anyone has experience or thoughts on this, please leave a comment.

For the peanut butter jar, I am trying to design a 3D-printable module to attach through the cap that would make a watertight seal, contain the thermistor and conductivity electrodes, and securely attach the Arduino. I'm currently designing this in Sketchup. Stay tuned for updates!


One of my early underwater housing designs had only three parts. A PVC endcap, a short length of pipe, and a rubber end cap. This came to about$10 for parts from the hardware store, and only needed one single cut to make:

That unit survived for >3 months under water at 5m depth, in 50% marine salinity, without too much corrosion on the pipe clamp. The rubber tends to flex inwards at depth, but for deployments <2-3m it would probably work OK. I have since moved on to an O-ring based housing to get down to greater depths (20-40m), but those are much more work to build. But there still might be something in there that helps with your project:

Reply to this comment...

Hey there @markwh,

This video explains the process quite well:

I use a toaster oven also - just be careful that you don't let it get too hot - otherwise the stage after what you see in the video clip is it turning into resin and burning. Also, I find that putting a wet towel over the top is important - as it captures any fumes that are given off. You can make sticks for hot glue guns using this technique - they are like the 'melts' you get for making molds.

Reply to this comment...

Login to comment.