PING Communication Protocol
shaunee
Posts: 4
I plan on controlling the PING sensor with a FPGA. In coding the driver, I need clarification on the PING's communication protocol. Is the Echo Holdoff time (t_HOLDOFF = 750us) exact, or an approximate value? ie. Can I wait for 750us after I lower the Input Trigger Pulse and then just count until the falling edge of the Echo Return Pulse t_IN? Or do I have to detect the rising edge of t_IN and start counting from there?
Comments
Just guessing, I'd allow +/- 10% variation in the timings you mentioned and I'd not be surprised if they varied more than that. You're not going to be able to drive multiple PING)))s as quickly as you want because of echos. One PING)))'s dying echos can easily trigger another PING))) if you don't allow enough time. I'd allow for several times the maximum range. We're talking maybe one reading every 50 to 100ms.
If you need a better answer than that, you'll have to call Parallax Tech Support and they'll have to check the schematic which is not publically available.
"What we know works for the minimum input is 3.3V. You may test for lower voltages if you like but that's what we say is the minimum. It will still signal back at 5VDC even if you trigger at a lower voltage. Yes [PING], only runs on +5VDC."
So I will need a voltage translator.