{"id":136,"date":"2015-08-03T21:57:22","date_gmt":"2015-08-03T20:57:22","guid":{"rendered":"http:\/\/watchdiana.fail\/blog\/?p=136"},"modified":"2015-08-03T22:11:59","modified_gmt":"2015-08-03T21:11:59","slug":"sparky-v2-analogue-and-digital","status":"publish","type":"post","link":"https:\/\/watchdiana.fail\/blog\/2015\/08\/03\/sparky-v2-analogue-and-digital\/","title":{"rendered":"Sparky v2 &#8211; analogue and digital"},"content":{"rendered":"<p><a href=\"http:\/\/watchdiana.fail\/blog\/wp-content\/uploads\/2015\/08\/image.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/watchdiana.fail\/blog\/wp-content\/uploads\/2015\/08\/image-300x225.jpg\" alt=\"Veroboard with wires, an arduino, and some smoothing capacitors\" width=\"300\" height=\"225\" class=\"alignleft size-medium wp-image-142\" srcset=\"https:\/\/watchdiana.fail\/blog\/wp-content\/uploads\/2015\/08\/image-300x225.jpg 300w, https:\/\/watchdiana.fail\/blog\/wp-content\/uploads\/2015\/08\/image-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>I&#8217;ve soldered up most of the board for Sparky v2, meaning I now know which pins connect where.  The Arduino has analogue pins that can also be used for digital input, so although I&#8217;m technically out of digital pins, that&#8217;s not really a problem.  I&#8217;ll be testing that theory soon, using a digital read instead of an analogue read, and I&#8217;m pretty sure it&#8217;ll end up fine.  I&#8217;ve written the code, soldered most things, but need some small push buttons to test the code entirely, and I don&#8217;t want to put on the stepper driver chip before it&#8217;s entirely tested.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve soldered up most of the board for Sparky v2, meaning I now know which pins connect where. The Arduino has analogue pins that can also be used for digital input, so although I&#8217;m technically out of digital pins, that&#8217;s not really a problem. I&#8217;ll be testing that theory soon, using a digital read instead [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,29],"tags":[9,31,32,12,13],"class_list":["post-136","post","type-post","status-publish","format-standard","hentry","category-coding","category-sparky","tag-coding","tag-fun-with-arduinos","tag-fun-with-electronics","tag-sparky","tag-things-i-do-because-im-stubborn","missing-thumbnail"],"_links":{"self":[{"href":"https:\/\/watchdiana.fail\/blog\/wp-json\/wp\/v2\/posts\/136","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/watchdiana.fail\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/watchdiana.fail\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/watchdiana.fail\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/watchdiana.fail\/blog\/wp-json\/wp\/v2\/comments?post=136"}],"version-history":[{"count":3,"href":"https:\/\/watchdiana.fail\/blog\/wp-json\/wp\/v2\/posts\/136\/revisions"}],"predecessor-version":[{"id":144,"href":"https:\/\/watchdiana.fail\/blog\/wp-json\/wp\/v2\/posts\/136\/revisions\/144"}],"wp:attachment":[{"href":"https:\/\/watchdiana.fail\/blog\/wp-json\/wp\/v2\/media?parent=136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/watchdiana.fail\/blog\/wp-json\/wp\/v2\/categories?post=136"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/watchdiana.fail\/blog\/wp-json\/wp\/v2\/tags?post=136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}