Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: SDS protocol


Member

Status: Offline
Posts: 22
Date:
RE: SDS protocol


dl650vstrom wrote:

 

http://www.ebay.co.uk/itm/Arduino-USB-6Pin-Serial-Port-USB-Adapter-Download-Cable-FT232RL-Chip-/320788621152?pt=LH_DefaultDomain_0&hash=item4ab07de760&clk_rvr_id=287371010506

FT232RL adapter + transistor/resistor interface?


 Hello,

 

What do you mean ?



__________________
If i can help you...


Member

Status: Offline
Posts: 10
Date:

Just get a vag com cable, that should work.  The cable works fine its just that the software isnt really designed full with the vstrom.  I have not played around with it in a while but interested in getting it to work with the Suzuki's sds software.  There are advanced functions that allow for adjustments of throttle bodies.  If you are reading this post then its most likely why you are here. 



__________________


Veteran Member

Status: Offline
Posts: 26
Date:

vag com don't work Suzuki sds! :(
Vag com= FDTI chip cina version + LM 339

__________________


Member

Status: Offline
Posts: 22
Date:

dl650vstrom wrote:

vag com don't work Suzuki sds! :(
Vag com= FDTI chip cina version + LM 339


 hello i'll try to find an  original elm327 to use it with the sds suzuki soft.

Is someone test the elm327 with ths original SDS ?

 thanks




-- Edited by songotag on Sunday 27th of November 2011 09:08:43 PM

__________________
If i can help you...


Member

Status: Offline
Posts: 10
Date:

well the idea above was to use something that can talk in obdII,  Not sure if that worked out



__________________


Member

Status: Offline
Posts: 22
Date:

Hello,

Does anyone know if we can recover the data from the diagnostic plug on a PIC. I know a little programming PIC microcontrollers and I would like to view data on a small LCD screen. My problem is at the protocol level.



__________________
If i can help you...


Veteran Member

Status: Offline
Posts: 80
Date:

can anyone expand on the meanings of the bits in the statusOfDTC byte?

this byte follows each DTC in response to the ReadDiagnosticTroubleCodesByStatus service, and the notes in ECUeditor indicate:

 

' 0x01 bit0 = pending fault present

' bit1 = pending fault state

' bit2 = test running

' bit3 = test inhibit

' bit4 = test readiness

' 0x20 bit5 = DTC validated and stored in non volatile memory

' 0x40 bit6 = validated fault preset at time of request

' 0x80 bit7 = validated fault has been present during this driving cycle

But I'd like to know the meanings of these descriptions in more detail. For example, what is the difference between bit0 and bit1 (the descriptions look almost the same to me)? 
And what do bits 2,3,4 mean? (i.e. what does test mean?)
If a particular DTC appears more than once in the response, what does that mean? (each time with a different status value) ... for example, in one response I got three successive IAPS codes:

01 05 A2

01 05 E1

01 05 A0

Unfortunately the ISO14230/KWP2000 standards are of no help here, as they simply state that "Format and length of this parameter are vehicle manufacturer specific.
any help muchly appreciated,
cheers,
Mark

 



-- Edited by bozo on Saturday 28th of January 2012 04:16:35 AM

__________________


Newbie

Status: Offline
Posts: 2
Date:

I was make a program of tool for monitoring SDS via ELM327 dongle.
ELM327 is slow data rate at 2.5 to 3.5 fps.

http://kaele.com/~kashima/car/busa/SDSMonitor1.00.zip
[screenshot] http://kaele.com/~kashima/car/busa/sdsmon.gif
[ELM327 dongles] http://kaele.com/~kashima/car/busa/elm327-s.jpg
[SDS cable] http://kaele.com/~kashima/car/busa/cable-s.jpg
[cable diagram] http://kaele.com/~kashima/car/busa/SDS2OBD.pdf

have a fun
Kashi

__________________


Veteran Member

Status: Offline
Posts: 43
Date:

Kashima,
Can you tell us the exact commands you use with the ELM to estabilish a connection ?
This would help people develop more sds tools, maybe on Android phones too.



-- Edited by Manzo on Thursday 14th of June 2012 06:47:33 PM

__________________


Newbie

Status: Offline
Posts: 2
Date:

Manzo,

 

>ATZ

ELM327 v1.5

>ATWM8012F1013E  (set a special keep alive message)

OK

>ATSH8112F1  (set a header for first negotiaton)

OK

>ATFI  (initialize bus)

BUS INIT: OK

>ATSH8012F1  (set a header for data transaction)

OK

>1A9A   (Read ECU ID)

5A 9A 33 32 39 32 30 2D 30 .....

>2108   (Read Data by Local ID)

61 08 0F 02 01 A0 02 02 A0 .....

>82  (Close a connection)

C2

>ATPC  (ELM Protocl Close)

OK

 



-- Edited by kashima on Friday 15th of June 2012 07:50:02 AM

__________________


Veteran Member

Status: Offline
Posts: 43
Date:

Thank you very much Kashima,
very apreciated ! :)


__________________


Member

Status: Offline
Posts: 22
Date:

To kashima.

Thanks for your Job !

Can you tell us if you are working on futurs update ?

I've juste received my ELM 327 ( not a FTDI ship inside but sillicon one) clone but it doesn't works : i've got this error when i click on connect :

StartIndex cannot be less than zero ( System.ArgumentOutOfRangeException:  )

I've tested this software on windows Xp 32bit and windows 7 64 bit on same machine ( laptop )

Who can help me please, thanks in advance.

Songotag

Edit : I found the problem : an option in the bios ( serial ) must be active to make the software working on windows 7 and windows XP.

I thinks the RPM is not accurate.



-- Edited by songotag on Wednesday 1st of August 2012 08:51:32 PM

__________________
If i can help you...


Veteran Member

Status: Offline
Posts: 35
Date:

PetriK wrote:

Some of you may find also this interesting - not tested yet so may not work as its only based on reading the disassembled code. 80 12 F1 02 21 08 monitor sensor data 80 12 F1 03 14 00 00 clear dtc 80 12 F1 04 18 00 00 00 dtc monitoring 80 12 F1 01 3e keep alive not all below mentioned are tested... 80 12 F1 06 a5 01 80 00 00 00 set pair on 80 12 F1 06 a5 01 00 00 00 00 set pair off 80 12 F1 06 a5 02 not applicable 80 12 F1 06 a5 03 80 00 00 CKS set excva on 80 12 F1 06 a5 03 00 00 00 CKS set excva off 80 12 F1 06 a5 02 not applicable 80 12 F1 06 a5 05 28 RPM 00 CKS set ics rpm value, value needs to be between 54 and A0, rpm is =(HEX2DEC(RPM)*2^5)/2.56 80 12 F1 06 a5 06 80 00 00 CKS set fan on 80 12 F1 06 a5 06 00 00 00 CKS set fan off 80 12 F1 06 a5 07 80 00 00 CKS set evap on 80 12 F1 06 a5 07 00 00 00 CKS set evap off


Hi,

 

I´m about to program some kind of SDS-tool in VB. Monitoring of sensor data works fine. Logging as well.

 

I establish communication starting with wake up pattern (WuP) followed by

byte

1

2

3

4

5

wert

81

12

F1

81

5

 

Then I loop request to ECU by a timer of 150 ms

ptr

0

1

2

3

4

5

6

Len

 

 

 

 

1

2

 

Value

80

12

F1

2

21

8

CS

 

And read response with sensor values. That works fine. I can read the desired idle speed (seams to be that value) and the ISC-valve position.

 

Now I want to implement more SDS functionality. For example test of ISC-Valve by setting desired idle speed to different values temporarily.

 

I tried to start with the WuP followed again by

byte

1

2

3

4

5

wert

81

12

F1

81

5

 

Then I looped according to PetriKs discovery

byte

1

2

3

4

5

6

7

8

9

 

 

wert

80

12

F1

6

A5

5

28

RPM_Set

0

CS

CS is greater than &HFF! 

With &H68 for RPM_Set (should be 1300 rpm), but idle stand at 1150 rpm. Dont have a clue....

In ECU-Editor data are sent by "txbyte" declared as Byte. But what if checksum is greater than &HFF? That´s the case with PAIR ON funtionality as well: cks is &H2AF. I suppose cks is not sent copletely due to declaration as byte...?

could somebody give me a hint please?

 

            with kind regards, Torsten.



-- Edited by torsten on Thursday 16th of August 2012 08:00:06 PM



-- Edited by torsten on Friday 17th of August 2012 08:29:50 AM

Attachments
__________________


Veteran Member

Status: Offline
Posts: 26
Date:

songotag wrote:

 

Edit : I found the problem : an option in the bios ( serial ) must be active to make the software working on windows 7 and windows XP.



-- Edited by songotag on Wednesday 1st of August 2012 08:51:32 PM


 What is this option?



__________________


Member

Status: Offline
Posts: 17
Date:

I can't tell if this is old news or not so I'll throw it out on the off chance that it is of interest.

I've been studying the pds file saved by the SDS software. It seems like there's a good chance that the saved values are the same as in the K-line data stream. The relationship between those values and engineering units is as follows:

RPM = Value*100/255
Throttle position (°) = Value*125/255
Manifold pressure = (Value*5 - 153)*133/4/255
Temperature (C) = Value*160/255 - 30
Temperature (F) = Value*288/255 - 22
Voltage = Value*20/255
Secondary throttle position (%) = Value*100/255
EXCVA sensor = Value*100/255

There's a division by 255 in every relationship.

__________________


Veteran Member

Status: Offline
Posts: 26
Date:

kashima wrote:

I was make a program of tool for monitoring SDS via ELM327 dongle.


have a fun
Kashi


 Kashima for president smile



__________________


Member

Status: Offline
Posts: 22
Date:

dl650vstrom wrote:
songotag wrote:

 

Edit : I found the problem : an option in the bios ( serial ) must be active to make the software working on windows 7 and windows XP.



-- Edited by songotag on Wednesday 1st of August 2012 08:51:32 PM


 What is this option?


 The option is " use serial " on my laptop. It's a HP 6710B, an there's no physical serial port on it. But if i whant he kashima's software working, i must anable this option.

 

I' interesting of programming a pic to check the sensors values ( via the ODB connector ) of the strom to display on a small LCD screen.. but i don't know how to do...



__________________
If i can help you...


Veteran Member

Status: Offline
Posts: 26
Date:

kashima wrote:

I was make a program of tool for monitoring SDS via ELM327 dongle.
ELM327 is slow data rate at 2.5 to 3.5 fps.

http://kaele.com/~kashima/car/busa/SDSMonitor1.00.zip
[screenshot] http://kaele.com/~kashima/car/busa/sdsmon.gif
[ELM327 dongles] http://kaele.com/~kashima/car/busa/elm327-s.jpg
[SDS cable] http://kaele.com/~kashima/car/busa/cable-s.jpg
[cable diagram] http://kaele.com/~kashima/car/busa/SDS2OBD.pdf

have a fun
Kashi


 Windows xp framenetwork 3.0

 

windows xp framenetwork ??

 

I am very sad no



__________________


Veteran Member

Status: Offline
Posts: 26
Date:

Windows xp framenetwork ??



windows xp framenetwork 3.0



__________________


Member

Status: Offline
Posts: 6
Date:

I am actually playing with an ELM327 usb dongle to communicate with the ECU through the SDS connector.

I wrote a sw in C-language to interface with the ELM327.

When the engine is not started, I can have an updated response frame from the ECU of about 5Hz.
When the engine is on, the update rate is between 4~5Hz with the engine idle.
When I turn the throttle, I have some kind of lag before receiving the datas.

I am wondering if this is due to the ECU priorizing the engine task or a problem with the voltage level of Vbat and K-line which are higher.



__________________


Member

Status: Offline
Posts: 6
Date:

Problem solved.

__________________


Member

Status: Offline
Posts: 22
Date:

padFR wrote:

Problem solved.


 Hello padFR

 

Can you give us your program please ?

 

thanks



__________________
If i can help you...


Member

Status: Offline
Posts: 22
Date:

bozo wrote:

can anyone expand on the meanings of the bits in the statusOfDTC byte?

this byte follows each DTC in response to the ReadDiagnosticTroubleCodesByStatus service, and the notes in ECUeditor indicate:

 

' 0x01 bit0 = pending fault present

' bit1 = pending fault state

' bit2 = test running

' bit3 = test inhibit

' bit4 = test readiness

' 0x20 bit5 = DTC validated and stored in non volatile memory

' 0x40 bit6 = validated fault preset at time of request

' 0x80 bit7 = validated fault has been present during this driving cycle

But I'd like to know the meanings of these descriptions in more detail. For example, what is the difference between bit0 and bit1 (the descriptions look almost the same to me)? 
And what do bits 2,3,4 mean? (i.e. what does test mean?)
If a particular DTC appears more than once in the response, what does that mean? (each time with a different status value) ... for example, in one response I got three successive IAPS codes:

01 05 A2

01 05 E1

01 05 A0

Unfortunately the ISO14230/KWP2000 standards are of no help here, as they simply state that "Format and length of this parameter are vehicle manufacturer specific.
any help muchly appreciated,
cheers,
Mark



 Hello Bozo

I plan to make an OBD on the dashboard of my VSTROM 650. I saw on another forum that you made an OBD that reads information directly from the OBD connector. Is what you can give me information on your projects?

I would like to make an OBD playback to display the gear engaged, consumption, defects etc ...

thank you and see you soon



__________________
If i can help you...


Member

Status: Offline
Posts: 22
Date:

Hello,

I'm working on my arduino board to read some information from the ECU of my vstrom 650 k8.
When i'm sending this comand to the ECU :

Quote:
0x80
0x12
0xF1
0x02,
0x21,
0x08,
0xAE,
 80
 F1
 12
 34
 61.....
 8
 9
 16
 56
 E0
 1
 5
 E0
 FF
 FF
 FF
 FF //Speed = byte 17 * 2 in km/h
 0 // RPM high
 FF // RPM low
 0 // TPS  trottle position
 FF// IAP sensor 1 - pression air admission 1
 0 // CLT
 36  // IAT temperature admission air
 FF //AP ???
 0 //BATT
 FF //H02
 5 // Gears
 FF // IAP sensor 2 - pression air admission 2
 6B // Desired Idle Speed
 2 // ISC Valve Position
 FF
 0 // Fuel Hi1
 0 // Fuel Lo1
 0 // Fuel Hi2
 0 // Fuel Lo2
 FF // Fuel Hi3
 FF // Fuel Lo3
 FF // Fuel Hi4
 FF // Fuel Lo4
 FF
 FF
 47
 47
 FF
 FF
 FF
 0 // STP second trottle valve
 FF
 FF
 FF
 FF // mode ABC
 8 // PAIR
 5 // retour interrupteur poignée embrayage MS/clutch
 22 // neutral switch  if not connected : 22 if connected : 20 NT/HOX_on
 FF
 FF
 A7 // checksum
 

Who knows witch byte is for gears, temperature of oil....

edit : I modified my post with the information coming from torsten and from the others autor of this thread


thank you



-- Edited by songotag on Wednesday 3rd of June 2015 05:52:32 PM



-- Edited by songotag on Wednesday 3rd of June 2015 05:58:12 PM



-- Edited by songotag on Wednesday 3rd of June 2015 06:11:16 PM

__________________
If i can help you...


Veteran Member

Status: Offline
Posts: 35
Date:

Hi,
this works for my hayabusa ...(please see image below)
songotag wrote:

Hello,

I'm working on my arduino board to read some information from the ECU of my vstrom 650 k8.
When i'm sending this comand to the ECU :


 

Who knows witch byte is for gears, temperature of oil....

thank you


 



-- Edited by torsten on Wednesday 3rd of June 2015 04:09:16 AM



-- Edited by torsten on Wednesday 3rd of June 2015 04:10:12 AM

Attachments
__________________


Member

Status: Offline
Posts: 22
Date:

torsten wrote:
Hi,
this works for my hayabusa ...(please see image below)
songotag wrote:

..........................................................................................................

 

thanks Torsten for your help; I will try and i hope it will be the same for me.



-- Edited by songotag on Wednesday 3rd of June 2015 11:40:03 AM

__________________
If i can help you...


Newbie

Status: Offline
Posts: 2
Date:

Hello Songotag,

I also want to make an Arduino Nano board with 16x02 LCD screen communicating with my Vstrom 650 K8.

I already have an Arduino Nano R3

16x02 I2C LCD board

DHT11 sensor (for temperature an humidity)

And the diagnostics connector.

 

I use a program based on http://forum.arduino.cc/index.php?topic=236092.45

But I have not tested it yet. How do you proceed?

 



__________________


Member

Status: Offline
Posts: 22
Date:

Hello robert,

 

I've just finished a program test to read all the sensors. It was based on the same source as you.

You can download my program test Here

It's not difficult to add temperature sensor... the problem is to synchronise the data between arduino nano and ECU when you add some stuff int the program.

the electronique interface is in this thread, it's the shematic with two transistor and some resistances...

 



-- Edited by songotag on Saturday 13th of June 2015 03:25:00 PM



-- Edited by songotag on Saturday 13th of June 2015 03:25:31 PM

__________________
If i can help you...


Member

Status: Offline
Posts: 22
Date:

Is anybody has the formulas  for SPEED, RPM etc for VSTROM 650 k8, I tested all the formulas in this forum and there is that good engine temperature, ECT; TPS and BAT formulas for my bike.

 

Formulas OK :

 ECT = k_inByte * 160 / 255; // BillV, 

 TPS = (k_inByte * 125 / 255);  // petrik

BAT = k_inByte * 20.0 / 255;

Probably Kashima or Petrik ????

thank-you



-- Edited by songotag on Monday 6th of June 2016 10:17:28 AM

__________________
If i can help you...


Senior Member

Status: Offline
Posts: 116
Date:

I am not sure what exactly you are looking for, do you mean RPM?

If yes that should be it:

to_byte="x*2.56"
expression="x/2.56"

Let me know if that it all or you need more, this is Mitsu ECU or Denso?


__________________


Member

Status: Offline
Posts: 22
Date:

Carry wrote:

I am not sure what exactly you are looking for, do you mean RPM?

If yes that should be it:

to_byte="x*2.56"
expression="x/2.56"

Let me know if that it all or you need more, this is Mitsu ECU or Denso?


 Hello Carry, RPM is Rotation Per Minute

 For Speed, i have :        SPEED = (byte24 * 2 );

for RPM :

 RPM1 = Byte25* 100;          RPM = (byte26* 100 / 255) + RPM1;

I think my ECU is a Denso, how can i be sure ???

I know that i must use two byte to calculate the RPM but my formula give me a bad number.

Thanks for your help

 

PS : You probable know how to flash a Denso ECU to remove TRE ??



-- Edited by songotag on Monday 6th of June 2016 10:16:58 AM

__________________
If i can help you...


Senior Member

Status: Offline
Posts: 116
Date:

I am not on this forum often so easier would be @ m.karasiewicz@gmail.com find me there and i will try to help you out

__________________


Newbie

Status: Offline
Posts: 2
Date:

could you please paste the results back onto this forum? Then we can also use it.

__________________


Member

Status: Offline
Posts: 22
Date:

robert13 wrote:

could you please paste the results back onto this forum? Then we can also use it.


 No problem  ; )



__________________
If i can help you...


Member

Status: Offline
Posts: 22
Date:

Hello, some news for my Vstrom 650 k8:

For RPM, i've an accurate value with this : RPM = byte_25 * 1000 / 15.3;

ECT : ECT = byte_29 * 160 / 255;

IAT = (byte_30 * 0.82 - 30); // from moh

BAT = byte_32 * 20.0 / 255;

Have fun



-- Edited by songotag on Tuesday 7th of February 2017 06:52:53 PM

__________________
If i can help you...
«First  <  1 2 3 4 5 | Page of 5  sorted by
 
Quick Reply

Please log in to post quick replies.

Tweet this page Post to Digg Post to Del.icio.us


Create your own FREE Forum
Report Abuse
Powered by ActiveBoard