This design idea uses asynchronous RS232 to power and count pulses from a simple 10 kHz voltage-to-frequency converter.