I have an ESP32 sending a PWM to vesc PPM (Spintend 100v U1) , ESP32 powered by VESC 5v . I use it as a cruise control when on ebike pedal assist. I am using the SolidGeek library to send data to a display. Everything works great except when accelerating the processor seems to slow down I can see the data sent to the phone while riding. All the calculations slow down. When testing the bike wheel off the ground, the data is as fast as lightning! So current seems to affect UART performance?
I tried using bluetooth UART with the Solidgeek library but port not receiving any data, I tried to have it read UART every 10ms or so, that makes it faster but getting other weird effect. has anyone used Solidgeek with bluetooth or even better, CANBUS?