Hi,
Light beams are the accepted method of timing wheeled vehicles (last one I saw personally was used to time a car at over 760MPH).
Use one beam to set a flip-flop (monostable), the other to re-set it and measure the time ths output is high using PULSEIN on the PIC. This should be reasonably accurate.
Robert G8RPI.
Bookmarks