This week in ENGR 199, we got the opportunity to use our ultra sonic sensor to detect a person at a particular distance. In the video linked below, it should show how if you hold your hand above the sensor the servo should “open” and once you move your hand the servo should “close.” In the video I included the code, and a visual representation of what should happen.

Click here to see the ultrasonic sensor! 

Here is a close up picture too!