I have a 12V wiper motor connected to the DROK motor driver (https://www.droking.com/160w-2-channel-dc-motor-driver-module-positive-negative-pwm-speed-regulation-optocoupler-isolation-dual-h-bridge-motor-controller) powered by a 24V 10A power supply and controlled by an ESP32.
I have connected the motor directly to a 12V power supply (bypassing the motor driver) to test it, and it runs fine – pulling about 2A.
When the ESP sends HIGH to the EN pin and HIGH/LOW to the INPUTS, the motor stutters and does not spin. Measuring the current on the both the input and outputs of the driver shows that it is pulling less than 1A, thus not enough to power the motor.
Is this a faulty driver, or is there something else that I am missing?