{"id":31,"date":"2023-10-28T17:58:34","date_gmt":"2023-10-28T17:58:34","guid":{"rendered":"https:\/\/engprojects.tcnj.edu\/solar-powered-water-irrigation-system\/?page_id=31"},"modified":"2024-02-15T17:39:45","modified_gmt":"2024-02-15T17:39:45","slug":"control-system","status":"publish","type":"page","link":"https:\/\/engprojects.tcnj.edu\/solar-powered-water-irrigation-system\/control-system\/","title":{"rendered":"Control System"},"content":{"rendered":"\n<p>The general layout of functions of the code is illustrated below in Figure 1. Idle marks the initial setup of the system when no water is in either of the tanks. From here, each sensor will be checked for engagement and based on the output, the code will proceed accordingly. A timer will also be coded into the system to ensure the water is pumped for an allotted amount of time out of every 24 hours.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"561\" src=\"https:\/\/engprojects.tcnj.edu\/solar-powered-water-irrigation-system\/wp-content\/uploads\/sites\/262\/2024\/02\/code_flowchart-1024x561.png\" alt=\"\" class=\"wp-image-84\" srcset=\"https:\/\/engprojects.tcnj.edu\/solar-powered-water-irrigation-system\/wp-content\/uploads\/sites\/262\/2024\/02\/code_flowchart-1024x561.png 1024w, https:\/\/engprojects.tcnj.edu\/solar-powered-water-irrigation-system\/wp-content\/uploads\/sites\/262\/2024\/02\/code_flowchart-300x164.png 300w, https:\/\/engprojects.tcnj.edu\/solar-powered-water-irrigation-system\/wp-content\/uploads\/sites\/262\/2024\/02\/code_flowchart-768x421.png 768w, https:\/\/engprojects.tcnj.edu\/solar-powered-water-irrigation-system\/wp-content\/uploads\/sites\/262\/2024\/02\/code_flowchart.png 1394w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Figure 1: Code Flowchart<\/figcaption><\/figure>\n\n\n\n<p>An arduino, relay shield, motor shield and sensor board will be utilized as shown in Figure 2. In order to account for the 2 setups of the teams\u2019 design, the relay shield will control the on and off of the pumps while the motor shield will control the parameters of the valve. A bread board will also be used to connect the 4 float switch sensors of the buckets in order to have a fully functioning system that is able to regulate itself.<\/p>\n\n\n\n<figure class=\"wp-block-gallery aligncenter has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><div class=\"wp-block-image is-style-default\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"695\" data-id=\"87\" src=\"https:\/\/engprojects.tcnj.edu\/solar-powered-water-irrigation-system\/wp-content\/uploads\/sites\/262\/2024\/02\/arduino_stackup-2-1024x695.jpg\" alt=\"\" class=\"wp-image-87\" srcset=\"https:\/\/engprojects.tcnj.edu\/solar-powered-water-irrigation-system\/wp-content\/uploads\/sites\/262\/2024\/02\/arduino_stackup-2-1024x695.jpg 1024w, https:\/\/engprojects.tcnj.edu\/solar-powered-water-irrigation-system\/wp-content\/uploads\/sites\/262\/2024\/02\/arduino_stackup-2-300x204.jpg 300w, https:\/\/engprojects.tcnj.edu\/solar-powered-water-irrigation-system\/wp-content\/uploads\/sites\/262\/2024\/02\/arduino_stackup-2-768x521.jpg 768w, https:\/\/engprojects.tcnj.edu\/solar-powered-water-irrigation-system\/wp-content\/uploads\/sites\/262\/2024\/02\/arduino_stackup-2.jpg 1489w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Figure 2: Arduino and Stacked Board Set Up<\/figcaption><\/figure><\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The general layout of functions of the code is illustrated below in Figure 1. Idle marks the initial setup of the system when no water is in either of the tanks. From here, each sensor will be checked for engagement and based on the output, the code will proceed accordingly. A timer will also be &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/engprojects.tcnj.edu\/solar-powered-water-irrigation-system\/control-system\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Control System&#8221;<\/span><\/a><\/p>\n","protected":false},"author":562,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ngg_post_thumbnail":0,"footnotes":""},"class_list":["post-31","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/engprojects.tcnj.edu\/solar-powered-water-irrigation-system\/wp-json\/wp\/v2\/pages\/31","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/engprojects.tcnj.edu\/solar-powered-water-irrigation-system\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/engprojects.tcnj.edu\/solar-powered-water-irrigation-system\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/engprojects.tcnj.edu\/solar-powered-water-irrigation-system\/wp-json\/wp\/v2\/users\/562"}],"replies":[{"embeddable":true,"href":"https:\/\/engprojects.tcnj.edu\/solar-powered-water-irrigation-system\/wp-json\/wp\/v2\/comments?post=31"}],"version-history":[{"count":0,"href":"https:\/\/engprojects.tcnj.edu\/solar-powered-water-irrigation-system\/wp-json\/wp\/v2\/pages\/31\/revisions"}],"wp:attachment":[{"href":"https:\/\/engprojects.tcnj.edu\/solar-powered-water-irrigation-system\/wp-json\/wp\/v2\/media?parent=31"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}