# Ping Sonar Connection

**URL:** <https://discuss.bluerobotics.com/t/ping-sonar-connection/12233>\
**Category:** Ping Sonar Devices\
**Created:** [June 1, 2022, 9:43pm UTC](https://discuss.bluerobotics.com/t/ping-sonar-connection/12233 "2022-06-01T21:43:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![philip-huang](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@philip-huang](https://discuss.bluerobotics.com/u/philip-huang)\
**Post date:** [June 1, 2022, 9:43pm UTC](https://discuss.bluerobotics.com/t/ping-sonar-connection/12233/1 "2022-06-01T21:43:11Z")

</div>

Hi,

I am trying to connect my Ping sonar altimeter to the ping viewer on my Ubuntu laptop. However, I did not see any usb device connected when I plug the usb cable from the usb-uart converter. There is no usb device connected when I run dmesg.

Both LEDs on the usb-uart converter and the one inside the ping sonar are flashing when the USB cable is connected. I believe this means the sonar is powered on. I also tried to switch Tx and Rx but the device is still not recognized.

What might be the problem causing the connection problem then?

Thank you,  
Philip

---

<div class="post-metadata">

**Author:** ![EliotBR](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/eliotbr/32/6937_2.png) [@EliotBR](https://discuss.bluerobotics.com/u/EliotBR)\
**Post date:** [June 2, 2022, 1:24am UTC](https://discuss.bluerobotics.com/t/ping-sonar-connection/12233/2 "2022-06-02T01:24:42Z")

</div>

Hi @philip-huang,

I asked the software team about this and got two suggestions:

1. your USB cable may be “power only” (i.e. it may not support data transfer)
  - try using a different cable, preferably one which you know works for transferring data

2. your computer may have an application running that takes over serial devices without regard for other applications that may be trying to use them. [`ModemManager` and `brltty` have both been known to cause issues like that](https://github.com/ArduPilot/ardupilot/blob/f6544ca25ab232407ec102b7a5adf0adca0f2062/Tools/scripts/uploader.py#L1012-L1024), at least for ArduPilot flight controllers.
  - it may help to uninstall those applications, if they’re on your computer

---

<div class="post-metadata">

**Author:** ![ljlukis](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/ljlukis/32/3983_2.png) [@ljlukis](https://discuss.bluerobotics.com/u/ljlukis)\
**Post date:** [June 2, 2022, 12:57pm UTC](https://discuss.bluerobotics.com/t/ping-sonar-connection/12233/3 "2022-06-02T12:57:09Z")

</div>

Not sure if PingViewer scans all the potential serial ports. I’d be curious to know if [SonarView](https://ceruleansonar.com/pages/sonarview) finds your Ping sonar. Its a free download and easy Linux install.

---

<div class="post-metadata">

**Author:** ![EliotBR](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/eliotbr/32/6937_2.png) [@EliotBR](https://discuss.bluerobotics.com/u/EliotBR)\
**Post date:** [June 2, 2022, 7:55pm UTC](https://discuss.bluerobotics.com/t/ping-sonar-connection/12233/4 "2022-06-02T19:55:11Z")

</div>

Hi @ljlukis,

> [@ljlukis](#):
>
> Not sure if PingViewer scans all the potential serial ports.

[Ping Viewer](https://docs.bluerobotics.com/ping-viewer/) is an open source program. The serial port scanning code can be found [here](https://github.com/bluerobotics/ping-viewer/blob/master/src/link/seriallink.cpp#L96-L109), and uses Qt’s [`QSerialPortInfo::availablePorts`](https://doc.qt.io/qt-5/qserialportinfo.html#availablePorts) to determine any serial ports on the system that are available for connecting to 🙂

---

<div class="post-metadata">

**Author:** ![philip-huang](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@philip-huang](https://discuss.bluerobotics.com/u/philip-huang)\
**Post date:** [June 3, 2022, 8:18pm UTC](https://discuss.bluerobotics.com/t/ping-sonar-connection/12233/5 "2022-06-03T20:18:31Z")

</div>

Hi Eliot,

Indeed, the problem is my USB cable. I switched to a different cable and my computer can identify the USB now.

Thanks,  
Philip

---

<div class="post-metadata">

**Author:** ![patrickelectric](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/patrickelectric/32/2162_2.png) [@patrickelectric](https://discuss.bluerobotics.com/u/patrickelectric)\
**Post date:** [June 5, 2022, 8:34pm UTC](https://discuss.bluerobotics.com/t/ping-sonar-connection/12233/6 "2022-06-05T20:34:46Z")

</div>


