Thank you so much! Works great. I moved your test code and wiring over to a Raspberry Pi Pico and it works great. All I had to do was ensure to use same GPIO pins as the code. It worked perfectly with no issues. BTW, I am using a wheelchair motor at 24vdc. So far under no load, running non stop for an hour, the chips don't even get hot.
you are very welcome. would you please share the code on Google drive or somewhere so I can share it with other? many people might need it. The best thank you for me is to subscribe to my channel. thank you.
@@robojax Thanks again. I thought I replied already, but I don't see the comment. Here is a link to my video using your code: th-cam.com/video/kxGwZ1kxaq8/w-d-xo.html which also has a link in the description to my Google drive with your code. Here is also a link directly to the drive with your code: drive.google.com/drive/folders/1KXQD5Gj2zxjA9OD6UG3i-uvIzwmdMY55?usp=sharing
Thank you. I just found your comment. it was flagged as spam. Watched your video with Excellent demonstration. I have worked with Raspberry Pi and I assume the code should not work as it is in totally different format. But not sure about Pico. may be something has come which I don't know. Regardless, I am pleased that I have been helpful to one more person(s). Cheers.
@@4plus17 It seems to work just fine with the 3.3v PGIO from the Pico. I posted a link to my test set up here: th-cam.com/video/kxGwZ1kxaq8/w-d-xo.html That link also contains a link to the modified code, which lists the exact GPIO pins I used. But you can use any pwm pins you like.
Thanks for this wonderful analysis. I just bought one of these and you are absolutely right. The airgap between the driver and heatsink just doesn't allow it to get up to 30A. Thankfully my application only require 8 A max per motor so hopefully this driver will not get overloaded.
HI there, I hope you still read the comments to this video after all this time. Thank you for this video it is helping to use linear actuators to open the roof of my astronomy observatory, if I can get it to work. I am not sure what is wrong, if it is my BT2 controller, which is new, but the folowing happens when I run your basic code. It will only go in one direction, as defined in line 60 "motor.rotate(100,CW);// run motor with 100% speed in CW direction". it then misses the code until it speeds up and then slows down, again but only in the direction as defined in line 60. It keeps going until fully extended. If I then change the line 60 to read, "motor.rotate(100,CCW);// run motor with 100% speed in CW direction" and upload that sketch it retracts full speed, misses out the stops but runs the slow to full speed rampup, then runs full speed again until it is fully retracted. So it appears to be ignoring code to stop or to delay and will only accept the first instruction for the direction from line 60 and ignore the change of direction request. I have changed all the wires in case they were faulty but that made no difference. Your help and advice please. I do not know much about coding so I am very frustrated.
Very good information. To improve the thermal conductivity, the heat sink can be removed from the 2 screws and modified a little to reinstall it on top of the IC chips with longer screws. Now the heat sink can do a proper job of absorbing the heat and prevent thermal shutdown. A fan can also be used for optimal cooling.
Interesting idea, I have also seen comment of just adding thermal past. I just ordered 2 for a trolling motor project. I think I will need to run them in parallels. But after you comment I might try to add the other heat sink, and use them on both sides as an experiment.
@@ericbommer2280 I am also working on a trolling motor project and I've added thermal paste to mine, but I'm still not sure how well this is going to work
I have just made a temperature check of one of these modules, and I think that the current specifications given are far too optimistic. The right steady state current should be about 7 Amps. I use at test set up with the H-bridge in a four quadrant configuration with a motor and 24 VDC. Both sides are driven by 10 kHz, so the motor see a 20 kHz PWM signal. I then measured the temperature on the surface of the packet and on the heat sink. With a current of 7 Amp to a loaded motor I get 124 degr. C on the surface and 84 degr. C on the heat sink. You may choose to set two modules in parallel in order to increase the current and power, that you can handle.
Would u do another test on the power handling? Remove the heat sink and put it on top of the iC's . All you need are longer bolts . It fits beautiful. You may have to drill out the holes on the heat sink a tad to fit your longer bolts. I know its an old device. But i would bet there alot laying in junk boxes.
The heat sink could contact a soldermask free area connected with feedtroughs on that backplane of the board. It seems tha tthe footprint of that heatsink would fit on the component side without interfering with the other components tough. So i would try to switch its mounting and provide a small fan, mostly if the unit gets inclosed in a small water proof enclosure like it should if controlling an ebike or scooter. Thanks a lot for your diligent work on the spec sheets and circuit analysis.
Great video - very thorough and informative. Lots of useful information in the comments, and love that you are so responsive to questions. My question (which I didn’t find in any of the comments) is whether the amount of heat generated in the BTS chips is related to the PWM frequency being used, and also whether maintaining 100% duty cycle will create less heat. I note in your video that your code continually increases then decreases the duty cycle during your test. Thanks, and keep up the great work!
Hi, the datasheet we can see the maximum PWM frequency is 25kHz. I have not paid attention to the efficiency of module other than path resistance which is about 16mΩ. In the code the duty cycle changes but the frequency is fixed.
Unscrew the heat sink and screw it down onto the MOSFETs. Use a few small washers to pack it up so it doesn't crush the MOSFETs. That fixed the overheating issue with me. Little Chinboi designing these modules had know idea what he was doing.
I think best testing it under inductive load like dc motor to get real performance (switching losses) I always get your channel as reference for exploiting modules Thanks
Incredible full video and with a spectacular explanation of each point of the code as well as the circuit, thanks for the video, I will use the library in my project.
Hi Thanks a lot for the detailed explanation, i wonder how can we connect 2 BTS7960 to control 2 motors. is it possible to combine some pins. or we need 12 pins to control excluding power and ground.
Hi, I just added the code for 2 or more motors. See the link on page where you see the code. Good cluck and thanks for subscribing and sharing my videos.
yes sir i am used this BTs Below 13 Amps working fine after i increased motor capacity amps up to 28 its working only few seconds after that its automatically run (mean whenever i gave the BTS Input power supply from battery that time motor will run ) pls can you suggestion others driver with pwm type speed control?
You are welcome. I don't remember what was the voltage. but know I always explain the voltage. whatever is the voltage of the module, that is the motor voltage.
Great Video! Really informative and helpful. @Robojax can you please suggest its max current output with 24V? And the best way to cool down this module at its peak 33A. As I read its datasheet it will shutdown on over heating ? Have you tested it at which Temprature it goes shutdown. Thanks
Thank you Mathilda. I have not tested it with 30A but if you watch the video til end, I have included some test and didn't know how people like this module so I did not spend more time on it.
No problem I'm going to test it! Your video inspired me about the efficiency of module in cheap price. So I'm definitely going to re-test rigorously. Excited to learn something more about it. Thanks again for your detailed review must appreciated!
My pleasure! سلام علیکم، خرسندم مفید واقع میشود. مجرای(کانال) فارسی برای این منظور را فعال کرده ام و تازه یک بخش به آن اضافه شده است: اشتراک شما حمایت از من است. تشکر th-cam.com/video/9_8PRIjBfAY/w-d-xo.htmlsi=4qWn0mSdgEF0Gpvn
Very nice in depth tutorial? How do you use the current sensors? Would it be possible (and safe) to use two of these to drive old high current stepper motors? These motors are currently controlled with a custom unknown board, with 12V 10A, without PWA (square wave), the current fluctuates a bit but is nearly constant 10A. It is hard to find modern stepper motor drivers that output that current it seems. The motors don't have to turn fast, 90° per second is fast enough As a hobby project I would like to keep the battery and motors of this tennis ball machine, but replace it with my own hardware, as a fun way to finally learn electronics.
Thank you for great tutorials. Can the logic be powered by an external source instead of the arduino? And if so, would it be two wires to ground, one to the external power source and one to the arduino like you showed with the l298? I’m planning to use 3 bts7960 and a stepper motor driver in the same project but I’m concerned that it will be too many amps for the arduino. But maybe the enable pins and pwn would draw the same amps from the arduino even if I power the driver externally?
I have spent time make video on current sensor for Arduino motor shield (th-cam.com/video/-uQKBDTWHPM/w-d-xo.html), and it seems very few people showed interest. Now when I was writing the library for this, I did not pay attention to Current sensing because you might among the few who is looking into this. You can watch that video and I am sure you will learn how to use it for this as well.
Thank you for the work you did on this...Liked and subscribed and will most likely be joining you on Udemy. This worked like a charm on two harbor freight drill motors. I've got my DIY robot base performing simple movements with the aid of your tutorial and library.
Hi, thanks for the clear explanation! I am trying to use the example sketch on an ESP32 wireless module and get the message: "Error compiling for board ESP32 Dev Module.". I know that the analogWrite() function is not implemented in the ESP32, but I am not experienced enough to see if that could be the problem here. Could anyone provide me with some help on this one? Thanks!
Hi, this will not work with ESP32 as ESP32 has different PWM mechanism. I would have to write separate library for this module. or watch my video on ESP32 with Fading LED, I have explained it there.
I have now downloaded a fresh copy from here. I have connected the Arduino and made sure that it shows on the correct port. I have gone to Sketch>include library> Robojax... and then upload the file. I keep getting that the motor is not defined. I am sure that it is not the code but that my stupidity is the cause. Please assist in raising my intelligence by a few points please...
Will your library work with a esp32? Can it work with stepper motors? I can see that it might work with a eBike or scooter or CNC or high current servo, but can it work with something like a Segway or 6 wheel ATV or heavy lift quadcopter where the left and right sides are rotating in same or opposite directions at controlled speeds? Hope I can see some applications like listed above..
@robojax could I control 2 dc motors in forward direction by using both outputs to power motors with common ground. I.e set both enables to high, then pwm- l should drive motor1 and pwm-r should drive motor 2???
Yes you can. I have shown the diagram how motor's direction of rotation changes. if you don't change the direction , then you can use two motors. but I don't remember how I wrote the library to accommodate for that. you have to figure it out until I update the library which I don't know when.
I have got encoder motor with 6 cable. In order to work and take data from my motor, should I connect only 2 cable to my BT_2. I couldnt file zip file how can I find it?
Thank you for your tutorial. If I want to use multiple BTS7960 in parallel to power one single motor, what should I use to protect the motor and other BTS modules if one of them suddenly die while running full load? BTS is the most powerful DC Controller with PWM input I can buy from local store, so I have no other choice, except DIY.
you can do it using a current sensor like this th-cam.com/video/3C33DpcSwIw/w-d-xo.html when the current reaches certain value, you can stop it using a relay. I have video on rely and if your current is very high then use th-cam.com/video/9jwCc7uPGoc/w-d-xo.html up to 100A nad i you want to use stand-alone device without arduino, here it is is th-cam.com/video/a4b_A0ZDvwc/w-d-xo.html with relay you can turn OFF or ON any load. Good luck.
no. this module is sold like this and I wanted to test it as is. Spent almost a week to write library for it. this is the most powerful module for motor in this series.
Hi, Could you tell me how is the implementation of this controller with 16f877a pic microcontroller please? Is it possible to use this with 16f877a and do I need to write any PWM code to use it or I just send normal 1 and 0 logic outputs from pic to this controller to be able to use it?
Thanks for this tutorial. I am using the same BTS but I am controlling it with labview. I am able to control the speed in one direction, even though I have both R PWM and L PWM connected to PWM pins 3 and 9 respectively. on my arduino uno. L_EN and R_EN are both active (true). Then I turn on PWM, however both pins (3 and 9) makes the motor spin in the same direction. Do you have any idea why?
I have mentioned the minimum and maximum voltage which I don't remember now. if your battery is within the min and max voltage it should work. The power depends on the motor.
Hi, thank you for the detailed and informative video! I am trying to do a mini project which controls linear actuator and this seem to be able to work. Can you include a short guide on how to use the current sensing feature? It will be useful to perform some actions automatically if the current exceeds a certain threshold.
You can learn current sensing from this video for different module but you get the idea: th-cam.com/video/-uQKBDTWHPM/w-d-xo.html details have been mentioned on page 17 of datasheet: www.robotpower.com/downloads/BTS7960_v1.1_2004-12-07.pdf
Love the library and I currently have something working based on what you have shown. How would I expand the library you've included to have soft start and soft stop instead of just the hard stop you have now? Ideally I would have motor.rotate(5,CW); motor.easestop();
@@robojax Thank yo very much for your very prompt reply. But isn't the frequency of switching totally controlled by the program? A 100ms positive followed by a 100ms negative thru a transformer coil should be achievable?
Would the addition of freewheel diodes to your circuit improve thermal performance? My reason for interest in the BTS7960 is to assess its suitability in making a cheap robust inverter for solar panels. The intended transformer would be an MOT (suitably modified!!!)
this is totally different. L298N can handle only 2A this is made for 30A and I've tested it but forgot how much it could handle. it is like you want to travel with small Toyota or large truck. if you don't need the truck then get small Toyota.
@@robojax Do you know how significant can the voltage drops be ? the L298 is known for having up to 5v drop when handling 2A. I wonder how big is the drop with this one. I really need a high efficient driver for my application.
Hey, Proteus is very expensive and they don't have free version for that reason I don't have it and don't like the software. Now they should offer free version even with limited capability.
Hello. What happens when both Enable and both PWM pins are set to High at the same time? does anything burn up? or, does the module understand this is a bad input and doesn't turn anything on? thanks!
The video is very wekk thought out. Unfortunately I am trying to use an esp32 wroom 32 and it just won't work at all. Any suggestions would be welcomed.
Thank you for a very good tutorial - Just found this video and subscribed. Do you have any videos of using the IBT 2 to remote control DC motors and linear actuators?
Great video, i am trying to control 24V 15A motor using a BTS7960 module. it has burn out though...are you suggesting that it is because of the high current? it also started smoking after short operation.
Fine! That is for one wheel control. Maybee you have code for two motors (like wheelchair ) for grassmover? I have Arduino Nano3, 9V switcher trafo and two BTS7960 motor driver, two used motors are on the way too. Thank You, M
You are welcome. Yes you can. Watch this video and learn from it th-cam.com/video/27KjMfPH1dk/w-d-xo.html The best thank you for me is to not skippin the ads and Subscribe 🔔 to my channel, like 👍 the video and do not skip the ads.. It is greatly appreciated. 🔔 😊. I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe.😊 .
Thank you very much for useful video. What about to use a thermal paste between heat sink and board (and fill up the holes). Or attach heat sink directly on chips. Could it than withstand 30 amperes? I mean: is higher current only dependent on cooling?
whether 12V-40V10A DC Motor PWM Speed Control switch can be run directly through Arduino, or it require to run though BTS7960, Pls. Reply. Also, Pls. note, No Manual control switch is allowed for my work.
Thanks a lot for your Video. I have just one question, if you can help me. Regarding the PINs 5 and 6 (R_IS and L_IS), how it yours? Digital or Analogy information? If we have over current, the sign should be toogled (0 to 5V)? Thanks a lot
Hello, how do i use the low-side MOSFET inside the BTN8982 when the load (Motor) is connected to the Vs + supply (+24 Volts) and O/P terminal (tab and pin 4)? I'm using a PWM drive signal at the input of IN while INH is held high (logic +5volts)? The datasheet shows that to select either the high-side or low side MOSFET transistors inside the BTN8982 will mean that when the PWM signal is high (+5 volt level) then the high-side MOSFET will be on therefore shunting the motor which will act a brake, which is not efficient? Any ideas?
is it possible to use 2 of this driver with one microcontroler ? also can u limit the current output using pwm because i think it hit the peak current of the motor so my battery just cut off. thank you
To sue two of this, the code is on the resources page. For current I don’t remember what I said , if this chip has this capabilities, I should have mentioned it.
Hi, the voltage sources should be the voltage as the motor. it does not matter you get it from as long as the battery can supply needed current (power) to the motor it should be fine.
@@robojax yes i was able to do but can i run 5 motors invduals ? i mean each one have its own wiring , i want only to do forward not backward , can i use the 12 PWM to do that ? what would be the wiring , i have a very nice project and i want to be able even to run 10 motors from one DUE can i ? witout sharing leads ?> one motor after another start then stop
Hi there. Im in the process of building a sim racing wheel with force feedback. I have an old starter motor lying around and was wondering if the BTS7960 driver will be able to drive a high amp car starter motor for the feedback. A car has a 20 amp fuse for the starter and using this in game setup will never require the motor to go all the way up to max load. Some guidance would help whis this problem I have
Hi Ahmad, I have watched your video several times and have your test code working fine. My question is about the current sense pins. Are we getting a value from the motor controller anywhere for a current reading? I understand the main code, but don't fully understand the class (library?) and don't see where these pins are used. I know it has been a few years since you wrote this, but if you can shed some light on the current sense pins and usage, it would be much appreciated. Thanks!! Scott
Hi, I just checked the code and watch portion of the video to see what I have done. Because to measure the current we needed external resistor, I have not included that in the library. I opened the library and checked it there is nothing for current sensing. Sorry. if I see interest in this module a lot, I might try to make another video and show current sensing but as of now, it seems there is not enough people to encourage me to make new video on this. if someone pays me to write code and show how to measure the current and take action when current reached at certain value, I might consider working on it.
@@robojax Totally understandable. Thanks for taking a look. I think the current sense function would be useful, but not not required to do the things I have in mind. The reason I asked about it, is that I have been experimenting with a with simplified code from Saravanan AL and wiring the R_EN and the L_EN together to a single GPIO, and not using the L_IS or R_IS pins at all. This means that it only takes 3 GPIO per BTS7960. I am working on a 6WD rover, so this means a single Raspberry Pi Pico, can run all six motor drivers and still have some GPIO left over. So I was wondering if those extra pin connections were necessary, in order to save GPIO pins on the microcontroller. Thank you so much for all your educating on TH-cam.
hi Robojax, i have a big Motor RC car, L298N motor driver is not enough to drive the rear motors it gets really hot and it wont run when you put it on the ground, i bought a BTS7960. please teach me how to code and wire it to replace the old setup. thank you
Hi Christian, If you watch this video and follow the instruction, you can control any DC motor. I've made it very simple using the library. Try watching the video without escaping.
No it won't work. PWM on ESP32 is different than those of Arduino UNO or MEGA. In this video PWM is used with ESP32 th-cam.com/video/VCM6KMMvBfE/w-d-xo.html you may learn something from it. I would have to make video for this module to work with ESP32.
@@robojax thank you for the information I appreciate it. I'm working on a project so I figured out of work around which is simply to communicate with and Arduino over serial. Regards.
Si te refieres al chip del módulo, sí. Es requerido. Pero no recuerdo lo que dije ni lo que hay en este video. Así que confía en lo que dije en el video.
Hi Thank you for great video , can this library use for 2 Nos motors with PWN different pinouts ? , im trying to make a electronic wheel chair for disable person please help thank you
Hi, you are welcome. I have made library to you can use it for as many motor as you want. I just watched the video in order to reply to you. I have explained in the code that we create an "object" called "motor" from the library. if you want to use more than one motor, then create another object called "motor2" and repeat all the code replacing "motor. " with "motor2.". You may learn it from this video th-cam.com/video/c90NszbNG8c/w-d-xo.html. good luck.
I have a very simple question : Do the H-bridge draw current when it's not active ? I mean when you apply voltage across B+/B- but your not sending signals from Arduino. Mine is drawing around 0.15A just when I connect the power supply, I think it's broken
your question is not clear. if instead of 2 now 5 motor in parallel, as I said, you just need to prepare the MCU for one motor and connect the same wire to all motors. if you want to control more than one motor each separately, then see the link under the video or on the code page.
@@robojax let me rephrase it you showed how to do two motor what is the max number of motors can one card arduino can control ? Only forward is needed no backward needed if the arduino have 12 PWM pins that means I can do 12 motors or only 6 motors max ?
@@robojax if i dont want to run all in the same time the 5 motors i need each motor to have its own wires and control to be run one after another can we do 5 motors in one DUE arduino card ? and how
@@robojax if i have 5 motors can i run it one motor after another ? like you did with the 2 motors ? in this case which wires will be used on each of 5 IBT_2 and which 5 wires will be sued on the arduino ? or i need 10 PWM from the arduino ? bare in mind i only want to have the 5 motors doing forward only not backword
Dear, I have one question about this H-bridge. I really appreciate if you could help me, answering to this comment. The thing is that I need to use this H-Bridge for a project I'm developing to can control something at 40A continiously. The problem is that I don't understand how is possible that the connectros in this circuit can support 43A continiously. Everywhere in internet I read that this can work at this high current, but when I look to this small connector I think this can hardly resist it... I have some of this H-bridge and they work perfectly, but I never tried to use it at high current... Normally to can drive high current you need thick cable, but this thick cable doesn't fit in this small connectors...!! Another point: I have been reading in the side of this connector (marked in the green plastic) that this is designed for maximum 220VAC and 10A... So this is confirming a maximum current of 10A, isn't it?? I hope you can tell me something about it, probably you have more experience... Thank you so much in advance...! :-)
I happen you’ve watched the video as I don’t remember the numbers but I always try to put actual load . I am not sure if this is for 40A but if it is then yea the connectors are very small. Keep in mind the problem might be with the oxbow oaths rather than the connectors.
I have a 12v 150w motor dc (rs775) with stall current of 12.5A The problem is it can rotate one direction only and when changing direction the psu shut itself down So is the psu underpowered or the ampere surge doesnt supported by it? Psu is a 12v 16.5/15 A with max 192w supported(An atx psu)
Excelente explicacion y muy buena la prueba tecnica con valores en tiempo real. Felicitaciones !!! CUIDADO !!! El codigo tiene errores al compilar. El include no esta bien escrito.
I think that the ic's are counterfeit. I meassured the resistance of my BTS7960 board and the high side switch and has 775mOhm, the datasheet says 12,5 mOhm max!
@@robojax I connected the board with an electric load(set to 2A constant current) and meassured the voltage between vs (Pin 7) and OUT (pin 3). I meassured a voltage of 1,55V. According to ohms law -> R=U/I -> 1,55V/2A=0,775Ω Awesome Video, thanks for reading the comments!
you have no idea , how helpful you were to my career ,
one day soon , i will pay you back respectively , out of appreciation and sheer respect .
I am honored to be part your advancement in learning and growth in career. Stay safe. Thank you.
Thanks! This detailed step-by-step walk-through on how to operate the BTS7960 motor driver was exactly what I needed
Thank you so much! Works great. I moved your test code and wiring over to a Raspberry Pi Pico and it works great. All I had to do was ensure to use same GPIO pins as the code. It worked perfectly with no issues. BTW, I am using a wheelchair motor at 24vdc. So far under no load, running non stop for an hour, the chips don't even get hot.
you are very welcome. would you please share the code on Google drive or somewhere so I can share it with other? many people might need it.
The best thank you for me is to subscribe to my channel. thank you.
@@robojax Thanks again. I thought I replied already, but I don't see the comment. Here is a link to my video using your code: th-cam.com/video/kxGwZ1kxaq8/w-d-xo.html which also has a link in the description to my Google drive with your code. Here is also a link directly to the drive with your code: drive.google.com/drive/folders/1KXQD5Gj2zxjA9OD6UG3i-uvIzwmdMY55?usp=sharing
Thank you. I just found your comment. it was flagged as spam. Watched your video with Excellent demonstration. I have worked with Raspberry Pi and I assume the code should not work as it is in totally different format. But not sure about Pico. may be something has come which I don't know. Regardless, I am pleased that I have been helpful to one more person(s). Cheers.
The pi do Not have a 5V pin, have it?
Which pins do you use at the pi?
@@4plus17 It seems to work just fine with the 3.3v PGIO from the Pico. I posted a link to my test set up here: th-cam.com/video/kxGwZ1kxaq8/w-d-xo.html That link also contains a link to the modified code, which lists the exact GPIO pins I used. But you can use any pwm pins you like.
Thanks!
You are very welcome. Thank you.
Thanks for this wonderful analysis. I just bought one of these and you are absolutely right. The airgap between the driver and heatsink just doesn't allow it to get up to 30A. Thankfully my application only require 8 A max per motor so hopefully this driver will not get overloaded.
HI there, I hope you still read the comments to this video after all this time.
Thank you for this video it is helping to use linear actuators to open the roof of my astronomy observatory, if I can get it to work.
I am not sure what is wrong, if it is my BT2 controller, which is new, but the folowing happens when I run your basic code.
It will only go in one direction, as defined in line 60 "motor.rotate(100,CW);// run motor with 100% speed in CW direction". it then misses the code until it speeds up and then slows down, again but only in the direction as defined in line 60. It keeps going until fully extended. If I then change the line 60 to read, "motor.rotate(100,CCW);// run motor with 100% speed in CW direction" and upload that sketch it retracts full speed, misses out the stops but runs the slow to full speed rampup, then runs full speed again until it is fully retracted. So it appears to be ignoring code to stop or to delay and will only accept the first instruction for the direction from line 60 and ignore the change of direction request. I have changed all the wires in case they were faulty but that made no difference. Your help and advice please. I do not know much about coding so I am very frustrated.
Hi, please post your inside the loop code. Something is wrong.
I mean post it here by replying. I read all the comments regardless of the video. All on the same page.
I built the device successfully, congratulations!
Very good information. To improve the thermal conductivity, the heat sink can be removed from the 2 screws and modified a little to reinstall it on top of the IC chips with longer screws. Now the heat sink can do a proper job of absorbing the heat and prevent thermal shutdown. A fan can also be used for optimal cooling.
Interesting idea, I have also seen comment of just adding thermal past. I just ordered 2 for a trolling motor project. I think I will need to run them in parallels. But after you comment I might try to add the other heat sink, and use them on both sides as an experiment.
@@ericbommer2280 I am also working on a trolling motor project and I've added thermal paste to mine, but I'm still not sure how well this is going to work
Yeah, I think they are M3 screws, so I got longer ones and flipped the heatsink over with some thermal paste on top. It certainly should work better.
Would you provide an update after you have done this? Would be nice know if it's better
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.println("Thanks Robojax..Subscribed..");
delay(100);
}
I have just made a temperature check of one of these modules, and I think that the current specifications given are far too optimistic. The right steady state current should be about 7 Amps. I use at test set up with the H-bridge in a four quadrant configuration with a motor and 24 VDC. Both sides are driven by 10 kHz, so the motor see a 20 kHz PWM signal. I then measured the temperature on the surface of the packet and on the heat sink. With a current of 7 Amp to a loaded motor I get 124 degr. C on the surface and 84 degr. C on the heat sink. You may choose to set two modules in parallel in order to increase the current and power, that you can handle.
Love your videos. very professional presentations. Please increase the volume of your videos. thank you!
Thank you for liking. Sure I have. My videos have changed now checked them out th-cam.com/users/robojaxTVvideos
Nice video mate. Just ordered 2 of these things.. lets see if I can catch them on fire :)
Would u do another test on the power handling? Remove the heat sink and put it on top of the iC's . All you need are longer bolts . It fits beautiful. You may have to drill out the holes on the heat sink a tad to fit your longer bolts. I know its an old device. But i would bet there alot laying in junk boxes.
The heat sink could contact a soldermask free area connected with feedtroughs on that backplane of the board. It seems tha tthe footprint of that heatsink would fit on the component side without interfering with the other components tough. So i would try to switch its mounting and provide a small fan, mostly if the unit gets inclosed in a small water proof enclosure like it should if controlling an ebike or scooter. Thanks a lot for your diligent work on the spec sheets and circuit analysis.
very clear explanation english good enough for global thank you good job
You are welcome. I am glad you found it useful.
Great video - very thorough and informative. Lots of useful information in the comments, and love that you are so responsive to questions. My question (which I didn’t find in any of the comments) is whether the amount of heat generated in the BTS chips is related to the PWM frequency being used, and also whether maintaining 100% duty cycle will create less heat. I note in your video that your code continually increases then decreases the duty cycle during your test. Thanks, and keep up the great work!
Hi, the datasheet we can see the maximum PWM frequency is 25kHz. I have not paid attention to the efficiency of module other than path resistance which is about 16mΩ. In the code the duty cycle changes but the frequency is fixed.
Unscrew the heat sink and screw it down onto the MOSFETs. Use a few small washers to pack it up so it doesn't crush the MOSFETs. That fixed the overheating issue with me. Little Chinboi designing these modules had know idea what he was doing.
Yes a little extra work pays off. Thank you for sharing.
I think they assembled them incorrectly, hence they are so cheap..
I think best testing it under inductive load like dc motor to get real performance (switching losses)
I always get your channel as reference for exploiting modules
Thanks
Hi, I agree with the inductive load tests. cheers
Incredible full video and with a spectacular explanation of each point of the code as well as the circuit, thanks for the video, I will use the library in my project.
Glad you enjoyed it!
Hi Thanks a lot for the detailed explanation, i wonder how can we connect 2 BTS7960 to control 2 motors. is it possible to combine some pins. or we need 12 pins to control excluding power and ground.
Hi, I just added the code for 2 or more motors. See the link on page where you see the code. Good cluck and thanks for subscribing and sharing my videos.
yes sir i am used this BTs Below 13 Amps working fine after i increased motor capacity amps up to 28 its working only few seconds after that its automatically run (mean whenever i gave the BTS Input power supply from battery that time motor will run ) pls can you suggestion others driver with pwm type speed control?
Thank you so much for the video. It was very informative and helpful. I have a question. Can I connect a 24v dc Motor to this module
You are welcome. I don't remember what was the voltage. but know I always explain the voltage. whatever is the voltage of the module, that is the motor voltage.
Great Video! Really informative and helpful. @Robojax can you please suggest its max current output with 24V? And the best way to cool down this module at its peak 33A. As I read its datasheet it will shutdown on over heating ? Have you tested it at which Temprature it goes shutdown.
Thanks
Thank you Mathilda. I have not tested it with 30A but if you watch the video til end, I have included some test and didn't know how people like this module so I did not spend more time on it.
No problem I'm going to test it! Your video inspired me about the efficiency of module in cheap price. So I'm definitely going to re-test rigorously. Excited to learn something more about it.
Thanks again for your detailed review must appreciated!
You are welcome. your comment is appreciated. Good luck with your projects.
Hello @Mathilda, i want to know if you did the test with max current and if the module was promising
Thank you so much for your help I was stuck and you helped me. Subscribed!
Glad I could help! Than you.
Thanks a lot for the knowledge. You have given a code for multiple motors. Can we get a video on the wiring and equipment????
Wiring is shown in the video. Please visit resources page for more codes.
thank you so much for your incredible informations
My pleasure!
سلام علیکم، خرسندم مفید واقع میشود. مجرای(کانال) فارسی برای این منظور را فعال کرده ام و تازه یک بخش به آن اضافه شده است: اشتراک شما حمایت از من است. تشکر
th-cam.com/video/9_8PRIjBfAY/w-d-xo.htmlsi=4qWn0mSdgEF0Gpvn
Very nice in depth tutorial?
How do you use the current sensors?
Would it be possible (and safe) to use two of these to drive old high current stepper motors? These motors are currently controlled with a custom unknown board, with 12V 10A, without PWA (square wave), the current fluctuates a bit but is nearly constant 10A. It is hard to find modern stepper motor drivers that output that current it seems.
The motors don't have to turn fast, 90° per second is fast enough
As a hobby project I would like to keep the battery and motors of this tennis ball machine, but replace it with my own hardware, as a fun way to finally learn electronics.
Hard to explain in text. but you can get the idea from this video th-cam.com/video/-uQKBDTWHPM/w-d-xo.html
Can this be used with analog output from a PLC
In any case excellent tutorial ;-)
Thank you for not skipping the ads and keep watching them. This will help me a lot.
Thank you very much eng. Ahmad, your tutorials are much appreciated.
So nice of you
Thank you for great tutorials. Can the logic be powered by an external source instead of the arduino? And if so, would it be two wires to ground, one to the external power source and one to the arduino like you showed with the l298?
I’m planning to use 3 bts7960 and a stepper motor driver in the same project but I’m concerned that it will be too many amps for the arduino. But maybe the enable pins and pwn would draw the same amps from the arduino even if I power the driver externally?
excuse me sir, do you have a reference on how to use the IS pin? i want to use current sense BTN
I have spent time make video on current sensor for Arduino motor shield (th-cam.com/video/-uQKBDTWHPM/w-d-xo.html), and it seems very few people showed interest. Now when I was writing the library for this, I did not pay attention to Current sensing because you might among the few who is looking into this. You can watch that video and I am sure you will learn how to use it for this as well.
Thank you for the work you did on this...Liked and subscribed and will most likely be joining you on Udemy. This worked like a charm on two harbor freight drill motors. I've got my DIY robot base performing simple movements with the aid of your tutorial and library.
Awesome, thank you!
nice work ,thank you for your video
Thanks for watching!
Thank you for your effort Sir! It is so helpfull. I also added some button etc. Seems great thanks to you!
You are welcome. Here is $200 Arduino course for free Arduino Step by Step Course (over 100 lectures) Starts here robojax.com/L/?id=338
This is a great h bridge I use them all the time
Thank you for sharing.
I have tried whichever way to install the sketch to no avail. The Uno board outright rejects the script.
Hi, thanks for the clear explanation! I am trying to use the example sketch on an ESP32 wireless module and get the message: "Error compiling for board ESP32 Dev Module.".
I know that the analogWrite() function is not implemented in the ESP32, but I am not experienced enough to see if that could be the problem here. Could anyone provide me with some help on this one? Thanks!
Hi, this will not work with ESP32 as ESP32 has different PWM mechanism. I would have to write separate library for this module. or watch my video on ESP32 with Fading LED, I have explained it there.
whether 12V-40V10A DC Motor PWM Speed Control switch can be run directly through Arduino, or it require to run though BTS7960, Pls. Reply.
I have now downloaded a fresh copy from here. I have connected the Arduino and made sure that it shows on the correct port. I have gone to Sketch>include library> Robojax... and then upload the file. I keep getting that the motor is not defined.
I am sure that it is not the code but that my stupidity is the cause. Please assist in raising my intelligence by a few points please...
Will your library work with a esp32?
Can it work with stepper motors?
I can see that it might work with a eBike or scooter or CNC or high current servo,
but can it work with something like
a Segway or 6 wheel ATV or heavy lift quadcopter
where the left and right sides are rotating in
same or opposite directions at controlled speeds?
Hope I can see some applications like listed above..
it won't work with ESP32.
@robojax could I control 2 dc motors in forward direction by using both outputs to power motors with common ground. I.e set both enables to high, then pwm- l should drive motor1 and pwm-r should drive motor 2???
Yes you can. I have shown the diagram how motor's direction of rotation changes. if you don't change the direction , then you can use two motors. but I don't remember how I wrote the library to accommodate for that. you have to figure it out until I update the library which I don't know when.
@@robojax what is the purpose of the IC? Could Arduino not control driver IC through resistors without the IC?
I have got encoder motor with 6 cable. In order to work and take data from my motor, should I connect only 2 cable to my BT_2.
I couldnt file zip file how can I find it?
that needs separate code and video. this is library is without encoder.
Does the overtemperature shutdown function prevent it from "bloving up" if it gets to hot?
yes. Then why we should have it at first place. it is for protection.
Thank you for your tutorial.
If I want to use multiple BTS7960 in parallel to power one single motor, what should I use to protect the motor and other BTS modules if one of them suddenly die while running full load?
BTS is the most powerful DC Controller with PWM input I can buy from local store, so I have no other choice, except DIY.
you can do it using a current sensor like this th-cam.com/video/3C33DpcSwIw/w-d-xo.html when the current reaches certain value, you can stop it using a relay. I have video on rely and if your current is very high then use th-cam.com/video/9jwCc7uPGoc/w-d-xo.html up to 100A nad i you want to use stand-alone device without arduino, here it is is th-cam.com/video/a4b_A0ZDvwc/w-d-xo.html with relay you can turn OFF or ON any load. Good luck.
It would be a different story if you use a fan in front of the module to help sink the heat. have you tried testing it with cooling fan.
no. this module is sold like this and I wanted to test it as is. Spent almost a week to write library for it. this is the most powerful module for motor in this series.
THANK YOU VERY MUCH , I understand this motor drive perfect.
You are welcome!
@@robojax and your translation is Turkish good . :)
Very Informative Content!
I am glad you found it useful. Please subscribe. I appreciate it.
Hi, Could you tell me how is the implementation of this controller with 16f877a pic microcontroller please? Is it possible to use this with 16f877a and do I need to write any PWM code to use it or I just send normal 1 and 0 logic outputs from pic to this controller to be able to use it?
Hi, I am sorry. I am not familiar with 16f877a.
@@robojax Could you tell me where would I find information about this please?
Great information. Would it make sense to move the heat sink to the other side and clamp it down on top of the circuit components?
right now the chips are not couching the heatsink. you can come up with other method to cool it down. yes.
Thanks for this tutorial. I am using the same BTS but I am controlling it with labview.
I am able to control the speed in one direction, even though I have both R PWM and L PWM connected to PWM pins 3 and 9 respectively. on my arduino uno.
L_EN and R_EN are both active (true).
Then I turn on PWM, however both pins (3 and 9) makes the motor spin in the same direction. Do you have any idea why?
You are welcome. The best thank you for me is to Subscribe 🔔 to my channel and thumb up the video. It is greatly appreciated. 🔔 😊. Check wiring.
Thema you for your nice tutorial but I would have a question what kind of
battery do you use
I have mentioned the minimum and maximum voltage which I don't remember now. if your battery is within the min and max voltage it should work. The power depends on the motor.
Hi, thank you for the detailed and informative video! I am trying to do a mini project which controls linear actuator and this seem to be able to work. Can you include a short guide on how to use the current sensing feature? It will be useful to perform some actions automatically if the current exceeds a certain threshold.
You can learn current sensing from this video for different module but you get the idea: th-cam.com/video/-uQKBDTWHPM/w-d-xo.html details have been mentioned on page 17 of datasheet: www.robotpower.com/downloads/BTS7960_v1.1_2004-12-07.pdf
Love the library and I currently have something working based on what you have shown. How would I expand the library you've included to have soft start and soft stop instead of just the hard stop you have now? Ideally I would have motor.rotate(5,CW); motor.easestop();
How can I connect a radio remote controller with that, i Been struggling with that for long time coding is not my strong suit.
Can this driver be used to drive a transformer winding to produce a decent inverter?
No. The frequency of switching is very high and the (high current) transformer can’t be turned on or at this frequency.
@@robojax Thank yo very much for your very prompt reply. But isn't the frequency of switching totally controlled by the program? A 100ms positive followed by a 100ms negative thru a transformer coil should be achievable?
Would the addition of freewheel diodes to your circuit improve thermal performance? My reason for interest in the BTS7960 is to assess its suitability in making a cheap robust inverter for solar panels. The intended transformer would be an MOT (suitably modified!!!)
Hi, do you know why the wires get warm, the EM Is 36 v. 30 a. But I am just ussing 24 v 5 a, AND wires get hot.
Hi, 5A is not that much but how thick the wires are? put thicker wire.
How to know bts7960 is shutdown sir?? Or broken?? Because i have bts, when i use on my motor wiper, sometime bts not responsir,
it should respond unless wiring has issue.
@@robojax just sometimes sir, if i want the motor work again, i shouldbe shutdown my oc, and turn off my power supplay sir.
@@robojax after that turnon all again and work, but sometime will again like that sir
How good is this H bridge in comparison to others such as l298 which is known to have some voltages drops across the drive itself.
this is totally different. L298N can handle only 2A this is made for 30A and I've tested it but forgot how much it could handle. it is like you want to travel with small Toyota or large truck. if you don't need the truck then get small Toyota.
@@robojax Do you know how significant can the voltage drops be ? the L298 is known for having up to 5v drop when handling 2A. I wonder how big is the drop with this one. I really need a high efficient driver for my application.
Hey, great tutorial :), maybe i ask for to much, but could you help me to get the footprint or the library for proteus?
Hey, Proteus is very expensive and they don't have free version for that reason I don't have it and don't like the software. Now they should offer free version even with limited capability.
Does it handle 18 amps?
Hello. What happens when both Enable and both PWM pins are set to High at the same time? does anything burn up? or, does the module understand this is a bad input and doesn't turn anything on? thanks!
Hello, I believe I have explained it. Nothing bad will happen. It will for motor to stop.
Excellent video, however, I'm having issues downloading the BTS7960 library from the link in the description, please may you assist? @Robojax
You are welcome. I just downloaded the library without any issue. it is your network or internet.
The video is very wekk thought out. Unfortunately I am trying to use an esp32 wroom 32 and it just won't work at all. Any suggestions would be welcomed.
3.3V outputs from ESP.......
Thank you for a very good tutorial - Just found this video and subscribed. Do you have any videos of using the IBT 2 to remote control DC motors and linear actuators?
Great video, i am trying to control 24V 15A motor using a BTS7960 module. it has burn out though...are you suggesting that it is because of the high current? it also started smoking after short operation.
I am not sure why it smokes. Check the current. or may be install a fan to cool it.
Fine! That is for one wheel control. Maybee you have code for two motors (like wheelchair ) for grassmover? I have Arduino Nano3, 9V switcher trafo and two BTS7960 motor driver, two used motors are on the way too. Thank You, M
You are welcome. Yes you can. Watch this video and learn from it th-cam.com/video/27KjMfPH1dk/w-d-xo.html The best thank you for me is to not skippin the ads and Subscribe 🔔 to my channel, like 👍 the video and do not skip the ads.. It is greatly appreciated. 🔔 😊.
I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe.😊 .
Thank you very much for useful video. What about to use a thermal paste between heat sink and board (and fill up the holes). Or attach heat sink directly on chips. Could it than withstand 30 amperes?
I mean: is higher current only dependent on cooling?
Thermal paste or thermal transfer sheet should be used.
whether 12V-40V10A DC Motor PWM Speed Control switch can be run directly through Arduino, or it require to run though BTS7960, Pls. Reply. Also, Pls. note, No Manual control switch is allowed for my work.
Would 3.3V as VCC work as well as 5V? I'm thinking of controlling it with ESP32
I have provided the datasheet. I don't remember it. The link to the datasheet is where the code is.
Hi bengacz.
I am thinking of controlling it with ESP32 too.
Have you discovered something? Can it be used with 3.3V?
Thanks for the info
@@sergioro99 yes it can and it works good. I made child car on this
Thanks a lot for your Video. I have just one question, if you can help me. Regarding the PINs 5 and 6 (R_IS and L_IS), how it yours? Digital or Analogy information? If we have over current, the sign should be toogled (0 to 5V)? Thanks a lot
“How is yours?” Didn’t understand it
Hello, how do i use the low-side MOSFET inside the BTN8982 when the load (Motor) is connected to the Vs + supply (+24 Volts) and O/P terminal (tab and pin 4)? I'm using a PWM drive signal at the input of IN while INH is held high (logic +5volts)? The datasheet shows that to select either the high-side or low side MOSFET transistors inside the BTN8982 will mean that when the PWM signal is high (+5 volt level) then the high-side MOSFET will be on therefore shunting the motor which will act a brake, which is not efficient? Any ideas?
is it possible to use 2 of this driver with one microcontroler ? also can u limit the current output using pwm because i think it hit the peak current of the motor so my battery just cut off. thank you
To sue two of this, the code is on the resources page. For current I don’t remember what I said , if this chip has this capabilities, I should have mentioned it.
@@robojax can you share the link ? Thank you
Would it be possible to alter this to tune the motor RPM to musical notes?
for sure it is possible. I am not the music guy, but yes.
Hi, this is very interesting. But I have a question. Can I supply power with Accu Battery 12v for BTS or I need another hardware?
Hi, the voltage sources should be the voltage as the motor. it does not matter you get it from as long as the battery can supply needed current (power) to the motor it should be fine.
thanks ao much
what about if i have 2 motors and i want both to run and stop at the same time , what do i need to change in this code for 2 motors please ?
Just share both inputs if both modules .
I replied that o your question. You didn’t say anything if you were able to do it or not.
@@robojax yes i was able to do but can i run 5 motors invduals ? i mean each one have its own wiring , i want only to do forward not backward , can i use the 12 PWM to do that ? what would be the wiring , i have a very nice project and i want to be able even to run 10 motors from one DUE can i ? witout sharing leads ?> one motor after another start then stop
Thanks for the video. Do you think we can use 3.3 V logic from a raspberry pi for the PWM?
yes you can use
Keep on the Good work !
I will . Thanks.
Will this module run on a D1 mini? I need Wi-Fi integration into Home Assistant Preferably with ESPHome or alternately MQTT.
Thanks for the video
Yes it will. I just Used digital pin
Hello, your library is no longer available, do you have a different link to download it?
Hi there. Im in the process of building a sim racing wheel with force feedback. I have an old starter motor lying around and was wondering if the BTS7960 driver will be able to drive a high amp car starter motor for the feedback. A car has a 20 amp fuse for the starter and using this in game setup will never require the motor to go all the way up to max load.
Some guidance would help whis this problem I have
Hi,
I don’t remember the rating If this motor driver. See in the video if voltage and current is higher than your starter then use it.
Hi Ahmad, I have watched your video several times and have your test code working fine. My question is about the current sense pins. Are we getting a value from the motor controller anywhere for a current reading? I understand the main code, but don't fully understand the class (library?) and don't see where these pins are used. I know it has been a few years since you wrote this, but if you can shed some light on the current sense pins and usage, it would be much appreciated. Thanks!! Scott
Hi, I just checked the code and watch portion of the video to see what I have done. Because to measure the current we needed external resistor, I have not included that in the library. I opened the library and checked it there is nothing for current sensing. Sorry. if I see interest in this module a lot, I might try to make another video and show current sensing but as of now, it seems there is not enough people to encourage me to make new video on this. if someone pays me to write code and show how to measure the current and take action when current reached at certain value, I might consider working on it.
@@robojax Totally understandable. Thanks for taking a look. I think the current sense function would be useful, but not not required to do the things I have in mind. The reason I asked about it, is that I have been experimenting with a with simplified code from Saravanan AL and wiring the R_EN and the L_EN together to a single GPIO, and not using the L_IS or R_IS pins at all. This means that it only takes 3 GPIO per BTS7960. I am working on a 6WD rover, so this means a single Raspberry Pi Pico, can run all six motor drivers and still have some GPIO left over. So I was wondering if those extra pin connections were necessary, in order to save GPIO pins on the microcontroller. Thank you so much for all your educating on TH-cam.
I'm sorry, I have a question. Shouldn't the enable pin be output?
Yes of course it should be.
Excellent tutorial :-)
Thank you.
@@robojax Please add a circuit diagram next time.. By the way .. Excellent Work!!
its fine and cheap and that is good, but 6 pins to the Arduino its so much , what if I want to use three motors?
Yes Arduino mega which has over 50 pins
hi Robojax, i have a big Motor RC car, L298N motor driver is not enough to drive the rear motors it gets really hot and it wont run when you put it on the ground, i bought a BTS7960. please teach me how to code and wire it to replace the old setup. thank you
Hi Christian, If you watch this video and follow the instruction, you can control any DC motor. I've made it very simple using the library. Try watching the video without escaping.
Thanks so much for this.
You're very welcome!
I like your tutorial. I subscribed you, keep make a good tutorial
Good to hear that. Thank you for your subscription.
Interesting module. Thanks!
You are welcome.
Can this be driven with an esp32? Which I believe is 3.3 volts the data given on the Amazon listing did say a minimum of 3v I believe
No it won't work. PWM on ESP32 is different than those of Arduino UNO or MEGA. In this video PWM is used with ESP32 th-cam.com/video/VCM6KMMvBfE/w-d-xo.html you may learn something from it. I would have to make video for this module to work with ESP32.
@@robojax thank you for the information I appreciate it. I'm working on a project so I figured out of work around which is simply to communicate with and Arduino over serial. Regards.
Una preguntas, es necesario el 74AHC244?
Si te refieres al chip del módulo, sí. Es requerido. Pero no recuerdo lo que dije ni lo que hay en este video. Así que confía en lo que dije en el video.
im still confused .. how much its bear current cant this modul last 10 amper?????
Hi Thank you for great video , can this library use for 2 Nos motors with PWN different pinouts ? , im trying to make a electronic wheel chair for disable person please help thank you
Hi, you are welcome. I have made library to you can use it for as many motor as you want. I just watched the video in order to reply to you. I have explained in the code that we create an "object" called "motor" from the library. if you want to use more than one motor, then create another object called "motor2" and repeat all the code replacing "motor. " with "motor2.". You may learn it from this video th-cam.com/video/c90NszbNG8c/w-d-xo.html. good luck.
@@robojax thank you very much love from Sri Lanka !
I have a very simple question : Do the H-bridge draw current when it's not active ? I mean when you apply voltage across B+/B- but your not sending signals from Arduino.
Mine is drawing around 0.15A just when I connect the power supply, I think it's broken
You haven't subscribed to my channel. I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe.😊
@@robojax No
@@robojax I will check a correct guy who not bargain for subscribers
You want to get free. I have spent hours to write this library and you don't even spare single click. Really?
@@robojax I don't want yout library dude, you didn't even read my comment.. it was just a question, don't ask for subscribers
You can brake a motor with the BTS7960 PWM H and how it would be done
Stop is the brake. to coast you just set the speed 0. but brake is stop. see comments from @Whitney Design Labs
is it possible to run 5 motors from an arduino DUE ? or we need a multiplixer ?
your question is not clear. if instead of 2 now 5 motor in parallel, as I said, you just need to prepare the MCU for one motor and connect the same wire to all motors. if you want to control more than one motor each separately, then see the link under the video or on the code page.
@@robojax let me rephrase it you showed how to do two motor what is the max number of motors can one card arduino can control ? Only forward is needed no backward needed if the arduino have 12 PWM pins that means I can do 12 motors or only 6 motors max ?
@@robojax if i dont want to run all in the same time the 5 motors i need each motor to have its own wires and control to be run one after another can we do 5 motors in one DUE arduino card ? and how
@@robojax if i have 5 motors can i run it one motor after another ? like you did with the 2 motors ? in this case which wires will be used on each of 5 IBT_2 and which 5 wires will be sued on the arduino ? or i need 10 PWM from the arduino ? bare in mind i only want to have the 5 motors doing forward only not backword
Then use arduino mega
Dear, I have one question about this H-bridge. I really appreciate if you could help me, answering to this comment.
The thing is that I need to use this H-Bridge for a project I'm developing to can control something at 40A continiously. The problem is that I don't understand how is possible that the connectros in this circuit can support 43A continiously. Everywhere in internet I read that this can work at this high current, but when I look to this small connector I think this can hardly resist it... I have some of this H-bridge and they work perfectly, but I never tried to use it at high current... Normally to can drive high current you need thick cable, but this thick cable doesn't fit in this small connectors...!! Another point: I have been reading in the side of this connector (marked in the green plastic) that this is designed for maximum 220VAC and 10A... So this is confirming a maximum current of 10A, isn't it??
I hope you can tell me something about it, probably you have more experience... Thank you so much in advance...! :-)
I happen you’ve watched the video as I don’t remember the numbers but I always try to put actual load . I am not sure if this is for 40A but if it is then yea the connectors are very small. Keep in mind the problem might be with the oxbow oaths rather than the connectors.
@@robojax Thank you for your answer! Could you tell me what does it mean Oxbow oaths?
I have a 12v 150w motor dc (rs775) with stall current of 12.5A
The problem is it can rotate one direction only and when changing direction the psu shut itself down
So is the psu underpowered or the ampere surge doesnt supported by it?
Psu is a 12v 16.5/15 A with max 192w supported(An atx psu)
Hi, it seems your wiring is incorrect (I assume your motor has no issue changing the direction). and I assume you have not changed the code.
@@robojax no i dont think its the problem as its the psu that shut itself down
Excelente explicacion y muy buena la prueba tecnica con valores en tiempo real. Felicitaciones !!!
CUIDADO !!! El codigo tiene errores al compilar. El include no esta bien escrito.
Gracias. por favor proporcione el error exacto para que pueda ayudarlo. Si descarga la biblioteca, no hay ningún error a menos que cambie el código.
I think that the ic's are counterfeit. I meassured the resistance of my BTS7960 board and the high side switch and has 775mOhm, the datasheet says 12,5 mOhm max!
how did you measure it?
@@robojax I connected the board with an electric load(set to 2A constant current) and meassured the voltage between vs (Pin 7) and OUT (pin 3). I meassured a voltage of 1,55V. According to ohms law -> R=U/I -> 1,55V/2A=0,775Ω
Awesome Video, thanks for reading the comments!