Can PING be checked as often as you want?
patterson7019
Posts: 25
Is there any problems with checking as often as you want, or do you want to limit it? ie: servos you only want to update every 20ms.
Thanks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--- -- - -
http://perfectaperture.com/robb
Thanks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--- -- - -
http://perfectaperture.com/robb
Comments
Keep in mind that the PING))) reports the first echo received. If the space is large with nice crisp echos from distant walls, there may be other later echos that the PING))) would not normally respond to. If you retrigger the PING))) too quickly, it might get confused with the distant echos.
Looking at the manual, page 2 at bottom there is "Delay before next measurement" of 20 microseconds. There is also a 18.5ms "Echo Return Pulse Maximum". Would it be correct to assume it would be a good idea to keep my checks to >19ms?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--- -- - -
http://perfectaperture.com/robb
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--- -- - -
http://perfectaperture.com/robb
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support