Close

RPM CAN Address found!

A project log for CAN BUS Gaming Simulator

Controlling a VW CAN BUS dashboard of a Polo 6R with an Arduino and a CAN BUS shield using the Telemetry API of Euro Truck Simulator 2

Leon BatailleLeon Bataille 06/14/2015 at 10:518 Comments

I finally got the address for the RPM needle!

Baudrate: 500kbps

It's 0x280!

So how do you control it?

unsigned char stmp[] = {1,0,0,rpm_int};
CAN.sendMsgBuf(0x280, 0, 8, stmp);

The first line creates a new array with 4 spaces. (The last one "rpm_int" is the byte to control the RPM needle).

I don't know the first three bytes. They're Probably for fine tuning.

The second line sends the CAN message with the above mentioned bytes to the dashboard CAN BUS on address 0x280.

Proof of concept:

Conversion Table

We need to convert the byte for the RPM signal into the actual value we want to show.

That's done like this:

RPM x 1000byte value (factor: 15.5)
00
115.5
231
346.5
462
577.5
693

I guess that these values can be higher (up to 255 in bytes) but at least to RPMs like 8000 or 9000. I use the dashboard of a diesel Polo 6R. That's why the maximum are 6000.

Discussions

djzivert wrote 07/06/2016 at 12:11 point

Great project!

Just tested this on Skoda Fabia dash board:

Values for RPM can be up to 128

  Are you sure? yes | no

Leon Bataille wrote 07/06/2016 at 13:48 point

Hi @djzivert

Thanks for your information!

  Are you sure? yes | no

sorin dinculeasa wrote 11/07/2015 at 16:09 point

Hey Leon,

Sorry to bother with this question but you might be the guy to give me solution :) I have a VW Polo 6R (1.6 tdi) with a normal cluster (no the GTI) and I want to make two changes: First one would be the "staging" or "needle sweep". I tried it with VAG-COM but the channel is blocked. I did some research and found out that it can be modified, but I couldn't find the exact modifications, even though I've tried a few. 

The second idea that I have, and desperately need is to change the reset timing for the second BC. It drives me crazy when it resets at "1999 km" or "19:59h". There is no way you could empty a fuel tank in this time, while driving in a city. And let's be honest, it's mostly a city car.  In this case, the BC2 is of no use for me, but I would like to make it work as it should.

Is there any chance you know these mods and could share ?

Thank you in advance !  

  Are you sure? yes | no

Leon Bataille wrote 07/06/2016 at 13:46 point

Hi @sorin dinculeasa!

The needle sweep is indeed possible with CAN BUS. 

BUT, the problem is that it manipulates the dashboard. So it adds miles (or kilometers) to the odometer and I'm sure that you don't want this to happen.

I did not understand the code for time and trip distance yet, so I can't help you there.

  Are you sure? yes | no

Noam Rathaus wrote 06/30/2015 at 08:10 point

Hi guys,

Where did you buy this dashboard from?

Do you need some "version" of it? like dashboards newer than the year X, there are quite a few of them on eBay, but I am not sure all are CANBUS compatible

  Are you sure? yes | no

Leon Bataille wrote 06/30/2015 at 08:27 point

Hi @Noam Rathaus!

You should look for a dashboard from about 2009 to 2012.

I recommend trying it with an dashbaord from a diesel (TDI). I don't know if there are any differences in the system when using a TSI dash.

Thanks for your interest!

  Are you sure? yes | no

Leon Bataille wrote 06/24/2015 at 16:38 point

Hi @sf.berghuis!

Good question! I wrote a project log about it.

Link: https://hackaday.io/project/6288-volkswagen-can-bus-gaming/log/19946-how-to-find-out-register-addresses-on-can-bus-dashboards

Hope this helps!

Thanks for your interest!

  Are you sure? yes | no

sf.berghuis wrote 06/24/2015 at 10:31 point

Great project ! Thinking of doing the same with a Volkswagen T4 dash I've purchased 

How did you find the address and the data format for controlling the RPM ?

  Are you sure? yes | no