Hi,
I am using the PING Laser sensor 28041 on a BS2 and am having some odd fluctuation in the time signal returned. It varies from 1181 to 1404 (approximately) with a static setup, no movement. Do I need to do averaging of a number of data points to get a stable response (would this be accurate, I doubt it) or is there something else I should be doing to get a stable signal? The Ping ultrasonic sensor returns a rock solid signal using the standard Parallax Ping Test program (copy below), same program is used for both sensors.
Thanks for looking at this,
Bob
' {$STAMP BS2}
' {$PBASIC 2.5}
time VAR Word
DO
PULSOUT 15, 5
PULSIN 15, 1, time
DEBUG HOME, "time = ", DEC5 time
PAUSE 250
LOOP
Comments