Author Topic: ELMDuino not reading PIDs correctly  (Read 924 times)

0 Members and 1 Guest are viewing this topic.

Offline bborisov567Topic starter

  • Regular Contributor
  • *
  • Posts: 100
  • Country: bg
ELMDuino not reading PIDs correctly
« on: October 11, 2022, 03:20:54 pm »
I am trying to read live data on my '01 clk200. ELM327 works correctly with the smartphone app. Also tested it through terminal and it works fine. I have it connected to Arduino uno and running the example sketch(it's on the github page of the library, linked below), just changing the respective functions. I tried intakeAirTemp() and i am getting 168, on rpm() i get 0 and when i try engineCoolantTemp() i get ELM_Timeout error, last picture is engineCoolantTemp() with debug turned on. Here is a link to the library github: https://github.com/PowerBroker2/ELMduino
 

Offline mikerj

  • Super Contributor
  • ***
  • Posts: 3294
  • Country: gb
Re: ELMDuino not reading PIDs correctly
« Reply #1 on: October 11, 2022, 08:50:56 pm »
Is the ELM actually connecting the the cars ECU? Have you tried checking the return value from myELM327.begin() to ensure it correctly initialised?
 

Offline bborisov567Topic starter

  • Regular Contributor
  • *
  • Posts: 100
  • Country: bg
Re: ELMDuino not reading PIDs correctly
« Reply #2 on: October 12, 2022, 06:14:39 pm »
Is the ELM actually connecting the the cars ECU? Have you tried checking the return value from myELM327.begin() to ensure it correctly initialised?

By default protocol is chosen automatically, so the elm should connect to the car.
The last picutre is with the debug mode on /myELM327.begin(2000, true)/. I usually get ELM_TIMEOUT response when the elm has trouble connecting to the car.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf