The encoder/counter suggestion is a good one, but you'll need (pretty simple) circuitry to handle motion in both directions since the counter will have to know whether to count up or count down. Or you will have to rezero it every time you start a bend. Newark Electronics has a pretty good selection of stuff like this.
How accurate does the indicator need to be? |