# Ping1D not detected by Ping Viewer

**URL:** <https://discuss.bluerobotics.com/t/ping1d-not-detected-by-ping-viewer/7181>\
**Category:** Sensors\
**Tags:** ping\
**Created:** [April 10, 2020, 2:23pm UTC](https://discuss.bluerobotics.com/t/ping1d-not-detected-by-ping-viewer/7181 "2020-04-10T14:23:51Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Natali](https://avatars.discourse-cdn.com/v4/letter/n/4af34b/32.png) [@Natali](https://discuss.bluerobotics.com/u/Natali)\
**Post date:** [April 10, 2020, 2:23pm UTC](https://discuss.bluerobotics.com/t/ping1d-not-detected-by-ping-viewer/7181/1 "2020-04-10T14:23:51Z")

</div>

Hi there, I am having an issue trying to connect [Ping1D](https://bluerobotics.com/store/sensors-sonars-cameras/sonar/ping-sonar-r2-rp/) to my computer using Ping Viewer.

Ping Viewer does not detect Ping1D automatically. When connecting manually Ping Viewer shows that device is available and connected, but nothing happens really (no pings are emitted; when trying to set speed of sound software just resets it to 0).

I am using revision 1 of this usb to RS485 UART serial converter:

> **[1680612.pdf](https://www.farnell.com/datasheets/1680612.pdf?_ga=2.200230894.1146609000.1586447541-380819903.1586447541)**
>
> 430.45 KB

When connecting manually to the USB port through Ping Viewer, indicator lights on the converter start blinking, which must mean that data is being transmitted, but no activity on the monitor can be seen.

I also tried switching Tx and Rx wires. Behaviour is same on both OS X and Windows machines.

What could be the reason?

---

<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:** [April 12, 2020, 12:47pm UTC](https://discuss.bluerobotics.com/t/ping1d-not-detected-by-ping-viewer/7181/2 "2020-04-12T12:47:52Z")

</div>

Hi Natali,

Check if there is a proper 5V and ground connection between computer and sensor.  
If you are still having this problem, please follow our recovery guideline: [Firmware Update - Ping Viewer](https://docs.bluerobotics.com/ping-viewer/firmware-update#device-recovery)

---

<div class="post-metadata">

**Author:** ![Natali](https://avatars.discourse-cdn.com/v4/letter/n/4af34b/32.png) [@Natali](https://discuss.bluerobotics.com/u/Natali)\
**Post date:** [April 13, 2020, 12:35pm UTC](https://discuss.bluerobotics.com/t/ping1d-not-detected-by-ping-viewer/7181/3 "2020-04-13T12:35:40Z")

</div>

Thank you @patrickelectric for your reply.

So I followed recovery guideline.

1. I opened up the device to see if LED is blinking, as the guideline says. The green LED was blinking but Ping Viewer still did not detect the device, so i decided to proceed with recovery.

2. When I ran ./stm32flash executable, an “exec format error” occurred, so I decided to install stm32flash program on my computer and try to flash firmware on the device with that.

3. When I executed this command “stm32flash -v -g 0x0 -b 115200 -w .\Ping\_V3.26\_115kb.hex /dev/tty.myserialport” I got “Failed to init device” error.

4. Then I decided to try and flash new firmware manually through Ping Viewer. So once again I connected manually Ping1D to the Ping Viewer, chose downloaded .hex file and tried to make Firmware Update. First time an “unknown error” occurred. Second time there was another error “Link is not open to do the flash procedure”.

So, 5V and GND connections are fine, I tried switching Tx and Rx wires, I tried to use another FTDI RS485 UART serial converter in case the first one was the problem, manual firmware update has failed for unknown reason. It seems like the board itself is not being recognised at all.

What else can I do?

---

<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:** [April 13, 2020, 1:00pm UTC](https://discuss.bluerobotics.com/t/ping1d-not-detected-by-ping-viewer/7181/4 "2020-04-13T13:00:57Z")

</div>

Hi Natali,

If the LED is blinking you should be fine, have you tried different serial-usb adapters ?  
The recovery guideline is to recover problems related to firmware side, if the led is blinking, the firmware is running and fine, no recovery is necessary.

---

<div class="post-metadata">

**Author:** ![Natali](https://avatars.discourse-cdn.com/v4/letter/n/4af34b/32.png) [@Natali](https://discuss.bluerobotics.com/u/Natali)\
**Post date:** [April 13, 2020, 1:48pm UTC](https://discuss.bluerobotics.com/t/ping1d-not-detected-by-ping-viewer/7181/5 "2020-04-13T13:48:27Z")

</div>

Thank you for your help Patrick.

Can you give any advice, how to pick the right adapter & what could be the problem with the one I picked (link to adapter’s documentation in first post)?

I will try different adapter as soon as I get the chance and will let you know how it worked out.

---

<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:** [April 13, 2020, 1:54pm UTC](https://discuss.bluerobotics.com/t/ping1d-not-detected-by-ping-viewer/7181/6 "2020-04-13T13:54:04Z")

</div>

Hi,

I would recommend to buy our serial adapter:

> **[BLUART USB to TTL Serial and RS485 Adapter](https://bluerobotics.com/store/comm-control-power/tether-interface/bluart-r1-rp/)**
>
> This FDTI breakout board interfaces via USB with devices that use serial UART or RS485 communications. Includes JST-GH connector ports.

Any USB-Serial adapter (USB/TTL RS232) will work.

> [@Natali](#):
>
> I am using revision 1 of this usb to RS485 UART

Ping1D is TTL Serial and not RS485, bluerobotics adapters provides both TTL Serial and RS485 with different connectors.

---

<div class="post-metadata">

**Author:** ![Natali](https://avatars.discourse-cdn.com/v4/letter/n/4af34b/32.png) [@Natali](https://discuss.bluerobotics.com/u/Natali)\
**Post date:** [April 13, 2020, 2:23pm UTC](https://discuss.bluerobotics.com/t/ping1d-not-detected-by-ping-viewer/7181/7 "2020-04-13T14:23:08Z")

</div>

> **[814050.pdf](https://www.farnell.com/datasheets/814050.pdf?_ga=2.223787613.717003780.1586786222-380819903.1586447541)**
>
> 368.02 KB

So this one should work?

The reason I did not buy BLUART in the first place, was because shipping takes time, the one I chose was available in my home-country 🙂

---

<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:** [April 13, 2020, 2:50pm UTC](https://discuss.bluerobotics.com/t/ping1d-not-detected-by-ping-viewer/7181/8 "2020-04-13T14:50:50Z")

</div>

Hi Natali,

It appears to be compatible, any option here will work:  
[https://www.ftdichip.com/Products/Cables/USBTTLSerial.htm](https://www.ftdichip.com/Products/Cables/USBTTLSerial.htm)

---

<div class="post-metadata">

**Author:** ![williamn](https://avatars.discourse-cdn.com/v4/letter/w/6bbea6/32.png) [@williamn](https://discuss.bluerobotics.com/u/williamn)\
**Post date:** [April 14, 2020, 3:26am UTC](https://discuss.bluerobotics.com/t/ping1d-not-detected-by-ping-viewer/7181/9 "2020-04-14T03:26:52Z")

</div>

Hello,  
you should try different usb cables. I had the same problem with my ping and believe it or not-- the 5th usb cable i tried worked perfectly. Hope this helps,  
William
