Finding the serial port (device name)
Instructions to find the serial port of an XBee module connected to the device.
- Plug in XBee RF module
- Run
ls -l /dev/cu.usb*
The device name should look similar to this:
/dev/cu.usbserial-D30DWZKT
- Plug in XBee RF module
- Run
ls -l /dev/ttyUSB*
The device name should look similar to this:
/dev/ttyUSB0
Windows
Section titled “Windows”- Plug in XBee RF module
- Open Windows Device Manager.
- Find “Ports (COM & LPT)” in the list.
- Expand “Ports (COM & LPT)” to see the names of all serial ports.
- The device name should be listed as a “USB Serial Port” and be in parentesis.
The device name should look similar to this:
COM3