{"id":75,"date":"2020-02-28T20:09:23","date_gmt":"2020-02-28T20:09:23","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb7\/?p=75"},"modified":"2020-03-20T19:33:35","modified_gmt":"2020-03-20T19:33:35","slug":"claires-status-update-for-2-29","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb7\/2020\/02\/28\/claires-status-update-for-2-29\/","title":{"rendered":"Claire&#8217;s Status Update for 02\/29"},"content":{"rendered":"<p><strong>Schedule<\/strong><\/p>\n<p>Per our Gantt Chart, this week I was supposed to set up the stepper motors. I was able to do some of it, but a lot of this week was focused on the Design Proposal.<\/p>\n<p><strong>Progress This Week<\/strong><\/p>\n<p>This week, besides working on the design proposal slides, presentation, and report, I was able to obtain the stepper motors and drivers and check whether or not I could interface them with an Arduino Uno. Using an Arduino Uno allows me to isolate variables of not knowing how a RPi works and all the potential interrupts, etc. With an Uno, I can quickly setup the code and check whether the motors and drivers are working. If the RPi doesn&#8217;t end up working, we can revert to the Uno code, which can be helpful.<\/p>\n<p>I used these two links as reference:<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"SuRKkRVf2X\"><p><a href=\"https:\/\/howtomechatronics.com\/tutorials\/arduino\/how-to-control-stepper-motor-with-a4988-driver-and-arduino\/\">How To Control a Stepper Motor with A4988 Driver and Arduino<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"https:\/\/howtomechatronics.com\/tutorials\/arduino\/how-to-control-stepper-motor-with-a4988-driver-and-arduino\/embed\/#?secret=SuRKkRVf2X\" data-secret=\"SuRKkRVf2X\" width=\"600\" height=\"338\" title=\"&#8220;How To Control a Stepper Motor with A4988 Driver and Arduino&#8221; &#8212; HowToMechatronics\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"UoP1v6V9Kf\"><p><a href=\"https:\/\/lastminuteengineers.com\/a4988-stepper-motor-driver-arduino-tutorial\/\">Control Stepper Motor with A4988 Driver Module &#038; Arduino<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"https:\/\/lastminuteengineers.com\/a4988-stepper-motor-driver-arduino-tutorial\/embed\/#?secret=UoP1v6V9Kf\" data-secret=\"UoP1v6V9Kf\" width=\"600\" height=\"338\" title=\"&#8220;Control Stepper Motor with A4988 Driver Module &#038; Arduino&#8221; &#8212; Last Minute Engineers\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>In writing a simple test and setting up the circuit, there were a few problems. 1) Using a breadboard would pose a significant problem, as when I used it, the connections were unstable, and I have to hold the wires at very specific angles in order for the motor to move. 2) I am currently receiving a &#8220;avrdude: stk500_recv(): programmer is not responding&#8221; bug, where my sketches are not uploading, even though it worked once. 3) I&#8217;m still struggling to understand how to adjust current limit and how that correlates to current draw from the microcontroller GPIO pins.<\/p>\n<p>From the feedback received from the design review proposal, I noticed that someone was concerned about the accuracy of the motor (since resistors are tiny). They mentioned that though the motor can go down to 1\/16 step, it might not be enough. And I would like to look more into this. Also during the Q&amp;A, Aarohi mentioned how the parts can weigh down and distort the shape of the gantry. I would like to keep this in mind moving forward.<\/p>\n<p><strong>Next Week&#8217;s To-do<\/strong><\/p>\n<p>Next week, I&#8217;m looking to solve the above problems in the following ways:<\/p>\n<p>1) Solder the connections onto a board.<\/p>\n<p>2) Debug, with the help of stack overflow. But potentially swap out the Arduino. Some references say that this might be the issue, which I&#8217;m not too convinced by, but still&#8230; options\/<\/p>\n<p>3) Measure the current from the GPIO pins with a DMM.<\/p>\n<p>I will also be attempting some stepper controller code on the RPi, to test if we will have to use the Arduino. Beyond this, I will also be following the Gantt chart and hopefully setting up the servos. I think we will be using an off the shelf rack and pinion, so there will be less assembly for me to do.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Schedule Per our Gantt Chart, this week I was supposed to set up the stepper motors. I was able to do some of it, but a lot of this week was focused on the Design Proposal. Progress This Week This week, besides working on the design proposal slides, presentation, and report, I was able to obtain the stepper motors and drivers and check whether or not I could interface them with an Arduino Uno. Using an Arduino Uno allows me&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb7\/2020\/02\/28\/claires-status-update-for-2-29\/\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":271,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,2],"tags":[],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb7\/wp-json\/wp\/v2\/posts\/75"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb7\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb7\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb7\/wp-json\/wp\/v2\/users\/271"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb7\/wp-json\/wp\/v2\/comments?post=75"}],"version-history":[{"count":7,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb7\/wp-json\/wp\/v2\/posts\/75\/revisions"}],"predecessor-version":[{"id":108,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb7\/wp-json\/wp\/v2\/posts\/75\/revisions\/108"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb7\/wp-json\/wp\/v2\/media?parent=75"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb7\/wp-json\/wp\/v2\/categories?post=75"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb7\/wp-json\/wp\/v2\/tags?post=75"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}