Ping question 2 - time between querying
gbravetti
Posts: 8
Ping question 2 - time between querying
Is there a time limitation to re-query a Ping?
Thanks!
Is there a time limitation to re-query a Ping?
Thanks!
Comments
I'm asking because I want to know how many measurements by second I can achieve, for an object that is at max 50cms from Ping.
Thanks again
But I thought all of this could happen within a millisecond -- but I'll have to look that up again. This IS travelling at the speed of sound, after all, which is 'slow' compared to RF or electrical impulses.
And, having looked it up, it looks like the max pulse-width is like 18.5 mSec.· I'm not sure how long "echoes" would bounce around after that, confusing the next measurement.· At the very least it looks like 20 mSec to ping and get a measurement.
The Javelin example uses 1/2 second of 'silence' between pings -- but most of the other BS2 examples use 100 mSec of silence between pings.· Some experimentation is in order here, I think.
Post Edited (allanlane5) : 8/31/2009 3:14:55 PM GMT
I think I will buy one then perform some tests.
I want to build a d-beam like MIDI controller, and I thought that PING could be more accurate than IR distance sensors, the problem is that I need a fast refresh, at least one measurement each 20 or 30ms, anyway I will test!
Thanks
that are the IR sensors I was thinking on use, I have some data-sheets already, but the info on that link is very useful!
thanks SLRM!
www.parallax.com/StoreSearchResults/tabid/768/List/0/SortField/4/ProductID/566/Default.aspx?txtSearch=linear+camera
http://forums.parallax.com/showthread.php?p=812333
http://forums.parallax.com/showthread.php?p=814265
Of particular interest is the second. I think what you want to do is make one of those "virtual harp" type setups. If so, it would be fairly easy to replace the string with a hand.