{"id":126,"date":"2013-03-05T22:22:46","date_gmt":"2013-03-06T06:22:46","guid":{"rendered":"http:\/\/schminktronics.com\/blog\/?p=126"},"modified":"2013-03-05T22:22:46","modified_gmt":"2013-03-06T06:22:46","slug":"more-discoveries","status":"publish","type":"post","link":"http:\/\/schminktronics.com\/blog\/archives\/126","title":{"rendered":"More discoveries"},"content":{"rendered":"<p>I figured that even if the hall effect sensor glitches when switching a bunch of LEDs in the presence of a magnetic field, I could still make use of this board by not switching anything while the hall effect sensor is active. So I changed the code to display a binary pattern. When the hall effect interrupt is triggered, hold the current LED display for 1 ms to give the board time to spin past the magnet, then reset the pattern to 0.<\/p>\n<p>As soon as I turned on the board, I could tell there was a problem. No more than 6 LEDs ever lit up, even with no magnet to reset the pattern. But, all the LEDs that were flashing were going too fast to clearly see what was happening so I spun it around to see what it looked like:<\/p>\n<p><a href=\"http:\/\/schminktronics.com\/blog\/wp-content\/uploads\/2013\/03\/IMG_0805.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-127\" alt=\"Binary Pattern Glitch\" src=\"http:\/\/schminktronics.com\/blog\/wp-content\/uploads\/2013\/03\/IMG_0805-1024x768.jpg\" width=\"584\" height=\"438\" srcset=\"http:\/\/schminktronics.com\/blog\/wp-content\/uploads\/2013\/03\/IMG_0805-1024x768.jpg 1024w, http:\/\/schminktronics.com\/blog\/wp-content\/uploads\/2013\/03\/IMG_0805-300x225.jpg 300w, http:\/\/schminktronics.com\/blog\/wp-content\/uploads\/2013\/03\/IMG_0805-400x300.jpg 400w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/a><\/p>\n<p>Once again, I am impressed by how fast I can switch the LEDs and how small they appear when I do. (Look at the outer most LED&#8211;you may have to view the full size image to even see the individual pixels.)<\/p>\n<p>But from this, I can see what&#8217;s happening. Each time I have 5 LEDs on, then switch them all off (and in this case, switch one more on), I get a false hall effect pulse. This is seen in the pictures by the single LED holding for 1 ms, then resetting back to the beginning of the pattern.<\/p>\n<p>So, I can&#8217;t really do anything interesting with the board until I fix this problem with the current. My first attempt at putting on some filter caps failed, so I need to find a better way to do it or work on another board design that has the filter caps included in the layout.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I figured that even if the hall effect sensor glitches when switching a bunch of LEDs in the presence of a magnetic field, I could still make use of this board by not switching anything while the hall effect sensor &hellip; <a href=\"http:\/\/schminktronics.com\/blog\/archives\/126\">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-126","post","type-post","status-publish","format-standard","hentry","category-spinnerhd"],"_links":{"self":[{"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/posts\/126","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=126"}],"version-history":[{"count":2,"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/posts\/126\/revisions"}],"predecessor-version":[{"id":129,"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/posts\/126\/revisions\/129"}],"wp:attachment":[{"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/media?parent=126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/categories?post=126"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/tags?post=126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}