What will happen to the motor if both its positive and negative polarity output high?


In this circuit, if I set Arduino Pin 5 and 6 to be high, seems that the motor on the right side will receive two high signals, then what will be its behavior?

Hi, @mendax1234
If both terminals of the motor are at the same potential, then no current will flow through the motor, so the motor will not rotate.

What it will do is have the effect of applying a braking effect to the motor, so it will not freewheel like if its terminals were not connected to anything.

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

Thanks! Understand! But what if I write High to the negative polarity and don't write anything to the positive polarity? It will spin in the opposite direction right?

Try it and find out.

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

1 Like

You can do this without an Arduino. Touch battery+ to one motor terminal.

HIGH and HIGH is not recommended, even though it has this braking effect. From DroneBotWorkShop: Driving DC Motors with Microcontrollers | DroneBot Workshop

The “brake” function applies current to hold the motor shaft in place. It can be useful for non-geared designs, but you should use caution as many motors can only withstand a few minutes of braking before they...

(the trailing ellipses is haunting)

That's assuming you are actively breaking... Rotating the motor or trying to rotate the motor or stopping momentum. If the motor isn't moving nothing will happen.

The positive polarity will be whatever you wrote last to it, so either the motor will rotate or not
From the datasheet:


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