WikiJS/waterproof_sensors.html

95 lines
11 KiB
HTML

<!--
title: waterproof sensor manufacturing
description:
published: 1
date: 2024-08-18T06:54:14.770Z
tags:
editor: ckeditor
dateCreated: 2024-08-18T06:54:14.770Z
-->
<p>&nbsp;</p>
<p>&nbsp;</p>
<h1><strong>Waterproofing a Capacitance Soil Moisture Sensor</strong></h1>
<p>https://www.instructables.com/Waterproofing-a-Capacitance-Soil-Moisture-Sensor/</p>
<p>&nbsp;</p>
<figure class="image image_resized" style="width:520px;"><img src="https://content.instructables.com/F8E/KNMQ/K2G7HCMQ/F8EKNMQK2G7HCMQ.jpg?auto=webp&amp;frame=1&amp;width=525&amp;height=1024&amp;fit=bounds&amp;md=fb2866cd7232b257d9bdf029c5df3e86" alt="Waterproofing a Capacitance Soil Moisture Sensor"></figure>
<p>&nbsp;</p>
<h2 style="text-align:center;"><strong>Supplies</strong></h2>
<p><br>&nbsp;</p>
<p><strong>Parts:</strong></p>
<ol>
<li>Capacitance soil moisture sensor, <a href="https://www.ebay.com/itm/1-2-5-10PCS-Analog-Capacitive-Soil-Moisture-Sensor-Corrosion-Resistant-V1-2/202404013216?ssPageName=STRK%3AMEBIDX%3AIT&amp;var=502419013687&amp;_trksid=p2057872.m2749.l2649"><u>example from eBay</u></a>, or from <a href="https://www.dfrobot.com/product-1385.html?gclid=EAIaIQobChMIiqqs07DM5QIVCyCtBh1T1wDPEAQYASABEgKWhfD_BwE"><u>DFrobot</u></a></li>
<li>Signal wire (at least 3 conductors), 22 -24 gauge; <a href="https://www.google.com/search?q=lowes+rca+telephone+cord&amp;oq=lowes+rca+telephone+cord&amp;aqs=chrome..69i57j33.6783j0j1&amp;sourceid=chrome&amp;ie=UTF-8"><u>we used telephone wire from Lowes</u></a>; it's solid core 4-conductor so one wire is not used.</li>
<li>Adhesive-lined Polyolefin Heat-shrink tubing in three sizes: 1/4", 1/2" and 3/4" diam. with at least 3:1 shrink. Purchased on eBay for about 1$ per foot (<a href="https://www.ebay.com/itm/15-FT-BLACK-3-4-Polyolefin-3-1-Heat-Shrink-Tubing-electrical-wire-sleeve-UL/312675033820?ssPageName=STRK%3AMEBIDX%3AIT&amp;_trksid=p2057872.m2749.l2649"><u>example</u></a>).</li>
<li>Laquer or nail polish: we used Sally Hansen Hard as Nails from Target</li>
</ol>
<p><strong>Tools:</strong></p>
<ol>
<li>Wire Cutter (flush style)</li>
<li>Wire Stripper</li>
<li>Heat Gun</li>
<li>Soldering iron and solder</li>
<li>Arduino or other microcontroller if you want to test the sensor before and after assembly</li>
</ol>
<p><strong>Note:</strong> The most unusual item in this build is the large diam. heat shrink tubing with adhesive. Heat shrink is readily available from many suppliers. It's also on eBay, so you can buy your heat shrink when you buy your soil moisture sensors. Again, it must be adhesive-lined and have a 3:1 shrink ratio.</p>
<h2 style="text-align:center;"><strong>Step 1: Get a Capacitance-based Soil Moisture Sensor and Test</strong></h2>
<figure class="image image_resized" style="width:577.5px;"><img src="https://content.instructables.com/FUX/P9PE/K2G7HCOT/FUXP9PEK2G7HCOT.jpg?auto=webp&amp;frame=1&amp;width=600&amp;height=1024&amp;fit=bounds&amp;md=24332bcc544a8cd1ae8a9f5be25c34e8" alt="Get a Capacitance-based Soil Moisture Sensor and Test"></figure>
<figure class="image image_resized" style="width:577.5px;"><img src="https://content.instructables.com/FWH/U7ZK/K2G7HCNT/FWHU7ZKK2G7HCNT.jpg?auto=webp&amp;frame=1&amp;width=600&amp;height=1024&amp;fit=bounds&amp;md=a6e51a6362b51d9a4801ab597ce299fc" alt="Get a Capacitance-based Soil Moisture Sensor and Test"></figure>
<p>&nbsp;</p>
<p>On rare occasions, we have found batches of these sensors that are flawed (we got a bad order from Ali Express). I would run a simple test of the sensors with an Arduino before waterproofing. There are many tutorials on the web - here is an <a href="https://wiki.dfrobot.com/Capacitive_Soil_Moisture_Sensor_SKU_SEN0193"><u>example</u></a>.</p>
<h2 style="text-align:center;"><strong>Step 2: Remove the Connector</strong></h2>
<figure class="image image_resized" style="width:928.328px;"><img src="https://content.instructables.com/F0C/ZX7I/K2G7HCMH/F0CZX7IK2G7HCMH.jpg?auto=webp&amp;frame=1&amp;width=933&amp;height=1024&amp;fit=bounds&amp;md=65379b989027f113b3842e6cb20d2f08" alt="Remove the Connector"></figure>
<p>&nbsp;</p>
<p>Remove the connector with a flush cutter. After the connector is removed, there will be three unused solder through-holes for attaching the signal wires (they cannot be seen until you remove the connector)</p>
<h2 style="text-align:center;"><strong>Step 3: Prep Signal Wire and Solder to Sensor</strong></h2>
<figure class="image image_resized" style="width:716.125px;"><img src="https://content.instructables.com/F5P/H7KN/K2G7HCOV/F5PH7KNK2G7HCOV.jpg?auto=webp&amp;frame=1&amp;width=741&amp;height=1024&amp;fit=bounds&amp;md=a3c95fdb22c8d4915035e05a6ab8f9a9" alt="Prep Signal Wire and Solder to Sensor"></figure>
<figure class="image image_resized" style="width:438.875px;"><img src="https://content.instructables.com/FBB/072B/K2I40RIY/FBB072BK2I40RIY.jpg?auto=webp&amp;frame=1&amp;width=459&amp;height=1024&amp;fit=bounds&amp;md=4e2e93e0ac6f9960621c35b9aa60fd8f" alt="Prep Signal Wire and Solder to Sensor"></figure>
<figure class="image image_resized" style="width:438.875px;"><img src="https://content.instructables.com/FEK/R7SA/K2I40RJ1/FEKR7SAK2I40RJ1.jpg?auto=webp&amp;frame=1&amp;width=459&amp;height=1024&amp;fit=bounds&amp;md=c7ea6130d1ba6877e62b175da68cef61" alt="Prep Signal Wire and Solder to Sensor"></figure>
<p>&nbsp;</p>
<p>Prep signal wire and solder. Made sure to trim the wires on the back of the board flush with the PCB using your cutter. Clean the solder joint with rubbing alcohol.</p>
<h2 style="text-align:center;"><strong>Step 4: Apply Lacquer (nail Polish) to Exposed Circuits</strong></h2>
<figure class="image image_resized" style="width:577.5px;"><img src="https://content.instructables.com/FLS/FA3B/K2G7HD2W/FLSFA3BK2G7HD2W.jpg?auto=webp&amp;frame=1&amp;width=600&amp;height=1024&amp;fit=bounds&amp;md=61e174641226590a98399d1b180c38d9" alt="Apply Lacquer (nail Polish) to Exposed Circuits"></figure>
<figure class="image image_resized" style="width:577.5px;"><img src="https://content.instructables.com/FM4/2G1U/K2G7HDIR/FM42G1UK2G7HDIR.jpg?auto=webp&amp;frame=1&amp;width=600&amp;height=1024&amp;fit=bounds&amp;md=89ad3382e835506b57619eda6027cfb9" alt="Apply Lacquer (nail Polish) to Exposed Circuits"></figure>
<p>&nbsp;</p>
<p>Apply Sally Hansen's nail polish or a similar compound to exposed circuits on the front and back where the electronic components and traces are exposed. Do not apply to the whole sensor board, just the top inch or so with exposed electronics. Do this outdoors or in a well-ventilated room - allow 30 min to dry.</p>
<h2 style="text-align:center;"><strong>Step 5: File the Corners of the PCB Sensor With Sandpaper or a File</strong></h2>
<figure class="image image_resized" style="width:520px;"><img src="https://content.instructables.com/FSL/HIGD/K2G7HCOR/FSLHIGDK2G7HCOR.jpg?auto=webp&amp;frame=1&amp;width=525&amp;height=1024&amp;fit=bounds&amp;md=25ec235aa5472da91b30ecd8a1187559" alt="File the Corners of the PCB Sensor With Sandpaper or a File"></figure>
<p>&nbsp;</p>
<p>File the corners with sandpaper or a file. This prevents the sharp corner from piercing the heat shrink tubing</p>
<h2 style="text-align:center;"><strong>Step 6: Prep Your Heat-shrink Tubing</strong></h2>
<figure class="image image_resized" style="width:520px;"><img src="https://content.instructables.com/F2X/21S8/K2G7HCNU/F2X21S8K2G7HCNU.jpg?auto=webp&amp;frame=1&amp;width=525&amp;height=1024&amp;fit=bounds&amp;md=02f16748c4dec58443668f55c7804543" alt="Prep Your Heat-shrink Tubing"></figure>
<p>&nbsp;</p>
<p>Cut three sectons of heat shrink tubing as follows.</p>
<p>1/4" diam. - 1.25 inches long</p>
<p>1/2" diam. - 0.75 inches long</p>
<p>3/4" diam. = 1.5 to 1.75 inches long (I used 1 5/8")</p>
<h2 style="text-align:center;"><strong>Step 7: Shrink the 1/4" Diameter Tubing First</strong></h2>
<figure class="image image_resized" style="width:520px;"><img src="https://content.instructables.com/FWZ/F2YH/K2G7HCLR/FWZF2YHK2G7HCLR.jpg?auto=webp&amp;frame=1&amp;width=525&amp;height=1024&amp;fit=bounds&amp;md=dcba47b5547c46302734dd1fe17d9f9c" alt="Shrink the 1/4"></figure>
<p>&nbsp;</p>
<p>Apply the 1/4 diameter tubing with the heat gun - as always - <strong>BE VERY CAREFUL WITH THE HEAT GUN</strong>. Get adult supervision if needed.</p>
<h2 style="text-align:center;"><strong>Step 8: Add the 1/2" Diameter Heat-shrink Tubing</strong></h2>
<figure class="image image_resized" style="width:928.328px;"><img src="https://content.instructables.com/FPD/PQRP/K2G7HCOS/FPDPQRPK2G7HCOS.jpg?auto=webp&amp;frame=1&amp;width=933&amp;height=1024&amp;fit=bounds&amp;md=3e3f57d7c8e73656043f317fc4143a1e" alt="Add the 1/2"></figure>
<p>&nbsp;</p>
<p>Add the 1/2 tubing with the heat gun.</p>
<h2 style="text-align:center;"><strong>Step 9: Apply the 3/4" Diameter Heat-shrink Tubing</strong></h2>
<figure class="image image_resized" style="width:852.938px;"><img src="https://content.instructables.com/FHM/DOX1/K2G7HCNQ/FHMDOX1K2G7HCNQ.jpg?auto=webp&amp;frame=1&amp;width=882&amp;height=1024&amp;fit=bounds&amp;md=5f589832e16d27f7e5e75580c883b008" alt="Apply the 3/4"></figure>
<figure class="image image_resized" style="width:302.062px;"><img src="https://content.instructables.com/F07/MPE5/K2G7HCMJ/F07MPE5K2G7HCMJ.jpg?auto=webp&amp;frame=1&amp;width=318&amp;height=1024&amp;fit=bounds&amp;md=9830e95201b2ac28ee4f490dc9a6861c" alt="Apply the 3/4"></figure>
<figure class="image image_resized" style="width:302.062px;"><img src="https://content.instructables.com/FOA/A3TM/K2G7HCNR/FOAA3TMK2G7HCNR.jpg?auto=webp&amp;frame=1&amp;width=318&amp;height=1024&amp;fit=bounds&amp;md=e77a478b14674cfe2a0e0de0995a8ee6" alt="Apply the 3/4"></figure>
<p>&nbsp;</p>
<p>Last, apply the 3/4" diameter tubing. Make sure the adhesive is melted and seals all the joints. It's important that you get the tubing in the correct position or you won't get full coverage of the electronics. Using a gloved hand, you can apply pressure to the heat shrink while it's still warm to push the adhesive onto the PCB; this may improve the seal.</p>
<h2 style="text-align:center;"><strong>Step 10: Apply a Thin Layer of Nail Polish at the Sensor / Tubing Seam</strong></h2>
<figure class="image image_resized" style="width:928.195px;"><img src="https://content.instructables.com/FIX/VEQU/K2G7HDIW/FIXVEQUK2G7HDIW.jpg?auto=webp&amp;frame=1&amp;width=933&amp;height=1024&amp;fit=bounds&amp;md=c5e0803912b182e2e55026eaada1a710" alt="Apply a Thin Layer of Nail Polish at the Sensor / Tubing Seam"></figure>
<p>&nbsp;</p>
<p>Apply a thin layer of nail polish at the sensor / tubing seam to provide extra waterproofing protection.</p>
<h2 style="text-align:center;"><strong>Step 11: Complete Probes and Test Again</strong></h2>
<figure class="image image_resized" style="width:928.328px;"><img src="https://content.instructables.com/F81/ZF3A/K2G7HCNO/F81ZF3AK2G7HCNO.jpg?auto=webp&amp;frame=1&amp;width=933&amp;height=1024&amp;fit=bounds&amp;md=d8ddbd081e0fa9ae596ffbe2f54ce4bc" alt="Complete Probes and Test Again"></figure>
<p>&nbsp;</p>
<p>Test the probes again with your Arduino or other microcontroller. I submerged my sensors in a glass of water for several days while taking readings periodically to verify performance.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>