Hi,
I'm aiming to control the speed of a 12V DC motor using PWM via an IBT-2 (BTS7960) driver connected to an Arduino Uno and potentiometer. For my project I only need the motor to turn in one direction. Having researched this, I'm still slightly unsure how I need to connect the Arduino and driver for my requirements. Specifically, it's the RPWM, LPWM, R_EN and L_EN pins I'm struggling to understand.
To drive the motor in a single direction, would I connect L_EN and R_EN to digital pins and write them HIGH. Then connect the LPWM and RPWM to PWM pins on the Arduino - writing a PWM value of 0 to one and a value between 0 - 255 for the other?
Any help would be greatly appreciated.
Thanks
Michael
I'm aiming to control the speed of a 12V DC motor using PWM via an IBT-2 (BTS7960) driver connected to an Arduino Uno and potentiometer. For my project I only need the motor to turn in one direction. Having researched this, I'm still slightly unsure how I need to connect the Arduino and driver for my requirements. Specifically, it's the RPWM, LPWM, R_EN and L_EN pins I'm struggling to understand.
To drive the motor in a single direction, would I connect L_EN and R_EN to digital pins and write them HIGH. Then connect the LPWM and RPWM to PWM pins on the Arduino - writing a PWM value of 0 to one and a value between 0 - 255 for the other?
Any help would be greatly appreciated.
Thanks
Michael