Is it possible to monitor multiple USB ports simultaneously in Arduino IDE while running only ONE instance of the IDE?
If not, which solutions come alternatively to mind?
Is it possible to monitor multiple USB ports simultaneously in Arduino IDE while running only ONE instance of the IDE?
If not, which solutions come alternatively to mind?
If you are only interested in monitoring the output, a simply python script can be run to monitor the port. This sample takes an input of the port number(assuming they get named ttyUSB1, ttyUSB2, ect... Or you can modify it to be a hard coded port. Also make sure the baud rate matches with what your arduino is running (115200 in the example)
You can then run this script in two separate terminals, one for each port
#!/usr/bin/env python3
import serial
import sys
if len(sys.argv)<2:
print("Please give serial port number")
exit()
port=sys.argv[1]
ser= serial.Serial('/dev/ttyUSB'+port,115200,timeout=5)
while True:
try:
print(str(ser.readline().strip()))
except:
print(sys.exc_info())
ser.close()
exit()
Start the program like so
python3 ./programName.py 1
(or ./programName.py 0
, etc)
The number dictates which of the ttyUSBx devices you are trying to watch (will match with what you see in the arduino IDE).
Please give serial port number
You can run multiple instances of the Arduino IDE to work with multiple boards at the same time. Start IDE second time with Start menu or desktop shortcut.
Of course you can monitor the COM/tty port with a common serial terminal program too.
Short answer : No.
Long answer : Noooooooooooooooooooooooooooooooooooooo, since one window can only work with one arduino.
That being said, if you open another file, or create new file (Ctrl + N) on existing window, it doesn't make another process.
It is still on the only javaw.exe process running on your computer (you kill that, both window gone for good.)
To make it simple :
But I think I misunderstood your question. If you're asking for arduinos in multiple USB ports, yeah, one IDE can see wherever you plug it in.