-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
about kline #30
Comments
Hello, to read a kline message you need to send a request then get a response. |
Hi arezaire!! Thank you for your help! My trouble here is, I’m with a s2000 ‘07 honda cluster and the ECT are over k-line (Can protocol). I don’t have the car, only the cluster, and trying to build a analogo to k-line ect converter and sent to the cluster. I’m trying a arduino can shield and read a message from the cluster or send random message but don’t work! Can you help? |
Kline is on serial protocol not on can. How do you want to run it? |
Engine cooling temperature default messages from k-line. If I can broadcast these messages to the cluster, I can use this! L9637d smd soic8 are recomended to use kline, but still stuck here |
See Kline is on Serial Protocol you said you are using CAN bus, yes? |
Yes, trying to see messages I’m use mcp2515 can shield but not effective. But nothing happens, so I get a L9637d so create these messages, but still Need the kline protocol to discover the right ECT messages to send It’s a completely blind project (hard to solve) |
https://forum.autosportlabs.com/viewtopic.php?p=27056&sid=7970aea37d1be38840baf171bc34fc9c Some information about |
But does it support K-line protocol? If yes then you can make a PCB for l9637d and trying to connect to the device, K-line is more different than CAN bus protocol, it need to Serial port on baud 10400 bps. |
Hello Ivor, And what your code allows to send other than PID ? |
Hello, Are you initializing it at first? and do you have its header? You can send any iso 9141 requests to devices with this library |
This is the problem. First I need to Identify the ECT PIDs (the link below makes a far idea of the PID 300) and a format to message the cluster I believe, this standard message can drive the gauge but, still not clear to me You say I can do that with a standard arduino serial port out? Or still I need this l9637d? Maybe the cluster need a initialize too? And yes, I come tho this project to get some idea of this messages and a sketch to send this |
l9637 is just for changing voltage range from 5V to 12V and you can use the transistor for that there are some examples on the internet, for example: Kline protocols are different from the CAN bus. if your Ecu or device support CAN, it doesn't mean that it can support K-line, You need to check it if support. if it supports you need to know its headers to communicate with that.
|
@arezaie14, thanks for helping out, really appreciated, I only have experience with this library and two cars, so additional insights from others are really welcome 👍. @rubensx, to add to what @arezaie14 said;
Thats a a K line interface IC, so yes, this library can likely be used.
That shows you some of the PID values, like the brake pedal is ID 106, throttle 170... What's missing is how to initialise the bus, but maybe that's not necessary? @roma6868, you should've really made a new issue with this question, because it's different device and use case than the previous discussion.
Did you read the header file? Did you look in the cpp file to see how the library retrieves PID values? With a bit of reading the code in this library I think you would've been able to figure this out. @arezaie14 is correct in stating you can send whatever you want. Take a look at how the getPID call is implemented. The header file also describes the raw request methods that can be used to send something onto the bus. |
@iwanders It's my pleasure and thank you for your best library, I'm using it much more. Just there is a problem with slow init of iso14230 and I made It, I'll make a request to push it. |
I start in programming I don’t understand everything in the code of your library |
Yes my problem here is: I’m using a honda S2000 cluster at 2007 year, it means, all the cluster is analog or I/O (sometimes a digital pulse and arduino can solve tachometer, speed, signals) but can’t solve the engine coolant temperature. This temperature is provided by a delta calc by ECU: The ambient temp + oil temp + ECT and the result is broadcasting to cluster... In some research I found the information: ECT is Engine Coolant Temp (ID = 300 byte 1), Ambient Temp (ID = 300 byte 2) It’s founded in a S2000 group of a dataloggers and a specific hardware. I don’t understand so much how I can create a arduino broadcast of these parameters to test in cluster. Orher issue is, I don’t have a s2000 ecu or more information about to try this! This problem affect all honda enthusiasts who want to put a s2000 2006+ cluster in old civics I had some parts here: Arduinos: nano, onde and mega If you can help with somenthing to light my path I appreciate so much! Thank you again |
hey I guess I buy the l9637d for nothing... If I use 33290 IC for de cluster linking the serial RX and TX directly from arduino I cansend K-line messages directly? (I'm using a can shield for a while guessing the can shield speaking with the cluster... Or still need l9637d and attached in arduino and them to 33290 IC? (arduino cannot connect directly?) |
Ok I'm back and creating the system...
Questions: 1- some can help me to translate this ID 300 byte 1 into a hex message to the cluster? thank you again |
Hello @rubensx , I am on the same dilemma right now. How was your end result? I'm using teensy 3.2 and this circuit to interface with the k-line. I also tried tapping directly to the UART of the S2000 cluster connected on the K Line transceiver but reads nothing. From what I understand (CMIIW) those ID's are applicable to the ECU/ECM unit via the OBD port. But the cluster is not a master like the ECU/ECM so you can't actually poll anything. S2000 cluster k line<----OBD PORT -->ECU they are inter connected on one bus. So what I expect is the cluster should request data from the ECU just like in the OBD port. But can't read anything going out from the cluster k line port or even the UART port assuming my k line decoding circuit is not working. What I'm thinking right now is there is like a communication start bit(s) that comes from the ECU before this cluster requests data. |
@rubensx This is a interesting project, I am trying a similar project on a Suzuki Vehicle, trying to drive a Tachometer using K-Line, |
Hi Ivor
I'm trying to comunicate k-line data sending ECT temperature to a cluster from a honda s2000 who has a k-line communication, maybe your project can help me? I know this can READ a k-line, but can send k-line messages too?
thank you
The text was updated successfully, but these errors were encountered: