|
Re: KoP Rangefinder
I am fairly sure you hook power to 5v power, ground to ground, and then read the analog signal with the analog sidecar.
Then, empirically find a voltage to unit conversion for whatever unit you would like to use( meters, feet, inches, yards, etc). (Use a ruler and write down the voltages at different distances).
Then read the voltage and apply that unit conversion to work with the distance sensor form code.
That's what our team is doing. (for some reason, the provided unit conversion was not very accurate)
|