Nissan CAN bus data help

Hi, everything is fine, thank you.
So far I haven’t been able to extract the odometer.
I got my hands on this formula, but didn’t find it suitable for Realdash XML calculation.

Frame : 5c5

Position in frame: B.8-D.1

Meaning: Car odometer absolute value (mileage)

Format: 24-bit unsigned integer

Unit: km / LSB

<frame id="0x5c5" size="8">
		<value targetId="310" units="km" startbit="??" bitcount="??" conversion="??"  ></value>   <!-- Odometer-->
	</frame>

Per your CAN log, odometer seems to read 386396km, is that right? If it is, you can read it with:

<frame id="0x5c5" endianness="big">
    <value targetId="310" offset="1" length="3"></value>   <!-- Odometer-->
</frame>
1 Like

Hello friends, I analyzed the entire 5c5 frame and did not find the value. Could it be that my car does not have this attribute? Nissan Tiida C11. analyzing your xml a lot of things are the same, but not the odometer.

TKS!

It could be that Nissan Tiida has different CAN layout than Qashqai and X-Trail that we are working on here.

By giving feedback, you can find it. I’m looking for targetId=“203”
Is it common for cars to have this attribute?

Yes, that’s correct. Thank you for your assistance.

<frame id="0x5c5" endianness="big">
    <value targetId="310" offset="1" length="3"></value>   <!-- Odometer-->
</frame>
1 Like

I managed to find some fuel values ​​for my Nissan. I believe they are the same as yours, but they are quite confusing. Low level decimal value 255, level 50% decimal value 0. For the next levels it starts a new count from 0 50% to 52% full tank. The RealDash fuel gauge goes down when it reaches half a tank and then goes up again. Any suggestions dev?

you can just make a conversation about the value you receive

conversion="v+or-or/‘’

2 Likes

May be this is not an important issue: when I open your file with Microsoft Edge, I get the following error:

This page contains the following errors:
error on line 85 at column 1: Extra content at the end of the document
### Below is a rendering of the page up to the first error.

Using Notepad I found that line 85 is the last one an it is duplicated with line 83:

*** /RealDashCAN *** (I can´t write the initial < and final > characters).

After deleting line 85, Microsoft Edge opens the file without errors.

1 Like

Hi friend, were you able to find more information on your Red Can? I have a Sentra B16 Red Can that is fully compatible. I found the fuel level, but I’m looking for the injection time and CVT temperature. Did you get it?..

Hi. I have been looking for fuel level but I have not found it: can you please share it? I have not looked for your other values.

I attach my XML definition file for my Nissan Qashqai J10: you will see a lot of “?” where I am not sure about the data/values, and “*” where I make annotations. This file may content some syntax error (missing “-”, “<”, “>”, “!”), because my original working file is in Spanish and I have translated it (sorry for my English), but not tested.

Still a lot of missing values which I would like to know: MAF, MAP, intake air temperature, turbo pressure, oil pressure, oil level, fuel level, fuel comsuption, … May be you can help me to get some of them.

Qashqai CDF_011.xml (9.3 KB)

Some values are not broadcast, so I’m trying to implement the Arduino to request and send me map, MAF information through frame 7e8

Torque, DashCommand and Car Scanner Apps are able to read MAF, MAP, MAT, rail pressure, vacuum, … So I think some of my pending data may also be broadcasted in the canbus, but I am not able to find them.

RealDash does not find frame 7e8, but I can read it from inside Meatpi firmware, reporting the following values for each byte: 03 7F 22 11 AA AA AA AA.

Can you please share the frame, offset, lenght and conversion (if needed) for the fuel level? I would like to test it in my car.

Thank you.

Sentra B16.xml (5.8 KB)

MAF sensor is wrong, injection timing is wrong, but with this information it already makes for a pretty cool dashboard. I’m struggling to get the Arduino to request the remaining frames.

Thanks a lot!!! I will test it ASAP and report my results.

You say “MAF sensor is wrong, injection timing is wrong…”, but they are not included in the file, aren’t they?

In case you consider convenient to modify it, I got two errors when opening the file (perhaps RD ignores this kind of errors):

There are two missing spaces:

  • before “conversion” (first line of the previous image).
  • before “startbit” (second line of the previous image).

Yes, they are included, there are several other functional signals there. For example, windshield wipers, I use them to create an effect on the dash, see video below.

Windvivi

Excellent job! I hope I can do such kind things in the future… By now I am just using text gauges to find values.

Perfect, see that the best option for fuel level was enum, because they are not so linear. I recommend you fill the tank and each time it drops, describe the value in the code. It is adjusted for my Nissan Sentra B16 vehicle with a 52L tank.