{"id":622,"date":"2013-06-13T14:59:33","date_gmt":"2013-06-13T18:59:33","guid":{"rendered":"http:\/\/www.logicalzero.com\/blog\/?p=622"},"modified":"2014-05-23T01:14:49","modified_gmt":"2014-05-23T05:14:49","slug":"junk-box-drawbot","status":"publish","type":"post","link":"http:\/\/www.logicalzero.com\/blog\/?p=622","title":{"rendered":"Junk Box DrawBot"},"content":{"rendered":"<p><a href=\"http:\/\/www.flickr.com\/photos\/27076997@N00\/9035097763\/\" title=\"Junk Box DrawBot, Front (?) by LogicalZero, on Flickr\"><img loading=\"lazy\" src=\"http:\/\/farm8.staticflickr.com\/7435\/9035097763_986a25c9ac_q.jpg\" width=\"150\" height=\"150\" alt=\"Junk Box DrawBot, Front (?)\" style=\"float:left;padding-right:1em\"><\/a>Someone in the <em>Introduction to Arduino<\/em> class I teach at Artisan&#8217;s Asylum asked me what could he actually do with the knowledge and materials I supply. As an answer, I built a robot, using materials from class and random parts in my junk box.<\/p>\n<p>It took maybe 90 minutes to construct, nearly half of which was simply rooting around for just the right part. I might have done it in less time if I&#8217;d used proper tools; all I used was a power drill, a nibbling tool, and a needle file, things I had readily available at home.<br \/>\n<!--more--><br clear=\"both\"><br \/>\n<a href=\"http:\/\/www.flickr.com\/photos\/27076997@N00\/9035096941\/\" title=\"Junk Box DrawBot, Back (?) by LogicalZero, on Flickr\"><img loading=\"lazy\" src=\"http:\/\/farm8.staticflickr.com\/7433\/9035096941_56c01cebc1_q.jpg\" width=\"150\" height=\"150\" alt=\"Junk Box DrawBot, Back (?)\" style=\"float:left;padding-right:1em\"><\/a>The electronics &#8212; LEDs and L293D H-Bridge chip &#8212; were the same as the ones I passed out in class. I gave each student only one motor, whereas this &#8216;bot uses two, so technically speaking, I suppose a student would need materials beyond what I supplied. Two students working together could easily build such a robot, however, so I figured that was a fair compromise.<br clear=\"both\"><\/p>\n<p><a href=\"http:\/\/www.flickr.com\/photos\/27076997@N00\/9613824825\/\" title=\"Junk Box DrawBot in action by LogicalZero, on Flickr\"><img loading=\"lazy\" src=\"http:\/\/farm4.staticflickr.com\/3754\/9613824825_bc3101d692_q.jpg\" width=\"150\" height=\"150\" alt=\"Junk Box DrawBot in action\" style=\"float:left;padding-right:1em\"><\/a>Just so the robot would actually do something, I added a holder for a Sharpie marker. I wrote a couple of simple Arduino sketches to generate pen-and-ink sketches, each taking only a few minutes to create. Most of them produced ugly results. My final sketch drew spirals by using a sine wave to slowly change motor speed. None of the Arduino sketches were worthy of showing off, however.<\/p>\n<p>I thought of adding some additional features, such as a pen-lifting mechanism and encoders on the wheels, but that started to expand beyond the original goal: demonstrating what could be done with just the stuff I provide in class. The DrawBot version 1 was easy enough to build, however, that maybe I&#8217;ll just construct a second, more advanced one later.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Someone in the Introduction to Arduino class I teach at Artisan&#8217;s Asylum asked me what could he actually do with the knowledge and materials I supply. As an answer, I built a robot, using materials from class and random parts in my junk box. It took maybe 90 minutes to construct, nearly half of which [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[41,53,16,12,21],"_links":{"self":[{"href":"http:\/\/www.logicalzero.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/622"}],"collection":[{"href":"http:\/\/www.logicalzero.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.logicalzero.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.logicalzero.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.logicalzero.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=622"}],"version-history":[{"count":4,"href":"http:\/\/www.logicalzero.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/622\/revisions"}],"predecessor-version":[{"id":626,"href":"http:\/\/www.logicalzero.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/622\/revisions\/626"}],"wp:attachment":[{"href":"http:\/\/www.logicalzero.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=622"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.logicalzero.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=622"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.logicalzero.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=622"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}