So I was pretty tickled when the orders that I placed earlier in the week came in on Friday. To counter the excitement, when I received the parts I realized only 1 of 2 wireless transmitters were received by the ECE shop, making it impossible to test properly. (No worries, I am following up on that issue!)
Fortunately, the sensors arrived, so I got to work on the first proximity sensor. I set up a really basic program that will basically sense if there is a change in distance. So in the video, if an object is placed in front of it (my hand), the red LED will flash. If the hand is removed it will flash again. Also, because it was too hard to quickly record, but the actual distance in inches is being streamed to my computer -- so far when it says 55 inches, it is pretty darn accurate
See the attached video.
Keep in mind, I threw this together rather quickly (notice how there are only 3 wires coming out of the Arduino) If there is concern about the sensitivity, I will be fine tuning it later.
Either way, thought it might build up a little excitement!
~Zeb
Continue reading "Motion Sensor" »