{"id":591,"date":"2015-05-17T13:57:09","date_gmt":"2015-05-17T11:57:09","guid":{"rendered":"http:\/\/www.henningandersen.com\/?p=591"},"modified":"2020-12-20T15:07:47","modified_gmt":"2020-12-20T13:07:47","slug":"shapeoko-2-and-my-grblshield","status":"publish","type":"post","link":"https:\/\/www.henningandersen.com\/?p=591","title":{"rendered":"ShapeOko 2 and my grblshield"},"content":{"rendered":"<h3>My <a href=\"https:\/\/www.synthetos.com\/project\/grblshield\/\" target=\"_blank\" rel=\"noopener\">grbl shield<\/a> is broken<\/h3>\n<p>When I first built my ShapeOko 2, I placed the Arduino and the grbl shield at the out most corner of the frame. This has proven to be a mistake in several ways&#8230; \ud83d\ude41<\/p>\n<figure id=\"attachment_439\" aria-describedby=\"caption-attachment-439\" style=\"width: 168px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/www.henningandersen.com\/wp-content\/uploads\/2014\/12\/DSC01204-e1417468040809.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-439\" src=\"http:\/\/www.henningandersen.com\/wp-content\/uploads\/2014\/12\/DSC01204-e1417468040809-168x300.jpg\" alt=\"Ferrite ring on the USB cable\" width=\"168\" height=\"300\" srcset=\"https:\/\/www.henningandersen.com\/wp-content\/uploads\/2014\/12\/DSC01204-e1417468040809-168x300.jpg 168w, https:\/\/www.henningandersen.com\/wp-content\/uploads\/2014\/12\/DSC01204-e1417468040809-575x1024.jpg 575w, https:\/\/www.henningandersen.com\/wp-content\/uploads\/2014\/12\/DSC01204-e1417468040809-624x1111.jpg 624w\" sizes=\"auto, (max-width: 168px) 100vw, 168px\" \/><\/a><figcaption id=\"caption-attachment-439\" class=\"wp-caption-text\">Original placement of the Arduino and grbl shield on my ShapeOko 2<\/figcaption><\/figure>\n<p>First of all, it gets all the dust from the machine so it has to be cleaned regularly using a vacuum cleaner or compressed air. This is a bad idea&#8230;<\/p>\n<p>Second, the wires going to the stepper motors are so heavy the they have a tendency to put pressure\u00a0 on the terminals, when the machine is running. Not good either&#8230;<\/p>\n<p>So, the result was that the out most potentiometer (white square thing in the photo just below the power terminal) broke loose and caused me all sorts of problem. Since it&#8217;s part of the control of the z-axis, I experienced all sorts of troubles with the stepper motor running the z-axis. For instance it would work perfectly for an hour but suddenly stop moving the z-axis at all or (even worse) skip a few millimeters and then continue as if nothing had happened&#8230; \ud83d\ude2e<\/p>\n<p>I took me a while to locate the cause of the problem (after all sorts of testing) and a fix turned out to be a challenge, too.<\/p>\n<h3>A new shield<\/h3>\n<p>First of all I decided to buy a replacement shield, but since ordering things from the USA can be a rather expensive experience due to danish duties, fees and shipment costs, I decided to go for an alternative shield. I&#8217;ve ordered a <a href=\"http:\/\/store.amberspyglass.co.uk\/gaups-1-0-arduino-compatible-stepper-shield-kit.html\" target=\"_blank\" rel=\"noopener\">gaups<\/a> shield from <a href=\"http:\/\/store.amberspyglass.co.uk\/\" target=\"_blank\" rel=\"noopener\" data-wplink-edit=\"true\">ASL<\/a> (Amber Spyglass Ltd.) which is located in the UK. This means that they are within the EU and therefore goods sent from them aren&#8217;t subject to danish duties. But there is also a backside to that approach: ASL is run as a spare time project and thus shipping time can be quite long, since the owner has a full time job on top of running the shop. I guess I&#8217;ll just have to be patient and wait for the package to arrive.<\/p>\n<h3>In the meantime<\/h3>\n<p>A broken grbl shield and a ongoing project on the ShapeOko for a friend isn&#8217;t the best of combinations, so what to do?<\/p>\n<p>A first I considered soldering the potentiometer back on but since it&#8217;s located just below the power terminal, it turned out to be impossible for me to find enough space for soldering it directly on the PCB. But as a matter of fact, I managed to remove it from the PCB and solder three wires in place where the connectors of the potentiometer used to be. This enabled me to make a temporarily solution by soldering the potentiometer onto a small piece of PCB and then connect the wires there. It&#8217;s not pretty but it allows me to continue my project. \ud83d\ude42<\/p>\n<figure id=\"attachment_598\" aria-describedby=\"caption-attachment-598\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/www.henningandersen.com\/wp-content\/uploads\/2015\/05\/DSC01364.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-598\" src=\"http:\/\/www.henningandersen.com\/wp-content\/uploads\/2015\/05\/DSC01364-300x168.jpg\" alt=\"My temporary fix to the problem.\" width=\"300\" height=\"168\" srcset=\"https:\/\/www.henningandersen.com\/wp-content\/uploads\/2015\/05\/DSC01364-300x168.jpg 300w, https:\/\/www.henningandersen.com\/wp-content\/uploads\/2015\/05\/DSC01364-1024x575.jpg 1024w, https:\/\/www.henningandersen.com\/wp-content\/uploads\/2015\/05\/DSC01364-624x350.jpg 624w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-598\" class=\"wp-caption-text\">My temporary fix to the problem.<\/figcaption><\/figure>\n<h3>A better solution<\/h3>\n<p>Since I had the electronics taken apart for repair, I decided not to put it back on the frame of the ShappeOko. Instead I placed a plastic box with three DIN sockets connected to the wires going to the stepper motors and then use some cables with DIN connectors I had in store to connect the grbl shield to the machine. I think it&#8217;s a better solution, once I get around to building a cabinet for the electronics. It currently looks like this:<\/p>\n<figure id=\"attachment_599\" aria-describedby=\"caption-attachment-599\" style=\"width: 168px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/www.henningandersen.com\/wp-content\/uploads\/2015\/05\/DSC01366.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-599 size-medium\" src=\"http:\/\/www.henningandersen.com\/wp-content\/uploads\/2015\/05\/DSC01366-e1431863619993-168x300.jpg\" alt=\"DIN sockets on the ShapeOko\" width=\"168\" height=\"300\" srcset=\"https:\/\/www.henningandersen.com\/wp-content\/uploads\/2015\/05\/DSC01366-e1431863619993-168x300.jpg 168w, https:\/\/www.henningandersen.com\/wp-content\/uploads\/2015\/05\/DSC01366-e1431863619993-575x1024.jpg 575w, https:\/\/www.henningandersen.com\/wp-content\/uploads\/2015\/05\/DSC01366-e1431863619993-624x1111.jpg 624w\" sizes=\"auto, (max-width: 168px) 100vw, 168px\" \/><\/a><figcaption id=\"caption-attachment-599\" class=\"wp-caption-text\">DIN sockets on the ShapeOko<\/figcaption><\/figure>\n<p>Hopefully, I end up with the electronics placed in some distance from the machine (out of harms way). \ud83d\ude42<\/p>\n<p>Once I receive the parts from ASL, I&#8217;ll get back to this subject&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My grbl shield is broken When I first built my ShapeOko 2, I placed the Arduino and the grbl shield at the out most corner&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,9],"tags":[71,17,28],"class_list":["post-591","post","type-post","status-publish","format-standard","hentry","category-arduino","category-shapeoko-2-2","tag-arduino","tag-g-shield","tag-shapeoko-2","wpcat-2-id","wpcat-9-id"],"_links":{"self":[{"href":"https:\/\/www.henningandersen.com\/index.php?rest_route=\/wp\/v2\/posts\/591","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.henningandersen.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.henningandersen.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.henningandersen.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.henningandersen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=591"}],"version-history":[{"count":8,"href":"https:\/\/www.henningandersen.com\/index.php?rest_route=\/wp\/v2\/posts\/591\/revisions"}],"predecessor-version":[{"id":907,"href":"https:\/\/www.henningandersen.com\/index.php?rest_route=\/wp\/v2\/posts\/591\/revisions\/907"}],"wp:attachment":[{"href":"https:\/\/www.henningandersen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=591"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.henningandersen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=591"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.henningandersen.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=591"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}