When I set it to run faster it just stops. I get a boot message and it starts again and works fine again until I turn up the speed.
What I don't understand is I thought the idea of the motor controller was to avoid these things interacting, ie the motor can draw power from it's battery, and same for the esp32. But it seems the more the motor draws the more likely the esp to reset.
I'm a decent enough programmer, but it's the hardware side I'm struggling with. I have seen advice about putting capacitors across the power input to the esp32. I might try that at some point it seems I would need two capacitors a 104 and a larger one. And some people mention a Schottky diode. I'd rather get it right first time

Any help appreciated.
Rob