Open gangster-unicorn opened 5 months ago
Hi, thanks for testing it out! I've been developing on an ESP32-wroom myself, so differing hardware should not be an issue.
Regarding the freeze, it sounds like the watchdog is triggering for some reason. Previous times where I've had this happen it would crash and require a manual reset. You can try checking if this is the case for you by using a baud rate of 115200 and running until it crashes or freezes. Hopefully it will print a stacktrace showing what's wrong.
Hi, thanks for the fast response.
Somehow changing the baudrate to 115200 its not crashing anymore. thanks for helping me out! One more question, i notice that a lot of the time it does not register the rpm only the injection time. Is this expected behaviour?
My guess is that a lower baud rate causes printing along with the interrupts to starve the watchdog timer. Glad to hear that increasing it solved the issue! The calculation for RPM should work as long as the injectors are being measured properly. If the injection period changes at all between prints, that should be the case.
Thanks for all the help turns out i was using the wrong zener diodes 5v instead of 3v now everything works properly!
Im currently Testing this in on my old but trusted bmw r1200gs from 2004. I'm printing the readings via the Logstream function. Its looks like its reading the injector fine. When i give gas the L/h starts rising. But after about 1 minute of reading it looks like the esp32 crashes and i have to cycle the power to get it to start logging again. Any thoughts? I'm using the esp32 wroom