Go Down

Topic: OBD II Bike Connector - Pass via bluetooth (Read 49936 times) previous topic - next topic

Hiddenvision

#120
Jul 12, 2019, 01:39 pm Last Edit: Jul 12, 2019, 01:40 pm by Hiddenvision
The code sample you provide is no option for me, as I only have a KLine available on my bike for interrogating the ECU, no CAN bus there...

K-LINE

Second post was K-Line.


TriB

Maybe TriB still has similar requests left ?
It would be interesting what the scanner sends and receives. And what it displays!
This is how my project started:
A friend of mine got a healtech KDS adapter and the according software. Then installed a Software Serial Tool, which recorded everything which was transferred between the computer and the adapter.
Looking at the recorded and the shown data, f.e. RPM gave me the calculations and the right PID´s.

But he sold it and we did not got further to see what to send to get the fan turning, moving the exhaust valve, read the troubleshoot codes, read mapping, write mapping, ect. This were the interesting things I need to know :)

If the scanner works without a PC, you can attach a device in between, which just writes everything on a sd card. Should not be that complicated  :smiley-cool:

My knowledge is quite good at Kawasaki and okay for Suzuki (got both in the garage). But I got spare knowledge about Honda and none about Yamaha. I´d love to learn more about their protocols and stuff.

Kea09

Hi ALL,
    Thanks a lot of all information available here, I going to make myself Gear indicator and also coolant temperature, but when I requested that seems the coolant temperature quite lower than the ambient temperature even I have stopped the bike for a whole night(No start engine), in the morning that the ambient temp was around 29 Degree C but my calculation I got only 12 Degree C. for coolant temp., My bike is Ninja1000 year 2017 with the KDS plug with 6 pins.
I also tried with other bike like a Z800 with 4 pin KDS connector and the result it correct corresponding with Z800 display.
I used a formula (a-48)/1.6, this formula available here (Thanks a lot for provider).
I am not sure I have requested correct  requested or not, I used 88 11 F1 02 21 06 AB. and retuen 80 F1 11 03 61 06 XX 5C (XX is a byte I use for calculate)
Kindly please help with the fomula.
Thanks a lot.


TriB

Hello Kea09,

I was also struggeling a lot with the temperature. It seems to fit and after riding around it was totally wrong.
Many of the findings (Speed calculation, Air pressure, ect.) in the ECUhacking-Forum were wrong.

But what seems to be correct is:
Offset = -30
Resolution = 0,625

In my code, I subtract -10 because the OBD2 standard needs a offset from -40.
The resolution means 0,625 * 256 = 160. Every value base on 256. Calculation with decimals is bad, so try to work with integers as long as possible.

Code: [Select]
coolantTempCelsius = ((a * 160) / 256 ) - 30;

Good luck!

Kea09

Hello TriB,
       Thank you so much, I will test it again.
DO you know the reason why Kawasaki changed to type of he KDS connector, the old model that we have 6 pin, then replaced with 4 pin and right now changed to 6 pin again, like a Jinja1000,Z900.
Thanks.

TriB

Hi Kea09,

I can only guess.
In former times, you could bridge two pins, to receive a FI code (Failure Information) on the bikes display.
Then you got K-Line, L-Line, VCC & GND as we already know.

The newer bikes (from 2017) must relay on the OBD2 standard, since EURO4 homogenisation.

There might be both, KDS and OBD2 separated at the same plug to support all ancient diagnostic devices.

Since now, I haven´t found reliable infos about the new 6-Pin plug.

sudolea

Do you mean you're looking for the connectortype to order ? (as I have recently bought a connector of as well the 4- pins as well as the 6- pins connector)

Kea09

Do you mean you're looking for the connectortype to order ? (as I have recently bought a connector of as well the 4- pins as well as the 6- pins connector)
No, I already have a connector, But I only get the different reading on the coolant temperature on Z800 and Ninja1000 2017. The software I wrote that can read the temperature  same as on the Z800 dash meter, but when I  tried to apply the circuit and software I made only the coolant temperature was different, battery, gear were okay, at the ambient temperature (30 Degree C) I read the data from Ninja1000 that I only get 12 Degree C. But for Z800 it the same as an ambient, even start the engine, the reading on my project and Z800 dash monitor also the same.
I don't know the formula to calculate this parameter especially on ninja1000 year 2017, the different of both model was the connector type, 4 pin and 6 pin. I don't know maybe the generation changed from kawa.

TriB

Hi Kea09,

there are two different calculations, which I found in KDS:
1 Byte temperature: (A * 160 / 256) - 30 °C
2 Byte temperature: (A * 256 + B) - 40 °C

But the equations are older then 2017.
Just post the HEX value and the real temperature and maybe we find out  8)

Did you found any other differences between these models, yet?

Kea09

Hi Kea09,

there are two different calculations, which I found in KDS:
1 Byte temperature: (A * 160 / 256) - 30 °C
2 Byte temperature: (A * 256 + B) - 40 °C

But the equations are older then 2017.
Just post the HEX value and the real temperature and maybe we find out  8)

Did you found any other differences between these models, yet?
Hi TriB,
     The Z800 is mind but the Ninja1000 that was my friend's bike, unfortunately I cannot find the HEX file I saved, 555 I will check with my friend again.
 

Go Up