{"id":2326,"date":"2017-10-16T14:15:54","date_gmt":"2017-10-16T13:15:54","guid":{"rendered":"http:\/\/dronesonen.hibu.no\/?p=2326"},"modified":"2017-10-16T14:15:54","modified_gmt":"2017-10-16T13:15:54","slug":"smart-mirror-kw-41","status":"publish","type":"post","link":"https:\/\/dronesonen.usn.no\/?p=2326","title":{"rendered":"Smart Mirror: KW 41"},"content":{"rendered":"<p>With some help we were now able to connect the two required motors to the arduino.<\/p>\n<p>The hardware works in the following manner:<\/p>\n<ol>\n<li>A pushbutton activates the system<\/li>\n<li>the relay switches so that the motors are connected to the powersupply<\/li>\n<li>the 360\u00ba servo starts rotating: it presses the toothpaste out and onto the toothbrush. the toothbrush is attached to a loadcell<\/li>\n<li>the loadcell measures the weight and gives a signal back to the arduino<\/li>\n<li>if the weight reaches a certain limit, the first servo stops moving,<\/li>\n<li>the second 180\u00ba servo starts and opens the door so that the user can grab the toothbrush<\/li>\n<li>as soon as the user puts the toothbrush back into its bracket the door closes and the process is finished<\/li>\n<\/ol>\n<p>The code is not yet finished completely.\u00a0<a href=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2017\/10\/IMG_9617.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2327\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2017\/10\/IMG_9617-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2017\/10\/IMG_9617-300x225.jpg 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2017\/10\/IMG_9617-768x576.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2017\/10\/IMG_9617-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With some help we were now able to connect the two required motors to the arduino. The hardware works in the following manner: A pushbutton activates the system the relay switches so that the motors are connected to the powersupply the 360\u00ba servo starts rotating: it presses the toothpaste out and onto the toothbrush. the [&hellip;]<\/p>\n","protected":false},"author":55,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2326","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/2326","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\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2326"}],"version-history":[{"count":1,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/2326\/revisions"}],"predecessor-version":[{"id":2328,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/2326\/revisions\/2328"}],"wp:attachment":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2326"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}