{"id":2179,"date":"2020-03-25T07:24:19","date_gmt":"2020-03-25T14:24:19","guid":{"rendered":"http:\/\/www.donluc.com\/?p=2179"},"modified":"2020-03-25T07:24:42","modified_gmt":"2020-03-25T14:24:42","slug":"project-12-robotics-unmanned-vehicles-1h-mk12","status":"publish","type":"post","link":"https:\/\/www.donluc.com\/?p=2179","title":{"rendered":"Project #12: Robotics &#8211; Unmanned Vehicles 1h &#8211; Mk12"},"content":{"rendered":"<div style=\"width: 720px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-2179-1\" width=\"720\" height=\"406\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/03\/dl2003mk05.mp4?_=1\" \/><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/03\/dl2003mk05.mp4\">https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/03\/dl2003mk05.mp4<\/a><\/video><\/div>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/03\/DL2003Mk05a.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/03\/DL2003Mk05a.png\" alt=\"Robotics\" width=\"720\" height=\"456\" class=\"alignnone size-full wp-image-2181\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/03\/DL2003Mk05a.png 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/03\/DL2003Mk05a-300x190.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/03\/DL2003Mk05b.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/03\/DL2003Mk05b.png\" alt=\"Robotics\" width=\"720\" height=\"480\" class=\"alignnone size-full wp-image-2182\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/03\/DL2003Mk05b.png 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/03\/DL2003Mk05b-300x200.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/03\/DL2003Mk05c.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/03\/DL2003Mk05c.png\" alt=\"Robotics\" width=\"720\" height=\"480\" class=\"alignnone size-full wp-image-2183\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/03\/DL2003Mk05c.png 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/03\/DL2003Mk05c-300x200.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/03\/DL2003Mk05d.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/03\/DL2003Mk05d.png\" alt=\"Robotics\" width=\"720\" height=\"480\" class=\"alignnone size-full wp-image-2184\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/03\/DL2003Mk05d.png 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/03\/DL2003Mk05d-300x200.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><strong>Pololu Stepper Motor Bipolar, 200 Steps\/Rev, 2.8V, 1.7 A\/Phase<\/strong><\/p>\n<p>This hybrid bipolar stepping motor has a 1.8\u00b0 step angle (200 steps\/revolution). Each phase draws 1.7 A at 2.8 V, allowing for a holding torque of 3.7 kg-cm. The motor has four color-coded wires terminated with bare leads: black and green connect to one coil; red and blue connect to the other. <\/p>\n<p><strong>DL2003Mk05<\/strong><\/p>\n<p>1 x SparkFun RedBoard Qwiic<br \/>\n2 x Pololu DRV8834 Low-Voltage Stepper Motor Driver Carrier<br \/>\n2 x Electrolytic Decoupling Capacitors &#8211; 100uF\/25V<br \/>\n2 x Pololu Stepper Motor Bipolar, 2.8V, 1.7 A\/Phase<br \/>\n2 x Pololu Universal Aluminum Mounting Hub for 5mm Shaft, M3 Holes<br \/>\n1 x Adafruit Perma-Proto Half-sized Breadboard PCB<br \/>\n14 x Wire Solid Core &#8211; 22 AWG<br \/>\n1 x SparkFun Cerberus USB Cable<\/p>\n<p><strong>SparkFun RedBoard Qwiic<\/strong><\/p>\n<p>SP1 &#8211; Digital 9<br \/>\nDI1 &#8211; Digital 8<br \/>\nSP2 &#8211; Digital 7<br \/>\nDI2 &#8211; Digital 6<br \/>\nVIN &#8211; 3.3V<br \/>\nGND &#8211; GND<\/p>\n<p><strong>DL2003Mk05Rp.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"default\" data-enlighter-title=\"DL2003Mk05Rp.ino\">\r\n\/\/ ***** Don Luc Electronics \u00a9 *****\r\n\/\/ Software Version Information\r\n\/\/ Project #12: Robotics - Unmanned Vehicles 1h - Mk12\r\n\/\/ 03-05\r\n\/\/ DL2003Mk05Rp.ino 12-12\r\n\/\/ Receiver\r\n\/\/ 1 x SparkFun RedBoard Qwiic\r\n\/\/ 2 x Pololu DRV8834 Low-Voltage Stepper Motor Driver Carrier\r\n\/\/ 2 x Electrolytic Decoupling Capacitors - 100uF\/25V\r\n\/\/ 2 x Pololu Stepper Motor Bipolar, 2.8V, 1.7 A\/Phase\r\n\/\/ 2 x Pololu Universal Aluminum Mounting Hub for 5mm Shaft, M3 Holes\r\n\/\/ 1 x Adafruit Perma-Proto Half-sized Breadboard PCB\r\n\r\n\/\/ Include the library code:\r\n\/\/ DRV8834 Stepper Motor Driver\r\n#include &lt;BasicStepperDriver.h&gt;\r\n#include &lt;MultiDriver.h&gt;\r\n\r\n\/\/ DRV8834 Stepper Motor Driver\r\n\/\/ Stepper motor steps per revolution. Most steppers are 200 steps or 1.8 degrees\/step\r\n#define MOTOR_STEPS 200\r\n\/\/ Target RPM for X axis stepper motor\r\n#define MOTOR_X_RPM 800\r\n\/\/ Target RPM for Y axis stepper motor\r\n#define MOTOR_Y_RPM 800\r\n\/\/ Since microstepping is set externally, make sure this matches the selected mode\r\n\/\/ If it doesn&#039;t, the motor will move at a different RPM than chosen\r\n\/\/ 1=full step, 2=half step etc.\r\n#define MICROSTEPS 1\r\n\/\/ X Stepper motor\r\n#define DIR_X 8\r\n#define STEP_X 9\r\n\/\/ Y Stepper motor\r\n#define DIR_Y 6\r\n#define STEP_Y 7\r\n\/\/ BasicStepperDriver\r\nBasicStepperDriver stepperX(MOTOR_STEPS, DIR_X, STEP_X);\r\nBasicStepperDriver stepperY(MOTOR_STEPS, DIR_Y, STEP_Y);\r\n\/\/ Pick one of the two controllers below each motor moves independently\r\nMultiDriver controller(stepperX, stepperY);\r\n\r\n\/\/ Software Version Information\r\nString sver = &quot;12-12&quot;;\r\n\/\/ Unit ID information\r\nString uid = &quot;&quot;;\r\n\r\nvoid loop() {\r\n\r\n   controller.rotate(360, 360);\r\n   \r\n}\r\n<\/pre>\n<p><strong>getStepper.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"default\" data-enlighter-title=\"getStepper.ino\">\r\n\/\/ Stepper\r\n\/\/ isStepperSetup\r\nvoid isStepperSetup() {    \r\n  \r\n  \/\/ Set stepper target motors RPM.\r\n  stepperX.begin(MOTOR_X_RPM, MICROSTEPS);\r\n  stepperY.begin(MOTOR_Y_RPM, MICROSTEPS);\r\n\r\n}\r\n<\/pre>\n<p><strong>setup.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"default\" data-enlighter-title=\"setup.ino\">\r\n\/\/ Setup\r\nvoid setup() {\r\n\r\n  \/\/ DRV8834 Stepper Motor Driver\r\n  isStepperSetup();\r\n\r\n}\r\n<\/pre>\n<p><strong>Technology Experience<\/strong><\/p>\n<ul>\n<li>Research &#038; Development (R &#038; D)<\/li>\n<li>Desktop Applications (Windows, OSX, Linux, Multi-OS, Multi-Tier, etc&#8230;)<\/li>\n<li>Mobile Applications (Android, iOS, Blackberry, Windows Mobile, Windows CE, etc&#8230;)<\/li>\n<li>Web Applications (LAMP, Scripting, Java, ASP, ASP.NET, RoR, Wakanda, etc&#8230;)<\/li>\n<li>Social Media Programming &#038; Integration (Facebook, Twitter, YouTube, Pinterest, etc&#8230;)<\/li>\n<li>Content Management Systems (WordPress, Drupal, Joomla, Moodle, etc&#8230;)<\/li>\n<li>Bulletin Boards (phpBB, SMF, Vanilla, jobberBase, etc&#8230;)<\/li>\n<li>eCommerce (WooCommerce, OSCommerce, ZenCart, PayPal Shopping Cart, etc&#8230;)<\/li>\n<\/ul>\n<p><strong>Instructor<\/strong><\/p>\n<ul>\n<li>DOS, Windows, OSX, Linux, iOS, Android, Multi-OS<\/li>\n<li>Linux-Apache-PHP-MySQL<\/li>\n<li>Robotics<\/li>\n<li>Arduino<\/li>\n<li>Raspberry Pi<\/li>\n<li>Espressif<\/li>\n<\/ul>\n<p><strong>Follow Us<\/strong><\/p>\n<p><strong>The Alpha Geek<\/strong><\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"Qz0Y95IhZQ\"><p><a href=\"https:\/\/www.donluc.com\/?page_id=6\">Why &#8220;The Alpha Geek&#8221;?<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" title=\"&#8220;Why &#8220;The Alpha Geek&#8221;?&#8221; &#8212; Don Luc Electronics\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"https:\/\/www.donluc.com\/?page_id=6&#038;embed=true#?secret=Qz0Y95IhZQ\" data-secret=\"Qz0Y95IhZQ\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p><strong>Aphasia<\/strong><\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"qM5oeEF532\"><p><a href=\"https:\/\/www.donluc.com\/?page_id=2149\">Don Luc Aphasia<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" title=\"&#8220;Don Luc Aphasia&#8221; &#8212; Don Luc Electronics\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"https:\/\/www.donluc.com\/?page_id=2149&#038;embed=true#?secret=qM5oeEF532\" data-secret=\"qM5oeEF532\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p><strong>J. Luc Paquin \u2013 Curriculum Vitae<\/strong><br \/>\nhttps:\/\/www.donluc.com\/DLHackster\/LucPaquinCVEngMk2020a.pdf<\/p>\n<p><strong>Web:<\/strong> https:\/\/www.donluc.com\/<br \/>\n<strong>Web:<\/strong> http:\/\/www.jlpconsultants.com\/<br \/>\n<strong>Web:<\/strong> https:\/\/www.donluc.com\/DLHackster\/<br \/>\n<strong>Web:<\/strong> https:\/\/www.hackster.io\/neosteam-labs<br \/>\n<strong>Facebook:<\/strong> https:\/\/www.facebook.com\/neosteam.labs.9\/<br \/>\n<strong>YouTube:<\/strong> https:\/\/www.youtube.com\/channel\/UC5eRjrGn1CqkkGfZy0jxEdA<br \/>\n<strong>Twitter:<\/strong> https:\/\/twitter.com\/labs_steam<br \/>\n<strong>Pinterest:<\/strong> https:\/\/www.pinterest.com\/NeoSteamLabs\/<\/p>\n<p><strong>Don Luc<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8212;&#8212; &#8212;&#8212; &#8212;&#8212; &#8212;&#8212; &#8212;&#8212; Pololu Stepper Motor Bipolar, 200 Steps\/Rev, 2.8V, 1.7 A\/Phase This hybrid bipolar stepping motor has a 1.8\u00b0 step angle (200 steps\/revolution). Each phase draws 1.7 A at 2.8 V, allowing for a holding torque of 3.7 kg-cm. The motor has four color-coded wires terminated with bare leads: black and green &#8230; <a title=\"Project #12: Robotics &#8211; Unmanned Vehicles 1h &#8211; Mk12\" class=\"read-more\" href=\"https:\/\/www.donluc.com\/?p=2179\" aria-label=\"Read more about Project #12: Robotics &#8211; Unmanned Vehicles 1h &#8211; Mk12\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[94,50,38,59,5,46,58,10,43],"tags":[105,6,14,4,19,85,24,9,27,95,96,33,99,34],"class_list":["post-2179","post","type-post","status-publish","format-standard","hentry","category-robotics-projerts","category-arduino","category-digitalelectronics","category-fritzing","category-microcontrollers","category-pololu","category-arduino-programming","category-projects","category-sparkfun","tag-aphasia","tag-arduino","tag-business","tag-consultant","tag-electronics","tag-fritzing","tag-microcontroller","tag-programming","tag-projects-2","tag-robotic","tag-stepper","tag-technology","tag-unmanned-vehicles","tag-video-blog"],"_links":{"self":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/2179","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2179"}],"version-history":[{"count":3,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/2179\/revisions"}],"predecessor-version":[{"id":3724,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/2179\/revisions\/3724"}],"wp:attachment":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}