-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supported PIDs decoder #34
Comments
Thanks for the code @patfelst ..how did you declare |
I probably should have mentioned I created a new class called For the above code snippet, just replace:
|
Hi again, I've some requests to give write access to the google spreadsheet. Sorry but I'm not giving public write access to it for obvious reasons, but you should be able to make a copy of it under menu "File/Make a copy" or download as an Excel file. |
Hello! I am writing through a translator.
Need to process this line: Initialization commands:
I managed to fix the initialization. But the data cannot be processed |
Hello, I am trying to read obd data from the Toyota Quantum 2.7 GL 14 seater bus. But I haven't been successful. Bellow is the results that I get when I run the code above. `Supported PIDs: 0120 Supported PIDs: 0140 Supported PIDs: 0160 Supported PIDs: 0180 Supported PIDs: 01A0` I received the following output when I requested 0100
Is there a way to get the obd readings? |
In Issue #33 somebody was wanting to use a PID which happened to be unsupported by their vehicle. To get a list of PIDs supported by your vehicle, run this code. I have this function in the main loop().
Note that the command "ATCRA" turns off the filter which prevents responses from the second ECU (with response address 7E9) in my car. If this is left on, you get duplicated responses to some PIDs (as your code deals with).
FYI to apply the filter to prevent responses from the 7E9 ECU, issue this command during initialize:
send_command("ATCRA7E8"); // Set CAN hardware filter to receive from address 7E8 only
Sample output from a 2019 BMW is:
And then paste the above output into this google spreadsheet I put together. It's not that pretty in terms of user input....but anyway, put it in cell J16 (the black cells). Then edit cell B15 to point to the group of 32 PIDs you're interested in. Or alternatively, just paste a single line response into Cell J16.
https://docs.google.com/spreadsheets/d/1R2C8_kY6fuFpd4JJyIrWOXqAQGgxm2MHYHXRt3qiKCc/edit?usp=sharing
Where column E says "Yes" it means that PID is supported by the vehicle.
The text was updated successfully, but these errors were encountered: