{"id":1604,"date":"2022-01-22T15:35:25","date_gmt":"2022-01-22T07:35:25","guid":{"rendered":"https:\/\/www.strongd.net\/?p=1604"},"modified":"2022-01-22T15:35:25","modified_gmt":"2022-01-22T07:35:25","slug":"arduino-nano-cnc-shield-v4-with-grbl-pin-error","status":"publish","type":"post","link":"https:\/\/www.strongd.net\/?p=1604","title":{"rendered":"Arduino Nano CNC Shield V4 with grbl PIN ERROR"},"content":{"rendered":"<p>The CNC Shield V4 came with some factory errors being a cloned version for china, the step puls and step direction pin numbers have been alternated, this article also show how to correct it. Just modify one file.<\/p>\n<p>modify cpu_map.h file at line 39<\/p>\n<p>#define X_STEP_BIT 5 \/\/ Uno Digital Pin 2<br \/>\n#define Y_STEP_BIT 6 \/\/ Uno Digital Pin 3<br \/>\n#define Z_STEP_BIT 7 \/\/ Uno Digital Pin 4<\/p>\n<p>and line 47<\/p>\n<p>#define X_DIRECTION_BIT 2 \/\/ Uno Digital Pin 5<br \/>\n#define Y_DIRECTION_BIT 3 \/\/ Uno Digital Pin 6<br \/>\n#define Z_DIRECTION_BIT 4 \/\/ Uno Digital Pin 7<\/p>\n<p>&nbsp;<\/p>\n<p>save and exit<\/p>\n<p>recompile and upload firmware<\/p>\n<p>and done.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The CNC Shield V4 came with some factory errors being a cloned version for china, the step puls and step direction pin numbers have been alternated, this article also show how to correct it. Just modify one file. modify cpu_map.h file at line 39 #define X_STEP_BIT 5 \/\/ Uno Digital Pin 2 #define Y_STEP_BIT 6 &hellip; <a href=\"https:\/\/www.strongd.net\/?p=1604\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Arduino Nano CNC Shield V4 with grbl PIN ERROR<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[236],"tags":[],"class_list":["post-1604","post","type-post","status-publish","format-standard","hentry","category-iot"],"_links":{"self":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/1604","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1604"}],"version-history":[{"count":1,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/1604\/revisions"}],"predecessor-version":[{"id":1605,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/1604\/revisions\/1605"}],"wp:attachment":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1604"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1604"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1604"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}