Arduino mega 6 dc motors

Hey,I have a arduino mega R3 I want to control 6 dc motors in clockwise and anti clockwise directions. I wanted to know if I can connect a l293d motor shield on top of the arduino mega and then I will be able to control 4 motors so then I’m thinking to connect a l298N H bridge but I don’t know how to connect both of them on one arduino mega

Moved your topic to it's current location as it is more suitable.

Could you take a few moments to Learn How To Use The Forum.
Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum in the future.

Rather than a shield, why not get small, cheap L298N driver boards (each can control 2 motors) and then wire them directly to the Mega?

Hi,
What are the motor specs?
What do you aim to use to power the motors?

The L298 is a bit of a dinosaur for controlling motors these days.
It uses BTJ and drops about 2V when conducting.
You wold be better looking for MOSFET type H-Bridge modules.

Tom... :slight_smile:

So I can use 3 l298N with arduino mega?

blh64:
why not get small, cheap L298N driver boards

How about… because modern TB6612FNG boards are much more power efficient (little to no voltage drop), smaller (no heat sink, just a flat SMD chip on a small PCB), can handle over 1A without heating up significantly and cost about the same as the old L298N ones?

I HAVE A ARDUINO MEGA I WANTED TO CONTROL 6 MOTORS CLOCKWISE AND ANTI CLOCKWISE 2 ARE 3-6v 140ma 6KPM AND 4 TT DUAL SHAFT MOTORS A LOT OF PEOPLE SAY TO USE 3 L298N SO I WANTED TO KNOW IF IT POSSIBLE TO USE 3 L298N IF NO THEN HOW CAN I CONTROL THE MOTORS?

WHY ARE YOU SHOUTING?

You’ve already had several people tell you, yes you can. What did you not like about those answers?

Steve

Just remember to get a 8-9V power supply with them to compensate for the losses incurred in that H-bridge.

I believe one reason the old L293/L298 modules are still popular is ease of connection, look at a typical L298 module, screw terminals for power and motor connections and pins for push-on signal wires, no
breadboard or soldering needed.
If someone made this module with a TB6612, it would be a hit.
61+1VbXcykL.AC_UL320_ML3.jpg

61+1VbXcykL.AC_UL320_ML3.jpg

JCA34F:
If someone made this module with a TB6612, it would be a hit.
61+1VbXcykL.AC_UL320_ML3.jpg