Welcome to the Parallax Discussion Forums, sign-up to participate.
erco wrote: »
Love it! I just wish the laser wasn't invisible. I like to see what I'm about to burn.
Heater. wrote: »
The pulse width is proportional to the distance, and does not significantly change with the ambient temperature, pressure, or humidity.
To convert the pulse width from time, in μs, to mm, use the following equation:
Distance (mm) = Pulse Width (ms) × 171.5
To convert the pulse width from time, in μs, to inches, use the following equation:
Distance (inches) = Pulse Width (ms) × 6.752
VonSzarvas wrote: »
Good catch Jim. I've just emailed the docs dept at Parallax to refer them to your post.
Certainly the pulse width will be measured in uS, as that is how ping works.
Thanks,I am using counters so I can get 2 non blocking distance devices per cog. I was thinking I would need to change multiplier
Whether the conversion values have been divided by 1000 to present them in mSec, I don't know off hand.
The conversion is also the same as for ping, if you've got some ping sample code to reference.
You can literally unplug ping and plug in a laserping and it will work.
Hope that helps get you going.
Phil Pilgrim (PhiPi) wrote: »
I actually had a dream about this device last night. I dreamt that I was working in a group on a room-sized phonograph turntable. (I know: where does this stuff come from?)
Now, about those accuracy figures(not that it matters). "1mm" is stated, but further into the docs it is +/- 7% best case.
Hal Albach wrote: »
Also, mine came with a small 3/8" amber disc stuck to the header. Is this intended to be used with the sensor or is it just something that hitched a ride across the country?