{"id":15648,"date":"2016-07-22T10:00:01","date_gmt":"2016-07-22T17:00:01","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=15648"},"modified":"2021-06-16T14:01:21","modified_gmt":"2021-06-16T21:01:21","slug":"high-five-robot","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/high-five-robot\/","title":{"rendered":"High Five Robot"},"content":{"rendered":"<p>Have you ever faced high five rejection?<\/p>\n<p><a href=\"https:\/\/vine.co\/v\/5mWx75zdgEK\">https:\/\/vine.co\/v\/5mWx75zdgEK<\/a><\/p>\n<p>I think we have all been there. Well, it&#8217;s time to end bad high five experiences everywhere. Using some Digilent products, I was able to make a reliable high\u00a0five machine.<\/p>\n<div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" width=\"735\" height=\"413\" src=\"https:\/\/www.youtube.com\/embed\/W9OMSj7q-hE?feature=oembed\" frameborder=\"0\" allow=\"autoplay; encrypted-media\" allowfullscreen><\/iframe><\/div>\n<p>I started this project when I was creating a library for the <a href=\"https:\/\/digilent.com\/shop\/pmodls1-infrared-light-detector\/\">PmodLS1<\/a>. I originally wanted to create a sort of metronome using two sensors and the <a href=\"https:\/\/digilent.com\/shop\/gws-servo-continuous-rotation-s35-std\/\">Servo<\/a> motor. But then I thought high fives would be a billion times cooler!<\/p>\n<p>This program works through use of a <a href=\"https:\/\/digilent.com\/shop\/ir-proximity-sensor-2-pack\/\">Proximity sensor<\/a> and a <a href=\"https:\/\/digilent.com\/shop\/gws-servo-continuous-rotation-s35-std\/\">Servo<\/a> motor. The sensor is located in the hand of the robot. When the\u00a0other hand high fives this one, the sensor is activated, and the <a href=\"https:\/\/digilent.com\/shop\/pmodls1-infrared-light-detector\/\">PmodLS1<\/a> tells the <a href=\"https:\/\/digilent.com\/shop\/chipkit-wf32-wifi-enabled-microntroller-board-with-uno-r3-headers\/\">chipKit WF32<\/a> to tell the <a href=\"https:\/\/digilent.com\/shop\/gws-servo-continuous-rotation-s35-std\/\">Servo<\/a> to rotate backwards, as if it was high fived. It waits a bit, then the <a href=\"https:\/\/digilent.com\/shop\/gws-servo-continuous-rotation-s35-std\/\">Servo<\/a> rotates forward, ready and waiting for another high five to activate its sensor.<\/p>\n<p>This was a pretty simple project. The hardest part was calibrating the correct angles for the <a href=\"https:\/\/digilent.com\/shop\/gws-servo-continuous-rotation-s35-std\/\">Servo<\/a> to turn. My first set of angles ended with the hand pushing forward too far, and the whole device falling off my desk.<\/p>\n<p>I also made a happiness function, in which the <a href=\"https:\/\/digilent.com\/shop\/gws-servo-continuous-rotation-s35-std\/\">Servo<\/a> would rotate back and forward rapidly as if the hand was really excited and fist bumping. This <em>also<\/em> resulted in my device\u00a0falling off my desk.<\/p>\n<figure id=\"attachment_15649\" aria-describedby=\"caption-attachment-15649\" style=\"width: 338px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-15649 size-medium\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/07\/low-five-338x600.jpg\" width=\"338\" height=\"600\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/07\/low-five-338x600.jpg 338w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/07\/low-five-768x1365.jpg 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/07\/low-five-576x1024.jpg 576w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/07\/low-five-675x1200.jpg 675w\" sizes=\"auto, (max-width: 338px) 100vw, 338px\" \/><figcaption id=\"caption-attachment-15649\" class=\"wp-caption-text\">Low five!!<\/figcaption><\/figure>\n<p>If you want to learn more about this project, check out my <a href=\"http:\/\/www.instructables.com\/id\/High-Five-Robot\/\">Instructable<\/a>. Let us know in the comments what projects you are working on right now!<\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-15648 jlk' data-task='like' data-post_id='15648' data-nonce='4d1b41d1d7' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-15648 lc'>0<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-15648 jlk' data-task='unlike' data-post_id='15648' data-nonce='4d1b41d1d7' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-15648 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-15648 status align-left'>Be the 1st to vote.<\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Eric explains details the inspiration behind his positively motivating project, along with instructions on how to get started making your own!<\/p>\n","protected":false},"author":45,"featured_media":15653,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[38,4327],"tags":[104],"ppma_author":[4495],"class_list":["post-15648","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-expansion-modules","category-projects","tag-project-2"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/07\/FTI9NL1IQTZYMDM.LARGE_.jpg","jetpack_sharing_enabled":true,"authors":[{"term_id":4495,"user_id":45,"is_guest":0,"slug":"emarsh","display_name":"Eric Marsh","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/d65ca3ee4750fc49bf338630709f4b7073fb08e524f159a6c4ee6f0b900b96e9?s=96&d=mm&r=g","1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":"","9":"","10":""}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/15648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/users\/45"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=15648"}],"version-history":[{"count":0,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/15648\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/15653"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=15648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=15648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=15648"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=15648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}