{"id":12864,"date":"2016-03-09T09:00:05","date_gmt":"2016-03-09T17:00:05","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=12864"},"modified":"2021-06-16T14:21:49","modified_gmt":"2021-06-16T21:21:49","slug":"levitating-a-ping-pong-ball-first-steps","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/levitating-a-ping-pong-ball-first-steps\/","title":{"rendered":"Levitating a Ping Pong Ball &#8211; First Steps"},"content":{"rendered":"<p>Welcome back to the Digilent Blog!<\/p>\n<p>I have always found magic tricks to be some of the coolest things to witness, whether it&#8217;s the straight-up CGI in the Harry Potter movies or some of the more mind-boggling tricks done by David Copperfield at one of his shows (they&#8217;re super cool and worth it in my opinion if you are debating on seeing one). However, hand-eye-coordination has never been one of my strong suits, so I eventually resigned to the fact that magic as a hobby was perhaps not for me.<\/p>\n<figure id=\"attachment_12934\" aria-describedby=\"caption-attachment-12934\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-12934 size-medium\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/03\/20160308_104729-600x338.jpg\" alt=\"20160308_104729\" width=\"600\" height=\"338\" data-wp-pid=\"12934\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/03\/20160308_104729-600x338.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/03\/20160308_104729-768x432.jpg 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/03\/20160308_104729-1024x576.jpg 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/03\/20160308_104729-800x450.jpg 800w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption id=\"caption-attachment-12934\" class=\"wp-caption-text\">A wand, discarded.<\/figcaption><\/figure>\n<p>However, in light of my recent work with\u00a0with electronics, a long dormant dream started flickering once more.<\/p>\n<p>It started back when University of Idaho Emeritus Professor Richard Wall came to me with a small project he had that was doing some proportional height control of a ping pong ball with a small DC fan. Having done some proportional analog control with the brightness of an LED, and realizing\u00a0that &#8220;this is pretty much the same thing,&#8221; I accepted the offer to work on this project.<\/p>\n<figure id=\"attachment_5340\" aria-describedby=\"caption-attachment-5340\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5340\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/introducing-richard-wall-600x450.jpg\" alt=\"Richard stopping by the Digilent offices.\" width=\"600\" height=\"450\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/introducing-richard-wall-600x450.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/introducing-richard-wall-1024x768.jpg 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/introducing-richard-wall-225x169.jpg 225w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/introducing-richard-wall-800x600.jpg 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/introducing-richard-wall-1200x900-cropped.jpg 1200w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption id=\"caption-attachment-5340\" class=\"wp-caption-text\">Richard stopping by the Digilent Offices.<\/figcaption><\/figure>\n<p>As you may\u00a0have guessed, that was an incorrect assessment.The setup consisted of some flexible plastic that was taped around a small fan so there was a lot of air loss. Additionally I ended up cutting part of the tube down in an attempt to have the ball float higher in the tube, but messed up the structural integrity to the point that there wasn&#8217;t enough air pressure to float the ball at all&#8230; however, that&#8217;s beside the point.<\/p>\n<figure id=\"attachment_12929\" aria-describedby=\"caption-attachment-12929\" style=\"width: 338px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-12929\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/03\/Original-Fan-Tube-338x600.jpg\" alt=\"How the fan originally looked.\" width=\"338\" height=\"600\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/03\/Original-Fan-Tube-338x600.jpg 338w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/03\/Original-Fan-Tube-768x1365.jpg 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/03\/Original-Fan-Tube-576x1024.jpg 576w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/03\/Original-Fan-Tube-675x1200.jpg 675w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/03\/Original-Fan-Tube.jpg 1440w\" sizes=\"auto, (max-width: 338px) 100vw, 338px\" \/><figcaption id=\"caption-attachment-12929\" class=\"wp-caption-text\">How the fan originally looked.<\/figcaption><\/figure>\n<p>Clearly, some more work needs to be done on my end to get the ping pong ball levitating. What I&#8217;ll try next (and detail in part 2 of this blog series) is using the PmodMAXSONAR as a way to receive a desired\u00a0height input, and then using the PmodOC1 or PmodOD1 as my transistor to turn the fan on and off at a rapid enough rate to get a pseudo proportional fan.<\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-12864 jlk' data-task='like' data-post_id='12864' data-nonce='ac068a413b' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-12864 lc'>0<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-12864 jlk' data-task='unlike' data-post_id='12864' data-nonce='ac068a413b' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-12864 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-12864 status align-left'>Be the 1st to vote.<\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Join James in the first step of his quest to levitate a ping pong ball!<\/p>\n","protected":false},"author":17,"featured_media":12877,"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,1561],"tags":[104],"ppma_author":[4469],"class_list":["post-12864","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-expansion-modules","category-projects","category-applications","tag-project-2"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/03\/Youre-A-Wizard-James-1000-e1457559054762.png","jetpack_sharing_enabled":true,"authors":[{"term_id":4469,"user_id":17,"is_guest":0,"slug":"jamescolvin","display_name":"James Colvin","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/8aa85f7d11711acc7e571e1ed26c901b614a7064a2e15e522f54d9f26792ea9e?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\/12864","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\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=12864"}],"version-history":[{"count":0,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/12864\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/12877"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=12864"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=12864"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=12864"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=12864"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}