I I have an application where I need way to accurately measure distance with PIC or BS2. I need to measure pedal travel on different vehicles. The distance measurement need to be repeatable. So each time the measurement device is attached to the pedal the same measurement is made. To explain further, say a linear potentiometer is used. If the potentiometer is angled to contact the floor at different places the pedal travel measurement will be different. That is something I need to eliminate. An ideal solution would be a non contact method that would measure the same way each time the device is attached to the pedal. The measuremnet needs to be accurate to an 1/8" and repeatable. The cost of raw measurement components should be less then $20. What would the best measurement method be? Any ideas or other suggestions? Thanks Jon