Description:
This driver uses Infineon chips BTS7960 composed of high-power drive full H-bridge driver module with thermal over-current protection. Double BTS7960 H-bridge driver circuit, with a strong drive and braking, effectively isolating the microcontroller and motor driver! High-current 43A.
شرح :
Features:
Kit include:
1x 43A H-Bridge
Documents:
Mikroelectron Code:
/*
IBT-2 (BTS7960) H-Bridge Demo
ibt2-demo.ino
Demonstrates operation of IBT-2 (BTS7960) H-Bridge Motor Driver
This Code is from DroneBot Workshop to Test the Driver
we Advice You in Mikroelectron to Test the Driver using this code before operating
*/
// Motor Connections (Both must use PWM pins)
#define RPWM 5
#define LPWM 6
void setup() {
// Set motor connections as outputs
pinMode(RPWM, OUTPUT);
pinMode(LPWM, OUTPUT);
// Stop motors
analogWrite(RPWM, 0);
analogWrite(LPWM, 0);
}
void loop() {
// Accelerate forward
digitalWrite(RPWM, LOW);
for (int i = 0; i < 255; i++) {
analogWrite(LPWM, i);
delay(20);
}
delay(1000);
// Decelerate forward
for (int i = 255; i >= 0; i--) {
analogWrite(LPWM, i);
delay(20);
}
delay(500);
// Accelerate reverse
digitalWrite(LPWM, LOW);
for (int i = 0; i < 255; i++) {
analogWrite(RPWM, i);
delay(20);
}
delay(1000);
// Decelerate reverse
for (int i = 255; i >= 0; i--) {
analogWrite(RPWM, i);
delay(20);
}
delay(500);
}
/*
*/
|
Quantity |
---|---|
In stock
|