I have an USB Arduino Board running on IBM laptop (T41). In the comport 11. So far I have tried several ways to commnunicate from PD and Max/Msp to my board. I have used the pduino patch, and other patches from Max/Msp. actually one guy from the Max list build a serial object fro windows to detect comports bigger than 5. But still I get messages like no serial port detected (in Max), or [comport] invalid handle for COM in PD. even if a changed them to comport 11. this actually has happened with pduino patch. I had to download many patches and other solutions, like to install the latest PD test. which is also not working. Actually the only thing that has semi worked was withVVVV_33beta10. Very odd. Now I have tried this SimpleMesssageSystem tutorial but only I get the horrible messages such as: [comport] invalid handle for COM in PD and error:serial: specified port not available. But now I have tried with changing com11 to k as should be in Max and it is working!!!! Well the thing is thatI want use pd instead, since I have a patch that I want to communicate and send orders to the arduino board. Will you help me with any solutions??
Port 11! What do you have connected to ports 1 to 10?! :o
Here are the first tests to try, In Pure Data:
Get the latest version of PD here: http://at.or.at/hans/pd/installers.html Create a new comport object with the arguments 11 and 9600 like this: comport 11 9600 You will get the error message "[comport] ** ERROR ** could not reset params to DCB of port 11" but that does not matter. Connect a number box to the inlet of comport and send some numbers. The RX led on your Arduino board should light up. If it does not, 11 is the wrong port (change the port number as stated here: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1152222752/0).
In Max/Msp (with the updated serial object)
Create a new serial object with the arguments com11 and 9600 like this: serial com11 9600 Connect a number box to the inlet of serial and send some numbers. The RX led on your Arduino board should light up. If it does not, 11 is the wrong port (change the port number as stated here: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1152222752/0).