GartnerProspect wrote:Can I have VSS too? Please please!?
I would actually like to completely replace my dash with an LCD gauge cluster, so it'd be helpful.
Now I'm guessing that the MS freq/voltage rig is less accurate, but it saves cycles?
You can poll the adc whenever you want rather than having the VSS use up a counter?
Which brings me to a question regarding counting that doesn't even belong here. When inputting a crank signal, do you typically use an interupt so you instantly are aware of each tooth or how does that work? Maybe you need to put a forum category :Brads Dumb Programming Questions.
(1) Yes VSS is a must. It is useful in advanced engine management strategies, and if any interfaced transmission control comes to fruition, it will be good to already have the VSS portion already layed out.
(2) Correct, freq/voltage is less accurate and prone to some drift. Plus, if the microprocessor counts cycles you have the groundwork for an odometer reading that is saved in eeprom.
(3) Yes, the ADC would be polled rather than using up an interrupt
(4) Typically tooth transition events are handled ASAP by interrupt
Finally...in OEM vehicles the main VSS signal is nearly always conditioned and analyzed by the microprocessor in the gauge cluster. It in turn provides a nice clean TTL square wave to the ECU. When tapping in to the VSS signal for standalone purposes (the LM2917 circuit), it is actually the signal coming from the gauges that should be used.
What I am getting at is in this application the VSS-related should be similarly offloaded to an expansion board of some sort and the values grabbed via datalink.
I am in the preliminary stages of building a "gauge cluster controller" for my MegaSquirted Jetta since the mk3 cluster I have doesn't fit properly in my dash. Some features include: pwm outputs to control at least four servo-driven gauges (temp, fuel, speed, tach), NTSC/PAL/VGA output to a screen, serial output to multiple lcd character displays (4 for now), variable voltage outputs for interface with MegaSquirt (VSS, fuel), and an LED matrix for idiot lights.
It would be trivial to program it to dump data to a diyefi system in whatever format required. Once I have the programming complete I could strip the firmware down for use in a simple VSS/datalogging interface.
/ramblings