Forums > MaxMSP

Specified port not available?


Aug 19 2013 | 11:24 am

Hello,

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: http://make-guide-pdfs.s3.amazonaws.com/guide_424_en.pdf
An image of both screens: http://imgur.com/Ovfa8Lh

Aug 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..

Mar 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