{"id":108,"date":"2013-02-28T23:44:15","date_gmt":"2013-03-01T07:44:15","guid":{"rendered":"http:\/\/schminktronics.com\/blog\/?p=108"},"modified":"2013-02-28T23:44:15","modified_gmt":"2013-03-01T07:44:15","slug":"problem-discovered","status":"publish","type":"post","link":"http:\/\/schminktronics.com\/blog\/archives\/108","title":{"rendered":"Problem discovered"},"content":{"rendered":"<p>I posted about my problem on reddit yesterday and got a lot of very helpful suggestions. The top voted answer was that switching all those LEDs caused a current transient that shows up in my hall effect line. It probably doesn&#8217;t help that I have a long thing Vcc line to the hall effect sensor and that I have a long thin output line from the hall effect sensor running directly under the LEDs and a huge Vcc plane (which is only there due to my poor board design).<\/p>\n<p>I proved this theory by first lifting Vcc from the LED driver, preventing it from pulling current, but keeping everything else the same. This eliminated the problem! Then I realized I didn&#8217;t really need to do that&#8211;I could have just as well initialized the LED driver to turn all the LEDs off. But finally I realized that probably switching 2 LEDs (turning 1 on and one off) wouldn&#8217;t draw too much current, so I soldered Vcc back on and gave that a try:<\/p>\n<div id=\"attachment_109\" style=\"width: 810px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/schminktronics.com\/blog\/wp-content\/uploads\/2013\/02\/SingleLEDtest.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-109\" class=\"size-full wp-image-109\" alt=\"Hall effect sensor works exactly as expected now with no glitches!\" src=\"http:\/\/schminktronics.com\/blog\/wp-content\/uploads\/2013\/02\/SingleLEDtest.jpg\" width=\"800\" height=\"600\" srcset=\"http:\/\/schminktronics.com\/blog\/wp-content\/uploads\/2013\/02\/SingleLEDtest.jpg 800w, http:\/\/schminktronics.com\/blog\/wp-content\/uploads\/2013\/02\/SingleLEDtest-300x225.jpg 300w, http:\/\/schminktronics.com\/blog\/wp-content\/uploads\/2013\/02\/SingleLEDtest-400x300.jpg 400w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><p id=\"caption-attachment-109\" class=\"wp-caption-text\">Hall effect sensor works exactly as expected now with no glitches!<\/p><\/div>\n<p>Works perfectly, thus providing even more evidence that&#8217;s what the problem is.<\/p>\n<p>Now I just need to find a way to get some more caps added on there&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I posted about my problem on reddit yesterday and got a lot of very helpful suggestions. The top voted answer was that switching all those LEDs caused a current transient that shows up in my hall effect line. It probably &hellip; <a href=\"http:\/\/schminktronics.com\/blog\/archives\/108\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-108","post","type-post","status-publish","format-standard","hentry","category-spinnerhd"],"_links":{"self":[{"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/posts\/108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/comments?post=108"}],"version-history":[{"count":1,"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/posts\/108\/revisions"}],"predecessor-version":[{"id":110,"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/posts\/108\/revisions\/110"}],"wp:attachment":[{"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/media?parent=108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/categories?post=108"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/tags?post=108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}