Posts: 1,900
Threads: 63
Joined: Jun 2019
Reputation:
42
Value sent by ELM327 is taken into formula and then displayed on gauge. 0105 is standard PID. Are you sure that your tablet is reading the same pid for temperature?
Posts: 1,900
Threads: 63
Joined: Jun 2019
Reputation:
42
08-30-2020, 09:55 AM
(This post was last modified: 08-30-2020, 10:33 AM by BlueWave.)
OpenAuto Pro follows the standard. Standard response for 0105 PID is one byte length and formula is A-40. It works for all cars that we tested. Please provide log file (/home/pi/.openauto/cache/openauto.log). Also please check if your ELM327 adapter does not require additional commands after startup. It can be adjusted via ObdAdapterStartupSequence parameter in config file.
Posts: 1,900
Threads: 63
Joined: Jun 2019
Reputation:
42
08-30-2020, 10:33 AM
(This post was last modified: 08-30-2020, 10:35 AM by BlueWave.)
It looks like ELM327 responds 7 for the pid query. 7 is often beginning of the ECU address (e.g. 7E0). It might be that ELM327 includes ECU address in 0105 response. Please try to change formula of the 0105 PID to (a * 0) + (b * 0) + (c-40) and post the result. However it should not include the ECU address when ATH0 command is present. Do you use genuine ELM327?
Posts: 17
Threads: 5
Joined: Dec 2018
Reputation:
0
I tried :
a-40 = Result = -30 in the screen
a*0 + (b-40) = -40 in the screen
a*0 + b*0 + (c-40) = -40 in the screen
a*0 + b*0 + c*0 + ( d-40 ) = -40 in the screen
The rest of the parameters works fine ( rpm , intake temp, load, etc ....) . I have a nice photo of it that can not post , it is 8MB
The protocol is ISO 9141-2 , Jaguar XK8 - 2000
I tried ATSP3, ELM327 Bluetooth but it did not work. Seems genuine but.....
The file openauto.log does not exist, no idea how to enable the log.
Thanks for your support in the troubleshooting !!!!
Posts: 1,900
Threads: 63
Joined: Jun 2019
Reputation:
42
08-30-2020, 12:37 PM
(This post was last modified: 08-30-2020, 12:57 PM by BlueWave.)
Logs should be enabled by default. You can try to quit OpenAuto Pro and run it directly in the console via autoapp command and provide us console output.
Edit:
It might be also worth to try increase ObdProbePeriod to e.g. 100-300ms and do the retest.
Posts: 1,900
Threads: 63
Joined: Jun 2019
Reputation:
42
08-30-2020, 04:08 PM
(This post was last modified: 08-30-2020, 04:15 PM by BlueWave.)
Looks like car returns nothing for 01 05 query. That is strange because 05 is on the list of supported PIDs. It would be good to check it with different adapter or check how mentioned Android app requests the 05 PID. OpenAuto Pro does it in exactly same way as the one described in ELM327 docs, but there might be something specific to the car.
Posts: 17
Threads: 5
Joined: Dec 2018
Reputation:
0
You are right. It seems specific to this car. I tried same configuration with a different car and works fine.
It is a Jaguar from 2000 and sends data , probably not according to the standard that Openauto does not understand and other clients yes.
I'll make further investigations about the data format that Jaguar undestand as "standard" and will let you know.
Anyway, thanks for the support given on Sunday. :-) . Your application is really nice.
Thanks