Continuing from:
@Power_Broker I successfully connected my HC-05 module to the ELM and it is returning characters for the sample RPM code. It keeps receiving NODARP with a timeout detected with overflow of 0ms. What does that indicate? Thank you
Continuing from:
@Power_Broker I successfully connected my HC-05 module to the ELM and it is returning characters for the sample RPM code. It keeps receiving NODARP with a timeout detected with overflow of 0ms. What does that indicate? Thank you
I have split this tangential discussion off to a dedicated topic.
All good, thank you, would you by chance know the solution?
"NO_DATA" means either your car is refusing to communicate with your ELM327 or the PID you requested is not supported by your car. This isn't generally an issue with your code or the library. If your car was made in or before 2008, this might be the cause. Perhaps you're requesting a "strange" PID. And lastly, your ELM327 might be bad.
Thank you so much for the help @Power_Broker . I got it working!! Any advice on how to loop the example RPM code to get multiple values at once...I am trying to present it on an Arduino dashboard
This example should help. Glad you got the RPM working
you're such a goat. I'll look through it. Thank you!!
Do you think it would be possible to have two separate loops so that I can present data on an Arduino Iot Dashboard? The Arduino dashboard basically makes a void function for each variable and calls those functions in a main loop.
Admittedly the library is kind of wonky due to the archaic nature of the OBD2/ELM327 interface. Because of this, you have to isolate the processing associated with each query. You could, however, run the rest of your code asynchronously and simply update the display when one of your queries responds with new data. I'm guessing that's what you mean by "separate loops". To do this, you could add your display code to the end of the loop()
function in the previously linked example
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.