{"id":520,"date":"2023-05-13T04:00:23","date_gmt":"2023-05-13T04:00:23","guid":{"rendered":"https:\/\/portfolio.wcu.edu\/sjallen7\/?p=520"},"modified":"2023-05-13T04:35:00","modified_gmt":"2023-05-13T04:35:00","slug":"firefighting-robot","status":"publish","type":"post","link":"https:\/\/portfolio.wcu.edu\/sjallen7\/2023\/05\/13\/firefighting-robot\/","title":{"rendered":"Firefighting Robot"},"content":{"rendered":"<p>The purpose of building this robot was to be able to solve a maze and put out a fire. For this project, I designed a firefighting robot with my partner using Arduino. The components of this project included designing and 3D printing a basic <a href=\"https:\/\/portfolio.wcu.edu\/sjallen7\/2023\/03\/02\/motor-mount\/\">motor mount, <\/a><a href=\"https:\/\/portfolio.wcu.edu\/sjallen7\/2023\/04\/28\/hubs-and-wheels-assignment\/\">hubs and wheels<\/a><span style=\"color: #2ea3f2;\">. <\/span>\u00a0We also used to come circuits we designed earlier in the semester including an <a href=\"https:\/\/portfolio.wcu.edu\/sjallen7\/2023\/04\/03\/ultrasonic-sensor-controlling-a-servo-motor\/\">Ultrasonic Sensor Controlling a Servo Motor<\/a>\u00a0and a <a href=\"https:\/\/portfolio.wcu.edu\/sjallen7\/2023\/04\/17\/flame-sensor-and-relay\/\">Flame Sensor and Relay<\/a> partner, Tony dealt mostly with the hardware while I dealt mostly with the code.\u00a0 At the end of the semester, we demonstrated how our robot worked by placing the robot in a simple maze and having the robot solve the maze and put out a fire without any human interaction. Initially, we would have liked the robot to turn left and right while sensing the walls. However, because this was a simple maze, we stuck with just having the robot turn right.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"\" src=\"https:\/\/attachments.office.net\/owa\/sjallen7%40catamount.wcu.edu\/service.svc\/s\/GetAttachmentThumbnail?id=AAMkAGY2ZWI5MTRhLWI4MGQtNDJmZC1hZmE1LWM5MmY3ZTFmZWVjNQBGAAAAAAAo8r7LVnieSI605lX0ILz9BwBoq0vXHjNTTJuNLfO9yiAAAAAAAAEMAABoq0vXHjNTTJuNLf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1YS0xNmQ1LTQ0MTQtOGVlMS03YmRlNzA1NDNmMWIiLCJoYXBwIjoib3dhIn0.FuDS-5zY20iTiNnV5xvWqYeIi2ePMrpOCIuDwRmvDvZU8FZpxo6bm-_VaoR6Td45WCZfZECu9LM5fqa5lgleZcde3kr7vR2Q0wnyrumx2r1HgFQE3TiNnd4oNhaemXPw881CEn_V7R2g69NPslG7d1LGjNr_z8npEKIo-JP6cPHv2a5GG3OUWld6RoxZY4BaY3V4e2IprnW0SRlmKIfiys78j4uxjM95LY-8cMMBnf6y9zoND--atM1HjNJ_oxcDB5GENPEaTSzUHZt7-PVpYgijFYadbd1iE4yQ97aJgI8j7dRQBcVyYFhvrR62VKXf1lhe6j5_KtCLNYFkbnpaWw&amp;X-OWA-CANARY=0E6Goa1mNEayNP4OEzP-7XDry9xhU9sYtOavG1fGI84Ki1AvGj8kfkfA6ucXHYUTymurLtS5ae8.&amp;owa=outlook.office.com&amp;scriptVer=20230428009.14&amp;animation=true\" width=\"222\" height=\"296\" \/><\/p>\n<p>The robot was built piece by piece over the course of a semester. Starting with designing the wheels in hubs to fit the stepper motors. My partner and I each designed a wheel and hub. We ended up going with his design (first picture below) because it was more convenient at the time.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"\" src=\"https:\/\/attachments.office.net\/owa\/sjallen7%40catamount.wcu.edu\/service.svc\/s\/GetAttachmentThumbnail?id=AAMkAGY2ZWI5MTRhLWI4MGQtNDJmZC1hZmE1LWM5MmY3ZTFmZWVjNQBGAAAAAAAo8r7LVnieSI605lX0ILz9BwBoq0vXHjNTTJuNLfO9yiAAAAAAAAEMAABoq0vXHjNTTJuNLfO9yiAAAAFQDTp1AAABEgAQAPrlNY9FYBpBjS8rPcOm%2ByI%3D&amp;thumbnailType=2&amp;token=eyJhbGciOiJSUzI1NiIsImtpZCI6IjczRkI5QkJFRjYzNjc4RDRGN0U4NEI0NDBCQUJCMTJBMzM5RDlGOTgiLCJ0eXAiOiJKV1QiLCJ4NXQi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uSURCMooLvY2soYfzodL1_DoziiHCvyZhZZrhuHbEB__rDTSjJH_OZrFhttd0QfGIb0IrpDvGd2TePW0cNIt0INuFgSPw5MCtFkBalXubYmXwtkNrUFXn0fgvYzM-ocaLSxtDIumoBMDb-GZBegVy0hK5N-5kvYREa53iQNkOIFO6LWoAM1uUdYRe4kRUcK-gNdEo1TYIcQXwBTWEpm4dTU9ny-dB1iwpfDXTQA&amp;X-OWA-CANARY=9YM-tR_vVkmkA7MgBptFPJBn7zFdU9sYeJY25YbTpCqSQ5Y52NalmQhcduoaknqd7t1Iu3J8xs4.&amp;owa=outlook.office.com&amp;scriptVer=20230428009.14&amp;animation=true\" alt=\"Image preview\" width=\"156\" height=\"117\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"\" src=\"https:\/\/attachments.office.net\/owa\/sjallen7%40catamount.wcu.edu\/service.svc\/s\/GetAttachmentThumbnail?id=AAMkAGY2ZWI5MTRhLWI4MGQtNDJmZC1hZmE1LWM5MmY3ZTFmZWVjNQBGAAAAAAAo8r7LVnieSI605lX0ILz9BwBoq0vXHjNTTJuNLfO9yiAAAAAAAAEMAABoq0vXHjNTTJuNLfO9yiAAAAFQDTp1AAABEgAQALKAnOn6bRJCjqjG9NBCH8M%3D&amp;thumbnailType=2&amp;token=eyJhbGciOiJSUzI1NiIsImtpZCI6IjczRkI5QkJFRjYzNjc4RDRGN0U4NEI0NDBCQUJCMTJBMzM5RDlGOTgiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJjX3VidnZZMmVOVDM2RXRFQzZ1eEtqT2RuNWcifQ.eyJvcmlnaW4iOiJodHRwczovL291dGxvb2sub2ZmaWNlLmNvbSIsInVjIjoiNmFlN2UwZTQ0YTY5NDk0Y2I5YTIwYjY3MDM2MzEyMGMiLCJzaWduaW5fc3RhdGUiOiJbXCJrbXNpXCJdIiwidmVyIjoiRXhjaGFuZ2UuQ2FsbGJhY2suVjEiLCJhcHBjdHhzZW5kZXIiOiJPd2FEb3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kNTfXkS3ZB_OUxdU9sY6iDl3DhbVX-2RboaedOcVD3juA8CvzBXkj6gTj_UiAA.&amp;owa=outlook.office.com&amp;scriptVer=20230428009.14&amp;animation=true\" alt=\"Image preview\" width=\"124\" height=\"165\" \/><\/p>\n<p>We then put all of the components together and made sure they still worked along slide other components. The robot chassis was then assembled. Some of the iterations we made included organizing the wires on the board with zip ties. Organizing the wires is important because it makes it easier to pick out any problems within the hardware. Although this didn&#8217;t fix the problem like how we intended, it improved the problem from what it previously was.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"\" src=\"https:\/\/attachments.office.net\/owa\/sjallen7%40catamount.wcu.edu\/service.svc\/s\/GetAttachmentThumbnail?id=AAMkAGY2ZWI5MTRhLWI4MGQtNDJmZC1hZmE1LWM5MmY3ZTFmZWVjNQBGAAAAAAAo8r7LVnieSI605lX0ILz9BwBoq0vXHjNTTJuNLfO9yiAAAAAAAAEMAABoq0vXHjNTTJuNLfO9yiAAAAFQDTp1AAABEgAQAOLlmwHtCodJo1tDYgLnPrw%3D&amp;thumbnailType=2&amp;token=eyJhbGciOiJSUzI1NiIsImtpZCI6IjczRkI5QkJFRjYzNjc4RDRGN0U4NEI0NDBCQUJCMTJBMzM5RDlGOTgiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJjX3VidnZZMmVOVDM2RXRFQzZ1eEtqT2RuNWcifQ.eyJvcmlnaW4iOiJodHRwczovL291dGxvb2sub2ZmaWNlLmNvbSIsInVjIjoiNmFlN2UwZTQ0YTY5NDk0Y2I5YTIwYjY3MDM2MzEyMGMiLCJzaWduaW5fc3RhdGUiOiJbXCJpbmtub3dubnR3a1wiLFwia21zaVwiXSIsInZlciI6IkV4Y2hhbmdlLkNhbGxiYWNrLlYxIiwiYXBwY3R4c2VuZGVyIjoiT3dhRG93bmxvYWRAYzViMzViNWEtMTZkNS00NDE0LThlZTEtN2JkZTcwNTQzZjFiIiwiaXNzcmluZyI6IldXIiwiYXBwY3R4Ijoie1wibXNleG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=\"195\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"\" src=\"https:\/\/attachments.office.net\/owa\/sjallen7%40catamount.wcu.edu\/service.svc\/s\/GetAttachmentThumbnail?id=AAMkAGY2ZWI5MTRhLWI4MGQtNDJmZC1hZmE1LWM5MmY3ZTFmZWVjNQBGAAAAAAAo8r7LVnieSI605lX0ILz9BwBoq0vXHjNTTJuNLfO9yiAAAAAAAAEMAABoq0vXHjNTTJuNLfO9yiAAAAFQDTp1AAABEgAQABL%2BVw4IfaBCjQO%2BLbweKos%3D&amp;thumbnailType=2&amp;token=eyJhbGciOiJSUzI1NiIsImtpZCI6IjczRkI5QkJFRjYzNjc4RDRGN0U4NEI0NDBCQUJCMTJBMzM5RDlGOTgiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJjX3VidnZZMmVOVDM2RXRFQzZ1eEtqT2RuNWcifQ.eyJvcmlnaW4iOiJodHRwczovL291dGxvb2sub2ZmaWNlLmNvbSIsInVjIjoiNmFlN2UwZTQ0YTY5NDk0Y2I5YTIwYjY3MDM2MzEyMGMiLCJzaWduaW5fc3RhdGUiOiJbXCJrbXNpXCJdIiwidmVyIjoiRXhjaGFuZ2UuQ2FsbGJhY2suVjEiLCJhcHBjdHhzZW5kZXIiOiJPd2FEb3dubG9hZEBjNWIzNWI1YS0xNmQ1LTQ0MTQtOGVlMS03YmRlNzA1NDNmMWIiLCJpc3NyaW5nIjoiV1ciLCJhcHBjdHgiOiJ7XCJtc2V4Y2hwcm90XCI6XCJvd2FcIixcInB1aWRcIjpcIjExNTM4MDExMjE0MzE3MDY3MjZcIixcInNjb3BlXCI6XCJPd2FEb3dubG9hZFwiLFwib2lkXCI6XCI4YjhjMWRlOC1mNDRlLTQwNjctOWQ0ZS04YjdmM2Q1M2Y1NThcIixcInByaW1hcnlzaWRcIjpcIlMtMS01LTIxLTE2MjEzOTIxOTYtMjgwODg1NTIxMC0yMTIwMzQ1OTEwLTE0MTY2MjU5XCJ9IiwibmJmIjoxNjgzOTQ2Mzk3LCJleHAiOjE2ODM5NDY5OTcsImlzcyI6IjAwMDAwMDAyLTAwMDAtMGZmMS1jZTAwLTAwMDAwMDAwMDAwMEBjNWIzNWI1YS0xNmQ1LTQ0MTQtOGVlMS03YmRlNzA1NDNmMWIiLCJhdWQiOiIwMDAwMDAwMi0wMDAwLTBmZjEtY2UwMC0wMDAwMDAwMDAwMDAvYXR0YWNobWVudHMub2ZmaWNlLm5ldEBjNWIzNWI1YS0xNmQ1LTQ0MTQtOGVlMS03YmRlNzA1NDNmMWIiLCJoYXBwIjoib3dhIn0.BOVX4N_Yp7ZHk8D3g4vUhevOvOCBna2VBIQZjKEVnLoK42bBabj4Ci3n3EHzVplUAvdOwzOxDI002Yiu4MPccFUnti-K2Zm7zefIRLYsOWQJ-1WUfkgXAwHdQ2tDVjWhVehtIUXUuJX7R406r_0znfOJtgOcebmL55GGzzma9iGe8mDdl7iFCRRkEIRgTxrnJ444B0JQam1Tewor6pqGFaoNdTYT5zjHQZ2TTWKNd2CJs9aUGrkz_pcDZZlNHxg4EuPjuobCKA8lXdxKPNQ6NFIKA79q-bNB6aTSRX-Wa2f5hOdOzJxU8r_7PM8m1Fkbat4Flk0c973yF6rPc2B74Q&amp;X-OWA-CANARY=AYA7Yyd4iEiXIkNTfXkS3ZB_OUxdU9sY6iDl3DhbVX-2RboaedOcVD3juA8CvzBXkj6gTj_UiAA.&amp;owa=outlook.office.com&amp;scriptVer=20230428009.14&amp;animation=true\" alt=\"Image preview\" width=\"110\" height=\"146\" \/><\/p>\n<p>The biggest challenge was putting everything together including the code. The wheels and hubs were printed specifically for the stepper motors used on the robot. The code was put together little by little starting with a basic drive forward code.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-524\" src=\"https:\/\/portfolio.wcu.edu\/sjallen7\/wp-content\/uploads\/sites\/1756\/2023\/05\/513.png\" alt=\"\" width=\"191\" height=\"112\" \/><\/p>\n<p>After it was working, it was saved and then the right turn code was added (written from scratch).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-525\" src=\"https:\/\/portfolio.wcu.edu\/sjallen7\/wp-content\/uploads\/sites\/1756\/2023\/05\/514.png\" alt=\"\" width=\"202\" height=\"117\" \/><\/p>\n<p>This process was continued with the sensor and fan until the code was finished. We had to start the code over a few times because a mistake happened somewhere, and we weren&#8217;t always able to figure it out. The more we had to start over, the better we understood the code and the basics of c++. In this code, we included the stepper.h library for out stepper motor code.<\/p>\n<p>Eventually, we ran into a problem of the fan not coming on. The flame sensor was reading values, and the fan would click like it wanted to come on, but nothing would happen. After checking the code and wiring, I found that it was a dead wire. Fixing this problem allowed us to complete the code and finish the robot.<\/p>\n<p>If we had more time to work on the robot, I would have liked to code the robot to turn left and be more accurate when sensing a fire. Making the wires a little bit neater will allow us to quickly see and fix a problem if we were to do this again in the future. I would have also liked the robot to have a LED screen or a buzzer to let everyone know when it sensed a fire. Overall, this was a very fun project. There were many obstacles that we crossed to get to the completed version of the robot. I am proud of everything that my partner and I accomplished this semester.<\/p>\n<p><a href=\"https:\/\/youtu.be\/EPVpn1ETzEY\">Robot in Action!<\/a><\/p>\n<p>My partner&#8217;s blog post<\/p>\n<p><a href=\"https:\/\/portfolio.wcu.edu\/kayost2\/2023\/05\/13\/engr-199-final-project-fire\/\">ENGR 199 Final Project \u2013 Fire | Kerwin Yost (wcu.edu)<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The purpose of building this robot was to be able to solve a maze and put out a fire. For this project, I designed a firefighting robot with my partner using Arduino. The components of this project included designing and 3D printing a basic motor mount, hubs and wheels. \u00a0We also used to come circuits [&hellip;]<\/p>\n","protected":false},"author":1968,"featured_media":0,"comment_status":"closed","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-520","post","type-post","status-publish","format-standard","hentry","category-motor-mount"],"_links":{"self":[{"href":"https:\/\/portfolio.wcu.edu\/sjallen7\/wp-json\/wp\/v2\/posts\/520","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/portfolio.wcu.edu\/sjallen7\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/portfolio.wcu.edu\/sjallen7\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/portfolio.wcu.edu\/sjallen7\/wp-json\/wp\/v2\/users\/1968"}],"replies":[{"embeddable":true,"href":"https:\/\/portfolio.wcu.edu\/sjallen7\/wp-json\/wp\/v2\/comments?post=520"}],"version-history":[{"count":5,"href":"https:\/\/portfolio.wcu.edu\/sjallen7\/wp-json\/wp\/v2\/posts\/520\/revisions"}],"predecessor-version":[{"id":528,"href":"https:\/\/portfolio.wcu.edu\/sjallen7\/wp-json\/wp\/v2\/posts\/520\/revisions\/528"}],"wp:attachment":[{"href":"https:\/\/portfolio.wcu.edu\/sjallen7\/wp-json\/wp\/v2\/media?parent=520"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/portfolio.wcu.edu\/sjallen7\/wp-json\/wp\/v2\/categories?post=520"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/portfolio.wcu.edu\/sjallen7\/wp-json\/wp\/v2\/tags?post=520"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}