Making Almost Anything <-> MAS.863 <-> Fall 2011

Kristopher Dos Santos <-> Personal Robots Group

Week 9 <-> The Proximity Sensor

(Sorry for the late update :( AVR programming is hard). This week, we got to play with different input devices. I had plans for my little Nova to utilize some capacitive sensing for proximity detection. But after failing in a variety of ways, I'll limit this page's notation of my endeavors to a few bullet points:

Below is a video showing what I did. I modified the file to do a bit of averaging on the sensor output. This gave a settled value by which to base proximity. Once I did that, I specified a certain percentage loss from the average to determine if someone was "too close" to Nova. I also specified a range that was higher than average that would detect touch. The indicators displayed in the terminal.

Back to home