Yah, I set the number of bits for the VSS pulses/mile count to 16. That results in a maximum value of 65535. That is part of the issue you're seeing.
The other part is that the MPGuino code currently cannot handle raw VSS pulse frequencies higher than about 187 Hz. In contrast, using a tire size of 225/45R17 (which I think is the stock tire size of your Mercedes), and a VSS pulse/mile setting of 166770 pulses/mile, I have calculated that your VSS is sending a raw VSS frequency of about 926 Hz to your MPGuino.
I think I have found a way to beat this within the MPGuino code, and allow your speedo to output the correct speed, but I will need your help to verify whether this fix will actually work.
|