{"id":135,"date":"2011-08-23T21:35:36","date_gmt":"2011-08-24T01:35:36","guid":{"rendered":"http:\/\/fll-freak.com\/blog\/?p=135"},"modified":"2025-04-21T00:54:36","modified_gmt":"2025-04-21T04:54:36","slug":"heartbreaking-bug-revisited","status":"publish","type":"post","link":"https:\/\/fll-freak.com\/blog\/?p=135","title":{"rendered":"Heartbreaking Bug Revisited"},"content":{"rendered":"<p>Got time to look at the problem in much more detail. Last night I was just too upset to start work so close to bed time. Today I discovered that the baud rate was indeed correct. What i was measuring yesterday was two bytes back to back without the start and stop bits. And hence the baud rate that was about 50% of my\u00a0 9600.<!--more-->But why does my Linux box see two bytes back to back that are the same when I have logic to prevent that? Well I switched over to reading the data from my laptop and the problem goes away. On the Linux box I get the problem when the first byte is alternating bits (0x5 or 0xa). Now I don&#8217;t have root cause, but I can only figure that I have a noise issue. Tomorrow I plan to remove the 30 foot kludged cable and co locate the detector and computer and see if the problem goes away. In the mean time, I need to look at RS-422 or wireless solutions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Got time to look at the problem in much more detail. Last night I was just too upset to start work so close to bed time. Today I discovered that the baud rate was indeed correct. What i was measuring &hellip; <a href=\"https:\/\/fll-freak.com\/blog\/?p=135\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,7],"tags":[],"class_list":["post-135","post","type-post","status-publish","format-standard","hentry","category-lightning-detector","category-projects"],"_links":{"self":[{"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/135","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=135"}],"version-history":[{"count":3,"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/135\/revisions"}],"predecessor-version":[{"id":137,"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/135\/revisions\/137"}],"wp:attachment":[{"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}