Forums > MaxMSP

Specified port not available?

August 19, 2013 | 11:24 am


I’m working on a project to make leds react to music. For this I am using MAX to monitor the outgoing sound on my computer. It’s programmed to send this data about the sound (low mid and high frequencies) to my arduino. But when I configure MAX to send this data to COM3 (I can also choose COM1 but COM3 is the the port my arduino uses) it says on the other screen ‘specified port not available’ and my arduino does not receive any data. Does anybody have a solution for this problem? Thanks very much in advance.

The sketch can be seen here:
An image of both screens:

August 19, 2013 | 6:02 pm

Is it possible that the serial port is still used by the arduino application?
Try quitting arduino and the connecting.
If that doesn’t work try restarting your computer and connecting with max without connecting with the arduino application connecting beforehand.
Hope that helps, I had many problems with other applications not closing ports properly..

March 26, 2015 | 3:38 pm

I was getting this and resolved by sending "port COM7" (or whatever your port name is) – the Arduino2Max patch was sending info like "port 1" which my Windows box didn’t like (the Mac was fine with it though). Connecting the middle outlet from the umenu to arduinoSerialReader solved it for me!

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > MaxMSP