ibt_2 (bts7960)

Hi,

I have been working with my ibt_2 as a motor controller for my dc motor. it was working just fine but when i tried it again, it stopped working. Can someone tell me how to check which component of my ibt_2 is broken so i can try to change just that. The code that i have been running for a while is this;

int RPWM=10;
int LPWM=
int L_EN=7;
int R_EN=8;

void setup() {

pinMode(RPWM,OUTPUT);
pinMode(LPWM,OUTPUT);
pinMode(L_EN,OUTPUT);
pinMode(R_EN,OUTPUT);

digitalWrite(RPWM,LOW);
digitalWrite(LPWM,LOW);
digitalWrite(L_EN,LOW);
digitalWrite(R_EN,LOW);

delay(1000);
}

void loop() {
digitalWrite(RPWM,LOW);
digitalWrite(LPWM,LOW);
digitalWrite(R_EN,HIGH);
digitalWrite(L_EN,HIGH);
forward();

}

void forward(){
analogWrite(LPWM,50);
Serial.print("forward\n ");
}

Without links to that "ibt_2" and a schematic? Not a change...

Please read "How to use the forum" and add the missing pieces (including code tags). After 9 posts, reading that post is long overdue :wink: (Or to long ago :smiley: )