How to I connect a motor driver bts7960 43a to a raspberry pi?

Hello @Grizzlyman!

I did a quick search on Google and I found some links that could help you:

Two cables are needed to supply the logic of the motor driver with 3.3V (VCC and GND). Two wires are needed to activate each H-Bridge with a high signal generated by the Raspberry Pi to set the spinning direction of the DC motor (R_EN / L_EN). The last two female-to-female jumper cables are needed feed the motor driver with a PWM signal to control the speed of DC motors (RPWM/LPWM).

https://www.raspberrypi.org/forums/viewtopic.php?p=1124139

  1. Connect the external power supply +/- to the numbers 2 and 1 respectively
  2. Connect the motor +/- to the numbers 3 and 4 respectively
  3. Connect both E and F letters (respectively reverse enable and forward enable) to 5V
  4. Send 5V to either G or H letter : sending 5V to G (i.e. reverse PWM) will cause the board to send -12V to the motor, and sending 5V to H (i.e. forward PWM) will send +12V

Note that some people have had issues using 3.3V so it would be preferable if you use an external 5V power supply.

I hope this helps

Let us know if it works :grin: