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 › multiple inputs from arduino
Page Index Toggle Pages: 1
multiple inputs from arduino (Read 2384 times)
multiple inputs from arduino
Apr 1st, 2007, 2:31pm
 
Hi,
I can't find an example of using more than one sensor on an arduino board and send the different values to processing.
for example :

1 potentiometre + 2 piezo's + a tilt
---->connected to arduino
---->writing values to serial
---->processing serial read

I can't figure out aw processing would check if the incomming data are from a piezo or a pot.

Sorry for the newbie aspect of the question

E
Re: multiple inputs from arduino
Reply #1 - Apr 3rd, 2007, 4:29pm
 
This

http://itp.nyu.edu/physcomp/Labs/Serial

should bring you a step further.

Its from the ITP Physical Computing Website and its about Arduino, Processing and Serial Communication.
In this example you use 2 sensors to move a circle on x and y and another one to make the circle disappear.

Greetings,
sebastian.
Page Index Toggle Pages: 1