Closed ReelHiJacker closed 1 year ago
I'm also driving a B20DTH and using successfully this lib on a ESP32. Check out my repo, maybe it helps:
@seb30 Thank you, i will try this... it looks a way better than my old lib... ;-)
My last change was adding a buzzer to acoustically notify about beginning and end of a regen.
@seb30 Your lib is working perfect, thank you very much. I tried it the first time when i was driving home and exact the moment i wan't to turn of the car it starts burning dpf free :-) So very usefull as i expected. Thank you very much for sharing!!
@ReelHiJacker So, this was just in time. I'm glad that I could help you.
I'm building a DPF Monitor based on ESP32 for my Opel Insignia with the help of this code https://www.instructables.com/Opel-DPF-Indicator-Monitor/ Because it did not work for me, i tried building a test sketch. When i'm using only rpm Data, i'm getting the right information. But when i add the parameter "soot level", i did not get any values.
So i checked Serial Monitor and this is what i get: After
Connected to ELM327
this is what Serial Monitor shows:Service: 1
PID: 12
Normal length query detected
Query string: 010C1
Clearing input serial buffer
Sending the following command/query: 010C1
Service: 34
PID: 13162
Long query detected
Query string: 22336A1
Clearing input serial buffer
Sending the following command/query: 22336A0
Received char: S
Service: 34
PID: 13162
Long query detected
Query string: 22336A1
Clearing input serial buffer
Sending the following command/query: 22336A0
Received char: \r
and then it get stucked an repeats over and over
Service: 34
PID: 13162
Long query detected
Query string: 22336A1
Clearing input serial buffer
Sending the following command/query: 22336A0
Received char: \r
So my next attempt was to check if the pid is correct, so i used your test sketch an this is what i get in serial monitor for the soot PID
22336A
62336A4C
So this seems to be correct, 4C is the right data what i want to see. So ELM327 is working.
And now i'm stucked and have no idea what is wrong...
And here is my code of course. I tried many things, and read every issue here in github, but don't know what is the problem. Hope you can help me. I also tried different baud rates, it changes nothing...