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 › Serial errors with arduino
Page Index Toggle Pages: 1
Serial errors with arduino (Read 1049 times)
Serial errors with arduino
Apr 29th, 2009, 7:47pm
 
Ok, I've got issues here with arduino and processing.  I have about 70 different sensors, and all of them are producing the same errors.  It happens whether I write the code or use examples.  changing the baud rate in the two programs does nothing.  so basically, here's the problem:  the serial monitor in Arduino is fine, sending totally perfect data, right?  until I open a processing sketch, then my stream of data in the arduino serial monitor goes haywire.  for instance, a stream that looks like this:

83
83
83
83
84
84
84
85
85
85

will suddenly go like this when processing takes over the serial:

8
   38383
8888    333
3  8     3333333

            4

44448888   8584

any ideas???  please help


Re: Serial errors with arduino
Reply #1 - Apr 30th, 2009, 8:06am
 
Could you post the part of your Processing code that reads from the serial port?
Page Index Toggle Pages: 1