HIGH CURRENT MOTOR DRIVER H-BRIDGE MODULE IBT-2 MENGGUNAKAN ARDUINO
Driver motor type ini ,untuk teman2 yg mau kontrol motor DC yang High Current.Pada driver motor DC ini dapat mengeluarkan arus hingga 43A, dengan memiliki fungsi PWM. Tegangan sumber DC yang dapat diberikan antara 5.5V-27V DC,sedangkan tegangan input level antara 3.3V - 5V DC , driver motor ini menggunakan rangkaian full H-bridge dengan IC BTS7960 dengan perlindungan saat terjadi panas dan arus berlebih.
Tampilan Atas |
Tampilan Bawah |
- RPWM = Input PWM Forward Level ,Aktif High
- LPWM = Input PWM Reverse Level ,Aktif High
- R_EN = Input Enable Forward Driver, Aktif High
- L_EN = Input Enable Reverse Driver, Aktif High
- R_IS = Forward Drive ,Side current alarm output
- L_IS = Reverse Drive ,Side current alarm output
- Vcc = +5 V Power Supply Mikrokontroler
- Gnd = Gnd Power Supply Mikrokontroler
- W- = Di hubungkan ke Motor DC (V-)
- W+= Di hubungkan ke Motor DC (V+)
- B+ = Tegangan Input V+ Motor
- B- = Tegangan Input V- Motor
- Double BTS7960 high current (43A) H-bridge drivers
- Input voltage: 6V-27V
- Model: IBT-2
- Maximum current: 43A
- Input level: 3.3-5V
- Control mode: PWM or level
CONTOH PROGRAM
/******************************************************* Program : MOTOR DRIVER H-BRIDGE MODULE IBT-2 Chip : Arduino Uno Sumber : www.hessmer.org Modified : www.Labelektronika.com ********************************************************/ #define POTENSIO_PIN 0 // Pin Potentiometer A0 #define RPWM_PIN 5 // Digital Pin 5 Arduino Arduino #define LPWM_PIN 6 // Digital Pin 6 Arduino Arduino void setup() { pinMode(RPWM_PIN, OUTPUT); pinMode(LPWM_PIN, OUTPUT); } void loop() { // sensor value range 0 to 1023 int sensorValue = analogRead(POTENSIO_PIN); // reverse rotation if (sensorValue < 512) { int reversePWM = -(sensorValue - 511) / 2; analogWrite(LPWM_PIN, 0); analogWrite(RPWM_PIN, reversePWM); } else{ // forward rotation int forwardPWM = (sensorValue - 512) / 2; analogWrite(LPWM_PIN, forwardPWM); analogWrite(RPWM_PIN, 0); } }
1modul hanya untuk 1 motor ya mas ? thanks
BalasHapusiya mas, untuk module ini untuk Driver single untuk 1 motor,
BalasHapushello
BalasHapuscan you please send me diagram for bts7960 H-bridge without speed controller .since I am trying to control motors via Bluetooth on android mobile .my email is salimbakhsh@yahoo.com
just remove potensio meter and for adjust pwm with sensor value change with value
BalasHapusi am mechanical engineering student and its been week since I am looking to find way out .but didnt find any .if you email me the diagram with codes that would be very much helpful .i didnt even understand your point pwm adjustment .my email is salimbakhsh@yahoo.com
BalasHapusi am trying to control two bts7960 drivers with Bluetooth module hc05 on android phone
BalasHapusoriginal code :
HapusanalogWrite(LPWM_PIN, forwardPWM);
analogWrite(RPWM_PIN, reversePWM);
change :
forwardPWM and reversePWM with value 0-255 ,255 maximum high speed
BalasHapusvoid loop()
{
// sensor value range 0 to 1023
int sensorValue = analogRead(POTENSIO_PIN);
// reverse rotation
if (sensorValue < 512)
{
int reversePWM = -(sensorValue - 511) / 2;
analogWrite(LPWM_PIN, 0);
analogWrite(RPWM_PIN, reversePWM);
}
else{
// forward rotation
int forwardPWM = (sensorValue - 512) / 2;
analogWrite(LPWM_PIN, forwardPWM);
analogWrite(RPWM_PIN, 0);
}
}
change :
variable forwardPWM and reversePWM with value 0-255 from bluethooth ,255 maximum speed
thank you very much how about adding bluetooth hc06 code in given code ?
BalasHapushow to change analogRead(POTENSIO_PIN) to read pulseIn from rc receiver..
BalasHapusRC Receiver only module for receiver data, arduino receiver data 0-255 for adjust pwm motor
BalasHapusselamat malam, bisakah anda membantu saya? saya seorang mahasiswa yang sekarang sedang mengerjakan tugas akhir. saya terkendala dengan membuat sinyal sinus murni menggunakan h-bridge. bisakah anda memberikan sedikit saran untuk saya ?
BalasHapusterima kasih sebelumnya.
bang punya channel youtube gak ??kurang ngerti soalnya kalo cuman baca doang hehe
BalasHapusada :), tapi kontennya masih minim https://www.youtube.com/labelektronika
Hapuskalau reverse dan forward menggunakan push button rqngkqiqn menjadi seperti apa? dan codenya berubah bagaimana? terimakasih.
BalasHapustinggal gabungkan antara program ini dengan program baca tombol
HapusBikin tutorial mobil2an pakai dobel ibt2 pak.. pakai joystick...
BalasHapusBiar rame yutubnya
Terima kasih masukannya
Hapus