# Ping sonar, responce time for enable/disable command?

**URL:** <https://discuss.bluerobotics.com/t/ping-sonar-responce-time-for-enable-disable-command/5583>\
**Category:** Ping Sonar Devices\
**Created:** [July 19, 2019, 7:11pm UTC](https://discuss.bluerobotics.com/t/ping-sonar-responce-time-for-enable-disable-command/5583 "2019-07-19T19:11:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hakan](https://avatars.discourse-cdn.com/v4/letter/h/f1d935/32.png) [@hakan](https://discuss.bluerobotics.com/u/hakan)\
**Post date:** [July 19, 2019, 7:11pm UTC](https://discuss.bluerobotics.com/t/ping-sonar-responce-time-for-enable-disable-command/5583/1 "2019-07-19T19:11:42Z")

</div>

Hi!

How long time to I need to wait from set\_ping\_enable 1 until I can get a fresh value from distance\_simple? Assume 0-10 m depth.

How fast will the unit shut of if I send set\_ping\_enable 0?

How close can I have two transducers that transmit at the same time?

This will be shallow water survey so max 10 m depth which reduces the expected wait time for the echo but multipath might be an issue (bouncing from surface and back to bottom and up to transducer again).

I will talk directly to the ping sonar using an embedded system with hi real time performance so I can control the serial communication at sub msec level. Speed will be 115200.

The story…  
I’m planning on mounting 7 ping sonars on a 12 m long beam supported by two hulls for shallow water survey (0.5m to 10 m). The distance between each sonar will be 2 m which means that they will interfere if they are enable at the same time. The speed of the survey vessel will be 3 m/s and I would like to get 1 m between each ping if possible…  
I would like to use the id feature of the protocol so I can have all 7 on the same line. I will buffer the transmit signal so it manages to transmit to 7 listeners. Is the id feature enabled?

This is the way I would like to control them.

1. Get all 7 sonars running
2. Disable them all by sending set\_ping\_enable 0 to all id
3. Send set\_ping\_enable 1 to id 0
4. Wait 50 msec?
5. Send distance\_simple to id 0
6. Send set\_ping\_enable 0 to id 0
7. Send set\_ping\_enable 1 to id 1
8. Wait 50 msec?
9. Send distance\_simple to id 1
10. Send set\_ping\_enable 0 to id 1
11. Continue with id 2-6 and then start with id 0 again.

Cheers  
Hakan
