{"id":1789,"date":"2024-09-04T11:58:16","date_gmt":"2024-09-04T18:58:16","guid":{"rendered":"https:\/\/unixwizardry.com\/?p=1789"},"modified":"2024-10-18T09:51:29","modified_gmt":"2024-10-18T16:51:29","slug":"rain-gauge-retrofit-almost-done-but","status":"publish","type":"post","link":"https:\/\/unixwizardry.com\/index.php\/2024\/09\/04\/rain-gauge-retrofit-almost-done-but\/","title":{"rendered":"Rain gauge retrofit ALMOST done&#8230;but.."},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"1789\" class=\"elementor elementor-1789\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-43281b82 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"43281b82\" 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-e24bf7a\" data-id=\"e24bf7a\" 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-7d717def elementor-widget elementor-widget-text-editor\" data-id=\"7d717def\" 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>So here is a picture of my ALMOST finished rain gauge 1-wire counter refit.\u00a0 It works great EXCEPT the coin cell is SUPPOSED to power the DS2423 counter in the event the 1-wire bus is disconnected.\u00a0 I thought it was weird that when I was doing testing of my 1-wire library, shorting the bus to ground, that the count would zero out.\u00a0 Well, nuts, for some reason it&#8217;s not saving the count. <img fetchpriority=\"high\" decoding=\"async\" class=\"size-medium wp-image-1766 alignleft\" src=\"https:\/\/unixwizardry.com\/wp-content\/uploads\/2024\/09\/IMG_4316-225x300.jpg\" alt=\"\" width=\"225\" height=\"300\" srcset=\"https:\/\/unixwizardry.com\/wp-content\/uploads\/2024\/09\/IMG_4316-225x300.jpg 225w, https:\/\/unixwizardry.com\/wp-content\/uploads\/2024\/09\/IMG_4316-230x307.jpg 230w, https:\/\/unixwizardry.com\/wp-content\/uploads\/2024\/09\/IMG_4316-350x467.jpg 350w, https:\/\/unixwizardry.com\/wp-content\/uploads\/2024\/09\/IMG_4316-rotated.jpg 480w\" sizes=\"(max-width: 225px) 100vw, 225px\" \/> (The PCB LOOKS nice though. \ud83d\ude42 )\u00a0 On my breadboarded version it works as planned; the count is preserved even if the MicroLan (1-wire bus) is disconnected.\u00a0 The coin cell&#8217;s 3V appears at the VBAT pin of the DS2423 on the breadboarded version but not on my PCB \ud83d\ude41\u00a0 After taking some measurements, apparently either I have a bad BAT54S Schottky diode at D2 (pointed to with pencil) or a bad solder connection.\u00a0 <img decoding=\"async\" class=\"alignright wp-image-1773 size-medium\" src=\"https:\/\/unixwizardry.com\/wp-content\/uploads\/2024\/09\/IMG_4326-rotated-e1725555301787-300x176.jpg\" alt=\"\" width=\"300\" height=\"176\" srcset=\"https:\/\/unixwizardry.com\/wp-content\/uploads\/2024\/09\/IMG_4326-rotated-e1725555301787-300x176.jpg 300w, https:\/\/unixwizardry.com\/wp-content\/uploads\/2024\/09\/IMG_4326-rotated-e1725555301787-1024x602.jpg 1024w, https:\/\/unixwizardry.com\/wp-content\/uploads\/2024\/09\/IMG_4326-rotated-e1725555301787-768x452.jpg 768w, https:\/\/unixwizardry.com\/wp-content\/uploads\/2024\/09\/IMG_4326-rotated-e1725555301787-1536x904.jpg 1536w, https:\/\/unixwizardry.com\/wp-content\/uploads\/2024\/09\/IMG_4326-rotated-e1725555301787-1000x588.jpg 1000w, https:\/\/unixwizardry.com\/wp-content\/uploads\/2024\/09\/IMG_4326-rotated-e1725555301787-230x135.jpg 230w, https:\/\/unixwizardry.com\/wp-content\/uploads\/2024\/09\/IMG_4326-rotated-e1725555301787-350x206.jpg 350w, https:\/\/unixwizardry.com\/wp-content\/uploads\/2024\/09\/IMG_4326-rotated-e1725555301787-480x282.jpg 480w, https:\/\/unixwizardry.com\/wp-content\/uploads\/2024\/09\/IMG_4326-rotated-e1725555301787.jpg 2016w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/>Hope it&#8217;s the latter, but thankfully I have spare diodes.\u00a0 The only saving grace was that I found this out BEFORE I installed it in the backyard.<\/p><p>UPDATE:\u00a0 The Schottky diodes are fine; I determined it&#8217;s a bad solder connection on D2 Pin1.\u00a0 With the coin cell installed, and measuring the voltage on pin 3 of D2, when I press down on the diode, <em>voila!, <\/em>I see about 3 volts on its pin 3, which is the way it&#8217;s supposed to work.\u00a0 So now back to the soldering station.<\/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>So here is a picture of my ALMOST finished rain gauge 1-wire counter refit.\u00a0 It works great EXCEPT the coin cell is [&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,38],"tags":[],"class_list":["post-1789","post","type-post","status-publish","format-standard","hentry","category-electronics","category-weather-instruments"],"_links":{"self":[{"href":"https:\/\/unixwizardry.com\/index.php\/wp-json\/wp\/v2\/posts\/1789","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=1789"}],"version-history":[{"count":7,"href":"https:\/\/unixwizardry.com\/index.php\/wp-json\/wp\/v2\/posts\/1789\/revisions"}],"predecessor-version":[{"id":1801,"href":"https:\/\/unixwizardry.com\/index.php\/wp-json\/wp\/v2\/posts\/1789\/revisions\/1801"}],"wp:attachment":[{"href":"https:\/\/unixwizardry.com\/index.php\/wp-json\/wp\/v2\/media?parent=1789"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unixwizardry.com\/index.php\/wp-json\/wp\/v2\/categories?post=1789"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unixwizardry.com\/index.php\/wp-json\/wp\/v2\/tags?post=1789"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}