{"id":10058,"date":"2024-11-24T18:19:57","date_gmt":"2024-11-24T17:19:57","guid":{"rendered":"https:\/\/dronesonen.usn.no\/?p=10058"},"modified":"2024-11-25T15:35:08","modified_gmt":"2024-11-25T14:35:08","slug":"week-13","status":"publish","type":"post","link":"https:\/\/dronesonen.usn.no\/?p=10058","title":{"rendered":"smart parking Week 13"},"content":{"rendered":"\n<p>Group:<br><br>As we put the system together physically we realized we did not have the thread and material needed for our system so we had to do an entire turn over and recreate coding and materials.<\/p>\n\n\n\n<p><strong>Shanel:<\/strong><\/p>\n\n\n\n<p>Because we didn\u2019t have the necessary wire for the parts I printed, I had to remodel the system to work with a belt and pulley system.<\/p>\n\n\n\n<p>I started by redesigning the slide plates.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"987\" height=\"470\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-77.png\" alt=\"\" class=\"wp-image-10060\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-77.png 987w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-77-300x143.png 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-77-768x366.png 768w\" sizes=\"auto, (max-width: 987px) 100vw, 987px\" \/><\/figure>\n\n\n\n<p>I had to increase their length to create space for the belt holders, as they needed to be connected to the plate.<\/p>\n\n\n\n<p>The plates arm for to hold the ground holder got a new and stronger design too for to be able to hold up the weight and pressure that will be put on the plates.<\/p>\n\n\n\n<p>Ive also have had to change the design of the ground holder to adjust it to our real size protype.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"818\" height=\"330\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-82.png\" alt=\"\" class=\"wp-image-10080\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-82.png 818w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-82-300x121.png 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-82-768x310.png 768w\" sizes=\"auto, (max-width: 818px) 100vw, 818px\" \/><\/figure>\n\n\n\n<p>Due to the changes in the lifting system, I had to adapt the design to incorporate four motors, one to each beam for controlling the up-and-down movement. To ensure smooth operation and proper tensioning of the lifting belt, I added guide wheels on the lifting plate. These wheels help direct the belt over the appropriate paths, as illustrated in the pictures.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"793\" height=\"473\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-83.png\" alt=\"\" class=\"wp-image-10083\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-83.png 793w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-83-300x179.png 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-83-768x458.png 768w\" sizes=\"auto, (max-width: 793px) 100vw, 793px\" \/><\/figure>\n\n\n\n<p>A wheel is positioned at the top of the plate to guide the first circulation of the belt, while a second wheel at the bottom manages the second circulation.<\/p>\n\n\n\n<p>A final and entirely new additions to the system was a top plate for the beam, designed to hold the belt at its top position. This plate is connected to two belt holders, which guide the belt along its intended path.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"491\" height=\"352\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-109.png\" alt=\"\" class=\"wp-image-10166\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-109.png 491w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-109-300x215.png 300w\" sizes=\"auto, (max-width: 491px) 100vw, 491px\" \/><\/figure>\n\n\n\n<p><br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"427\" height=\"362\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-110.png\" alt=\"\" class=\"wp-image-10169\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-110.png 427w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-110-300x254.png 300w\" sizes=\"auto, (max-width: 427px) 100vw, 427px\" \/><\/figure>\n\n\n\n<p>And of course the belt holder which is also a new part.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"515\" height=\"370\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-111.png\" alt=\"\" class=\"wp-image-10171\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-111.png 515w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-111-300x216.png 300w\" sizes=\"auto, (max-width: 515px) 100vw, 515px\" \/><\/figure>\n\n\n\n<p>With all these changes, the entire modeling process for the project has been transformed<\/p>\n\n\n\n<p>Before:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"945\" height=\"687\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-91.png\" alt=\"\" class=\"wp-image-10105\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-91.png 945w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-91-300x218.png 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-91-768x558.png 768w\" sizes=\"auto, (max-width: 945px) 100vw, 945px\" \/><figcaption class=\"wp-element-caption\">Full view<\/figcaption><\/figure>\n\n\n\n<p>After:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"618\" height=\"414\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-94.png\" alt=\"\" class=\"wp-image-10108\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-94.png 618w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-94-300x201.png 300w\" sizes=\"auto, (max-width: 618px) 100vw, 618px\" \/><figcaption class=\"wp-element-caption\">Full view<\/figcaption><\/figure>\n\n\n\n<p><br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"585\" height=\"450\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-92.png\" alt=\"\" class=\"wp-image-10106\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-92.png 585w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-92-300x231.png 300w\" sizes=\"auto, (max-width: 585px) 100vw, 585px\" \/><figcaption class=\"wp-element-caption\">Side View<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"510\" height=\"469\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-93.png\" alt=\"\" class=\"wp-image-10107\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-93.png 510w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-93-300x276.png 300w\" sizes=\"auto, (max-width: 510px) 100vw, 510px\" \/><figcaption class=\"wp-element-caption\">View from top<\/figcaption><\/figure>\n\n\n\n<p>As you can see, everything has been completely revised. The motor has been moved to the floor to ensure correct belt placement, the plate holders have been repositioned to the other side to support the belt, and a ramp has been added for improved functionality.<\/p>\n\n\n\n<p>Its truly been a time eater to do all this changes but now we finally have a possibility <\/p>\n\n\n\n<p>Milani:<br><br><\/p>\n\n\n\n<p>Continued developing the project and added several features, such as generating unique receipt IDs and implementing safety instructions before parking.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Completed CSS styling for an improved touch experience.<\/li>\n\n\n\n<li>Implemented step-by-step safety instructions and automatic screen transitions.<\/li>\n\n\n\n<li>Began testing the project on the Flask server.<\/li>\n<\/ul>\n\n\n\n<p><strong>Challenges:<\/strong><br>We initially tried running the project on the school network, but encountered issues because the network blocked access to essential ports and resources. This made it difficult to test the project effectively, and we had to find alternative solutions.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"440\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-80.png\" alt=\"\" class=\"wp-image-10074\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-80.png 630w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-80-300x210.png 300w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/figure>\n\n\n\n<p><strong>Azi:<\/strong><\/p>\n\n\n\n<p><strong>Preparing for Testing<\/strong><\/p>\n\n\n\n<p><strong>What I Did<\/strong><\/p>\n\n\n\n<p>This week, I focused on creating a code to easily test the vertical and horizontal motors separately to make sure everything works as expected. The full system isn\u2019t ready yet, so I kept things simple.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>For the <strong>vertical test<\/strong>, the code handles the platform moving up and down, just like it would during normal operation.<\/li>\n\n\n\n<li>For the <strong>horizontal test<\/strong>, I wrote the code to handle side-to-side movement.<\/li>\n<\/ul>\n\n\n\n<p><strong>How It All Works<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Picking the Test Type:<br><\/strong>The code has a simple setup where you just choose whether you\u2019re testing the vertical or horizontal motor. You do this by changing one variable, motor_test_type, at the top of the code.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-112.png\" alt=\"\" class=\"wp-image-10189\" width=\"284\" height=\"53\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-112.png 452w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-112-300x56.png 300w\" sizes=\"auto, (max-width: 284px) 100vw, 284px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Horizontal Test<\/strong>:<br>The horizontal motor\u2019s code is shown below. The idea is to move the platform sideways between the elevator and parking spot.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-113.png\" alt=\"\" class=\"wp-image-10190\" width=\"392\" height=\"96\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-113.png 672w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-113-300x74.png 300w\" sizes=\"auto, (max-width: 392px) 100vw, 392px\" \/><figcaption class=\"wp-element-caption\">This part of the code will handle moving the platform left and right during testing.<\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Vertical Test<\/strong>:<br>For the vertical test, I programmed the motor to move the platform to different heights. No fancy feedback loops or sensors were involved, just simple movement to verify the logic.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-114.png\" alt=\"\" class=\"wp-image-10191\" width=\"398\" height=\"97\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-114.png 678w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-114-300x73.png 300w\" sizes=\"auto, (max-width: 398px) 100vw, 398px\" \/><figcaption class=\"wp-element-caption\">This shows how the vertical motor is controlled to move the platform up and down.<\/figcaption><\/figure>\n\n\n\n<p><strong>How the Code Runs<\/strong><\/p>\n\n\n\n<p class=\"has-text-align-left\">At the end of the code, it runs the motor test based on the type you picked. Here\u2019s how it looks:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-115.png\" alt=\"\" class=\"wp-image-10192\" width=\"398\" height=\"105\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-115.png 486w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-115-300x79.png 300w\" sizes=\"auto, (max-width: 398px) 100vw, 398px\" \/><figcaption class=\"wp-element-caption\">You just set the motor_test_type to &#8216;vertical&#8217; or &#8216;horizontal&#8217;, and the program does the rest.<\/figcaption><\/figure>\n\n\n\n<p><strong>Where We Stand<\/strong><\/p>\n\n\n\n<p>We now have a code that strips away all of the complicated elements and gets down to the basics of <strong>vertical<\/strong> and <strong>horizontal<\/strong> movement of the elevator. Splitting the tests like this makes it much easier to focus on each part individually, and now everything\u2019s in a good place for integration.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Kim<\/strong>:<\/p>\n\n\n\n<p><strong>Supporting Motor Testing<\/strong><\/p>\n\n\n\n<p>This week, I supported Azi as he worked on writing the code for testing the vertical and horizontal motors for our tower parking system. While I didn\u2019t handle the coding, I helped by sharing ideas on how to break down the tests into smaller steps. For example, we discussed testing each motor separately before trying to integrate them into the larger system.<\/p>\n\n\n\n<p>I also gave input on how to adjust the motor speeds to ensure smooth movement and reduce wear on the hardware. My role was mainly about offering ideas to simplify the process and make sure everything was easy to troubleshoot.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Benjamin: This week has mostly gone into implementing the illustrational video. Originally the file type of the video was not what I wanted and the file converter I had found for this switch did not work. So I started researching other ways to implement the video. I found one way that almost worked perfectly. The video would show up on our webpage through youtube. And this honestly worked fine. But again, it wasn&#8217;t the best user experiance. when starting the video it would usually use a bit more time loading, and for me that wasn&#8217;t ideal. So I again started looking for converters, and in the end i found one that worked.<br><br><\/p>\n\n\n\n<p>Meron ;<\/p>\n\n\n\n<p><strong>Workshop and Design Progress: Parking Building Prototype and Motor Solution<\/strong><\/p>\n\n\n\n<p>This week, I continued my work in the workshop, focusing on building a prototype of the parking structure. As seen in the picture, I used Weldment to weld rods with small plates on bottom. This approach allows me to adjust the size and placement where the components can be mounted to the main plate.<\/p>\n\n\n\n<p>In addition to the physical assembly, we received advice from our teacher regarding motor selection. Unfortunately, the suggested motor was out of stock, so we had to work with the one motor we already had. However, this motor was unable to run the belt as required. To solve this, I came up with the idea of using a pulley system. I designed the pulley system in SolidWorks and then 3D printed it to integrate with the motor, allowing us to successfully drive the belt.This solution is a crucial step in ensuring the functionality of the system.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"263\" height=\"467\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-126.png\" alt=\"\" class=\"wp-image-10294\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-126.png 263w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-126-169x300.png 169w\" sizes=\"auto, (max-width: 263px) 100vw, 263px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"330\" height=\"553\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-127.png\" alt=\"\" class=\"wp-image-10295\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-127.png 330w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-127-179x300.png 179w\" sizes=\"auto, (max-width: 330px) 100vw, 330px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"358\" height=\"528\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-128.png\" alt=\"\" class=\"wp-image-10296\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-128.png 358w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-128-203x300.png 203w\" sizes=\"auto, (max-width: 358px) 100vw, 358px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Group: As we put the system together physically we realized we did not have the thread and material needed for our system so we had to do an entire turn over and recreate coding and materials. Shanel: Because we didn\u2019t have the necessary wire for the parts I printed, I had to remodel the system [&hellip;]<\/p>\n","protected":false},"author":104,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-10058","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/10058","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/users\/104"}],"replies":[{"embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10058"}],"version-history":[{"count":17,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/10058\/revisions"}],"predecessor-version":[{"id":10398,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/10058\/revisions\/10398"}],"wp:attachment":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10058"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10058"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10058"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}