{"id":11936,"date":"2020-03-31T00:21:02","date_gmt":"2020-03-31T00:21:02","guid":{"rendered":"http:\/\/a2baker.com\/magnoliablog\/?p=11936"},"modified":"2020-03-31T00:21:02","modified_gmt":"2020-03-31T00:21:02","slug":"2020-03-30-bilge-sensor-detail","status":"publish","type":"post","link":"http:\/\/a2baker.com\/magnoliablog\/?p=11936","title":{"rendered":"2020-03-30 Bilge Sensor Detail"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This document assumes this is not your first Arduino implementation. If so please contact me for specific implementation help<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is a home-built sensor is the latest addition aboard Magnolia. The purpose is to collect the primary bilge pump run frequency and run duration. Magnolia has a traditional stuffing box and the bilge is MOT dry. Our bilge pumps have always popped on as required, but I never had any understanding of how long and how often. We now have that data. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"806\" src=\"http:\/\/a2baker.com\/magnoliablog\/wp-content\/uploads\/2020\/03\/20200330_135237-1024x806.jpg\" alt=\"\" class=\"wp-image-11939\" srcset=\"http:\/\/a2baker.com\/magnoliablog\/wp-content\/uploads\/2020\/03\/20200330_135237-1024x806.jpg 1024w, http:\/\/a2baker.com\/magnoliablog\/wp-content\/uploads\/2020\/03\/20200330_135237-300x236.jpg 300w, http:\/\/a2baker.com\/magnoliablog\/wp-content\/uploads\/2020\/03\/20200330_135237-768x605.jpg 768w, http:\/\/a2baker.com\/magnoliablog\/wp-content\/uploads\/2020\/03\/20200330_135237-1536x1209.jpg 1536w, http:\/\/a2baker.com\/magnoliablog\/wp-content\/uploads\/2020\/03\/20200330_135237-2048x1612.jpg 2048w, http:\/\/a2baker.com\/magnoliablog\/wp-content\/uploads\/2020\/03\/20200330_135237-381x300.jpg 381w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Hardware: <\/strong>The sensor itself is very simple. There is an ESP-32S Processor Board , 25V Voltage Detector, 1.3&#8243; IIC I2C Serial 128&#215;64 SSH1106 OLED LCD Display LCD Module along with a Breadboard and connecting jumper wires. There is also a small push button to enable downloading of new software to the ESP-32. All items are readily available on Amazon. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The below Fritzing file is availble at: <a href=\"https:\/\/drive.google.com\/open?id=16hcxkLP8NNJhmCP00F-pebd04jTqR8gh\">https:\/\/drive.google.com\/open?id=16hcxkLP8NNJhmCP00F-pebd04jTqR8gh<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"623\" src=\"http:\/\/a2baker.com\/magnoliablog\/wp-content\/uploads\/2020\/03\/Capture-1-4-1024x623.jpg\" alt=\"\" class=\"wp-image-11942\" srcset=\"http:\/\/a2baker.com\/magnoliablog\/wp-content\/uploads\/2020\/03\/Capture-1-4-1024x623.jpg 1024w, http:\/\/a2baker.com\/magnoliablog\/wp-content\/uploads\/2020\/03\/Capture-1-4-300x183.jpg 300w, http:\/\/a2baker.com\/magnoliablog\/wp-content\/uploads\/2020\/03\/Capture-1-4-768x468.jpg 768w, http:\/\/a2baker.com\/magnoliablog\/wp-content\/uploads\/2020\/03\/Capture-1-4-493x300.jpg 493w, http:\/\/a2baker.com\/magnoliablog\/wp-content\/uploads\/2020\/03\/Capture-1-4.jpg 1401w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I used some Piggy Back Spade Quick Splice Crimp Terminals Connectors to attach the sensor to the back input of my Bilge Pump Control Panel ensuring the sensor was receiving power whenever the bilge pump light illuminated. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"457\" src=\"http:\/\/a2baker.com\/magnoliablog\/wp-content\/uploads\/2020\/03\/20200330_140233-1024x457.jpg\" alt=\"\" class=\"wp-image-11940\" srcset=\"http:\/\/a2baker.com\/magnoliablog\/wp-content\/uploads\/2020\/03\/20200330_140233-1024x457.jpg 1024w, http:\/\/a2baker.com\/magnoliablog\/wp-content\/uploads\/2020\/03\/20200330_140233-300x134.jpg 300w, http:\/\/a2baker.com\/magnoliablog\/wp-content\/uploads\/2020\/03\/20200330_140233-768x343.jpg 768w, http:\/\/a2baker.com\/magnoliablog\/wp-content\/uploads\/2020\/03\/20200330_140233-1536x685.jpg 1536w, http:\/\/a2baker.com\/magnoliablog\/wp-content\/uploads\/2020\/03\/20200330_140233-2048x914.jpg 2048w, http:\/\/a2baker.com\/magnoliablog\/wp-content\/uploads\/2020\/03\/20200330_140233-500x223.jpg 500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Software:<\/strong> Three of the sensors on Magnolia use the same codebase and applicable sections are controlled pre-processor directives. The specific Bilge Sensor code is available at:  <a href=\"https:\/\/drive.google.com\/open?id=1qqcYzlBnlc_VfFYIYtKl8uIyEPSApwfq\">https:\/\/drive.google.com\/open?id=1qqcYzlBnlc_VfFYIYtKl8uIyEPSApwfq<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The following paths are reported to the Signal-K Server:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>environment.inside.bilge.currenttime                <\/td><td>&#8220;19:32:28&#8221;\u00a0<\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>environment.inside.bilge.lastruntime\u00a0                   <\/td><td>&#8220;19:30:44&#8221;\u00a0<\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>environment.inside.bilge.runcount\u00a0 \u00a0 \u00a0                \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  \u00a0   <\/td><td>110<\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>environment.inside.bilge.runduration\u00a0                  <\/td><td>&#8220;04:02&#8221;\u00a0 \u00a0<\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>environment.inside.bilge.rundurationmils\u00a0         \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  <\/td><td>242<\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>environment.inside.bilge.status\u00a0 \u00a0  \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0        <\/td><td>&#8220;Stopped &#8220;<\/td><td><\/td><td><\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This document assumes this is not your first Arduino implementation. If so please contact me for specific implementation help This is a home-built sensor is the latest addition aboard Magnolia. The purpose is to collect the primary bilge pump run &hellip; <a href=\"http:\/\/a2baker.com\/magnoliablog\/?p=11936\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-11936","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/a2baker.com\/magnoliablog\/index.php?rest_route=\/wp\/v2\/posts\/11936","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/a2baker.com\/magnoliablog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/a2baker.com\/magnoliablog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/a2baker.com\/magnoliablog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/a2baker.com\/magnoliablog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11936"}],"version-history":[{"count":6,"href":"http:\/\/a2baker.com\/magnoliablog\/index.php?rest_route=\/wp\/v2\/posts\/11936\/revisions"}],"predecessor-version":[{"id":11948,"href":"http:\/\/a2baker.com\/magnoliablog\/index.php?rest_route=\/wp\/v2\/posts\/11936\/revisions\/11948"}],"wp:attachment":[{"href":"http:\/\/a2baker.com\/magnoliablog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11936"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/a2baker.com\/magnoliablog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11936"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/a2baker.com\/magnoliablog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11936"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}