Jitter Interfacing with Arduino UNO / Duemilanove
Hi,
I use Arduino Boards as Interface for max msp. up to the board Arduino Duemilanove (both ATmega 328 and ATmega 168) PDUINO for Max and Maxuino worked fine. With Arduino UNO they refuse however. I am easily able to upload "blink" and other stuff to Arduino UNO out of Arduino's API and it works. As soon as I change to max msp (after uploading the correct Firmata stuff) the communication doesn't function properly. It must have something to do with the new communication over the AtMega 8U2 programmed as a USB to Serial converter. Also in Max it shows "usbmodem1d11" nothing like /dev/tty.usbmodem1d11.
Has anyone out there found the solution to this new problem?
Thanx for Help.
I've succesfully used the Duemilanove and the UNO (both at the same time) with Max5. It's important to close the Arduino Programming Environment App _before_ opening Max.
It also might help to unplug/replug arduino, open the max patch and then push Arduino's reset button.
I've not used PDUINO, though. You might try to upload a firmata, which simply outputs a counter with Serial.println to check the communication.
I develop with Arduinos and Max, and leave the Arduino IDE running all the time. If you're not using the serial monitor, it closes the serial port once it's loaded the Arduino's code. Max can be left running all the time as well, although you do have to close serial ports when reloading.
..just close the serial window on arduino ide before trying to start it in max.