Announcement

REXYGEN forum has been moved. This one is closed.
Head over to the new REXYGEN Community Forum at https://forum.rexygen.com.

Looking forward to meeting you there!
 

#1 2014-06-12 07:58:15

md52
Member
Registered: 2015-10-29
Posts: 3

Serial device on Raspberry Pi?

How do I find the identifier of my Arduino on Raspberry Pi (/dev/ttyUSB0)?

Offline

#2 2014-06-13 08:01:58

jaroslav_sobota
Administrator
Registered: 2015-10-27
Posts: 535

Re: Serial device on Raspberry Pi?

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.

Offline

Board footer

Powered by FluxBB