Torque

Forums

Forums

Guest  

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




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » Alfa 147 JTDm 16v

Pages: [1] 2
Author Topic: Alfa 147 JTDm 16v
z900
Member
Posts: 25
Post Alfa 147 JTDm 16v
on: December 11, 2011 (GMT)

Hi Ian and others !

Just bought the full version.

Some questions:

1. Where do I put the ITorqueService.aidl file ?

2. OBD PID Editor is a bit unclear to me:

When I look at your example for the SPEED PID it is:
====================================================
010D

When I look at the EDC16CF (Alfa 147 JTDm) PID list it is:
==========================================================
2131 Vehicle speed X/128.0

3. In the equation formula what should I use A or X ?

4. I want to read these ones:

215B Air mass measure (X*0.5)-200 mg/injec.
215C Target air mass (X*0.5)-200 mg/injec.
2167 Total Quantity Diesel X*3.0/1000 mm3/inject

How to put in the values in the Pid Editor ?

Is it possible to setup all the 147 JTD(m)PIDs
in a carsetup file for me ? (I own the explicit list)

Thanks for the great App !

piemmm
Administrator
Posts: 6629
Post Re: Alfa 147 JTDm 16v
on: December 11, 2011 (GMT)

Ah, I’ve literally just replied to your tweet! :-) – give me a moment and I’ll put this reply in the forum with a little more detail!

Edit: Right, got a few questions now :-)

Does the 010D (vehicle speed as a Mode PID) not work for your alfa – is there no reading for it (and are only provided as mode 21 PIDs?) or do you get a reading for things like speed on 010D?

For sending PIDs to torque, as a service, you have 2 options:

1) Create a CSV file and drop it into the relevant place on the SD card where torque will look

2) Offer this as a plugin (which uses the aidl script) this is mostly if you want to encrypt the PID so no-one else can see it, or want to do something special like on-the-fly calculations and offer the result to Torque as a PID or to use torque deal with OBD comms so you can get on with making something cool as a plugin!. In most cases option 1 is probably the easiest (and you can make an app to just drop the CSV file at the relevant place)

The CSV file format should be pretty much as described in http://torque-bhp.com/wiki/PIDs

and the AIDL interface is as:

  boolean sendPIDData(String pluginName, in String[] name, in String[] shortName, in String[] modeAndPID, in String[] equation, in float[] minValue, in float[] maxValue, in String[] units, in String[] header);
 

Where the data is provided as String arrays, so:

assuming a simple 1 element array:

You would send for 1 PID 215B:

"YourPluginName", {"Air Mass Measure"} , {"AirMM"}, {"215B"}, {"(A*0.5)-200"},{"0"},{"200"},{"mg/inject"},{"Auto"}

And if for 2 PIDs, you would just add extra elements to your arrays. Similar if you are keying directly into the PID editor (the byte parts/locations of the responses are from A to Z, then AA to AZ, BA to BZ, (etc)

z900
Member
Posts: 25
Post Re: Alfa 147 JTDm 16v
on: December 11, 2011 (GMT)

Ah OK Ian, LOL

I posted in the first sticky 3 days ago 😉

Thanks !

Maybe we could do direct communicating via MSN or….. ?

z900
Member
Posts: 25
Post Re: Alfa 147 JTDm 16v
on: December 11, 2011 (GMT)

Thanks Ian,

The next days I give it a try.

Ill be back to let you know.

Thanks !

z900
Member
Posts: 25
Post Re: Alfa 147 JTDm 16v
on: December 12, 2011 (GMT)

Quote from admin on December 11, 2011
Does the 010D (vehicle speed as a Mode PID) not work for your alfa – is there no reading for it (and are only provided as mode 21 PIDs?) or do you get a reading for things like speed on 010D?

The 010D preprogrammed speed PID does work. Reading is good !
But I programmed a customer speed PID with the same PID (010D)
and the alfa 147 JTDm specific PID…and both didnt react.

I think I did something wrong in the parameter entry.

I also did this:

“YourPluginName”, {“Air Mass Measure”} , {“AirMM”}, {“215B”}, {“(A*0.5)-200”},{“0”},{“200”},{“mg/inject”},{“Auto”}

PID tonight, with result: NO DATA

btw: I think the “YourPluginName” is too much in this sentence ?!?!

piemmm
Administrator
Posts: 6629
Post Re: Alfa 147 JTDm 16v
on: December 12, 2011 (GMT)

That’ll work in the external plugin, but not as part of a CSV file (for a CSV file remove the ‘MyPluginName’ part)

For the PID in the extended PID editor, the first line (the pid) should read: “215B”

If you are getting ‘NO DATA’ returned when testing after a few seconds, then that means that the ECU did not respond with any reply to that request.

This may be due to requiring a specific header to get the data, and/or setting things like CAN filters (fiat/alfa ecu’s can be a bit of a pain like this).

You may want to experiment using the ‘button’ in the realtime dash view – you can type in raw commands there (ie: 215B, ATSH XXXXXX, etc) and see the output in a slightly easier view when testing (the app will show you the direct, raw, output in the button configuration) so you will be able to see if you get a proper response or not (and play about with the adapter configuration until you do)

z900
Member
Posts: 25
Post Re: Alfa 147 JTDm 16v
on: December 13, 2011 (GMT)

Ok Ian, Thanks !

Must tell that my BlueTooth OBD ELM327 interface works well
with FiatEcuScan and AlfaOBD. Also the mentioned PID.

I play around with the RAW thing you call.

Till next……..

z900
Member
Posts: 25
Post Re: Alfa 147 JTDm 16v
on: December 14, 2011 (GMT)

Hi Ian,

Cant find the “button”, you mentioned.

Can you be more explicit plse ?

piemmm
Administrator
Posts: 6629
Post Re: Alfa 147 JTDm 16v
on: December 14, 2011 (GMT)

Hi!

In the pro version, go to the realtime data screen, click add display, and scroll to the bottom of the display types. Push button is one of the options in the latest version. You can then select ‘send command’ from the type and edit the command

z900
Member
Posts: 25
Post Re: Alfa 147 JTDm 16v
on: December 14, 2011 (GMT)

OK, That works.

Just for trying:

sent: 0105
response: 410538

So 0x38 is the coolant temperature, which is 56-40 = 16degrees
and thats RIGHT.

where is 4105 standing for ?

sent: 2150 (specific alfa PID for coolant temperature)
response: 7Fxxxx

dont remember the xxxx, but it was a way off.

Thanks Ian for the help !

piemmm
Administrator
Posts: 6629
Post Re: Alfa 147 JTDm 16v
on: December 15, 2011 (GMT)

Hi!

41 is the ‘ok’ reply for a request, for mode 01 that’s 41, mode 02, that’s 42, mode 03 it’s 43 (etc, etc)

7F is the ‘not ok’ reply followed by a reason code. If there’s a 11 in there, then it’s likely you’re out of luck as that paticular PID likely isn’t supported

The torquescan app can be used to quickly enumerate all the PIDs and then you can email that list to yourself, which is helpful for locating active PIDs. Then you can work back from there to what sensors they represent

z900
Member
Posts: 25
Post Re: Alfa 147 JTDm 16v
on: December 15, 2011 (GMT)

Hi Ian,

Here is the result of the enumerated PID scan

Really dont know what to do with it.
Most response was 7F2211 !!

First the first part of my Alfa EDC16CF4 PID list:
==================================================
PID PID_Name Calculation_Formula Result Text BytesInResponse StartFromByte BytesForCalculation
1A80 Reading Identification Code FIAT drawing number 61 0 11
1A80 Reading Identification Code HW number 61 11 11
1A80 Reading Identification Code HW version 61 22 1
1A80 Reading Identification Code SW number 61 23 11
1A80 Reading Identification Code SW version 61 34 2
1A80 Reading Identification Code Homologation number 61 36 6
1A80 Reading Identification Code ISO code 61 42 5
1A80 Reading Identification Code Tester code 61 47 10
1A80 Reading Identification Code Production date 61 57 4
1A91 FIAT drawing number FIAT drawing number 11 0 11
1A92 HW number HW number 11 0 11
1A93 HW version HW version 1 0 1
1A94 SW number SW number 11 0 11
1A95 SW version SW version 2 0 2
1A96 Homologation number Homologation number 6 0 6
1A98 Tester code Tester code 10 0 10
1A99 Production date Production date 4 0 4
2101 Injection control unit X&0b00000001 X=0b00000000 Programmed 1 0 1
2101 Engine startup X&0b00000010 X=0b00000000 Allowed 1 0 1
2101 Universal code X&0b00000101 X=0b00000101 Received 1 0 1
2101 Injection control unit X&0b11111111 X=X Not programmed 1 0 1
2101 Engine startup X&0b11111111 X=X Not allowed 1 0 1
2101 Universal code X&0b00000101 X=0b00000001 Not received 1 0 1
2101 Universal code X&0b11111111 X=X Not enabled 1 0 1
2103 Odometer X*0.1 km 3 0 3
2108 Number of overrevs X*1 1 0 1
2109 Max. eng. speed counter X*10 msec. 2 0 2
210A Maximum engine speed X*40 Rpm 1 0 1
210B Number of rewrites X*1 1 0 1
210C Odometer at last rewrite X*0.1 km 3 0 3

z900
Member
Posts: 25
Post Re: Alfa 147 JTDm 16v
on: December 15, 2011 (GMT)

Here is the result of the enumerated PID scan:
==============================================

Command: 2203c4 response:?
Command: 220451 response:?
Command: 220500 response:?
Command: 2206a9 response:?
Command: 220710 response:?
Command: 220464 response:?
Command: 220501 response:?
Command: 220751 response:?
Command: 220d04 response:?
Command: 220919 response:?
Command: 221201 response:?
Command: 220d09 response:?
Command: 221251 response:?
Command: 220d40 response:?
Command: 221404 response:?
Command: 2214a9 response:?
Command: 2214e1 response:?
Command: 221501 response:?
Command: 2215e1 response:?
Command: 2211e1 response:?
Command: 221231 response:?
Command: 221540 response:?
Command: 221d90 response:?
Command: 222351 response:?
Command: 222390 response:?
Command: 222700 response:?
Command: 222210 response:?
Command: 222740 response:?
Command: 222279 response:?
Command: 222300 response:?
Command: 222310 response:?
Command: 222924 response:?
Command: 222410 response:?
Command: 222440 response:?
Command: 222500 response:?
Command: 222524 response:?
Command: 222564 response:?
Command: 222609 response:?
Command: 222710 response:?
Command: 222751 response:?
Command: 222790 response:?
Command: 223140 response:?
Command: 222d79 response:?
Command: 222de1 response:?
Command: 223510 response:?
Command: 223710 response:?
Command: 223751 response:?
Command: 223204 response:?
Command: 223209 response:?
Command: 223390 response:?
Command: 2233e1 response:?
Command: 2234e1 response:?
Command: 223731 response:?
Command: 223d31 response:?
Command: 223de1 response:?
Command: 224231 response:?
Command: 223d09 response:?
Command: 224300 response:?
Command: 224651 response:?
Command: 224119 response:?
Command: 224719 response:?
Command: 224751 response:?
Command: 224224 response:?
Command: 224231 response:?
Command: 2243e1 response:?
Command: 224464 response:?
Command: 224510 response:?
Command: 224704 response:?
Command: 224779 response:?
Command: 224d40 response:?
Command: 225179 response:?
Command: 224d04 response:?
Command: 224d10 response:?
Command: 225479 response:?
Command: 225590 response:?
Command: 2256c4 response:?
Command: 225119 response:?
Command: 225704 response:?
Command: 225901 response:?
Command: 225331 response:?
Command: 225464 response:?
Command: 225600 response:?
Command: 225610 response:?
Command: 225d00 response:?
Command: 225d01 response:?
Command: 225719 response:?
Command: 226104 response:?
Command: 226251 response:?
Command: 225d01 response:?
Command: 225d04 response:?
Command: 226301 response:?
Command: 225da9 response:?
Command: 2264c4 response:?
Command: 2266e1 response:?
Command: 226719 response:?
Command: 226731 response:?
Command: 226751 response:?
Command: 226790 response:?
Command: 226931 response:?
Command: 226524 response:?
Command: 226551 response:?
Command: 226d00 response:?
Command: 226d04 response:?
Command: 226da9 response:?
Command: 226924 response:?
Command: 226d31 response:?
Command: 2272e1 response:?
Command: 227304 response:?
Command: 226d90 response:?
Command: 227310 response:?
Command: 227351 response:?
Command: 227401 response:?
Command: 227501 response:?
Command: 227510 response:?
Command: 227524 response:?
Command: 227604 response:?
Command: 227119 response:?
Command: 227710 response:?
Command: 227724 response:?
Command: 227204 response:?
Command: 227751 response:?
Command: 2272a9 response:?
Command: 227301 response:?
Command: 227900 response:?
Command: 227401 response:?
Command: 227404 response:?
Command: 227524 response:?
Command: 227651 response:?
Command: 227724 response:?
Command: 227d00 response:?
Command: 227d04 response:?
Command: 227d10 response:?
Command: 227dc4 response:?
Command: 228204 response:?
Command: 2282e1 response:?
Command: 228319 response:?
Command: 228400 response:?
Command: 228509 response:?
Command: 228124 response:?
Command: 228724 response:?
Command: 228200 response:?
Command: 2287e1 response:?
Command: 2282a9 response:?
Command: 228951 response:?
Command: 2285a9 response:?
Command: 228690 response:?
Command: 228790 response:?
Command: 228d24 response:?
Command: 228d90 response:?
Command: 228901 response:?
Command: 229031 response:?
Command: 229109 response:?
Command: 229209 response:?
Command: 228d10 response:?
Command: 228d90 response:?
Command: 2290e1 response:?
Command: 229124 response:?
Command: 229700 response:?
Command: 229279 response:?
Command: 2292c4 response:?
Command: 229819 response:?
Command: 229379 response:?
Command: 229d00 response:?
Command: 229d04 response:?
Command: 229d19 response:?
Command: 229d79 response:?
Command: 229b04 response:?
Command: 22a151 response:?
Command: 22a164 response:?
Command: 229d00 response:?
Command: 229d04 response:?
Command: 22a290 response:?
Command: 22a251 response:?
Command: 22a931 response:?
Command: 22a419 response:?
Command: 22a664 response:?
Command: 22ad00 response:?
Command: 22ad04 response:?
Command: 22a7c4 response:?
Command: 22ad09 response:?
Command: 22ad51 response:?
Command: 22ad64 response:?
Command: 22b190 response:?
Command: 22b209 response:?
Command: 22ad04 response:?
Command: 22ad19 response:?
Command: 22ad24 response:?
Command: 22b2a9 response:?
Command: 22ad51 response:?
Command: 22ad64 response:?
Command: 22ade1 response:?
Command: 22b440 response:?
Command: 22b464 response:?
Command: 22b5e1 response:?
Command: 22b100 response:?
Command: 22b101 response:?
Command: 22b204 response:?
Command: 22b290 response:?
Command: 22b304 response:?
Command: 22b400 response:?
Command: 22b540 response:?
Command: 22b719 response:?
Command: 22bd04 response:?
Command: 22bd10 response:?
Command: 22bd31 response:?
Command: 22bd40 response:?
Command: 22bd51 response:?
Command: 22bde1 response:?
Command: 22b919 response:?
Command: 22b979 response:?
Command: 22c1a9 response:?
Command: 22bd90 response:?
Command: 22c3a9 response:?
Command: 22c401 response:?
Command: 22c590 response:?
Command: 22c264 response:?
Command: 22c7c4 response:?
Command: 22c2a9 response:?
Command: 22c451 response:?
Command: 22c490 response:?
Command: 22c524 response:?
Command: 22c579 response:?
Command: 22c610 response:?
Command: 22c679 response:?
Command: 22cc51 response:?
Command: 22cd31 response:?
Command: 22cb01 response:?
Command: 22d210 response:?
Command: 22d251 response:?
Command: 22d279 response:?
Command: 22d351 response:?
Command: 22d3e1 response:?
Command: 22d524 response:?
Command: 22d790 response:?
Command: 22d331 response:?
Command: 22d540 response:?
Command: 22d600 response:?
Command: 22dd10 response:?
Command: 22dd51 response:?
Command: 22dda9 response:?
Command: 22dfe1 response:?
Command: 22e140 response:?
Command: 22e164 response:?
Command: 22e240 response:?
Command: 22e264 response:?
Command: 22dd31 response:?
Command: 22dd40 response:?
Command: 22e464 response:?
Command: 22df51 response:?
Command: 22e579 response:?
Command: 22e051 response:?
Command: 22e110 response:?
Command: 22e151 response:?
Command: 22e6a9 response:?
Command: 22e700 response:?
Command: 22e740 response:?
Command: 22e779 response:?
Command: 22e2a9 response:?
Command: 22e3e1 response:?
Command: 22e9a9 response:?
Command: 22e4e1 response:?
Command: 22e604 response:?
Command: 22e664 response:?
Command: 22e900 response:?
Command: 22e901 response:?
Command: 22e931 response:?
Command: 22f104 response:?
Command: 22f219 response:?
Command: 22f401 response:?
Command: 22f424 response:?
Command: 22f300 response:?
Command: 22f304 response:?
Command: 22f440 response:?
Command: 22f579 response:?
Command: 22fd04 response:?
Command: 22fd09 response:?
Command: 22fd31 response:?
Command: 22fda9 response:?
Command: 22f904 response:?
Scanning finished
Command: 22fd09 response:?
Command: 22fda9 response:?
Scanning finished

z900
Member
Posts: 25
Post Re: Alfa 147 JTDm 16v
on: December 17, 2011 (GMT)

Ian ?

Any further ideas to get PID 215B and 215C working?

215B Air mass measured (X*0.5)-200 mg/injec.
215C Target air mass (X*0.5)-200 mg/injec.

piemmm
Administrator
Posts: 6629
Post Re: Alfa 147 JTDm 16v
on: December 17, 2011 (GMT)

Hi

When you had the 7F reply, was it 7F2111 or 7F2211 (and for what PID was that?)

For the 215B, you should just put 215B into the PID editor, (so your reply would be 7F2111 if it wasn’t supported. You’ll get 7F2211 if you put 22215B in instead (which would be incorrect for the list of PIDs you have given)

The scanner responded with ‘?’ which is a reply from the adapter meaning it didn’t understand the command sent. (this would be unusual as the commands sent are correct and may indicate the header was incorrect, or the adapter hadn’t connected to the ECU yet)

7Fxx11 means the ECU didn’t accept the PID you were requesting. This may well be the case for mode 22 requests for your paticular type of ECU. But what was the 7F response for Mode 21?

z900
Member
Posts: 25
Post Re: Alfa 147 JTDm 16v
on: December 18, 2011 (GMT)

Quote from admin on December 17, 2011
Hi

When you had the 7F reply, was it 7F2111 or 7F2211 (and for what PID was that?)

To be clear: the above response list was all I get from my
whole PIDScan !
And YES it was 7F2211 (that was the most seen result)

For the 215B, you should just put 215B into the PID editor, (so your reply would be 7F2111 if it wasn’t supported. You’ll get 7F2211 if you put 22215B in instead (which would be incorrect for the list of PIDs you have given)

I put this in the SET COMMAND button(!?) this afternoon and post the results here.

The scanner responded with ‘?’ which is a reply from the adapter meaning it didn’t understand the command sent. (this would be unusual as the commands sent are correct and may indicate the header was incorrect, or the adapter hadn’t connected to the ECU yet)

As I said: this were the only results that were displayed during the whole PIDScan and gave me the same result in my Email box.

7Fxx11 means the ECU didn’t accept the PID you were requesting. This may well be the case for mode 22 requests for your paticular type of ECU. But what was the 7F response for Mode 21?

Whats the difference for sending 215B or 225B ?
Sorry to be so rude and curious but I just want to know what Im doing to get some PIDS for my Alfa working.

piemmm
Administrator
Posts: 6629
Post Re: Alfa 147 JTDm 16v
on: December 18, 2011 (GMT)

Hi

225B is wrong for a mode 22PID as the format for mode 22 is 22XXXX not 22XX

215B is correct for a mode 21 PID as the format for mode 21 is 21XX

The 7F response you posted was for a mode 22 query, if you had posted a 7F21 then that would have been for a mode 21 pid, which is why I have asked the question what the full 7F response was for the mode 21 request (eg: 215B)

From that it should be able to tell if that PID is supported by the vehicle, as it’s that 7F response that tells us what the problem is (or if the vehicle module you are talking to supports it)

z900
Member
Posts: 25
Post Re: Alfa 147 JTDm 16v
on: December 18, 2011 (GMT)

Hi Ian,

OK thanks !

But the Torque PIDScan does/starts the whole scan with 22xx
by itselves !

How do I change that ?

PID 2150 (water coolant temp.) gives also 7F2211.
PID 0105 (water coolant temp.) gives the right result.

So why PID 2150 (specicial Alfa PID) gives no good result?
Is that caused by the header or protocol isnt right because of this specific PID?
Any other way to try ?

z900
Member
Posts: 25
Post Re: Alfa 147 JTDm 16v
on: December 18, 2011 (GMT)

Just the results:

2150: 7F2111
215B: 7F2111
215C: 7F2111

225B: 7F2211

z900
Member
Posts: 25
Post Re: Alfa 147 JTDm 16v
on: December 19, 2011 (GMT)

Ian ?

Pages: [1] 2
WP-Forum by: Fredrik Fahlstad, Version: 2.4
Page loaded in: 0.064 seconds.

  Follow me on twitter