You are not logged in.
How do I find the identifier of my Arduino on Raspberry Pi (/dev/ttyUSB0)?
Offline
Right after plugging the Arduino in, type dmesg into the console and at the end of the output you will find something like:
[159084.594626] usb 1-1.2: new full-speed USB device number 4 using dwc_otg
[159084.710558] usb 1-1.2: New USB device found, idVendor=2341, idProduct=0001
[159084.710597] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[159084.710614] usb 1-1.2: Product: Arduino Uno
[159084.710628] usb 1-1.2: Manufacturer: Arduino (www.arduino.cc)
[159084.710642] usb 1-1.2: SerialNumber: 64935343733351F060E0
[159084.773590] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device
[159084.778277] usbcore: registered new interface driver cdc_acm
[159084.778312] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
From which you can see that your Arduino is /dev/ttyACM0.
The Arduinos with FTDI USB chip typically appear as /dev/ttyUSB0.
Another option is to type ls /dev/tty* before and after plugging the Arduino in and find the new device in the list. That's your Arduino.
Monarco HAT for Raspberry Pi - Lightweight I/O for monitoring, archiving and control.
Raspberry Pi in industrial automation!
Offline