I have problem controling my high power motor to the driver

hi, i have a final project coming up. but i stuck in this project. i need to connect 2, 12v 25A motor to the driver for electric wheelchair so they can move forward, reverse, and turn. i have bought 2 bts7960 driver for each motor but when i test it the motor cant work together at the same time. so i buy another driver which have dual channel output for motor and can hold 50A continous at 12v. i use a battery which have 12v nominal but actual is around 13.3v and max current of 100A and continous of 50A. however the motor have start peak current of 60A and 80A i think this is causing the battery to cut off so the motor can't start at the same time. i want to ask is there any way to limit the current output using pwm and increase it output current to 25A little by little ? thank you.

Hi Nathaniel,

welcome to the arduino-forum.
This forum can be of great help if your provide sufficient information.
It is very good that you quoted the type of motor-driver "bts7960" that you tried to use.

You are mentioning another driver without saying what exact type this is.
If the forum should help you you have to provide a download-link to the datasheet of that motor-driver that you are really using.

Your description sounds like you have coded a small testcode for testing. If this is true post the complete sketch as a code-section. Posting a complete sketch as a code-section is very easy if you use the automatic function for doing this in the Arduino-IDE
just three steps

  1. press Ctrl-T for autoformatting your code
  2. do a rightclick with the mouse and choose "copy for forum"
  3. paste clipboard into write-window of a posting

And it would be of great help if you describe how much experience you have with writing code.

It is completely OK to be a real beginner. Knowing the knowledge-level helps to adapt the text to your level of understanding.

best regards Stefan

Hello nathanielss, yes you can try to give a PWM signal out, this will limit the current. Check the analogwrite function.
analogwrite

Hi, @nathanielss
Welcome to the forum.

Can you please post a schematic of your project, include power supplies, component names and pin labels.

Thanks.. Tom... :smiley: :+1: :coffee: :australia:


driver : bts7960
microcontroler : esp8266
motor : 12v 25A
supply : battery 12v nominal, max output 100A continous 50A

1 Like

I have manage to move the 2 motor using this setup but the left motor turn faster and the right one slower. do you have solution for this problem ? also do i need to connect the vcc pin and ground pin from the driver to the microcontroller ?

Hi, @nathanielss
Can you please post an image of a drawn circuit, the Fritzy is hard to read and has poor layout.
Please include power supply, component names and pin labels.

Can you also post images of your hardware, so we can see your component layout?
What gauge wire are you using for the battery to motor circuit?

Thanks.. Tom... :smiley: :+1: :coffee: :australia:

1 Like

Sure i will post it tommorow because i left my project at the campus lab thx

That is usually the case, as no two motors are identical. To control the motor speed, use a shaft encoder to measure the speed, and adjust the PWM value as needed.

also do i need to connect the vcc pin and ground pin from the driver to the microcontroller

Wire the controller as shown in the controller manual.

i have manage to turn the 2 motor simultaneously. but the problem is they didnt draw much power from my battery. in total the motor should draw about 50A but when i check using clamp meter the total output only 24A do you have solution for this ?

@nathanielss
you seem to think that all kinds of problems do have a single-cause

This is surely not the case. Without providing much more informations the
"The solution to it all" would be writing a 1000 pages long tutorial covering a lot of aspects that might be relevant. Nobody will do this for you.

provide

  • an actual schematic
  • actual and complete sketch
  • if you tested the motors without a sketch provide a detailed description how you tested

some aditional hints
what metal is inside your wires? copper or aluminium?
what diameter do the wires have?
how long are the wires?
did you check if duty-cycle is really 100%? If yes how did you check it?
with a digital multimeter that can measure dutycycle?
with an oscilloscope?

1 Like

Tom... :smiley: :+1: :coffee: :australia:

sorry for the late reply but i already find a solution for this, thanks guys

What was the solution?
Other people may have a similar problem, your solution could help.
It will also help with closure of the thread.

Thanks.. Tom... :smiley: :+1: :coffee: :australia:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.