Processing & Arduino serial communication problems

I’ve been hearing from a few people in our class having problems getting the serial communication lab working. I experience these errors myself which was concerning seeing as how I used serial communication for project 2. Anyway, I tracked the error down to the version of Processing I was using. Downgrading fixed the issue. I’d recommend Pre-release version 2.0b4. You can find it here:

Also, make sure you’re listening on the correct port. Insert the following code into your ‘void setup()’:


This will give you a printout of the available ports; change the ‘0’ following ‘Serial.list()’ to the one your arduino is on.

See you tomorrow. Until then, keep on keeping on.

2 comments to Processing & Arduino serial communication problems