{"id":1504,"date":"2024-03-05T09:32:19","date_gmt":"2024-03-05T16:32:19","guid":{"rendered":"https:\/\/canadiangeek.net\/?page_id=1504"},"modified":"2024-03-05T13:56:38","modified_gmt":"2024-03-05T20:56:38","slug":"water-sensor-hardware","status":"publish","type":"page","link":"https:\/\/canadiangeek.net\/?page_id=1504","title":{"rendered":"Water Sensor Hardware"},"content":{"rendered":"\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"778\" src=\"https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-8-1024x778.png\" alt=\"\" class=\"wp-image-1549\" srcset=\"https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-8-1024x778.png 1024w, https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-8-300x228.png 300w, https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-8-768x583.png 768w, https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-8-1536x1167.png 1536w, https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-8-2048x1555.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"577\" height=\"1024\" src=\"https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-9-577x1024.png\" alt=\"\" class=\"wp-image-1550\" style=\"width:178px;height:auto\" srcset=\"https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-9-577x1024.png 577w, https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-9-169x300.png 169w, https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-9-768x1362.png 768w, https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-9.png 817w\" sizes=\"auto, (max-width: 577px) 100vw, 577px\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p>The Water Sensor hardware comes in two versions, both sharing identical circuit designs. The initial iteration boasts 10 screw terminal inputs, accommodating up to 10 sensor connections with ease. In contrast, the second version presents a more compact option, featuring three inputs designed for soldered connections, providing a streamlined alternative for space-conscious installations.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">The Small version<\/h1>\n\n\n\n<p class=\"has-text-align-center\"> <figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"178\" height=\"316\" class=\"wp-image-1550\" style=\"width: 178px;\" src=\"https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-9-577x1024.png\" alt=\"\" srcset=\"https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-9-577x1024.png 577w, https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-9-169x300.png 169w, https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-9-768x1362.png 768w, https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-9.png 817w\" sizes=\"auto, (max-width: 178px) 100vw, 178px\" \/><\/figure> <\/p>\n\n\n\n<p><br>The compact circuit embodies simplicity at its core. Power is connected via soldering to GND\/VCC, typically ranging between 5 to 12 volts DC. This power input is commonly supplied by a soldered USB cable protruding from the sensor casing. Sensors are activated using the ESP32's built-in touch sensor interface, which gauges the resistance of designated pins on the ESP32. Each sensor input accommodates up to 5 sensor wires linked together, enabling a total span of up to 30 feet of water sensing wire per channel.  Initial programming is completed via TTL on the pin header, the web interface supports firmware and Spiffs updates once the initial programming is complete.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">The Large Version<\/h1>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"778\" src=\"https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-8-1024x778.png\" alt=\"\" class=\"wp-image-1549\" srcset=\"https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-8-1024x778.png 1024w, https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-8-300x228.png 300w, https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-8-768x583.png 768w, https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-8-1536x1167.png 1536w, https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-8-2048x1555.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>The large circuit is a repeat of the small circuit but uses 10 separate screw terminals.  This was the first iteration of the circuit, after its design and testing it was found that rarely more then 3 sensors are required.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Board Input adapters<\/h1>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"409\" height=\"269\" src=\"https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-11.png\" alt=\"\" class=\"wp-image-1552\" srcset=\"https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-11.png 409w, https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-11-300x197.png 300w\" sizes=\"auto, (max-width: 409px) 100vw, 409px\" \/><\/figure>\n<\/div>\n\n\n<p>On both the large and small sensor boards, <a href=\"https:\/\/www.amazon.ca\/gp\/product\/B08Z79RVHP\/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&amp;psc=1\">these short 3.5mm leads<\/a> have been used to connect sensors.  <\/p>\n\n\n\n<h1 class=\"wp-block-heading\">The Sensors<\/h1>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"478\" height=\"385\" src=\"https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-10.png\" alt=\"\" class=\"wp-image-1551\" srcset=\"https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-10.png 478w, https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-10-300x242.png 300w\" sizes=\"auto, (max-width: 478px) 100vw, 478px\" \/><\/figure>\n<\/div>\n\n\n<p>The first <a href=\"https:\/\/www.amazon.ca\/gp\/product\/B0BW55CDKP\/ref=ppx_yo_dt_b_search_asin_image?ie=UTF8&amp;psc=1\">sensors<\/a> is found on Amazon for around $20Cad and has a high resistance until water touches any portion of the wire, at this time resistance falls to 0.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"619\" height=\"163\" src=\"https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-12.png\" alt=\"\" class=\"wp-image-1553\" srcset=\"https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-12.png 619w, https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-12-300x79.png 300w\" sizes=\"auto, (max-width: 619px) 100vw, 619px\" \/><\/figure>\n<\/div>\n\n\n<p>The <a href=\"https:\/\/www.aliexpress.com\/item\/1005005864825993.html?spm=a2g0o.productlist.main.43.252f2b37MxQPKp&amp;algo_pvid=f1fe8d73-aac9-4fb8-83c8-0dbab42c9596&amp;algo_exp_id=f1fe8d73-aac9-4fb8-83c8-0dbab42c9596-21&amp;pdp_npi=4%40dis%21CAD%210.68%210.51%21%21%210.49%210.37%21%402101effb17096716844815291ef048%2112000034625353885%21sea%21CA%21168398178%21&amp;curPageLogUid=mjr0oSm0fG0N&amp;utparam-url=scene%3Asearch%7Cquery_from%3A\">2nd sensor<\/a> can be found on AliExpress for about $0.51 Cad.  These sensors work well for areas that may be splashed by small amounts of water, without triggering the sensor.  I use these near my dogs water dish, behind toilets (don't ask), etc.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Assembled<\/h1>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"656\" height=\"976\" src=\"https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-13.png\" alt=\"\" class=\"wp-image-1554\" style=\"width:277px;height:auto\" srcset=\"https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-13.png 656w, https:\/\/canadiangeek.net\/wp-content\/uploads\/2024\/03\/image-13-202x300.png 202w\" sizes=\"auto, (max-width: 656px) 100vw, 656px\" \/><\/figure>\n<\/div>\n\n\n<h1 class=\"wp-block-heading\">Links<\/h1>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/canadiangeek.net\/download\/Water Sensor SMALL 2 Sensor Top.stl\">Water Sensor SMALL 2 input Top 3D print STL<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/canadiangeek.net\/download\/Water Sensor SMALL 2 Sensor Bottom.stl\">Water Sensor SMALL 2 input Bottom 3D print STL<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/canadiangeek.net\/download\/Water Sensor SMALL 1 Sensor Top.stl\">Water Sensor SMALL 1 input Top 3D print STL<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/canadiangeek.net\/download\/Water Sensor SMALL 1 Sensor Bottom.stl\">Water Sensor SMALL 1 input Bottom 3D print STL<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/canadiangeek.net\/download\/Water Sensor SMALL 2 input 3D files.f3d\">Water Sensor SMALL 2 input 3D files<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/canadiangeek.net\/download\/Water Sensor SMALL 1 input 3D files.f3d\">Water Sensor SMALL 1 input 3D files<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/canadiangeek.net\/download\/Water Sensor SMALL EasyEDA Export.zip\">Water Sensor SMALL circuit board files (EasyEDA)<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/canadiangeek.net\/download\/Water Sensor Large EasyEDA Export.zip\">Water Sensor BIG circuit board files (EasyEDA)<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/canadiangeek.net\/download\/WaterSensor%20Arduino%20Code%20V2.4.zip\">Water Sensor Firmware Code (Arduino IDE)<\/a><\/li>\n<\/ul>\n ","protected":false},"excerpt":{"rendered":"<p>The Water Sensor hardware comes in two versions, both sharing identical circuit designs. The initial iteration boasts 10 screw terminal inputs, accommodating up to 10 sensor connections with ease. In contrast, the second version presents a more compact option, featuring three inputs designed for soldered connections, providing a streamlined alternative for space-conscious installations. The Small [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":1499,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1504","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/canadiangeek.net\/index.php?rest_route=\/wp\/v2\/pages\/1504","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/canadiangeek.net\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/canadiangeek.net\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/canadiangeek.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/canadiangeek.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1504"}],"version-history":[{"count":4,"href":"https:\/\/canadiangeek.net\/index.php?rest_route=\/wp\/v2\/pages\/1504\/revisions"}],"predecessor-version":[{"id":1555,"href":"https:\/\/canadiangeek.net\/index.php?rest_route=\/wp\/v2\/pages\/1504\/revisions\/1555"}],"up":[{"embeddable":true,"href":"https:\/\/canadiangeek.net\/index.php?rest_route=\/wp\/v2\/pages\/1499"}],"wp:attachment":[{"href":"https:\/\/canadiangeek.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}