{"id":179,"date":"2015-05-20T03:03:29","date_gmt":"2015-05-20T03:03:29","guid":{"rendered":"http:\/\/projects.ravelox.com\/blog\/?p=179"},"modified":"2015-05-27T22:29:13","modified_gmt":"2015-05-27T22:29:13","slug":"3d-scanner-part-1-driver-board","status":"publish","type":"post","link":"https:\/\/www.raveloxprojects.com\/blog\/?p=179","title":{"rendered":"3D Scanner &#8211; Part 1 &#8211; Driver Board"},"content":{"rendered":"<p>I&#8217;ve been looking at a Kickstarter project from the guy who is responsible for\u00a0<a href=\"http:\/\/www.freelss.org\">FreeLSS<\/a>. This is a 3D scanner using a Raspberry Pi to control a turntable, a couple of lasers and the Raspberry Pi camera. The software takes multiple images of a 3D object as it turns on the turntable and stitches them together to make a 3D model that can be printed.<\/p>\n<p>The Kickstarter project is to put together the STL files to be printed for the structure and also to provide components for the driver boards.<\/p>\n<p>Unfortunately, I was too late to jump on the bandwagon but, with the designer&#8217;s intention to make the whole project open source, there&#8217;s enough detail on the website to build the driver board and make a structure to support the components.<\/p>\n<p>In another &#8220;How hard can this be?&#8221; moment, I&#8217;ve decided to take up the challenge and see if I can build this.<\/p>\n<p>The hardware driver board is simple. You need something to work the lasers and something to turn the turntable when signals from the Raspberry Pi are received.<\/p>\n<p>The FreeLSS site has the following design:<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/projects.ravelox.com\/blog\/wp-content\/uploads\/2015\/05\/bb.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-178\" src=\"https:\/\/i0.wp.com\/projects.ravelox.com\/blog\/wp-content\/uploads\/2015\/05\/bb-195x300.png?resize=195%2C300\" alt=\"bb\" width=\"195\" height=\"300\" srcset=\"https:\/\/i0.wp.com\/raveloxprojects.com\/blog\/wp-content\/uploads\/2015\/05\/bb.png?resize=195%2C300&amp;ssl=1 195w, https:\/\/i0.wp.com\/raveloxprojects.com\/blog\/wp-content\/uploads\/2015\/05\/bb.png?resize=664%2C1024&amp;ssl=1 664w, https:\/\/i0.wp.com\/raveloxprojects.com\/blog\/wp-content\/uploads\/2015\/05\/bb.png?w=1062&amp;ssl=1 1062w\" sizes=\"auto, (max-width: 195px) 100vw, 195px\" \/><\/a><\/p>\n<p>The A4988 chip is the driver for the stepper motor and the ULN2003A is a Darlington Array responsible for working the lasers.<\/p>\n<p>I&#8217;ve made a couple of adjustments:<\/p>\n<ol>\n<li>The input voltage is 5V for everything. I understand that the designer has made a similar change but that&#8217;s only been available to Kickstarter backers. This is handy because the stepper motors I have take a 5V input.\u00a0Full disclosure: I successfully blew up a couple of L9110S&#8217; by pushing too much voltage through them. They can handle up to 12V but no more.<\/li>\n<li>I&#8217;m not powering the Raspberry Pi from this board. I&#8217;m happy with powering it from its own power supply. Eventually I can build something that will power both the driver board and the Pi.<\/li>\n<li>I&#8217;ve replaced the A4988 with 2 L9110S H-bridge chips. This was because I had the chips available and I didn&#8217;t see a need to buy another driver board for this. This will require me to make modifications to the turntable software so that it will work with my driver board. That&#8217;s the beauty of open source \ud83d\ude42<\/li>\n<\/ol>\n<p>With those changes, I put together the schematic:<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/projects.ravelox.com\/blog\/wp-content\/uploads\/2015\/05\/DriverBoardSchematic.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-177\" src=\"https:\/\/i0.wp.com\/projects.ravelox.com\/blog\/wp-content\/uploads\/2015\/05\/DriverBoardSchematic-300x161.png?resize=300%2C161\" alt=\"DriverBoardSchematic\" width=\"300\" height=\"161\" srcset=\"https:\/\/i0.wp.com\/raveloxprojects.com\/blog\/wp-content\/uploads\/2015\/05\/DriverBoardSchematic.png?resize=300%2C161&amp;ssl=1 300w, https:\/\/i0.wp.com\/raveloxprojects.com\/blog\/wp-content\/uploads\/2015\/05\/DriverBoardSchematic.png?resize=1024%2C551&amp;ssl=1 1024w, https:\/\/i0.wp.com\/raveloxprojects.com\/blog\/wp-content\/uploads\/2015\/05\/DriverBoardSchematic.png?w=1089&amp;ssl=1 1089w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>and, after a couple of attempts at getting the board together, I have something that will drive both the lasers and the stepper motor and not get hot because of short circuits. Here&#8217;s a video of my working board.<\/p>\n<div class=\"jetpack-video-wrapper\"><span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" title=\"YouTube video player\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/koqjefFx6dA?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span><\/div>\n","protected":false},"excerpt":{"rendered":"<p> I&#8217;ve been looking at a Kickstarter project from the guy who is responsible for\u00a0FreeLSS. This is a 3D scanner using a Raspberry Pi to control a turntable, a couple of lasers and the Raspberry Pi camera. The software takes multiple images of a 3D object as it turns on the turntable and stitches them together &#8230; <a class=\"read-more meta-nav\" href=\"https:\/\/www.raveloxprojects.com\/blog\/?p=179\">Read more &raquo;<\/a><\/p>","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[27,24],"tags":[],"class_list":["post-179","post","type-post","status-publish","format-standard","hentry","category-3d-scanner","category-hardware-2"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8tHuw-2T","jetpack_likes_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.raveloxprojects.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/179","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.raveloxprojects.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.raveloxprojects.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.raveloxprojects.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.raveloxprojects.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=179"}],"version-history":[{"count":1,"href":"https:\/\/www.raveloxprojects.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/179\/revisions"}],"predecessor-version":[{"id":180,"href":"https:\/\/www.raveloxprojects.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/179\/revisions\/180"}],"wp:attachment":[{"href":"https:\/\/www.raveloxprojects.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.raveloxprojects.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.raveloxprojects.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}