Page 1 of 1

11 seconds to run my loop how do I get a faster refresh rate?

Posted: Mon Aug 26, 2019 8:28 am
by fastslash25
I have a 2012 audi a6 and I am using the obd2 uart v1 adapter, esp32, tft ili9341. I first ran my program with random numbers generated and its refresh rate was many times a second. Now that I have added the pids: rpm, map, and intake map in place of the random numbers my refresh rate is one loop every 11 seconds. I read online that people using the sparkfun adapter sent an AT0 or AT ST 01 command which changes the adaptive timing. What code do I need to add to tell my car to send pids faster?

Re: 11 seconds to run my loop how do I get a faster refresh rate?

Posted: Mon Aug 26, 2019 3:22 pm
by stanley
Some ECUs responds faster to PID queries while some reponds more slowly. Have you tried the simple OBD reading sketch?

Re: 11 seconds to run my loop how do I get a faster refresh rate?

Posted: Mon Jan 24, 2022 1:33 pm
by fastslash25
Sorry figured out my issue was that some of the data was encrypted due to my cars tune. After I selected only PIDS that returned values on my car it was working great.