Right now i am testing this on a suzuki GSX-R 600 L1 (2011) but it doesn't respond to the start sequence. I am not sure which is the problem but i guess some echo or maybe suzuki stopped using the KWP before 2011
Hi Bullone,what makes you think that Yamaha uses CAN-Bus?They are still on K-Line as Suzuki and Kawasaki.But what changed due to the 2018 EURO6 is, that it is OBD2 compatible.These are two different things!CAN-Bus is the way data is sent between ECU, sensors / actuators and diagnostic plug.K-Line is the way how the diagnostic plug sends and receives data via single line. Sensors and stuff is just communicating by it´s voltage/resistance.OBD2 is only the language how it speaks to you.What you can do is to connect a stock ELM327 OBD2 Plug to you diagnostic Plug. Since OBD2 is compatible, you can use it right from the start, like in a car.No value calculations, no PID translations, ect.You only need to know which wire is the K-Line, Ground and Voltage, to connect it equivalent to the ELM327 Dongle.Good luck
What about this post?
Nice one, @aster94!Really a lot of work in it.Currently I am recreating my Gsx-R due to a little accident on a racettrack. But I´ll test your code on both, my K6 and my Kawasaki Z750r.My solution also does both, but it got less interfaces. My goal was different, I made it OBD2 compatible, so there are plenty of duplicated codes (for conversion, clear diagnostic, and more).Maybe I´ll try to combine the best of both worlds, when I got time for that.
I hope you are ok and I am sure that your bike will get better then before when i started to write this i had to decide between OBDII and KWP2000, both had pro and cos but at the end i choosed for the KWP because it would be faster since it doesn't have to "traslate" request/responses, obviously this also means that my code is less portable!I can confirm that there is a lot of work in it, it stated as a hobby project but I guess you can understand that soon it took me more time than expected ahahah
C:\Arduino\libraries\KWP2000\src\KWP2000.cpp: In member function 'void KWP2000::requestSensorsData()':C:\Arduino\libraries\KWP2000\src\KWP2000.cpp:505:19: error: 'request_sens' was not declared in this scope handleRequest(request_sens, LEN(request_sens)); ^Using library KWP2000 at version 1.1.0 in folder: C:\Arduino\libraries\KWP2000