Title: A microprocessor controlled time interval logger with 50ms resolution