Wednesday, November 23, 2011

And the Two Proximity Sensors Work as Does Video

Now, I just need to connect it together somehow.
Working on the Processing and Arduino code.
For now, this is the sensor hookup to make sure its working, then I need to figure out how best to hook up in the black room:



And here are the numbers it was reading. The 62in. is its distance from the wall, and then when I stuck my hand in front of it, it read the 5in.
62 inches 157 cm
62 inches 157 cm
62 inches 157 cm
62 inches 157 cm
62 inches 157 cm
62 inches 157 cm
5 inches 12 cm
5 inches 12 cm
9 inches 22 cm
5 inches 12 cm
5 inches 12 cm
9 inches 22 cm
5 inches 12 cm
5 inches 12 cm
9 inches 22 cm
7 inches 17 cm
5 inches 12 cm
62 inches 157 cm
62 inches 157 cm
62 inches 157 cm
62 inches 157 cm
62 inches 157 cm
62 inches 157 cm
This tutorial may come in handy about serial communication: http://www.youtube.com/watch?v=g0pSfyXOXj8&feature=BFa&list=PLF5361659F62734A8&lf=results_video
And just in case, some more on proximity: http://www.ladyada.net/make/pumpkin/pumpkin.html

Arduino/Processing tutorial:
http://community.pachube.com/?q=node/12
http://www.arduino.cc/en/Tutorial/KnockSensor

No comments:

Post a Comment