- Edited
I have an Arduino uno here, which shows up as /dev/ttyACM0
, the program runs and can successfully open the serial port.
Try the following:
your code is trying to open
/dev/ttyUSB1
, but the error dialog referencesttyUSB0
, so maybe you are addressing the wrong device?check you are addressing the device with the correct name. From the console in the IDE, run
ls /dev/ttyUSB*
and see what is there. If nothing shows up, try
lsusb
to check that the USB device is actually recognizedI would not be surprised if the Arduino needed to be connected before you power up the BeagleBone. So make sure the Arduino is connected when you start the BeagleBone.