{"id":105,"date":"2013-02-26T08:49:28","date_gmt":"2013-02-26T16:49:28","guid":{"rendered":"http:\/\/schminktronics.com\/blog\/?p=105"},"modified":"2013-02-26T08:49:28","modified_gmt":"2013-02-26T16:49:28","slug":"making-slow-progress","status":"publish","type":"post","link":"http:\/\/schminktronics.com\/blog\/archives\/105","title":{"rendered":"Making (slow) progress"},"content":{"rendered":"<p>I was able to figure out what&#8217;s going on with my hall effect problem last night. I narrowed things down until I discovered that the BLANK line output (pin 8 on Arduino, PB0 on a 328p) is interfering with my hall effect input (pin 2 on Arduino, PD2 on a 328p). The test that proved this was one where I have just this:<\/p>\n<blockquote><p>void loop() {<\/p>\n<p>digitalWrite(BLANK, HIGH);<\/p>\n<p>digitalWrite(BLANK, LOW);<\/p>\n<p>}<\/p><\/blockquote>\n<p>When I look at the hall effect input pin on the scope while holding a magnet near it, I see this:<\/p>\n<p><a href=\"http:\/\/schminktronics.com\/blog\/wp-content\/uploads\/2013\/02\/SpinnerHD-justBlankPulse.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-106\" alt=\"SpinnerHD-justBlankPulse\" src=\"http:\/\/schminktronics.com\/blog\/wp-content\/uploads\/2013\/02\/SpinnerHD-justBlankPulse.png\" width=\"800\" height=\"600\" srcset=\"http:\/\/schminktronics.com\/blog\/wp-content\/uploads\/2013\/02\/SpinnerHD-justBlankPulse.png 800w, http:\/\/schminktronics.com\/blog\/wp-content\/uploads\/2013\/02\/SpinnerHD-justBlankPulse-300x225.png 300w, http:\/\/schminktronics.com\/blog\/wp-content\/uploads\/2013\/02\/SpinnerHD-justBlankPulse-400x300.png 400w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>I&#8217;m not sure why one pulse is much bigger than the rest. Perhaps that&#8217;s when the hall effect interrupt gets serviced and interrupts the loop. I just happened to have my trigger point at 1V, so it was triggering on the big pulse.<\/p>\n<p>But, I don&#8217;t know WHY this is happening. My meter doesn&#8217;t show any continuity between these pins. Looking at the traces, they&#8217;re both long, but nowhere close to each other. At the moment, I have no idea what&#8217;s going wrong.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was able to figure out what&#8217;s going on with my hall effect problem last night. I narrowed things down until I discovered that the BLANK line output (pin 8 on Arduino, PB0 on a 328p) is interfering with my &hellip; <a href=\"http:\/\/schminktronics.com\/blog\/archives\/105\">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-105","post","type-post","status-publish","format-standard","hentry","category-spinnerhd"],"_links":{"self":[{"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/posts\/105","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=105"}],"version-history":[{"count":1,"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/posts\/105\/revisions"}],"predecessor-version":[{"id":107,"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/posts\/105\/revisions\/107"}],"wp:attachment":[{"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/media?parent=105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/categories?post=105"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/tags?post=105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}