Torque

Forums

Forums

Guest  

Show or hide header
Welcome Guest, posting in this forum require registration.




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » Custom PID codes

Pages: 1 2 3 [4] 5 6 7 8
Author Topic: Custom PID codes
DanCreed
Member
Posts: 9
Post Re: Custom PID codes
on: June 2, 2011 (GMT)

Any movement on finishing the Prius Gen 3 codes? Would really be useful if the fuel gauge was working so I knew how many gallons of gas I have left. :)

I know your busy and appreciate your hard work.. anything I can do to help let me know..

Dan.Creed@thecreeds.net

piemmm
Administrator
Posts: 6080
Post Re: Custom PID codes
on: June 2, 2011 (GMT)

On my list of things to look at :-)

I don’t seem to have a gen.3 pid for fuel level though.

Judgeless
Member
Posts: 10
Post Re: Custom PID codes
on: June 2, 2011 (GMT)

Quote from admin on June 2, 2011
On my list of things to look at :-)

I don’t seem to have a gen.3 pid for fuel level though.

All the PIDs are in this sheet.

https://spreadsheets.google.com/ccc?key=0AiHL0r_2nhUEdF9lVVBxOVNoN3Zva3E0NmdZTUR1eVE&hl=en#gid=5

Fuel Level 07C02129 046185290000 2808 13880EC90000 Flv x.x Gallons, updates quickly

Judgeless
Member
Posts: 10
Post Re: Custom PID codes
on: June 2, 2011 (GMT)

I started this thread and would like to thank everyone that help make all this happen.

Check out this pic.

dimakoff
Member
Posts: 18
Post Re: Custom PID codes
on: June 3, 2011 (GMT)

Judgeless, Thanks for the thread!
Great that PIDs are working on Gen III Prius now!

Ian, are there any plans to deal with Gen II PIDs?

piemmm
Administrator
Posts: 6080
Post Re: Custom PID codes
on: June 3, 2011 (GMT)

That’s great with the screenshot! Always appreciate those – been quite interested to see if the MG1/MG2 stuff worked. Seeing it in a graph is way cool :-)

Fuel level has been added for the next release, as well as MG1/2 carrier frequencies. I’ll see if I can add more when I get time.

You you have a list of PIDs for Gen II Prius? If so then you may be already able to add them yourself in the extended PID editor! if you do have a list, I may be able to add them to the predefined section in the app

Judgeless
Member
Posts: 10
Post Re: Custom PID codes
on: June 3, 2011 (GMT)

This is a great animated view of how MG1, MG2 and the ICE work together.

http://eahart.com/prius/psd/

Scroll down the page and play with the sliders.

peca28
Member
Posts: 4
Post Re: Custom PID codes
on: June 4, 2011 (GMT)

Hello,

I have Fiat Brava 1.9JTD 105HP with EDC15C5 ECU and last version of paid Torque app and I can’t get to work extended PIDs.
Here is list of PIDs from UnidiagKWP200:
RDBLI_2000, 0x21, 0x03, “Odometer”, 1, “Odometer”, 1, “#scaling unsigned 3 X*1 km”;
RDBLI_2000, 0x21, 0x30, “Engine speed”, 1, “Engine speed”, 1, “#scaling unsigned 2 X*1 RPM”;
RDBLI_2000, 0x21, 0x31, “Accelerator position”, 1, “Accelerator position”, 1, “#scaling unsigned 2 X*0.01 %”;
RDBLI_2000, 0x21, 0x32, “Main injection start”, 1, “Main injection start”, 1, “#scaling unsigned 2 X*0.0234 Deg./Ang.”;
RDBLI_2000, 0x21, 0x33, “Pilot injection start”, 1, “Pilot injection start”, 1, “#scaling unsigned 2 X*0.0234 Deg./Ang.”;
RDBLI_2000, 0x21, 0x34, “Main inject. time”, 1, “Main inject. time”, 1, “#scaling unsigned 2 X*1 usec”;
RDBLI_2000, 0x21, 0x35, “Pilot injection time”, 1, “Pilot injection time”, 1, “#scaling unsigned 2 X*1 usec”;
RDBLI_2000, 0x21, 0x36, “Diesel quantity”, 1, “Diesel quantity”, 1, “#scaling unsigned 2 X*0.01 mg/injec.”;
RDBLI_2000, 0x21, 0x37, “Target diesel pressure”, 1, “Target diesel pressure”, 1, “#scaling unsigned 2 X*0.1 bar”;
RDBLI_2000, 0x21, 0x38, “Diesel press. measured”, 1, “Diesel press. measured”, 1, “#scaling unsigned 2 X*0.1 bar”;
RDBLI_2000, 0x21, 0x39, “Pressure adjustment opening”, 1, “Pressure adjustment opening”, 1, “#scaling unsigned 2 X*0.01 %”;
RDBLI_2000, 0x21, 0x3A, “Target air mass”, 1, “Target air mass”, 1, “#scaling unsigned 2 X*0.1 mg/injec.”;
RDBLI_2000, 0x21, 0x3B, “Air mass measured”, 1, “Air mass measured”, 1, “#scaling unsigned 2 X*0.1 mg/injec.”;
RDBLI_2000, 0x21, 0x3C, “EGR valve opening”, 1, “EGR valve opening”, 1, “#scaling unsigned 2 X*0.01 %”;
RDBLI_2000, 0x21, 0x3D, “Target overboost press.”, 1, “Target overboost press.”, 1, “#scaling unsigned 2 X*1 mbar”;
RDBLI_2000, 0x21, 0x3E, “Overboost press. measured”, 1, “Overboost press. measured”, 1, “#scaling unsigned 2 X*1 mbar”;
RDBLI_2000, 0x21, 0x3F, “Overboost valve opening”, 1, “Overboost valve opening”, 1, “#scaling unsigned 2 X*0.01 %”;
RDBLI_2000, 0x21, 0x40, “Atmospheric pressure”, 1, “Atmospheric pressure”, 1, “#scaling unsigned 2 X*1 mbar”;
RDBLI_2000, 0x21, 0x41, “Air temperature”, 1, “Air temperature”, 1, “#scaling unsigned 2 X*0.1-273 Deg./C”;
RDBLI_2000, 0x21, 0x42, “Water temperature”, 1, “Water temperature”, 1, “#scaling unsigned 2 X*0.1-273 Deg./C”;
RDBLI_2000, 0x21, 0x43, “Battery voltage”, 1, “Battery voltage”, 1, “#scaling unsigned 2 (X*20.372 + 700)/1000 Volt”;
RDBLI_2000, 0x21, 0x44, “Vehicle speed”, 1, “Vehicle speed”, 1, “#scaling unsigned 2 X*0.01 km/h”;
RDBLI_2000, 0x21, 0x47, “AD/C atmospheric pressure”, 1, “AD/C atmospheric pressure”, 1, “#scaling unsigned 2 (X*4.888)/1000 Volt”;
RDBLI_2000, 0x21, 0x48, “AD/C diesel pressure”, 1, “AD/C diesel pressure”, 1, “#scaling unsigned 2 (X*4.888)/1000 Volt”;
RDBLI_2000, 0x21, 0x49, “AD/C accelerator posit. 1”, 1, “AD/C accelerator posit. 1”, 1, “#scaling unsigned 2 X/1000.0 Volt”;
RDBLI_2000, 0x21, 0x4A, “AD/C accelerator posit. 2”, 1, “AD/C accelerator posit. 2”, 1, “#scaling unsigned 2 X/1000.0 Volt”;
RDBLI_2000, 0x21, 0x4B, “AD/C overboost press. “, 1, “AD/C overboost press. “, 1, “#scaling unsigned 2 X/1000.0 Volt”;
RDBLI_2000, 0x21, 0x4C, “Water temperature AD/C”, 1, “Water temperature AD/C”, 1, “#scaling unsigned 2 (X*4.888)/1000 Volt”;
RDBLI_2000, 0x21, 0x4D, “Air temperature AD/C”, 1, “Air temperature AD/C”, 1, “#scaling unsigned 2 (X*4.888)/1000 Volt”;
RDBLI_2000, 0x21, 0x4E, “AD/C air mass”, 1, “AD/C air mass”, 1, “#scaling unsigned 2 X/1000.0 Volt”;
RDBLI_2000, 0x21, 0x4F, “Capacitor 1 voltage”, 1, “Capacitor 1 voltage”, 1, “#scaling unsigned 2 (X*20.372)/1000 Volt”;
RDBLI_2000, 0x21, 0x50, “Capacitor 2 voltage”, 1, “Capacitor 2 voltage”, 1, “#scaling unsigned 2 (X*20.372)/1000 Volt”;
RDBLI_2000, 0x21, 0x5C, “Target cruise speed”, 1, “Target cruise speed”, 1, “#scaling unsigned 2 X*0.01 km/h”;
RDBLI_2000, 0x21, 0x5D, “Quantity Diesel for cruise”, 1, “Quantity Diesel for cruise”, 1, “#scaling unsigned 2 X*0.01 mg/injec.”;
RDBLI_2000, 0x21, 0x60, “Quantity Diesel Pilot inject.”, 1, “Quantity Diesel Pilot inject.”, 1, “#scaling unsigned 2 X*0.01 mg/injec.”;
RDBLI_2000, 0x21, 0x61, “Total Quantity Diesel”, 1, “Total Quantity Diesel”, 1, “#scaling unsigned 2 X*0.01 mg/injec.”;

I tried to add PID “Overboost press. measured”
PID: 213e
Short name: Tlak turba
Long name: brava tlak turba
Min: 800
Max: 2200
Scale factor: x1
Unit: mBar
Equation: A*1
Header: auto

Adapter connects OK, reads some in Torque defined sensors, but with wrong values. From custom defined PIDs id doesn’t read any data.

Is there any possibility to get custom PIDs to work?
Thanks a lot.

piemmm
Administrator
Posts: 6080
Post Re: Custom PID codes
on: June 4, 2011 (GMT)

Hi

Which sensors have ‘wrong’ values that it does read? I only ask because the values returned by the ECU are sent directly to the displays, so if the display is showing an ‘incorrect’ value, then that is what the ECU has sent to Torque.

If possible, could you start the full version of the app let it show some of the standard displays, then press ‘menu’ -> more… -> Send comms debug log (put a description in (very important)) then hit send/ok. I’ll have a look here to see if your vehicle is supported (it must be OBD2 compliant to work with the app)

Ian

peca28
Member
Posts: 4
Post Re: Custom PID codes
on: June 4, 2011 (GMT)

Thanks for the reply, in list of sensors I have green marked RPM, water temp, acceleration, GPS and few others..I tried water temp and display showed about 279°C and RPM were about 260 and more.

I have programmed with pic 18f4550 and 128×64 GLCD my own diagnostic so I know what data send to ECU and what data receive. For example for water temp I must send to ECU 0x02214265 (02 header, 21 local identifier, 42 what sensor to read, 65 checksum) and correct answer is for 20°C 0x0461420B7222(04 header, 61 OK answer, 42 readed sensor, 0B72 measured temp, 22 checksum) and equation is x*0.1-273.

I’ll try to measure some standard displays and I’ll post debug log.

piemmm
Administrator
Posts: 6080
Post Re: Custom PID codes
on: June 4, 2011 (GMT)

Those don’t look like OBD2 PIDs at all. Are you sure you’re not trying to talk something different like VAGCOM instead?

Ian

peca28
Member
Posts: 4
Post Re: Custom PID codes
on: June 5, 2011 (GMT)

I don’t know how OBD2 protocol looks like, but what I described is Keyword protocol 2000 (KWP2000) of ISO14230 standard. Definition of data link layer is here http://www.alfa145.co.uk/obd/14230-2s.pdf and aplication layer here http://www.alfa145.co.uk/obd/14230-3s.pdf

So you think that there is no way to define custom PIDs to Torque reads correct data from my ECU?

Thanks, peca28

piemmm
Administrator
Posts: 6080
Post Re: Custom PID codes
on: June 5, 2011 (GMT)

There’s always a way :) . I just need to work out how to force the square ‘peg’ into the triangular hole. Thanks for the links to the PDFs, that will help. The main issue will be not having a fiat to test with.

Leave it with me – I’ll see what I can do, this may take the form of a plugin to test things out initially

dimakoff
Member
Posts: 18
Post Re: Custom PID codes
on: June 6, 2011 (GMT)

Quote from admin on June 3, 2011
You you have a list of PIDs for Gen II Prius? If so then you may be already able to add them yourself in the extended PID editor! if you do have a list, I may be able to add them to the predefined section in the app

Ian, II-nd Gen Prius Scangauge PIDs can also be found in this file
https://spreadsheets.google.com/ccc?key=0AiHL0r_2nhUEdF9lVVBxOVNoN3Zva3E0NmdZTUR1eVE&hl=en#gid=5
but on the Sheet2 of the excel file.

I have tried MG2 RPM, MG2 temp, HV Current, HV Temp and some others, but none of them seemed to work fine.
Any ideas on how to deal with that?

peca28
Member
Posts: 4
Post Re: Custom PID codes
on: June 6, 2011 (GMT)

Quote from admin on June 5, 2011
There’s always a way :) . I just need to work out how to force the square ‘peg’ into the triangular hole. Thanks for the links to the PDFs, that will help. The main issue will be not having a fiat to test with.

Leave it with me – I’ll see what I can do, this may take the form of a plugin to test things out initially

Thanks for your interest in solving..if you need any help, I can test it on my car or I can help with the KWP2000 protocol, I know him pretty well, I have the source code in the ?C of functional communication and also a text logs of the communication flow for various requested data or I can do also new.

The Wizard
Member
Posts: 11
Post Re: Custom PID codes
on: June 7, 2011 (GMT)

Thank you very much for the Prius III PIDs! I’ve an Auris Hybrid and these PIDs also works perfect with an Auris (Which is almost the same as the Prius III under the hood).

I’ve a question, i’m from The Netherlands and we use Newton Meters (NM) instead of ft-lb. I’ve tried to chance the Equation, but that isn’t working.

The equation for ft-lb = ((A*256)+B) – 32768
For using NM you have to multiply with 1.35

I’ve used the equation (((A*256)+B) – 32768) * 1.35, but it doesn’t work.

Also for the Fuel, the conversion to litres.

The equation is (A * 5000) / 3785. 1 Gallon = 3,785 litres.

I used the equation (A * 5000) / 1000, but the result is not the same as the gallons * 3,785.

What is the problem? Can you help me?

And is it possible to add the HV (High Voltage) battery data? Voltage and SOC?

Keep up the good work! Thanks!

dimakoff
Member
Posts: 18
Post Re: Custom PID codes
on: June 7, 2011 (GMT)

Quote from thewizard on June 7, 2011
I’ve used the equation (((A*256)+B) – 32768) * 1.35, but it doesn’t work.

Try using (((A*256)+B) – 32768) * 135/100

The Wizard
Member
Posts: 11
Post Re: Custom PID codes
on: June 7, 2011 (GMT)

Thanks, that works.

piemmm
Administrator
Posts: 6080
Post Re: Custom PID codes
on: June 7, 2011 (GMT)

That’s odd, it should be working with either of those. Possibly a small bug. I’ll have a look at that.

The Wizard
Member
Posts: 11
Post Re: Custom PID codes
on: June 9, 2011 (GMT)

Sorry, it was een error on my side… :(, There was an ( to much in the formula.

Pages: 1 2 3 [4] 5 6 7 8
WP-Forum by: Fredrik Fahlstad, Version: 2.4
Page loaded in: 0.457 seconds.

  Follow me on twitter