I made ones for my SX2 and my Mini lathe (actually AVR based – the chip inside an Arduino).
What may be useful to others is that I used two different ways of timing RPM. At high speeds it counts pulses for a second and multiplies by 60. At lower speeds it times the delay between pulses and calculates the rpm from this keeping accuracy at what would be very low pulse counts.
Neil
