{"id":4228,"date":"2020-09-24T20:35:09","date_gmt":"2020-09-24T19:35:09","guid":{"rendered":"http:\/\/dronesonen.usn.no\/?p=4228"},"modified":"2020-12-09T11:08:09","modified_gmt":"2020-12-09T10:08:09","slug":"week-5-21-09-27-09-automatic-watering-system-for-plants","status":"publish","type":"post","link":"https:\/\/dronesonen.usn.no\/?p=4228","title":{"rendered":"Week 5 (21.09-27.09): Automatic watering system for plants"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Mechanical (Shadi and Per-Terje):<\/h4>\n\n\n\n<p>During this week we have been working on the design of the castor wheels brackets, the components bracket (which will be a stand for the arduino board, battery etc.) and the crane. The 3d-print of the parts was done on wednesday which meant we could attach some of the parts on our thursday&#8217;s group session.<\/p>\n\n\n\n<p>We had some issues with 3d printing the parts where the crane arm had some defect because of using less than enough supporting material<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>The castor wheel brackets was almost a perfect fit, except that the holes did not fit with the holes in the plexiglas. After some minor drilling it was okey.<\/p>\n\n\n\n<p>We did not have enough time to take any pictures of the components bracket and the crane attached to the vehicle as we focused on testing the line follower functions during this session, but we included some pictures of the parts on its own.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/CastorwheelBrackets-768x1024.jpg\" alt=\"\" class=\"wp-image-4231\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/CastorwheelBrackets-768x1024.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/CastorwheelBrackets-225x300.jpg 225w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><figcaption>Castor wheel brackets<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"479\" height=\"1024\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/10\/121675421_256231172494709_1293006297263020870_n-479x1024.jpg\" alt=\"\" class=\"wp-image-4358\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/10\/121675421_256231172494709_1293006297263020870_n-479x1024.jpg 479w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/10\/121675421_256231172494709_1293006297263020870_n-140x300.jpg 140w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/10\/121675421_256231172494709_1293006297263020870_n-768x1640.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/10\/121675421_256231172494709_1293006297263020870_n.jpg 944w\" sizes=\"auto, (max-width: 479px) 100vw, 479px\" \/><figcaption> 3d print defect<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/Crane1-768x1024.jpg\" alt=\"\" class=\"wp-image-4232\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/Crane1-768x1024.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/Crane1-225x300.jpg 225w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><figcaption>Crane &#8211; Bottom<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/Crane2-768x1024.jpg\" alt=\"\" class=\"wp-image-4233\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/Crane2-768x1024.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/Crane2-225x300.jpg 225w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><figcaption>Crane &#8211; Top <\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"485\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/10\/121693226_370807694107070_4577526210900882514_n-1024x485.jpg\" alt=\"\" class=\"wp-image-4359\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/10\/121693226_370807694107070_4577526210900882514_n-1024x485.jpg 1024w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/10\/121693226_370807694107070_4577526210900882514_n-300x142.jpg 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/10\/121693226_370807694107070_4577526210900882514_n-768x363.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/10\/121693226_370807694107070_4577526210900882514_n.jpg 2016w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>3d printing process<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/ComponentsBracket-1024x768.jpg\" alt=\"\" class=\"wp-image-4234\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/ComponentsBracket-1024x768.jpg 1024w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/ComponentsBracket-300x225.jpg 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/ComponentsBracket-768x576.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Bracket for Arduino board, battery etc.<\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Software (Marius)<\/h4>\n\n\n\n<p>During the thursday session i have been working on the programming for the line follower sensors. The sensors we decided to use in our project is two IR transmitters and IR recievers which are used for sending and recieving light. When the IR rays hit a white surface it is reflected back to the sensor and generate some voltage change. When it hit a black surface the light is absorbed and no light is reflected back to the sensor. <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"577\" height=\"385\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/IR-WhiteSurface.jpg\" alt=\"\" class=\"wp-image-4235\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/IR-WhiteSurface.jpg 577w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/IR-WhiteSurface-300x200.jpg 300w\" sizes=\"auto, (max-width: 577px) 100vw, 577px\" \/><figcaption>Illustrations is borrowed from create.arduino.cc webpage<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"609\" height=\"404\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/IR-BlackSurface.jpg\" alt=\"\" class=\"wp-image-4236\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/IR-BlackSurface.jpg 609w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/IR-BlackSurface-300x199.jpg 300w\" sizes=\"auto, (max-width: 609px) 100vw, 609px\" \/><figcaption> <em>Illustrations is borrowed from create.arduino.cc webpage<\/em> <\/figcaption><\/figure>\n\n\n\n<p>I had some minor difficulties getting the input from the IR sensors working properly. Normally, when light is hitting a white surface it should result in the input 1 on the Arduino, and when it hit a black surface it should result in the input 0 on the Arduino. I got some wierd values at first, but managed to get it working after a while. Since the Arduino will recieve 0 and 1 values it&#8217;s perfect to use some logical operaters in the programming. <\/p>\n\n\n\n<p>After being done with the programming we did a few tests to make sure that the line follower sensors works as intended. I had to change the speed of the gear motors several times to make it go slow enough or it would just go straight into the walls.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/LineFollowerSensor-1024x768.jpg\" alt=\"\" class=\"wp-image-4237\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/LineFollowerSensor-1024x768.jpg 1024w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/LineFollowerSensor-300x225.jpg 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/LineFollowerSensor-768x576.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>The line follower sensors had to be attached with tape for this test. Next week the brackets will be done and assembled.<\/figcaption><\/figure>\n\n\n\n<p>I forgot to take some screenshots when working on the software for the sensors, but i did remember to take a picture of our mess! \ud83d\ude42<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/Working-hard-768x1024.jpg\" alt=\"\" class=\"wp-image-4238\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/Working-hard-768x1024.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/Working-hard-225x300.jpg 225w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><figcaption>Mess everywhere!<\/figcaption><\/figure>\n\n\n\n<p>Added a video of our line follower testing: <a href=\"https:\/\/streamable.com\/55sc4k\">https:\/\/streamable.com\/55sc4k<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Electrical (Erlend):<\/h4>\n\n\n\n<p>Most of this week has been spent on research and testing, both regarding which servo motor is best suited for our use and which water pump would work for our design. Regarding the servo motor, the choice was between two different types, the SG90 or the bigger MG995. After some thorough testing and research, I landed on going forward with the MG995, which compared to the SG90 delivers a much higher load capacity and speed, the quality of the component itself is also much higher.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"762\" height=\"365\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/12\/servo.png\" alt=\"\" class=\"wp-image-4783\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/12\/servo.png 762w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/12\/servo-300x144.png 300w\" sizes=\"auto, (max-width: 762px) 100vw, 762px\" \/><figcaption>SG90(Left) MG995(Right)<\/figcaption><\/figure>\n\n\n\n<p>For the water pump I ended up going for a RS-360SH which was acquired from dronesonen. Seeing as this pump is more than capable of delivers the required amount of water needed, and that the size and weight of the pump is relatively small\/low.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/12\/IMG_20201209_110433-1024x980.jpg\" alt=\"\" class=\"wp-image-4784\" width=\"457\" height=\"437\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/12\/IMG_20201209_110433-1024x980.jpg 1024w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/12\/IMG_20201209_110433-300x287.jpg 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/12\/IMG_20201209_110433-768x735.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/12\/IMG_20201209_110433.jpg 1824w\" sizes=\"auto, (max-width: 457px) 100vw, 457px\" \/><figcaption>Testing of the RS-360SH pump<\/figcaption><\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Mechanical (Shadi and Per-Terje): During this week we have been working on the design of the castor wheels brackets, the components bracket (which will be a stand for the arduino board, battery etc.) and the crane. The 3d-print of the parts was done on wednesday which meant we could attach some of the parts on [&hellip;]<\/p>\n","protected":false},"author":78,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[62],"tags":[66],"class_list":["post-4228","post","type-post","status-publish","format-standard","hentry","category-smartsystems2020","tag-automatic-watering-system-for-plants"],"_links":{"self":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/4228","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\/78"}],"replies":[{"embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4228"}],"version-history":[{"count":6,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/4228\/revisions"}],"predecessor-version":[{"id":4785,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/4228\/revisions\/4785"}],"wp:attachment":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4228"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}