So I did swap mercedes m113 5.0 v8 in my old Nissan skyline.
For aesthetic reasons I want to keep stock nissan analog instrument cluster.
As far as I know Mercedes engine sends digital signals and Nissan's analog instrument cluster is not able to read it.
It is my first year on C++ programming.
I thought maybe I can somehow convert digital signals to analog with the help of Arduino ?
Not really my area of expertise, but you would have to start by working out what signals are sent where and how.
Is your analog cluster split into separate wires for each item or is it all via one connector?
If you had your old engine still in before the dismantle you could 'hijack the signals' as they are being sent to the cluster to see what they are. Or if you have a very easy going friend who will let you use theirs!
As mentioned I don't know much about instrument clusters, but I can imagine its likely to just be variable voltage or something that moves the needles?
Once you have figured out what the analog cluster requires signal wise figure out what the digital cluster sends out.
From there you could theoretically write code to convert digital signal to analog voltage fairly easily.
You can probably do it with Arduino, although I expect you will need some external components too.
You first need to know what the Mercedes engine management system provides and what inputs the Nissan gauges need. Once you've done that research, people here can help you with transforming the one to the other. So far it doesn't seem as though the regular contributors here have the car expertise you need.
Thanks everyone for support!
I have managed to make speedometer work just by following wiring diagram .
But my problem remains with tachometer. I have found what signals does nissan gauges receive please see attached picture Screenshot-30 hosted at ImgBB — ImgBB . At the moment I am researaching to find out what signals does mercedes output.