{"id":6096,"date":"2022-10-25T08:54:12","date_gmt":"2022-10-25T07:54:12","guid":{"rendered":"https:\/\/dronesonen.usn.no\/?p=6096"},"modified":"2022-11-29T08:14:18","modified_gmt":"2022-11-29T07:14:18","slug":"week-10-sort-it-the-prequel","status":"publish","type":"post","link":"https:\/\/dronesonen.usn.no\/?p=6096","title":{"rendered":"Week: 10 Sort.it \u2013 The prequel"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Computer engineers<\/h2>\n\n\n\n<p>This week we tried to focus fully on setting up our user interface on raspberry pi with the touch screen. We decided to use electron for setting up our desktop app.  For this we had to use JavaScript, HTML and CSS along with some scripting. There were several issues when we tried to setup electron on the raspberry pi. We had some issues with downloading the app but in the end we found how to download it but then we had problems with setting up the scripts for it to run. We managed to fix that problem as well. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Mechanical engineers &#8211; Production<\/h2>\n\n\n\n<p>Since computer engineers wanted to have a touch screen working with the sorting system me (Kim) and Ole made a simple display case for the touch screen.  Made it in plywood as you can see below. <\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"2048\" data-id=\"6121\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/sort.it-touch-skjerm-boks-med-skjerm-1.jpg\" alt=\"\" class=\"wp-image-6121\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/sort.it-touch-skjerm-boks-med-skjerm-1.jpg 1536w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/sort.it-touch-skjerm-boks-med-skjerm-1-225x300.jpg 225w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/sort.it-touch-skjerm-boks-med-skjerm-1-768x1024.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/sort.it-touch-skjerm-boks-med-skjerm-1-1152x1536.jpg 1152w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"2048\" data-id=\"6119\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/sort.it-toch-skjerm-boks.jpg\" alt=\"\" class=\"wp-image-6119\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/sort.it-toch-skjerm-boks.jpg 1536w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/sort.it-toch-skjerm-boks-225x300.jpg 225w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/sort.it-toch-skjerm-boks-768x1024.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/sort.it-toch-skjerm-boks-1152x1536.jpg 1152w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/figure>\n<\/figure>\n\n\n\n<p>Down below you can see the rail system in the beginning of being mounted. First in plywood to see if it will work and now this will be replaced with only 3D modelled parts for more rigidity. <br>We are still missing some 3D modelled parts, but these are on the way and will be connected as soon as possible. <\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" data-id=\"6131\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/deler-og-proto-rails-1024x1024.jpg\" alt=\"\" class=\"wp-image-6131\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/deler-og-proto-rails-1024x1024.jpg 1024w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/deler-og-proto-rails-300x300.jpg 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/deler-og-proto-rails-150x150.jpg 150w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/deler-og-proto-rails-768x768.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/deler-og-proto-rails-1536x1536.jpg 1536w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/deler-og-proto-rails.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" data-id=\"6129\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/rails-2-532x1024.jpg\" alt=\"\" class=\"wp-image-6129\" width=\"163\" height=\"315\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/rails-2-532x1024.jpg 532w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/rails-2-156x300.jpg 156w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/rails-2-768x1478.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/rails-2-798x1536.jpg 798w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/rails-2.jpg 998w\" sizes=\"auto, (max-width: 163px) 100vw, 163px\" \/><\/figure>\n<\/figure>\n\n\n\n<p>Since we didnt have all the 3D parts, and I had the possibility to print on my own at home, Ole Markus sendt me the STL files and I printed the remaining of the 3D models he had made in SW. It was a good amount of parts, so total print time was around 20hours. I also took the liberty of adding a engraved logo on one of the parts Ole Markus sent me. <\/p>\n\n\n\n<p>I also printed the new gripper\/claw in 3D printed parts. This weekend the printer was going non stop. Almost 30hours.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"532\" height=\"1024\" data-id=\"6204\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/3d-deler-til-ole-2-532x1024.jpg\" alt=\"\" class=\"wp-image-6204\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/3d-deler-til-ole-2-532x1024.jpg 532w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/3d-deler-til-ole-2-156x300.jpg 156w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/3d-deler-til-ole-2-768x1478.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/3d-deler-til-ole-2-798x1536.jpg 798w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/3d-deler-til-ole-2.jpg 998w\" sizes=\"auto, (max-width: 532px) 100vw, 532px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" data-id=\"6207\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/3d-kjoring-av-deler-til-ole-768x1024.jpg\" alt=\"\" class=\"wp-image-6207\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/3d-kjoring-av-deler-til-ole-768x1024.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/3d-kjoring-av-deler-til-ole-225x300.jpg 225w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/3d-kjoring-av-deler-til-ole-1152x1536.jpg 1152w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/3d-kjoring-av-deler-til-ole.jpg 1536w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" data-id=\"6208\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/ferdig-printet-klo-1-768x1024.jpg\" alt=\"\" class=\"wp-image-6208\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/ferdig-printet-klo-1-768x1024.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/ferdig-printet-klo-1-225x300.jpg 225w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/ferdig-printet-klo-1-1152x1536.jpg 1152w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/ferdig-printet-klo-1.jpg 1536w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"532\" height=\"580\" data-id=\"6206\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/legge-inn-logo-pa-3d-modell-for-ole.jpg\" alt=\"\" class=\"wp-image-6206\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/legge-inn-logo-pa-3d-modell-for-ole.jpg 532w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/legge-inn-logo-pa-3d-modell-for-ole-275x300.jpg 275w\" sizes=\"auto, (max-width: 532px) 100vw, 532px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"445\" height=\"486\" data-id=\"6205\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/ny.klo_.2-1.jpg\" alt=\"\" class=\"wp-image-6205\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/ny.klo_.2-1.jpg 445w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/ny.klo_.2-1-275x300.jpg 275w\" sizes=\"auto, (max-width: 445px) 100vw, 445px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"532\" height=\"1024\" data-id=\"6209\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/slicer-klo-1-532x1024.jpg\" alt=\"\" class=\"wp-image-6209\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/slicer-klo-1-532x1024.jpg 532w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/slicer-klo-1-156x300.jpg 156w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/slicer-klo-1-768x1478.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/slicer-klo-1-798x1536.jpg 798w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/slicer-klo-1.jpg 998w\" sizes=\"auto, (max-width: 532px) 100vw, 532px\" \/><\/figure>\n<figcaption class=\"blocks-gallery-caption\">30 hours of 3D printing to complete the gripper and remain components of the system.<\/figcaption><\/figure>\n\n\n\n<p>&#8211; Kim &amp; Ole Markus<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Electronics<\/h2>\n\n\n\n<p>For the past few weeks, I haven\u2019t had much to do besides waiting for the prototype of the system to be ready for me to wire up and start testing everything together. For now, I won\u2019t be doing much cable management as we will be taking everything apart as soon as the final build of the system is ready, therefore the wiring is quite the mess for now. Therefore, I started drawing a wiring diagram for our system.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/IMG_4167-768x1024.jpg\" alt=\"\" class=\"wp-image-6700\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/IMG_4167-768x1024.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/IMG_4167-225x300.jpg 225w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/IMG_4167-1152x1536.jpg 1152w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/IMG_4167-1536x2048.jpg 1536w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/IMG_4167-scaled.jpg 1920w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><figcaption>Some wiring of the prototype.<\/figcaption><\/figure>\n\n\n\n<p>The computer engineers wondered if it would be possible to use one stepper motor driver for two stepper motors to save space and maybe make the coding simpler, and it is. However, then we won\u2019t be able to control the two motors separately because there is only a set of signal inputs on the drivers.<\/p>\n\n\n\n<p>The voltage drop we found on the servos a few weeks back ended up not being a problem after all. Especially since we will only be using one servo instead of two.<\/p>\n\n\n\n<p>&#8211; Mathias<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Computer engineers This week we tried to focus fully on setting up our user interface on raspberry pi with the touch screen. We decided to use electron for setting up our desktop app. For this we had to use JavaScript, HTML and CSS along with some scripting. There were several issues when we tried to [&hellip;]<\/p>\n","protected":false},"author":89,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[93,94,1],"tags":[],"class_list":["post-6096","post","type-post","status-publish","format-standard","hentry","category-smart-systems-2022","category-sort-it","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/6096","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\/89"}],"replies":[{"embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6096"}],"version-history":[{"count":18,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/6096\/revisions"}],"predecessor-version":[{"id":7046,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/6096\/revisions\/7046"}],"wp:attachment":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6096"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6096"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6096"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}