Skip to content
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

Error in getting Multiple PID's #243

Open
Shaikh010 opened this issue Apr 14, 2024 · 6 comments
Open

Error in getting Multiple PID's #243

Shaikh010 opened this issue Apr 14, 2024 · 6 comments
Assignees
Labels
question Further information is requested

Comments

@Shaikh010
Copy link

Setup
I have used esp 32 wroom and car is basically suzuki vitara.

Error:
I have used single PID example and it works perfectly but when I use Multiple PID's example I am getting error ElmTimout error
screenshot is attached help me fix it kindly have studied all the issues but can't get my required one.
Anybody kindly help me out.
cap

@Shaikh010 Shaikh010 added the bug Something isn't working label Apr 14, 2024
@jimwhitelaw
Copy link
Collaborator

Which specific examples are you using? Note that "ESP32_Bluetooth_Serial.ino" uses Bluetooth for a single PID test and "multiple_pids.ino" uses HW Serial for the multiple PID test. So they aren't directly interchangeable with the same adapter.

@PowerBroker2 PowerBroker2 added question Further information is requested and removed bug Something isn't working labels Apr 17, 2024
@jimwhitelaw
Copy link
Collaborator

@Shaikh010, I have added a new example sketch that queries multiple PIDs using the same type of BT connection as the "ESP32_Bluetooth_Serial.ino" sketch. Not sure if that's the issue you're seeing, but it may help others in the future.

@Bakar002
Copy link

@jimwhitelaw I have esp 32 module and obd 2 sensor it is showing correct data when using single Pid function but it shows time out error when i use multiple pid example code .
i just simply need multiple pids like coolant temp, engine temp, speed, rpm, abs load etc how may i get this data ?

@jimwhitelaw
Copy link
Collaborator

@Bakar002 Are you using the multiple PID sketch I linked to above? If not, please post (with formatting) the sketch you are using and post the full serial/debug output to help us see what is happening.

@Bakar002
Copy link

@jimwhitelaw Have tried you new code why it is giving me wrong data and also give data in a very fast manner.Like when i connect it with esp 32 it connects but when it connects it gives serial data in a very fast manner and give wrong data

@jimwhitelaw
Copy link
Collaborator

@Bakar002 please post the serial output so we can see what's happening. A fast response isn't an indication that something is wrong, unless every query results in '?' or 'NO DATA'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants