Reversed Dials on mitsubishi evo 5 - Arduino Uno
This has been my first Arduino project and im not sure if i have made a mistake, I have an issue with all the gauges in a cluster from a mitsubishi evo 5, they all seem to be reversed "Test Speedo Min" produces a value of 40 Mph and "Test Speedo Max" produces 0 MPH, i think the pwm values are reversed, is there any way to correct this ?
The tacho signal sent by SimHub is not a PWM signal, it's 50% duty cycle pulse where the frequency only is varying,
You can control the frequencies here (these are HZ) :
Try to lower the maximum output until you get back a signal on "test max", it's possible that your cluster does fall back to zero when the signal goes above its capacity, but hard to tell on my end. Have you checked the exact kind of signal is expected for your cluster (voltage, kind, frequencies ...)? I know it's hard to find, but it's a good first step when dealing with such hardware.
Thank you for that, ive solved it and got it functional with Minimum 1HZ and Max 130HZ
One more question, im trying to get the tachometer to work but having issues. Its a 3 wire tach. 1 pin is 12V and fed from another source on the board. 1 is signal and 1 is ground. If i tap the ground to the pin the tachometer works briefly then dies. Then the ground pin seems to float from 7v-12V. Any ideas on where to start troubleshooting ?
Also is it possible for an Arduino to drive lights such as abs light and handbrake like from project cars 2 ? I guess i would need to swap the 12v bulb to led
About the tachometer, you need to check if it's 5v tolerant, in this case, you can plug directly the signal pin, in a similar way to E36 cluster ( https://github.com/zegreatclan/SimHub/wiki/BMW-E36-Cluster-Setup#e36-wiring-using-arduino-nano-or-uno)
If you need a 12v signal you will need to follow this schematics: https://github.com/zegreatclan/SimHub/wiki/Arduino-After-Market-Tach-support
I obviously don't know each cluster models, signal expectations and specificities so I really can't tell if this specific model will work with this kind of signal.
About lights you can use som tip120 to convert 5v signal to 12v and use the custom protocol to control the LEDs. Or if you want more simply replace them with ws2812b. You can read about all the possibilities here: https://github.com/zegreatclan/SimHub/wiki#components-wiring-and-configuration.