2

What is the maximum number of serial ports (com) can Arduino IDE detect ?

I need to connect 6 Arduino UNO Wi-fi at a time to make a small network and I use a 7 port USB hub for the same. The device manager shows 6 com ports detected but Arduino shows only 4 serial ports detected. Is there a limitation on the serial ports interfaced with the Arduino IDE ?

  • You could run 6 copies of the IDE to allow a Serial Monitor per board. – Mikael Patel Mar 29 '17 at 5:50
  • I've never had any success connecting the IDE to multiple boards, it seems to use a global for the Serial Port and so all instances program the same board. It might have changed with the latest IDE, I haven't tried for a few months. – Code Gorilla Mar 29 '17 at 7:28
  • Thanks for your comments. I found the solution. Inside the My computer -> Properties -> Device manager under ports I found that multiple Arduino's where assigned same COM values. Therefore, just go to properties of the COM and change them to COM values that are not used. – Babu Kumaran Nalini Mar 29 '17 at 9:10
1

According to the last version of code for Arduino IDE, there are no limits of discovered Serial or Network devices since they are stored in a list (not limited as an array).

To discard problems, try with another operating system.

  • Thanks a lot for your reply. From my findings, if I'm not wrong the maximum detectable serial port for Windows 7 is 255. – Babu Kumaran Nalini Apr 20 '17 at 6:50
0

Thanks for your comments. I found the solution. Inside the My computer -> Properties -> Device manager under ports I found that multiple Arduino's where assigned same COM values. Therefore, just go to properties of the COM and change them to COM values that are not used

  • 1
    Cool! Indeed, a valid solution was to try another OS ;) – caligari Apr 21 '17 at 15:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.