What if high signal on both IN1 and IN2 - Adafruit DRV8871

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
bongobing
 
Posts: 1
Joined: Fri Feb 03, 2023 7:03 am

What if high signal on both IN1 and IN2 - Adafruit DRV8871

Post by bongobing »

Hi
I'm considering buying the Adafruit DRV8871
As I understand the workings on the motordriver:
If I put 5V on IN1 and 0 on IN2 then a given polarity is on the motor input.
Then If I put 5V on IN2 and 0 on IN1 then the polarity on the motor input is reversed.

So let say I put 5V on IN 1 and 0 on IN2.
What happens if I then keep 5V on IN1 and also put 5V on IN2?
Will polarity on the motor stay the same?
Will this potentially break something?

The reason I'm asking this is because I'm considering contolling the high/low on IN1 and IN2 using a remote control with two buttons. The receiver has two relays which is controlled with the buttons. But - if accidentially I push both buttons and then activating both relays at the same time, it is important to understand how the Adafruit DRV8871 handle high signal on both IN1 and IN2.

User avatar
adafruit_support_bill
 
Posts: 88089
Joined: Sat Feb 07, 2009 10:11 am

Re: What if high signal on both IN1 and IN2 - Adafruit DRV8871

Post by adafruit_support_bill »

See section 7.3.1 of the datasheet: https://cdn-shop.adafruit.com/product-f ... rv8871.pdf

Setting both IN1 and IN2 HIGH will brake (not break) the motor.

The braking action is achieved by effectively shorting the two motor leads together. This feeds the reverse EMF generated by the motor back into the motor, slowing it down.

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”