I have a project where I need to connect multiple arduino boards on my RPi. I succeeded to do that with USB connection. My problem is that I have to determine the serial ports to which the boards are connected, dynamically.
I googled that and I found stuff like lsusb. This command returns id's of devices but i need something like /dev/ttyACM0
...
I identified the arduino boards with ls /dev/serial/by-id/
, but also with this, I do not get the result that I needed(the name of the port). Is there some command that I can use to give me a result set (arduino id, /dev/tty...
). Thanks