I am looking for some guidance in designing a timer circuit. I have a pneumatic cylinder that has 2 hall effect switches, one at either end of the stroke. What I need to do is measure the time it takes the piston to travel between the 2 switches and then display the time, preferably on an lcd display. It has to be capable of timing the piston in both directions and preferably autoreset the display when the direction is reversed. The total time will be ~2 sec and I'm looking for ~1/1000 accuracy.
It's been about 10 years since I've done any electronics design so I'm looking for a little help getting started with this project. Can someone please suggest a direction to take with this project and suggest some components to consider.
Thank you.