Due to high demand expect some shipping delays at this time, orders may not ship for 3-4 business days. On MLK Day no orders will be shipped.
0

TB6612 breakout wiring for standby pin
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

TB6612 breakout wiring for standby pin

by MountainMan370 on Thu Dec 02, 2021 9:59 pm

I'd like to temporarily disable my Adafruit NEMA 17 stepper motors if they're not going to be actively moving for a while to reduce the overheating. I'm using them to move a linear table holding my camera so there may be several minutes between movement commands so the steppers are heating up while maintaining their current position. (I've added a heatsink with a built-in fan that helps a lot with the heating issue. ) I read some other posts regarding the use of the STBY pin but was a little unclear on its implementation so I'd like someone with more knowledge to check the following:
It looks like I can program its standby function using another digital pin connected to the STBY pin on the TB6612 and bringing it to a low state using "digitalWrite(STBY, LOW)" . Is this correct ? Another user reversed the LOW, STBY command but I think it should be (PIN, Value) which is why I'm checking. I did note that that to disable the standby state I should include a slight delay after bringing the STBY pin HIGH again before any movement commands.
Thank you for any guidance you can provide

MountainMan370
 
Posts: 26
Joined: Mon May 11, 2020 7:30 pm

Re: TB6612 breakout wiring for standby pin

by adafruit_support_bill on Fri Dec 03, 2021 7:04 am

It looks like I can program its standby function using another digital pin connected to the STBY pin on the TB6612 and bringing it to a low state using "digitalWrite(STBY, LOW)" . Is this correct ?

That is correct. There is a weak pullup resistor on board which keeps the outputs enabled by default. Pulling it LOW with a GPIO pin will put the chip into standby mode and shut off the output current to the motors.

I did note that that to disable the standby state I should include a slight delay after bringing the STBY pin HIGH again before any movement commands.

There are no timing constraints mentioned in the datasheet. But a slight delay should not hurt anything.

adafruit_support_bill
 
Posts: 82784
Joined: Sat Feb 07, 2009 10:11 am

Re: TB6612 breakout wiring for standby pin

by MountainMan370 on Fri Dec 03, 2021 7:47 am

Thank you !

MountainMan370
 
Posts: 26
Joined: Mon May 11, 2020 7:30 pm

Please be positive and constructive with your questions and comments.