Needle points to 60 km/h (37 .3 miles) when 2,548 pulses are input per minute (which means that a pulse is sent every 15 inches driven)
The vehicle speed sensor uses a Hall IC pick-up to generate speed signals. (MT model)
This sensor is installed on the transmission case and detects rotating speed of the transmission
output gear.
The sensor generates 4 pulses per rotation of the speed sensor driven shaft and send them to the speedometer.
The speed sensor mainly consists of a Hall IC, magnet ring, driven shaft and spring.
Here is a basic description of hall sensors in general. From what I can read in various postings, it really looks like this is a 0-5v square wave.
Microcontroller
VSS signal will be processed by a RS232 line-receiver, as it will accept anything between -30v and +30v, and convert down to TTL levels. Hysteresis and other noise protection is also included.
Total number of pulses seen (aka pulse counter) is stored and transmitted as an unsigned 32bit number. At maximum speed, it shouldn't wrap around for the first 331 days of continuous driving at 125mph.
Pulse wavelength is transmited as an unsigned 16-bit number. Units not decided yet.
Data sent in little-endian form (since I only work on windows and linux)
Excel RTD Server
COM-port configuration read from registry. One thread reads from serial, one thread responds to Excel.
Although the current time-of-day is available via Excel functions, it's also provided by the RTD server (as a double), so that the spreadsheet's time and distance will both be updated at the same instant, to minimize the inconsistencies presented on the spreadsheet.