Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: Ratfink on May 06, 2007, 11:17:16 AM
-
http://lis.epfl.ch/contest/flying07/docs/resources/GP2Y0A02YK.pdf
Looking at the datasheet it says it roughly takes about 50ms for the sharp sensors to update each reading meaning i would be able to get a maximum 20 different readings per second is this bit correct?
I have a stepper motor with a stepper motor controller where each step equates to about 1.8 degrees per step. Hence if i want to take readings from between 0-180 degrees i would have to have a 50ms delay between each step to get a full sweep of readings. If someone can confirm my reasoning would be glady appreciated.
-
Right - you could take 20 measurements per second.
There's more information on the Sharp detectors here-
http://www.acroname.com/robotics/info/articles/sharp/sharp.html
It would appear that the beam width is approx 10 deg, so you could experiment with whether you get better results by overlapping successive fields (i.e. measuring every 5 degrees instead of every 10 degrees)