Ok... her is my final source. ECT and VSS are split up in two seperate programs. There is a testECT.bas and testVSS.bas. Both are used for the 16F877A
Also defECT.bas and defVSS.bas are in the rar file. These contain the same software, but for a different (smaller and more specific) procesor.
Please do redistribute my code by your self, only link please. Or at least mention my name. It's probably not the best code, but still I'm a bit proud of it. Just because no one else was willing to publish anything.
source code
With this versions I have done about 500km of road testing without any problem.
In the VSS software there is a line for when you use the 4 divider at the output and a line for straight output to the s2000 cluster. Both line have comments. The 4 divider line is active now. But can by toggeled by setting a semi ; and recompile.
Note that some comments in the code are in dutch. Sorry.
If you have suggestions to improve things... please let me know.
WRT the ECT gauge. It uses a 0~5 volt dc signal on an ADC input. This is the voltage coming from the ECT sensor (the one used by the ECU is the best) Just T-tap it.
Then the converter outputs the PWM-ish signal to the S2000 cluster. The 30ms high and xxxx ms low thing.
So
INPUT: 0~5 volt dc
OUTPUT: 5v PWM-ish (30ms high. 150ms to 1500ms low)
with 150ms beeing hot (all sgments) and 1500ms beeing cold (one segment)