{"id":1093,"date":"2023-06-20T21:48:46","date_gmt":"2023-06-21T04:48:46","guid":{"rendered":"https:\/\/unixwizardry.com\/?p=1093"},"modified":"2024-09-04T11:51:10","modified_gmt":"2024-09-04T18:51:10","slug":"metone-rain-gauge-1-wire-retrofit","status":"publish","type":"post","link":"https:\/\/unixwizardry.com\/index.php\/2023\/06\/20\/metone-rain-gauge-1-wire-retrofit\/","title":{"rendered":"MetOne Rain Gauge 1-Wire Retrofit"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"1093\" class=\"elementor elementor-1093\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7c524842 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7c524842\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-161cc33\" data-id=\"161cc33\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-571cca1f elementor-widget elementor-widget-text-editor\" data-id=\"571cca1f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: left;\">I&#8217;m currently also working a retrofit for my MetOne rain gauge using an (unfortunately, think) obsolete 1-wire device, the DS2423 counter\/4K memory, to count bucket tips on my Model 370 rain gauge.\u00a0 It&#8217;s really a shame Dallas\/Maxim doesn&#8217;t make this device anymore because (1) it already takes care of any contact bouncing, it works over just with 2 wires (DATA and ground) common), and (3) the current count is non-volatile by using a 3 volt coin cell even if the DATA wire is disconnected.\u00a0 Sweet! Before, this rain gauge was just connected directly to MetOne&#8217;s commercial weather main hub, which apparently took care of that issue.<\/p>\n<p style=\"text-align: left;\">Being in western Washington state, on this side of the Cascade mountain range, we see a lot of rainfall here, though not as much as people think.\u00a0 Still, there have been MANY times when I wonder just how much rainfall we get here in our particular microclimate in Redmond.\u00a0 The 1-wire protocol is PERFECT for this application since no other power is required other than a 3 volt coin cell to keep the count in the DS2423&#8217;s memory, and only a signal (1-wire data) line and ground (common) wire are required for operation.\u00a0 And, it works fine over the 25 feet of cable I have to the main board.<\/p>\n<p>\u00a0<\/p>\n<p><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e80d048 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e80d048\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-66 elementor-top-column elementor-element elementor-element-8975739\" data-id=\"8975739\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-188f2c4 elementor-widget elementor-widget-image\" data-id=\"188f2c4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"550\" height=\"390\" src=\"https:\/\/unixwizardry.com\/wp-content\/uploads\/2023\/06\/Rain-Gauge-Screenshot-550x390.jpg\" class=\"attachment-sydney-medium-thumb size-sydney-medium-thumb wp-image-1104\" alt=\"\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-top-column elementor-element elementor-element-1b5ec29\" data-id=\"1b5ec29\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7cbefbc elementor-widget elementor-widget-text-editor\" data-id=\"7cbefbc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>I&#8217;ve designed a printed circuit board using Kicad using basically this schematic from a Dallas Semiconductor article from long ago.\u00a0 Since I have some free samples of BAT54S Schottkey barrier diode arrays lying around, I used those in my PCB design instead of the BAT54C version shown in the image on the left.\u00a0 The image below is the result of my work in KiCAD.\u00a0 The schematic isn&#8217;t quite finished yet; the terminal block connections aren&#8217;t labeled. but the terminals 3 and 4 connect to the rain gauge reed switch and 1 and 2 connect to the Microlan (AKA the 1-wire bus).<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-52e10f9 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"52e10f9\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f1a16f3\" data-id=\"f1a16f3\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-03f187c elementor-widget elementor-widget-image\" data-id=\"03f187c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"961\" height=\"538\" src=\"https:\/\/unixwizardry.com\/wp-content\/uploads\/2023\/06\/KiCAD-PCB-Screenshot.png\" class=\"attachment-large size-large wp-image-1123\" alt=\"\" srcset=\"https:\/\/unixwizardry.com\/wp-content\/uploads\/2023\/06\/KiCAD-PCB-Screenshot.png 961w, https:\/\/unixwizardry.com\/wp-content\/uploads\/2023\/06\/KiCAD-PCB-Screenshot-300x168.png 300w, https:\/\/unixwizardry.com\/wp-content\/uploads\/2023\/06\/KiCAD-PCB-Screenshot-768x430.png 768w, https:\/\/unixwizardry.com\/wp-content\/uploads\/2023\/06\/KiCAD-PCB-Screenshot-230x129.png 230w, https:\/\/unixwizardry.com\/wp-content\/uploads\/2023\/06\/KiCAD-PCB-Screenshot-350x196.png 350w, https:\/\/unixwizardry.com\/wp-content\/uploads\/2023\/06\/KiCAD-PCB-Screenshot-480x269.png 480w\" sizes=\"(max-width: 961px) 100vw, 961px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-4f8db76 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"4f8db76\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2835c51\" data-id=\"2835c51\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e570349 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e570349\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1c5ee1e\" data-id=\"1c5ee1e\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b77e752 elementor-widget elementor-widget-text-editor\" data-id=\"b77e752\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>It&#8217;s been a while since my last post on this project; have been busy with outside projects for most of the summer, and this summer in the Seattle area has been the 4th longest and driest on record.\u00a0 So, now that cooler weather is here, and the fact that we&#8217;ve had some significant rainfall lately, I figure it&#8217;s time to at least get busy with the rain gauge project.\u00a0 \u00a0So, after learning how to use KiCad and successfully sending Gerber files to <a href=\"https:\/\/jlcpcb.com\">JLCPCB<\/a> for the boards (5 of them for $2 and only like $2 for shipping!).\u00a0 The true test will come when try the fit of the board into the MetOne anemometer housing.\u00a0 You might be wondering why I chose to use BAT54S Schottky diodes instead of BAT54C ones in the first schematic?\u00a0 The reason is I had several on-hand so it made no sense to order and pay shipping for a few diodes.\u00a0\u00a0<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>I&#8217;m currently also working a retrofit for my MetOne rain gauge using an (unfortunately, think) obsolete 1-wire device, the DS2423 counter\/4K memory, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40,41],"tags":[],"class_list":["post-1093","post","type-post","status-publish","format-standard","hentry","category-electronics","category-kicad"],"_links":{"self":[{"href":"https:\/\/unixwizardry.com\/index.php\/wp-json\/wp\/v2\/posts\/1093","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unixwizardry.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unixwizardry.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unixwizardry.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unixwizardry.com\/index.php\/wp-json\/wp\/v2\/comments?post=1093"}],"version-history":[{"count":72,"href":"https:\/\/unixwizardry.com\/index.php\/wp-json\/wp\/v2\/posts\/1093\/revisions"}],"predecessor-version":[{"id":1788,"href":"https:\/\/unixwizardry.com\/index.php\/wp-json\/wp\/v2\/posts\/1093\/revisions\/1788"}],"wp:attachment":[{"href":"https:\/\/unixwizardry.com\/index.php\/wp-json\/wp\/v2\/media?parent=1093"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unixwizardry.com\/index.php\/wp-json\/wp\/v2\/categories?post=1093"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unixwizardry.com\/index.php\/wp-json\/wp\/v2\/tags?post=1093"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}