{"id":3719,"date":"2014-04-03T17:50:19","date_gmt":"2014-04-03T21:50:19","guid":{"rendered":"http:\/\/labrigger.com\/blog\/?p=3719"},"modified":"2014-04-03T17:50:19","modified_gmt":"2014-04-03T21:50:19","slug":"controlling-a-bunch-of-servos","status":"publish","type":"post","link":"http:\/\/labrigger.com\/blog\/2014\/04\/03\/controlling-a-bunch-of-servos\/","title":{"rendered":"Controlling a bunch of servos"},"content":{"rendered":"<p align=\"center\"><a href=\"http:\/\/bildr.org\/2012\/03\/servos-tlc5940-arduino\/\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/labrigger.com\/blog\/wp-content\/uploads\/2014\/04\/bildr.png\" alt=\"bildr\" width=\"939\" height=\"287\" class=\"alignnone size-full wp-image-3720\" srcset=\"http:\/\/labrigger.com\/blog\/wp-content\/uploads\/2014\/04\/bildr.png 939w, http:\/\/labrigger.com\/blog\/wp-content\/uploads\/2014\/04\/bildr-300x91.png 300w\" sizes=\"auto, (max-width: 939px) 100vw, 939px\" \/><\/a><\/p>\n<p>A friend just asked a quick question: <em>How can I make a bunch of cheap (not fast) laser shutters?<\/em> Here&#8217;s a quick answer: For motors, servos are pretty easy to use. Put a piece of black material on the arm of the servo if the laser is weak and this is safe to do. Alternatively, put a mirror on it and direct the beam to a beam block.<\/p>\n<p>Drive the servo motors with an Arduino. <a href=\"http:\/\/bildr.org\/2012\/03\/servos-tlc5940-arduino\/\">Here&#8217;s a demo<\/a> on how you can hook it up.<\/p>\n<p>Piece of cake. Give this job to a barely conscious undergrad.<\/p>\n<p>Here&#8217;s a shopping list, all from Sparkfun (not sponsored&#8211; just a good company):<br \/>\n<a href=\"https:\/\/www.sparkfun.com\/products\/11286\">Arduino &#8211; $25<\/a><br \/>\n<a href=\"https:\/\/www.sparkfun.com\/products\/10616\">Breakout board &#8211; $13<\/a><br \/>\n<a href=\"https:\/\/www.sparkfun.com\/products\/8269\">5v adapter &#8211; $6<\/a><br \/>\n<a href=\"https:\/\/www.sparkfun.com\/products\/11883\">Servo &#8211; $13<\/a><br \/>\n<a href=\"https:\/\/www.sparkfun.com\/products\/10215\">USB cable &#8211; $5<\/a><br \/>\n<a href=\"https:\/\/www.sparkfun.com\/products\/116\">Header pins &#8211; $1.50<\/a><\/p>\n<p>If you want to control them from switches, that&#8217;s easy to implement with the Arduino directly. Alternatively, you can use <a href=\"http:\/\/labrigger.com\/blog\/tag\/processing\/\">Processing<\/a> (with <a href=\"http:\/\/labrigger.com\/blog\/2012\/05\/10\/firmata-for-arduino\/\">Firmata<\/a>) and make a simple GUI interface on the host computer.<\/p>\n<p>An alternative (and more expensive) approach is to use <a href=\"http:\/\/www.phidgets.com\/products.php?category=39\">linear actuators<\/a> and an <a href=\"http:\/\/www.phidgets.com\/products.php?category=0\">IO board<\/a> from Phidgets.<\/p>\n","protected":false},"excerpt":{"rendered":"<p align=\"center\"><a href=\"http:\/\/bildr.org\/2012\/03\/servos-tlc5940-arduino\/\"><\/a><\/p>\n<p>A friend just asked a quick question: <em>How can I make a bunch of cheap (not fast) laser shutters?<\/em> Here&#8217;s a quick answer: For motors, servos are pretty easy to use. Put a piece&#8230;<\/p>\n<div class=\"read-more\"><a href=\"http:\/\/labrigger.com\/blog\/2014\/04\/03\/controlling-a-bunch-of-servos\/\">Read More<\/a><\/div><\/p>\n","protected":false},"author":1,"featured_media":3720,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[41,22,32,10],"class_list":["post-3719","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hardware","tag-arduino","tag-electronics","tag-laser","tag-processing"],"_links":{"self":[{"href":"http:\/\/labrigger.com\/blog\/wp-json\/wp\/v2\/posts\/3719","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/labrigger.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/labrigger.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/labrigger.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/labrigger.com\/blog\/wp-json\/wp\/v2\/comments?post=3719"}],"version-history":[{"count":3,"href":"http:\/\/labrigger.com\/blog\/wp-json\/wp\/v2\/posts\/3719\/revisions"}],"predecessor-version":[{"id":3723,"href":"http:\/\/labrigger.com\/blog\/wp-json\/wp\/v2\/posts\/3719\/revisions\/3723"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/labrigger.com\/blog\/wp-json\/wp\/v2\/media\/3720"}],"wp:attachment":[{"href":"http:\/\/labrigger.com\/blog\/wp-json\/wp\/v2\/media?parent=3719"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/labrigger.com\/blog\/wp-json\/wp\/v2\/categories?post=3719"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/labrigger.com\/blog\/wp-json\/wp\/v2\/tags?post=3719"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}