We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpElectronics,  Serial Library › Proximity Sensor and Processing
Page Index Toggle Pages: 1
Proximity Sensor and Processing (Read 1391 times)
Proximity Sensor and Processing
Apr 13th, 2010, 3:45am
 
So, currently I have the processing code for a interactive mosaic mirror and I am now trying to input a proximity sensor into my code, which will makes the pixels become larger the closer the user gets to the screen.

I will be using a arduino board to attache my sensor, and i need to pass a value from my sensor into processing.

I have no idea how to go about this, have looked at some examples but errors are confusing me.
I would be really grateful if someone could break it down for me.
Thanks in advance.
Re: Proximity Sensor and Processing
Reply #1 - Apr 27th, 2010, 8:16pm
 
maybe explore a solution with Wiring :
http://wiring.org.co/learning/basics/parallaxping.html

there are also several examples under the Proximity heading on this page : http://wiring.org.co/learning/topics/
Page Index Toggle Pages: 1