Processing communication via serial port and Arduino + TouchOSC
in
Integration and Hardware
•
9 months ago
So I saw this tutorial:
http://www.sparkfun.com/tutorials/152
I followed all the steps as described, and then did some more based on the comments posted below. All of the errors actually did happen to me, but i was able to fix them.
I am at the point where I have a TouchOSC layout uploaded to my iPad and it works with Processing sketch. It does toggle the Processing sircle ON and OFF.
Now, my arduino sketch is a different thing. It works within itself. I can open the Serial Monitor and by typing in "R" or "r" i can control the LED.
So I made sure that they both are on the same port. I upload the sketch to Arduino and then close the IDE so that it doesnt hog the port. I run the Processing sketch and my Arduino RX light blinks on as it is receiving signal. So I toggle the switch on my TouchOSC and it toggles the Processing but Arduino doesnt respond....
Any ideas? I am error free at this moment so that;s what's most confusing.
I tried this on my Arduino MegaADK R3 and I am about to run it again on UNO just to see if that's the issue...
I will appreciate all the help.
Ps. Arduino Code is posted on that websites (tutorial) and same for the Processing. I haven't changed anything other than the port number.
Konrad
http://www.sparkfun.com/tutorials/152
I followed all the steps as described, and then did some more based on the comments posted below. All of the errors actually did happen to me, but i was able to fix them.
I am at the point where I have a TouchOSC layout uploaded to my iPad and it works with Processing sketch. It does toggle the Processing sircle ON and OFF.
Now, my arduino sketch is a different thing. It works within itself. I can open the Serial Monitor and by typing in "R" or "r" i can control the LED.
So I made sure that they both are on the same port. I upload the sketch to Arduino and then close the IDE so that it doesnt hog the port. I run the Processing sketch and my Arduino RX light blinks on as it is receiving signal. So I toggle the switch on my TouchOSC and it toggles the Processing but Arduino doesnt respond....
Any ideas? I am error free at this moment so that;s what's most confusing.
I tried this on my Arduino MegaADK R3 and I am about to run it again on UNO just to see if that's the issue...
I will appreciate all the help.
Ps. Arduino Code is posted on that websites (tutorial) and same for the Processing. I haven't changed anything other than the port number.
Konrad
1