I\’m putting together a project for a car with remote control via BT. The traction and steering systems are composed by a DC motor with a L298 H Bridge module and a 9g micro servo motor with the ServoESP32-master library. I\’m having an incompatibility problem between the micro servo and the H bridge when I control the DC motor via PWM on pin EN1, with variable speed. In this case, the micro servo does not work. But, with each one of them working separately or, then, together but with the EN1 pin jumpered (fixed speed), everything works, Has anyone ever experienced this? Any suggestion? If so, I can send more details of the project assembly for evaluation. I\’m Brazilian and, considering that the portal\’s administrators are Portuguese, I can express myself in Portuguese, if that facilitates communication.
Hi.
Which PWM channels are you using to control the speed?
Which ESP32 board are you using?
Regards,
Sara
tks by return, Sara
Board: Doit ESP32 DevKit Rev1 (30 pns)
I´ve tried PWM channels:
Micro servo: 13
Bridge H: 14 for EN1; 27/26 for IN1/IN2
I have tried some anothers pins, following specifications for ESP32 board PWM pins.
In order to check if there was any connection misfunction, I got a prototype mounted on a breadbord. Unsuccessful.