Software On ELM Street - OBD2 Software Development

Programs / Tools / Scripts
User avatar
Holden202T
Posts: 10394
Joined: Sat Feb 28, 2009 9:05 pm
Location: Tenambit, NSW
Contact:

Re: ELM327 Software Development

Post by Holden202T »

I have plenty more if you need them :)
VZ SV6 Logs.zip
(5.29 MiB) Downloaded 277 times
User avatar
Tazzi
Posts: 3552
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: ELM327 Software Development

Post by Tazzi »

Holden202T wrote:I have plenty more if you need them :)
The attachment VZ SV6 Logs.zip is no longer available
Brilliant!


Postman pat rocked up today with a lovely present... heres the CAN prototype. Fits perfect on an arduino pro mini. If all goes well, should be able to completely eliminate the need for 3 ELM cables and no more buffer full!! :thumbup: This should be more applicable/appropriate for when logging VE stuff.. Since I know things tend to go pretty quick there!
020.JPG
020.JPG (1.87 MiB) Viewed 4369 times
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
Tazzi
Posts: 3552
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: ELM327 Software Development

Post by Tazzi »

From what I can tell, the VE V6's also use CAN 11bit 500kb/s. I think. Alot of standrd requests as seen from the VZ controller are performed. I think there is a 11bit 250kb/s request that is made at the beginning. Bit then I get an error as its not fro a VE v6.

Also not sure if anything special is occuring over CAN29bit (I didnt see anything), but they quite possible be communication over GMLAN as well.
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
Tazzi
Posts: 3552
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: ELM327 Software Development

Post by Tazzi »

From EVAP menu:

Code: Select all

5E8 F7 80 00 00 00 13 33 FE
80= fuel trim learn  ENABLED at 80M Loop status B1S1 CLOSED at 08, B2S1 Closed at 10
00=evap purge solenoid where 20=12%, 10=6%  (1102)
0000=Fuel Level where 0100=4L (131D),0040=1L
FE=Fuel Level Sensor = 4.98v where FF = 5.0v



5E8 F8 00 00 80 80 C0 00 FE  
0000=Time Since Engine Off = 00:00:00 h:m:s
80=B1 Total Fuel Trim = 0% where 00 = -100%
80=B2 Total Fuel Trim = 0% where 00=-100%
C0=UNKNOWN
FE=UNKNOWN


5E8 F9 00 00 6E 00 00 FB 38  
0000=Engine speed (000C)
6E=Desired engine idle(11C9)
00=Coolant temperature (0005)
00= Startup ECT(116F)
FB38=Startup IAT(160A)

5E8 FA 00 FF 00 00 10 AB 38
00=Intake Air Temperature(000F)
FF=Engine Load(0004)
00=Calculated Pedal Position(131F)
00=Mass air Flow Sensor = 0.0v where FF=5.0v (142B)
10AB = Volumetric Efficiency (CONFIRMED 13B0)
38 = NOTHING
  
5E8 FB FF C0 80 80 00 00 00  
FF=Barometric Pressure (CONFIRMED 119D)
C0=UNKNOWN
80=B1 Short Term Fuel Trim (0006)
80=B2 Short Term Fuel Trim (0008)
00=Calculated Throttle Position (CONFIRMED 1493)
00=UNKNWON (not desired throttle position)
00=UNKNOWN


5E8 FC 0C 80 00 80 80 00 80  
0C=Fuel pump relay, ignition on ect (1107)
8000=B1 LTFT Idle/Deceleration (1377)
80=B1 LTFT Cruise/Acceleration(0007)
8900=B2 LTFT Idle/Deceleration(1378

5E8 FD 00 00 00 00 0A 0D 80
00=UNKNOWN
00=vehicle speed(000D)
0000=Engine Runtime(11A1)
0A=DTC set this ignition
0D=Desired Throttle Position (CONFIRMED 131E)
  
5E8 FE 00 00 00 00 00 00 00 
00=NOTHING ON ALL
I noticed I had a couple inconsistencies from my previous logs, Fixed those up and double checked the reoccuring PIDs in this menu to confirm what is what.

3/12 done.
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
Tazzi
Posts: 3552
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: ELM327 Software Development

Post by Tazzi »

From Fuel Trim menu.. almost all of the parameters are completed even before Iv started reversing! Looks like its only DPID 8,9 and A that I have to work on.

Code: Select all

7E0 10 0C 2C F6 11 02 11 04 , 1, 
7E8 30 20 02 34 7F 7F 7F 7F , 1, 
7E0 21 00 09 11 93 11 94 00 , 1, 
7E8 02 6C F6 00 00 00 00 00 , 1, 
PIDs 1102= DECL FUEL,CUTOFF, POWER ENRICHMENT ECT
1104= 
0009=B2 LTFT CRUISE/ACCELERATION
1193=INJECTOR TIME CYLINDER 1
1194=INJECTOR TIME CYLINDER 2

7E0 10 0A 2C F7 11 58 11 95 , 1, 
7E8 30 20 02 64 00 00 00 00 , 1, 
7E0 21 11 96 11 97 00 00 00 , 1, 
7E8 02 6C F7 00 00 00 00 00 , 1, 
PIDS 1158= 
1195=INJECTOR TIME CYLINDER 3
1196=INJECTOR TIME CYLINDER 4
1197=INJECTOR TIME CYLINDER 5


7E0 10 0C 2C F8 11 75 11 98 , 1, 
7E8 30 20 02 B0 00 6F C0 10 , 1, 
7E0 21 11 05 15 04 15 05 00 , 1, 
7E8 02 6C F8 00 00 00 00 00 , 1, 
PIDs  1175=
1198=INJECTOR TIME CULINDER 6
1105=EXTENDED TRAVEL BRAKE PEDAL SWITCH
1504=
1505=


7E0 10 0E 2C F9 15 24 15 25 , 1, 
7E8 30 20 02 7F 7F 7F 7F 7F , 3, 
7E0 21 14 93 11 46 14 94 11 , 1, 
7E0 22 49 00 00 00 00 00 00 , 1, 
7E8 02 6C F9 00 00 00 00 00 , 1, 
PIDs  1524=
1525=
1493=
1146=
1494=
1149=

7E0 10 08 2C FA 11 70 12 5A , 1, 
7E8 30 20 02 2C 00 45 79 E8 , 1, 
7E0 21 12 5B 00 00 00 00 00 , 1, 
7E8 02 6C FA 00 00 00 00 00 , 1, 
PIDs   1170=EVAP PURGE SOLENOID
125A=
125B=

7E0 10 0C 2C FB 00 0C 00 05 , 1, 
7E8 30 20 02 93 7F 7F 7F 7F , 1, 
7E0 21 00 0F 11 6F 16 0A 00 , 1, 
7E8 02 6C FB 00 00 00 00 00 , 1, 
PIDs  000C=ENGINE SPEED
0005=COOLANT TEMPERATURE
000F=INTAKE AIR TEMPERATURE
116F=STARTUP ECT
160A=STARTUP IAT


7E0 10 0C 2C FC 00 10 00 04 , 1, 
7E0 21 13 1F 14 2B 13 B0 00 , 1, 
7E8 02 6C FC 00 00 00 00 00 , 1, 
PIDs  0010=MASS AIR FLOW
0004=ENGINE LOAD
131F=CALCULATED PEDAL POSITION
142B=MASS AIR FLOW SENSOR
13B0=VOLUMETRIC EFFICIENCY

7E0 10 10 2C FD 11 9D 00 0E , 1, 
7E8 30 20 02 00 00 41 24 94 , 1, 
7E0 21 11 07 00 0D 12 B1 19 , 1, 
7E0 22 9A 11 A2 00 00 00 00 , 1, 
7E8 02 6C FD 00 00 00 00 00 , 1, 
PIDs  119D=BAROMETRIC PRESSURE
000E=SPARK ADVANCE
1107=FUEL PUMP RELAY ECT
000D=VEHICLE SPEED
12B1=CALCULATED THROTTLE POSITION
199A=ACTUAL GEAR
11A2=DTC SET THIS IGNITION

7E0 04 2C FE 11 A1 00 00 00 , 1, 
7E8 02 6C FE 00 00 00 00 00 , 1, 
PIDs  11A1=ENGINE RUNTIME

7E0 10 0C 2C F5 00 08 00 06 , 1, 
7E8 30 20 02 24 00 00 00 02 , 1, 
7E0 21 13 77 00 07 13 78 00 , 1, 
7E8 02 6C F5 00 00 00 00 00 , 1, 
PIDs  0008=B2 SHORT TERM FUEL TRIM
0006= B1 SHORT TERM FUEL TRIM
1377=B1 LTFT IDLE/DECELERATION
0007=B1 LTFT CRUISE/ACCELERATION
1378=B2 LTFT IDLE/DECELERATION
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
Tazzi
Posts: 3552
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: ELM327 Software Development

Post by Tazzi »

Code: Select all

1158= REQUESTED TORQUE Where 03=1%
1504= B1 CATALYST TEMPERATURE = 300degC at 0, 1=303degC
1505=B2 CATALYST TEMPERATURE = 300degC at 0, 1=303degC
1105=EXTENDED TRAVEL BRAKE PEDAL SWITCH, CATALYST PROTECTION MODE  ACTIVE at 01
125A= B1 AVERAGE INJECTOR TIME  0100=3.9, 0010=0.2
125B=B2 AVERAGE INJECTOR TIME
Any other PIDs are unknown, nothing changed in the tech2 menu at all.. weird there is a whole DPID frame that literally didnt get used.

4/12..
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
Holden202T
Posts: 10394
Joined: Sat Feb 28, 2009 9:05 pm
Location: Tenambit, NSW
Contact:

Re: ELM327 Software Development

Post by Holden202T »

pcb looks good :)

ok so heres a few more I have, few supercharged ve maloo logs, also a ve v8 manual ;)
maloo logs.zip
(700.52 KiB) Downloaded 327 times
User avatar
Tazzi
Posts: 3552
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: ELM327 Software Development

Post by Tazzi »

And from the Instrument Menu. I think this will be the last set of logs, since literally almost every other table utilizes all of these PIDs found already except maybe 1 or 2. Will continue on with getting this engine data stuff fully functional now since I now have PID sizes,units, min/max values ect. :thumbup:

Code: Select all

7E0 10 0E 2C FC 11 07 00 0D , 1, 
7E8 30 20 02 14 00 41 25 DC , 1, 
7E0 21 00 0C 19 9A 00 05 11 , 1, 
7E0 22 55 00 00 00 00 00 00 , 1, 
7E8 02 6C FC 00 00 00 00 00 , 1, 
PIDs   
1107=Ignition On Signal   ON at 08, Ignition Accessory Sign  ON at 10, 
000D=Vehicle Speed
 000C= ENGINE RPM
199A =UNKNOWN
 0005 = COOLANT TEMPERATURE
1155= FUEL LEVEL SENSOR (5v at FF)

7E0 10 0E 2C FD 13 2A 13 38 , 1, 
7E8 30 20 02 FC 7F 7F 7F 7F , 1, 
7E0 21 11 04 14 70 11 9F 11 , 1, 
7E0 22 06 00 00 00 00 00 00 , 1, 
7E8 02 6C FD 00 00 00 00 00 , 1, 
PIDs
132A=FUEL LEVEL (Litres)
1338=UNKNOWN
1104=Oil Level LOW at 80 (normal otherwise), Engine Oil Pressure Sensor LOW at 20 (high otherwise)
1470=ENGINE OIL PRESSURE =0Kpa, where 1 =4Kpa, 2=8kPa
119F=ENGINE OIL LIFE REMAINING=0%, where 2=1%,4=2%
1106=MALFUNCTION INDICATOR  ON at 40


7E0 10 0C 2C FE 11 01 11 00 , 1, 
7E8 30 20 02 7C 00 00 00 09 , 1, 
7E0 21 16 44 13 5F 11 54 00 , 1, 
7E8 02 6C FE 00 00 00 00 00 , 1, 
PIDs
1101=CRUISE CONTROL ACTIVE   YES at 08
1100=REDUCED ENGINE POWER at 10
1644=ECM Immobilized  YES at 02
135F=UNKNOWN
1154=Oil Temperature Sensor = -40degC at 0, -39 at 1
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
Tazzi
Posts: 3552
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: ELM327 Software Development

Post by Tazzi »

A bit more clean..
enginecleaned.PNG
enginecleaned.PNG (16.33 KiB) Viewed 4341 times
Im thinking just have a bunch of tabs that can have different gauges added to them. Ill also make it so the gauges created remain on next startup. And different protocols/cars can have different setups.

Not quite sure how Ill add in this data recorder.. will have to find a format thats easy to use, But itll be a bit difficult to replay.. as if the user doesnt have all the gauges used previously, then some of the data will not be displayed. I guess a simple textbox can be programmically created for each parameter which doesnt have a gauge developed.
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
Tazzi
Posts: 3552
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: ELM327 Software Development

Post by Tazzi »

Collection of all the PIDs found that will be used:

Code: Select all

0004=Engine Load
0005=Coolant Temperature
0006=B1 Short Term Fuel Trim
0007=B1 LTFT Cruise/Acceleration
0008=B2 Short Term Fuel Trim
0009=B2 LTFT Cruise/Acceleration
000C=Engine RPM
000D=Vehicle Speed
000E=Spark Advance
000F=Intake Air Temperature
0010=Mass Air Flow
1100=Engine Control Ignition On, Reduced Engine Power, Brake Lamp Switch
1101=Cruise Control Active
1102=Decel Fuel Cutoff,Power Enrichment,Loop Status B2S1 Closed,Loop Status B1S1 Closed,Fuel Trim Lean
1103=A/C Relay
1104=Oil Level,Engine Oil Pressure Sensor
1105=Extended Travel Brake Pedal Switch (Warnings),Catalyst Protection Mode, Transmission Gear
1106=Malfunction Indicator (Warnings)
1107=Ignition On Signal,Fuel Pump Relay On,Ignition Accessory Sign,Fan Relay 2 and 3, Fan Relay 1
1108=Transmission Gear Selected
1146=
1149=
1154=Oil Temperature Sensor
1155=Fuel Level Sensor
1158=Requested Torque
116F=Startup ECT
1170=Evap Purge Solenoid
1193=Injector Time Cylinder 1
1194=Injector Time Cylinder 2
1195=Injector Time Cylinder 3
1196=Injector Time Cylinder 4
1197=Injector Time Cylinder 5
1198=Injector Time Cylinder 6
119D=Barometric Pressure
119F=Engine Oil Life Remaining
11A1=Engine Runtime
11A2=DTC Set This Ignition
11C9=Desired Engine Idle Speed
1234=Distance Since DTC Clear
125A=B1 Average Injector Time
125B=B2 Average Injector Time
12B1=Calculated Throttle Position
12D9=Knock Retard
131D =
131E=Desired Throttle Position
131F=Calculated Pedal Position
132A=Fuel Level
1377=B1 LTFT Idle/Deceleration
1378=B2 LTFT Idle/Deceleration
1379=B1 Knock Sensor Signal
137A=B2 Knock Sensor Signal
13B0=Volumetric Efficiency
13B8=Knock Retard Cylinder 1
13B9=Knock Retard Cylinder 2
13C0=Knock Retard Cylinder 3
13C1=Knock Retard Cylinder 4
13C2=Knock Retard Cylinder 1
13C3=Knock Retard Cylinder 6
142B=Mass Air Glow Sensor
1470=Engine Oil Pressure
148D=Engine Control Ignition Voltage
1493=
1494=
1504=B1 Catalyst Temperature
1505=B2 Catalyst Temperature
1524=B1 Total Fuel Trim
1525=B2 Total Fuel Trim
1535=Calculated ECT-Closed
1536=Calculated ECT-Thermo
160A=Startup IAT
1640=
1644= ECM Immobilized
165F=
1661=
1664=
166F=
199A=Actual Gear
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
Post Reply