r/ElectricalEngineering • • 20d ago

BTS7960 Motor Driver Module No Response

I had ordered a BTS7960 Motor Driver Module, wired it together and got no output voltage over the two screw terminals M+/M-. Attached is a google doc outlining all information including wiring, tables with respective voltages, pictures of oscilloscope readings, and the code sent to the board. I had bought two modules and they both produce the same results, so I'm hoping this isn't just a case of (2) defective boards. Any ideas of further information needed please let me know!

Wiring Schematic:

Arduino Code :
int RPWM = 3;
int LPWM = 5;
int L_EN = 7;
int R_EN = 8;

void setup() {
  // put your setup code here, to run once:
  pinMode(RPWM, OUTPUT);
  pinMode(LPWM, OUTPUT);
  pinMode(L_EN, OUTPUT);
  pinMode(R_EN, OUTPUT);
  digitalWrite(L_EN, HIGH);
  digitalWrite(R_EN, HIGH);
}

void loop() {
  analogWrite(RPWM, 200);
  analogWrite(LPWM, 0);
}
BTS7960 Module Schematic and Pins for next page : 

|**Voltage (Relative to Arduino Ground)**	  

RPWM (Pin 1) |4.00V
LPWM (Pin 2) |0.00V
R_EN (Pin 3) |5.08V
L_EN (Pin 4) |5.09V
VCC (Pin 7) |5.10V
Ground (Pin 8) |0.00V

The following readings are of the RPWM side of the module,

Oscilloscope Reading of Pin 7 (VS) to Pin 1 (GND) :

Oscilloscope Reading of Pin 2(IN) to Pin 1(GND):

Picture of Screw Terminals for Output:

|**Voltage**	  

B-(gnd) to B+ |12V
B- (gnd) to M+ |0.00V
B+(gnd) to M+ |-11.38V
B+(gnd) to M- |-12.00V
M+ to M-(gnd) |0.00v Links to documentation:

https://www.infineon.com/assets/row/public/documents/10/57/infineon-bts7960-ds-en.pdf

https://www.handsontec.com/dataspecs/module/BTS7960%20Motor%20Driver.pdf

2 Upvotes

2 comments sorted by

1

u/DrJackK1956 20d ago

In your code setup, you've got both the L_EN & R_EN set High (Enabled).  Kinda tough trying to go left and right at the same time.   You've gotta choose one way or the other or neither.  But not both at the same time. 

Have you looked at the L_IS & R_IS signals?  They might give you a clue to the issue. 

The VS pin should be a steady DC signal.  Not a digital looking signal.  Do you have it (VS) connected correctly?

1

u/Anthonbird 20d ago

R_en and L_en, from what I understand, allow for the right side and left side of the H-Bridge to receive the PWM signals respectively. So having both of them enabled is mandatory to have the motors run.

The IS signals from what I read online tell you the current the motors are pulling, but I can't get a voltage across the output terminal, so I'm unsure if that would even give me anything at all, but I can try.

The VS pin is the one with a steady 5v signal, the "IN" pin with respect to ground is getting the PWM signal, which is the expected behavior from what I understand.