{"id":482,"date":"2022-12-16T02:57:21","date_gmt":"2022-12-16T02:57:21","guid":{"rendered":"https:\/\/portfolio.wcu.edu\/ndpagan2\/?p=482"},"modified":"2022-12-16T02:57:41","modified_gmt":"2022-12-16T02:57:41","slug":"intro-to-engineering-ff","status":"publish","type":"post","link":"https:\/\/portfolio.wcu.edu\/ndpagan2\/2022\/12\/16\/intro-to-engineering-ff\/","title":{"rendered":"Intro to engineering: Tim the robot"},"content":{"rendered":"<h1>Tim the robot<\/h1>\n<p>When approaching the objective of completing a maze and putting out a fire me and my partner, <a href=\"https:\/\/portfolio.wcu.edu\/jlconnole1\/\">Jessica Connole<\/a> decided to use the fan method to extinguish the flame and use the ultrasonic sensor to navigate the maze.<\/p>\n<p>The first problem I encountered was during the wheel building process. My original wheel design was to complex to be completed by the 3D printers as well as a machine issue in which my wheel printed on an edge.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-473\" src=\"https:\/\/portfolio.wcu.edu\/ndpagan2\/wp-content\/uploads\/sites\/1720\/2022\/12\/IMG_1109-225x300.jpg\" alt=\"\" width=\"225\" height=\"300\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-471\" src=\"https:\/\/portfolio.wcu.edu\/ndpagan2\/wp-content\/uploads\/sites\/1720\/2022\/12\/IMG_1088-225x300.jpg\" alt=\"\" width=\"225\" height=\"300\" \/><\/p>\n<p>I tackled this issue by redesigning and re printing my wheel.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-475\" src=\"https:\/\/portfolio.wcu.edu\/ndpagan2\/wp-content\/uploads\/sites\/1720\/2022\/12\/IMG_1097-225x300.jpg\" alt=\"\" width=\"225\" height=\"300\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-477\" src=\"https:\/\/portfolio.wcu.edu\/ndpagan2\/wp-content\/uploads\/sites\/1720\/2022\/12\/IMG_1099-225x300.jpg\" alt=\"\" width=\"225\" height=\"300\" \/><\/p>\n<p>Next came the problem of wiring inically I connected the breadboard wrong as well as the original breadboard me and my partner used did not work as intended.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-483\" src=\"https:\/\/portfolio.wcu.edu\/ndpagan2\/wp-content\/uploads\/sites\/1720\/2022\/12\/IMG_1140-225x300.jpg\" alt=\"\" width=\"225\" height=\"300\" \/><\/p>\n<p>The solution to this problem required a full rewire onto a different bread board.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-484\" src=\"https:\/\/portfolio.wcu.edu\/ndpagan2\/wp-content\/uploads\/sites\/1720\/2022\/12\/IMG_1168-225x300.jpg\" alt=\"\" width=\"225\" height=\"300\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-485\" src=\"https:\/\/portfolio.wcu.edu\/ndpagan2\/wp-content\/uploads\/sites\/1720\/2022\/12\/IMG_1176-e1671157148115-300x271.png\" alt=\"\" width=\"300\" height=\"271\" \/><\/p>\n<p>Next came the task of tackling the code. I learned a lot while doing this I made my own library of functions which were used to drive my stepper motors. <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-489\" src=\"https:\/\/portfolio.wcu.edu\/ndpagan2\/wp-content\/uploads\/sites\/1720\/2022\/12\/Screenshot-14-e1671157359638-300x224.png\" alt=\"\" width=\"300\" height=\"224\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-488\" src=\"https:\/\/portfolio.wcu.edu\/ndpagan2\/wp-content\/uploads\/sites\/1720\/2022\/12\/Screenshot-13-e1671157344911-300x132.png\" alt=\"\" width=\"314\" height=\"138\" \/><\/p>\n<p>The first problem I ran into was the inability of my motors to turn backwards. The solution to this was the way I had programmed my stepper motors in. The pins are not meant to be put in, in order rather they go in, in a sequence of 1st,3rd,2nd, and 4th. This way the stepper motors are able to reverse the spin.\u00a0 Another issue me and my partner faced was when Tim the robot wasn&#8217;t connected to the laptop it would no longer function as intended. The fix for this was rather trivial with a replacement of batteries tim was able to complete the route.<\/p>\n<p><a href=\"https:\/\/wcu.hosted.panopto.com\/Panopto\/Pages\/Viewer.aspx?id=1342580b-c13d-46ab-9265-af6d002cd362\">https:\/\/wcu.hosted.panopto.com\/Panopto\/Pages\/Viewer.aspx?id=1342580b-c13d-46ab-9265-af6d002cd362<\/a><\/p>\n<p>In closing I would like to take a moment to appreciate my partner she is a mechanical engineer and you can find her blog linked above she done a wonderful job with team work and the manufacturing of tim. I handled the electrical portion and I learned a lot in perseverance as well as coding. Almost every step of this process required several iterations. If I had longer to work on this project I would have like to try a different way of approaching putting out the flame when researching the project I saw a lot of interesting ways to put out the fire. This project was also personal to me I was apart of a firefighting program at my highschool and I know the dangers involved with the profession so one day I would like to actually produce something to help firefighters stay safe while also saving the people in danger.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tim the robot When approaching the objective of completing a maze and putting out a fire me and my partner, Jessica Connole decided to use the fan method to extinguish the flame and use the ultrasonic sensor to navigate the maze. The first problem I encountered was during the wheel building process. My original wheel [&hellip;]<\/p>\n","protected":false},"author":1942,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-482","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/portfolio.wcu.edu\/ndpagan2\/wp-json\/wp\/v2\/posts\/482","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/portfolio.wcu.edu\/ndpagan2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/portfolio.wcu.edu\/ndpagan2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/portfolio.wcu.edu\/ndpagan2\/wp-json\/wp\/v2\/users\/1942"}],"replies":[{"embeddable":true,"href":"https:\/\/portfolio.wcu.edu\/ndpagan2\/wp-json\/wp\/v2\/comments?post=482"}],"version-history":[{"count":2,"href":"https:\/\/portfolio.wcu.edu\/ndpagan2\/wp-json\/wp\/v2\/posts\/482\/revisions"}],"predecessor-version":[{"id":493,"href":"https:\/\/portfolio.wcu.edu\/ndpagan2\/wp-json\/wp\/v2\/posts\/482\/revisions\/493"}],"wp:attachment":[{"href":"https:\/\/portfolio.wcu.edu\/ndpagan2\/wp-json\/wp\/v2\/media?parent=482"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/portfolio.wcu.edu\/ndpagan2\/wp-json\/wp\/v2\/categories?post=482"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/portfolio.wcu.edu\/ndpagan2\/wp-json\/wp\/v2\/tags?post=482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}