BTS7960 is a high-power drive full H-bridge driver module with thermal over-current protection
This is simple explanation on how to use the BTS7960 with the raspberry pi is a very simple task (i'm doing this to simplify your life)
In my case i have 2 bts7960 connected to the raspberry pi
VCC = 5v raspberry pi GND = GND raspberry pi raspberry pi pin mode is BCM
-
BCM pin (13) = Driver pin (R_EN)
-
BCM pin (6) = Driver pin (L_EN)
-
BCM pin (26) = Driver pin (RPWM)
-
BCM pin (19) = Driver pin (LPWM)
-
BCM pin (16) = Driver pin (R_EN)
-
BCM pin (12) = Driver pin (L_EN)
-
BCM pin (21) = Driver pin (RPWM)
-
BCM pin (20) = Driver pin (LPWM)