How to connect 2 motors?

I have an esp8266. I am planning to have this esp8266 turn on 1 motor for 10 seconds. Then turn on a different motor for another 10 seconds. Should the transistor that turns the first motor and the transistor that turns on the second motor be connected to the same ground pin or different ground pins.

Always connect all the grounds.

Why was this post deleted?

Please post a hand draw circuit diagram, with pins, connections and parts clearly labeled, so that forum members can head off potentially disastrous errors. Here is a typical wiring diagram for a motor controlled by a logic level N-channel MOSFET transistor.

ALL the parts on this diagram have important functions, and none of them should be omitted!
Best to use a separate motor power supply, and don't forget to connect the grounds.

I have 1 npn transistor and 1 pnp transistor. I dont remember how to connect them properly. I have managed to figure it out several times. But i have a bad memory. I have used my esp8266 to turn 1 motor on, only 1. I have never tried to turn 2 on before. Should 1 connect 2 transistors to the same ground pin or different ground pins.

Use npn transistors switch the low side of the load. Compare the transistor max voltage with the motor power supply. Compare motor current with transistor max current. The logic level N channel MOSFETs usually handles more current.
Yes, one ground common to the controller and the motor power supply.
The npn transistor connects like: Base as the G, Collector as the D and Emitter as the S.The 180 Ohm should be 220 Ohm.

All grounds eventually meet, whether in your circuit or at the supply.

Might as well make the ground return path short and simple, nothing bad comes from that.

More importantly for high current paths its ground-return should run beside it all the way, as a twisted-pair ideally.

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