OBD2 on 401

Vintage Veloce

pro rider
Joined
Oct 7, 2020
Messages
1,087
Location
San Diego
Is anyone hooked up to the OBD2 connector? Please tell me what you are using...
and will it show you the live AFR? (Air/Fuel Ratio)? Is there an app that will record the AFR, like as you rev through the gears?
 
I have.
The stock sensor should be you limiting point, its pretty basic.
You will need something like this if you wanna do what I presume you are interested in doing.

 
I have done it with a cheap vgate BT OBDII and Torque Pro app. Later with an OBDlink MX+ and their app. Obviously the much more expensive OBDlink one does more and works faster but for basic monitoring the cheap vgate was fine. You will need a KTM 6pin cable you can get from lonelec .co .uk or equivalent.

As for the AFR I have not figured out how to get it even with a custom PID or formula in torque but you can see the O2 voltage and fuel injector trim etc easily. With that you can tell if other changes to the engine are working properly.
 
I have DimSport Rapid Bike Easy. It manipulates the lambda/O2 signal the ECU receives to allow you to run rich in closed loop. This stopped jerkiness at low speed.

For open loop you cannot do it this way as the narrowband O2 doesn't work that fast so it is ignored.
 
I found these in the KTM Duke forum... I'm hoping they work?

(The lined out options didn't work on my 2020 Svart 401)
Open Loop Commanded Air/Fuel Ratio
OBD2 PID: 0144
Long Name: AFR
Short Name: AFR
Minimum Value: 0
Maximum Value: 20
Scale Factor: x1
Unit Type: A/F
Equation: (A*256+B)/32768*14.7
Gen 1 Status:
Gen 2 Status: Working and confirmed
MS6 Status:

OEM Wideband Air/Fuel Ratio
OBD2 PID: 0134
Long Name: WAFR
Short Name: WAFR
Minimum Value: 0
Maximum Value: 20
Scale Factor: x1
Unit Type: A/F
Equation: (A*256+B)/32768*14.7
Gen 1 Status:
Gen 2 Status: Working and confirmed
MS6 Status:


LTFT Long Term Fuel Trim?
OBD2 PID: 0107
Long Name: LTFT
Short Name: LTFT
Minimum Value: -25
Maximum Value: 25
Scale Factor: x1
Unit Type: %
Equation: (A-128)*100/128
Gen 1 Status:
Gen 2 Status: Working and confirmed
MS6 Status:

STFT Short Term Fuel Trim?
OBD2 PID: 0106
Long Name: STFT
Short Name: STFT
Minimum Value: -25
Maximum Value: 25
Scale Factor: x1
Unit Type: %
Equation: (A-128)*100/128
Gen 1 Status:
Gen 2 Status: Working and confirmed
MS6 Status

Enhanced PIDs you have to manually enter.
Long name & short name can be whatever you want.
 
Last edited:
I also found this info for the KTM on the connectors. I can't vouch for it's correctness, but again it was from the Duke forum.

KTM Duke connector
#1 wh +12V
#2 bl CAN hi
#3 ye CAN lo
#6 bl/ye GND

The above doesn't match the schematic in my repair manual.

Here is what the 2020 Husky 401 Svartpilen Repair Manual says for the connector:
#2 CH (gn-bu) - CAN Bus High?
#3 GD (bl-ye) - ground
#4 F7 (gr-pk) - power?
#5 CL (ye-bu) - CAN Bus Low?
I confirmed those pins to wire colors on my bike.
edit: I have researched this, and this appears to be the new Euro5 ISO 19689 connector and pinout. I think it is used on all of the bikes made in India.

OBD2 16 pin connector
#16 +12V
#4 #5 GND
#6 CAN hi
#14 CAN lo
 
Last edited:
I ordered an OBDLink MX+ ODB2 Bluetooth Scanner.

My hope is to be able to record rides and then look at the RPM, Throttle, Speed, and AFR, etc...

This guy has a good video...
To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
The guy in the video was selling KTM cables and the PID codes (RPM, Commanded F/A, Measured F/A, Commanded AFR, Measured AFR, and Transmission Gear), but seems to have disappeared. They have to be all available somewhere...
 
Last edited:
This looks like a US supplier. Its a simple connector which is used by other bikes.

I keep the whole lot in a sealable bag with some silica gel under the seat. It just fits if you push the wires down a bit. Alternatively change to a lithium battery and you will have loads of space.

I saw that video a long time ago but they would not actually tell you the PID or formula so I think the AFR must be from another bike or ECU with the wideband monitor. The others are already in Torque but I will have a go at adding it anyway.
 
Just noticed it only says to 2017 but I think the site hast been updated. I will check the pinout on mine.
That won't fit the 2020+, they need the new Euro5 connector as well as the new pinout. I didn't realize at first the connector is different too.

PXL_20210514_031449368.jpg
 
Last edited:
That coober one is great, but US$60 ! i love that it does both connectors, but that price is bonkers. I ordered this one for US$16, including shipping:
I'll report back if it is wired correctly, but all Euro5 adapters "should" be the same...
 
That coober one is great, but US$60 ! i love that it does both connectors, but that price is bonkers. I ordered this one for US$16, including shipping:
I'll report back if it is wired correctly, but all Euro5 adapters "should" be the same...
Thank you for posting this! Just ordered. Couldn't find any Euro5 ones for a decent price last time I checked a few months ago. Right now I just want to be able to hook up to my OBD2 scanner that I use for cars in case I need to check or clear any codes. But would be useful down the road also for any tuning reasons...
 
I ordered this one for US$16, including shipping:
I'll report back if it is wired correctly, but all Euro5 adapters "should" be the same...
Ok, I just received this and it works! The connector is correct and it is wired like this:

#2 CH (gn-bu) - CAN Bus High
#3 GD (bl-ye) - ground
#4 F7 (gr-pk) - power
#5 CL (ye-bu) - CAN Bus Low
I confirmed those pins to wire colors on my bike.
edit: I have researched this, and this appears to be the new Euro5 ISO 19689 connector and pinout. I think it is used on all of the bikes made in India.

OBD2 16 pin connector
#16 +12V
#4 #5 - ground (4 is chassis and 5 is signal, but they are both wired together in this cable)
#6 - CAN Bus High
#14 - CAN Bus Low

PXL_20210518_002450717.jpg
 
I was pretty sure it wouldn't but nice for someone else to check as well.

You have got yourself probably the best OBD reader there, works flawlessly and will be useful for years. Already fixed a few mates cars with it just by clearing codes and resetting ECU.

If you are using torque have a go at getting the 0-30 0-60 1/8 and 1/4 mile times working.

I'm struggling to get them accurate as I'm sure it's trying to use the GPS. I wanted to know how fast I'm setting off from lights etc compared to bike potential. Supposedly 5.5 sec 0 to 60 stock but I fitted a quickshifter.

The OBDlink software also does it but you have to press start each time which is frustrating.
 
Back
Top Bottom