Hi, litle update from me, now it works good, i changed to Seeduino and added a GPS Brakeout.
Have fun!
Hello o5i_
Can you tell me more information about your board/projetc/schematic ?
I whant to make a OBD tool for my suzuki v strom 650 k8.
My board is an arduino nano v3.0.
thanks for your help
here is my test program with an OLED SPI screen and arduino nano v3 ( china version
).
I used the sofwareserial.
edit : you can post your comments and download my program test Here
Thank you Songotag,
I will try it. I have found some information about other sensors. Maybe those will also work on a Gee/Wee.
I have orderd some extra parts; SD card, 20x4 display, RTC, buttons . And made a generic PCB and orderd that one by Itead. First time I have made used Eagle PCB and orderd a PCB.
I hope that I will reaceive all soon, so I can build it.
Hi, you mean the scematic of the K - Line transciever? There are few chips that can do that.. Si9241AEY or Si9243AEY or L9637D .. there are a lot, but smd... But you can use transistor or opv too...
About Softwareserial... I have tried that too on my GPS but it doesnt work, i used hardwareserial because of that, its much faster... but it has some restrictions...
o5i_:
Hi, you mean the scematic of the K - Line transciever? There are few chips that can do that.. Si9241AEY or Si9243AEY or L9637D .. there are a lot, but smd... But you can use transistor or opv too... Here is my transciever scematic...
About Softwareserial... I have tried that too on my GPS but it doesnt work, i used hardwareserial because of that, its much faster... but it has some restrictions...
I have made a video using the logger and dashware...
Can you tell us how did you do the synchronization between the received data Kline and the serial buffer. Sometimes I have bad data readings of the return frame.
Can you give us the reference of the gps receiver you used ?
Is the SDS_Logger_0.0.2 your last revision of firmware ?
Hi
i dont sync the time from gps whit the "time", time is just a counter that starts when the bike starts...
I have updated some things.. You can see in chanlog...
In the latest Version the filename is assembled from date/filenumber, because of that gps is needed.. But i can make a timeout for no response..
I used the Adafruit Ultimate GPS but you can use whatever zou want..
Bad k_line readings can be caused from bad serial connections(chip) or because of the arduino built in serial library, i noticed that softserial cause a verry high delay, because of that i used hardserial library which works fine..
ive made a github repo for this if you want to work together on this send me some infos and i add you..
o5i_:
ive made a github repo for this if you want to work together on this send me some infos and i add you...
https://github.com/o5i/Datalogger.git
Hello o5i_, thanks for your sharing.
The repo is a good idea, you can put your schematics and datasheets.
I'll work on my project after my long hollidays.
Best regards ![]()
I have made the interface with the 2 BC547 transistors and made a scetch based on this subject (Songotag scetch). But I don't receive information from the ECU. When I connect my Scope on the K-line (Pin 3 on the dealer port) I'll see the my program does do the fast init en send all the deze to the ECU.
Question: Does the engine must me running?
Pin 3 on the dealer connector is the K-line, right?
Does anybodt know why I don't receive data?
Robert13:
I have made the interface with the 2 BC547 transistors and made a scetch based on this subject (Songotag scetch). But I don't receive information from the ECU. When I connect my Scope on the K-line (Pin 3 on the dealer port) I'll see the my program does do the fast init en send all the deze to the ECU.Question: Does the engine must me running?
Pin 3 on the dealer connector is the K-line, right?Does anybodt know why I don't receive data?
Hello, which arduino board you use ??? if you use a softserial, you must change a file on arduino IDE to force the softserial to 10400.
You don't have to turn on the engine. Just power up the ECU
I started with softserial, but o5i_ said to use the hardware serial, so I changed my program and hardware.
I use pin 5 as K-line. Right?
Could you tell me with line in software seriale has to be changed. That way is much easier for uploading an new sketch.
I usa a Chineese Nano R3 with a CH304 with a 20x4 LCD with I2c, a DS3231 RTC, a Micro SD-card and some buttons with resistors on analog port A1
I have a suzuki dl-650 K8 (yellow)
Robert13:
I started with softserial, but o5i_ said to use the hardware serial, so I changed my program and hardware.
I use pin 5 as K-line. Right?Could you tell me with line in software seriale has to be changed. That way is much easier for uploading an new sketch.
I usa a Chineese Nano R3 with a CH304 with a 20x4 LCD with I2c, a DS3231 RTC, a Micro SD-card and some buttons with resistors on analog port A1
I have a suzuki dl-650 K8 (yellow)
Don't forget that with the arduino nano, the hardware serial is share with the usb. If you whant multiple hardware serial, you have to use a arduino mega for example. Now i'm using an arduino mega core from ebay.
To test your code with the nano, you can use softserial.
I know. That's why I cannot reprogram my Nano by using USB. I have to program it via the ICSP port.
I have ordered some L9637Ds and a experiment shield. That will make life much easier. Maybe I can test it first with a Mega and later with a Uno of Nano. I have all Arduinos.
With my program, I can see that the K-line is low and high from the arduino.
I have only connect 3 wires? like http://i39.servimg.com/u/f39/15/19/79/59/sds_to10.jpg
I did now know the Mega Core. Sounds interresting.
I can use your program as test.
Keep you informed.
BTW What is the change to the softwareserial library to support 10400 baud?
Robert13:
BTW What is the change to the softwareserial library to support 10400 baud?
Have a lokk at this : NewSoftSerial ā Adding a baud rate | TOCPCs ā The Elite Geeks Blog
If i find my modified file, i'll send it to you. Let me your email by MP il you whant.
The best way, is to use the arduino mega with his hardware serail ;).
You can use whatever you whant for the TX pin.
I've made a "sniffer" with a arduino nano to see the byte on the Kline... and show the byte in a console.
Hello Robert13,
With the last arduino IDE, you don't have to modify the file for sofserial's baudrate, it's already implemented in the new IDE
I tried the interface with the 2 BC547b and work with the softserial, the best way is the hardware serial..
Hi, there
I want to make my DIY OBD to connect with ISO K-Line on my DLC connector but using MC33290, anyone in here can give me some recomendation about IC that I use ?
or give an advice about IC that I can use for my OBD beat injection
Thank You ![]()
Hi, i have used the lm393? opamp circuit and it works well.. I use my bike every day and since 2 years no bugs or something.. I tested the bc547 too and it works.. But i think every chip that supports kline is enough, but i have no experience about.
Hi guys,
I“ve seen the Kawasaki (KDS) Protocol is similar to Suzuki (SDS).
As you can see in my thread here.
I“d guess Suzuki also uses a Denso ECU. Both are communicating over K-Line via KWP2000, fastInit, ISO 14230, ect. But the PID“s are different, as I can see. 0x08 gives you a bunch of sensor data? KDS just takes on request and responds with a single value.
In my solution, I“m using a L9637D to convert K-Line to Serial signal.
That works great, until it seems to overheat or voltage drops. It just stops after 15-30 minutes.
Scissor (from the thread mentioned above) also got drops, but the connection restarts. Mine stays dead, until I restart the bike.
How did you wire up your solution and how did you regulate the supply voltage?
If interested, we can share some experience. You can take a look into my documentation, emulator and code on GitHub to complete our work ![]()
Best regards!