Thread: KoP Rangefinder
View Single Post
  #4   Spotlight this post!  
Unread 25-02-2012, 21:01
Lalaland1125 Lalaland1125 is offline
Registered User
AKA: Ethan Steinberg
FRC #2429
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: La Canada
Posts: 29
Lalaland1125 is an unknown quantity at this point
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)
Reply With Quote