multidirectional measurement using ping sensor
baci
Posts: 1
HI all
I am trying to measure distance using the ping sensor in different directions(one direction at a time,repeititions) at 45 degree from each other, need your advice on the following:
i) will it work? discrete measurement programming code?
ii)single data output from the different directions(eight directions)
iii)advice on addtional components or programming would be much appreciated!
I am trying to measure distance using the ping sensor in different directions(one direction at a time,repeititions) at 45 degree from each other, need your advice on the following:
i) will it work? discrete measurement programming code?
ii)single data output from the different directions(eight directions)
iii)advice on addtional components or programming would be much appreciated!
Comments
Mounting sensors like this on top of a servo is pretty common. If I understand correctly, you want to scan a full 360 degrees. Unfortunately, most servos will only rotate through a range of about 180 degrees (RC applications typically limit this to only 90 degrees). You can find servos that will rotate further (typically winch servos for sailboats) or purchase/build gear trains that will allow a full 360 degrees of rotation.
One other approach is to mount two Pings back to back on top of the servo. You will then be able to measure in all 8 directions that you are looking for (and the servo will only need to be moved to 4 locations).