Controlling 6 12V DC motors with arduino uno

Heyhey,

I want to control 6 motors with the arduino uno. The project has six wheels, three on both sides. I want to control the direction and the speed of the motors. I was thinking about using 2 H bridges, 1 for each side, and 1 PWM to control the speed. Is this possible or is there a better way to do this?

The idea was to use a 3s lipo accu

The motor:
https://nl.aliexpress.com/item/32358943700.html?spm=a2g0o.productlist.0.0.594e36bdlO7Zr9&algo_pvid=0d48e7a0-6eaf-46d4-ba0d-73525d97a13b&algo_expid=0d48e7a0-6eaf-46d4-ba0d-73525d97a13b-12&btsid=0b0a182b15851309193914247efe93&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_

Please help me.

Those motors look like they draw a lot of current. What kind of H bridge are you planning to use? I think it will be hard to find one that can safely drive 3 motors in parallel. Also in that configuration, if one motor stalls, all of them stall. You can feed the same PWM control to 3 H bridges simultaneously.

Most regular H-bridge chips can do one or two motors, and do up to 1-2A or so of continuous current. Above that, you'll need something with more discrete components. You definitely need one H-bridge per motor.

The page you link to produces more questions.
Brushless motor - and reverse direction just by changing polarity of power? Doesn't usually work that well. Or is it a brushed DC motor?
0-10 rpm - you want to add wheels? Gonna run very slow.
Why does it have five wires coming out?
What is the drive current? (there's a table with lots of motors but can't find the numbers given in the image in that table).
The page suggests there are controllers for that specific motor available.

A single PWM signal for six wheels is not going to do well. At least one signal for each side, to be able to control direction. Remember that for real world parts every motor reacts different to the same PWM signal; every wheel experiences different resistance; and every wheel will be running at a different speed. The differences are probably very small but big enough to throw your robot seriously off course.

This must be a class assignment, somewhere. The OP should search for the other thread relating to the same project. There is fundamental lack of thought in these posts. Like, I want to control the speed, but never decode on how to measure the speed.

Paul

Link is .nl, and the name is quite Dutch as well. Could be a class assignment, but at least in that case the OP will have plenty of time considering in NL all schools are closed for the time being.

wvmarle:
Link is .nl, and the name is quite Dutch as well. Could be a class assignment, but at least in that case the OP will have plenty of time considering in NL all schools are closed for the time being.

That makes sense! At least it keeps them out of trouble.

Paul

wvmarle:
Could be a class assignment, but at least in that case the OP will have plenty of time considering in NL all schools are closed for the time being.

But are they not going online? Can still have assignments - and deadlines - that way. :grinning:

Hi,
Welcome to the forum.

Please read the post at the start of any forum , entitled "How to use this Forum".
OR
http://forum.arduino.cc/index.php/topic,148850.0.html.

Can you tell us your electronics, programming, arduino, hardware experience?

If you look down the page of the motor link you sent it has a table of motors available with their electrical specs, which motor is yours and what does it say the Stall Current and Load Current are?

Thanks.. Tom.. :slight_smile:

Paul__B:
But are they not going online? Can still have assignments - and deadlines - that way. :grinning:

Dutch schools have by and large switched to online learning, though I wouldn't know how you'd teach this kind of projects online, for obvious reasons of tool & parts requirements.

If possible I'd love to know how, as I'm in that exact situation but then as a teacher - since early February in fact - and we're not even talking about complex builds like robots.