{"id":4845,"date":"2023-03-28T19:20:04","date_gmt":"2023-03-28T19:20:04","guid":{"rendered":"https:\/\/rodmilstead.com\/pt\/?page_id=4845"},"modified":"2023-03-28T21:28:38","modified_gmt":"2023-03-28T21:28:38","slug":"arduino-yellow-motor-control","status":"publish","type":"page","link":"http:\/\/rodmilstead.com\/pt\/arduino-yellow-motor-control\/","title":{"rendered":"Arduino Yellow Motor Control"},"content":{"rendered":"<p>In today&#8217;s work you get to connect an Arduino to two yellow hobby motors.\u00a0 This is the first step in robot domination.<\/p>\n<p><strong>What you will need:<\/strong><br \/>\n1. a partner (I only have twenty motor controllers to share)<br \/>\n2. an Arduino<br \/>\n3. two yellow motors<br \/>\n4. a motor controller<br \/>\n5. four wires that have one male end and one female end<br \/>\n6. two normal wires<br \/>\n7. a small screwdriver<\/p>\n<p>Use the diagram to wire up your circuit to two yellow motors.\u00a0 It doesn&#8217;t matter if whether you wire red or black to the OUT terminals as long they are swapped between motor 1 and motor 2.<\/p>\n<p>Then download the two Arduino programs and upload one at a time to your new Arduino motor circuit.\u00a0 Test them out!<\/p>\n<p><strong>Download both of these programs:<\/strong><\/p>\n<p><a href=\"https:\/\/drive.google.com\/file\/d\/1sNgV-AIycSNyoPPxA1YqwXBtXmri3AI7\/view?usp=sharing\" target=\"_blank\" rel=\"noopener\">twomotornospeed<\/a><br \/>\n<a href=\"https:\/\/drive.google.com\/file\/d\/13-36gDM47MqLZr0kEjjAti9FudzjuCeh\/view?usp=sharing\" target=\"_blank\" rel=\"noopener\">twomotorspeed<\/a><\/p>\n<p>This handy diagram:<\/p>\n<p><a href=\"http:\/\/rodmilstead.com\/pt\/wp-content\/uploads\/2023\/03\/l298nArduino.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4846\" src=\"http:\/\/rodmilstead.com\/pt\/wp-content\/uploads\/2023\/03\/l298nArduino.png\" alt=\"\" width=\"970\" height=\"960\" srcset=\"http:\/\/rodmilstead.com\/pt\/wp-content\/uploads\/2023\/03\/l298nArduino.png 970w, http:\/\/rodmilstead.com\/pt\/wp-content\/uploads\/2023\/03\/l298nArduino-300x297.png 300w, http:\/\/rodmilstead.com\/pt\/wp-content\/uploads\/2023\/03\/l298nArduino-768x760.png 768w\" sizes=\"auto, (max-width: 970px) 100vw, 970px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In today&#8217;s work you get to connect an Arduino to two yellow hobby motors.\u00a0 This is the first step in robot domination. What you will need: 1. a partner (I only have twenty motor controllers to share) 2. an Arduino 3. two yellow motors 4. a motor controller 5. four wires that have one male &hellip; <a href=\"http:\/\/rodmilstead.com\/pt\/arduino-yellow-motor-control\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Arduino Yellow Motor Control<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-4845","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/rodmilstead.com\/pt\/wp-json\/wp\/v2\/pages\/4845","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/rodmilstead.com\/pt\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/rodmilstead.com\/pt\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/rodmilstead.com\/pt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/rodmilstead.com\/pt\/wp-json\/wp\/v2\/comments?post=4845"}],"version-history":[{"count":5,"href":"http:\/\/rodmilstead.com\/pt\/wp-json\/wp\/v2\/pages\/4845\/revisions"}],"predecessor-version":[{"id":4853,"href":"http:\/\/rodmilstead.com\/pt\/wp-json\/wp\/v2\/pages\/4845\/revisions\/4853"}],"wp:attachment":[{"href":"http:\/\/rodmilstead.com\/pt\/wp-json\/wp\/v2\/media?parent=4845"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}