Let's Make Robots!

Using 4 Motors?

Hi all, I've made my first robot using a picaxe 28x1 project board. This uses the L293D to drive my 2 motors (connected to a & b). My question is, if I wanted to power 4 motors from a robot, what would I need to do? Is this hardware capable, or should I be looking at something slightly different?

Also, I have a AXE230 PICAXE-08M Module...which says it can be attached to the board and enable the use of additional servos or other output devices, but does not specify motors.

Any advice is welcome, I've been through so many different websites and can't seem to put this together myself :(

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

The L293D has 4 output ports. You will be using two of these outputs to control four motors in total. You will need to connect the positive terminals of the motors together as well as the negative terminals together. The negative terminals will then be connected to common ground ( - ). The positive terminals will then be connected to one of the four outputs. Do this with the other side as well. Now I dont know exactly what your goal was but from my understanding you seem to only want the robot to move in one direction, which is what the above ideas are about. If you do want to have directional control try the schematic on page two of the L293D documentation. 


good luck with your project :)

This whole series/ parallel thing is incredibly important, you would do well in learning the concept over just "how to hook up these particular motors". You really, really need to find a tutorial that makes sense to you and get this one down. Like I said, there is 1000 tutorials out there for this --"series parallel tutorial" on the googles or the youtubes.

And yes, 2 wires per pin. Basically, connect a motor to say, Motor output A on the board like you normally would. Now do it again with the second motor (again, going to motor output A). It should NOT be motor_output_A-->first_motor-->second_motor-->motor_ouput_A   (this would be series, and it is not what you want) 

Gotcha, understood :) thanks for your help

You are correct, I misspoke, the L293D is good for 600mA, not the 800mA I said. Good catch. Everything else I said is good, I think. And yes, that is 600mA per channel (per side).

Well, it looks like your motors (when stalled) are already at the limits of this chip. This is of couse, if you stall them or run them very, very hard. I say go for it (and don't let them stall). Double up your motors, run the robot around for a minute or so and touch the L293D. If you burn your finger, it is too much juice. If we are talking warm or hot but not crazy hot, I would not worry about it. Worst case, you blow a motor driver --you are out $2 and 2 weeks to get a new one from ebay. No biggie.

Your motors will be wired in parallel. Parallel/ series is wicked important and there are 1000's of tutorials out there. In your case, you will now have 2 wires total going to each motor outputs on your board. 


Thanks again, can I just ask you to elaborate on the last point you said. I'm still a bit thick, but this is how I understand it, I currently have 2 wires from each motor (obviously lol) going into the board, one positive and one ground per channel. I will no doubt find a tutorial on wiring it parallel but are you saying that I WILL have 2 sets of wires per channel (ie, fixing 2 wires per pin?) rather than the one set of wires per channel?

Lastly, when wiring parallel, am I likely to have a reduction of power between the 2 motors in that circuit?

Just to be clear, you'll be running four motors, but only two independant channels. Two motors on each side of your robot will turn together, sharing a channel. 

The board has an A channel and a B channel. Each channel has two pins. So you could connect the + wire from the two motors on the left to one pin of channel A, and the - wire from the two left motors to the other pin of channel A. 

The right motors connect the same way to channel B. What I mean by the + and - wires of the motor is, make sure the two motors on the same side turn the same way when you connect them.

One other thing, some people have successfully soldered one l293d chip on top of another. Each leg of the chip on the top is soldered to the same leg of the chip on the bottom. This effectively doubles the current handling capacity.

The other chip Chris mentioned is the SN754410

One other thing, some people have successfully soldered one l293d chip on top of another. Each leg of the chip on the top is soldered to the same leg of the chip on the bottom. This effectively doubles the current handling capacity.

oh i like that - an entirely new concept i hadnt considered - parralel chipping


(Double Post)