Specified port not available?
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
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..
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!
Like THENUMBER said, sending a message with "port COM3" (which relates to the specific usb port you are using, I'm using the 3rd port) to the [serial] object resovles this issue on Windows. I'm just writing this here to clarify for others who might run into the same issue.
I always worked on Mac and never had problems with serial communication between Arduino and MAX until I used a Latte Panda (Windows 10)...
So far I know on PC you never use COM PORT 1 and 3 since they are already assigned to something else... Your MAX console will show you the port you just connected to your computer choose this one... Is it doesn't work; make sure your port is available... I found this very useful PDF on how to make COM ports available!
https://www.istime.com/wp-content/uploads/2016/07/Make-COM-ports-available.pdf
Now everything works fine for me!
Hope this will help you!