driver BTS7960 with arduino uno

Hello Arduinos,

I'm quiete new to arduino and I'm working with it to get some of my artpieces into motion.
Now, I'm stuck because I've got a new driver "BTS7960" for a larger motor and I've no clue how to connect it.
There's some info on the net, but unfortunately only for complex functions and what i need is very basic, maybe somebody can help?

I' like the wiper motor to move only in one direction, and code a (eg. PMWA) stop-go- rhythm. No turning directions or increasing speed.
Does anybody know how to connect them and what the code must look like then? :o
I really appreciate any suggestions. Any questions please let me know.
Greets from Berlin,
Lisa

You haven't included any information on your driver board - the chip part number isn't enough!

hey Mark
yes you're right. sorry and thanks for replying.
i attached to images. I think the sketch I found there might work.
It is quiet a simple setup that i think I can try out. and then see it it works with my standard code ?

const int DIRA = 12;
const int PWMA = 3;
const int BRAKEA = 9;

void setup() {
digitalWrite(DIRA, 0);
pinMode(DIRA, OUTPUT);
digitalWrite(BRAKEA, 0);
pinMode(BRAKEA, OUTPUT);
digitalWrite(PWMA, 0);
pinMode(PWMA, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {

digitalWrite(PWMA, HIGH);
delay(15000);
digitalWrite(PWMA, LOW);
delay(6000);

FRV794BHUL8W14L.LARGE.jpg

The BTS7960 is a half-H-bridge chip. It takes an input (which is the PWM input as marked on the module)
and an enable input. There's also an analog current sense output.

So for H-bridge operation you need to have both enables high, and either PWM the Lpwm or Rprm for
controlling each direction. Setting the rpms both low will be a brake mode, there's no separate
brake pin.

With the enables low the motor will be undriven and will coast to a stop.

By pwm'ing the enable pin instead of the PWM pin you can probably do slow decay-mode

Hey Mark,
yes. exactly- I connected everything and my code didnt work. (:
But what you're writing I understand. i'll go from there and try again.Thanks a lot

I tried something very simple, but it's not doing nothing.
Any ideas?

int RPWM=5;
int LPWM=6;
// timer 0
int L_EN=7;
int R_EN=8;

void setup() {
Serial.begin (9600);
digitalWrite(5,HIGH);
digitalWrite(6,HIGH);
analogWrite(7,255);
delay(2000);
analogWrite(7,0);

digitalWrite(5,LOW);
digitalWrite(6,LOW);
digitalWrite(7,HIGH);
digitalWrite(8,HIGH);
}

Problem solved.
That code is actually working (:
Thanks for all the help

Ah good.

What is the code of the driver? We are also using this driver but got no idea how to start it in arduino. I search the net but has only basic functions. What we want in our code is for the motor to forward, backward, stop. Thanks.