Pages: [1]   Go Down
Author Topic: VHN2SP30 pullup question  (Read 408 times)
0 Members and 1 Guest are viewing this topic.
South East USA
Offline Offline
God Member
*****
Karma: 5
Posts: 655
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

on the data sheet, figure 4, it says the ENA & ENB must be externally pulled up.  And that is how it's done on Pololu's motor driver board.  All I've ever worked with previously is the L293D.  I usually pulled the enable pin low with a 10K, and then used a 330ohm from a digital pin on my Arduino to pull it high.  This would prevent the motor from running briefly at power up.  Can I do this same thing with these ENA & ENB pins to keep this motor driver from running at startup?
thanks.

VHN2SP30 datasheet:
http://www.pololu.com/file/0J52/vnh2sp30.pdf

Pololu motor driver board schematic:
http://www.pololu.com/catalog/product/706/resources

Logged

0
Offline Offline
Shannon Member
****
Karma: 215
Posts: 12455
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The Pololu board brings the enables out to the headers - its not clear if it has pull-up or pull-downs on board from the photo.

Yes, thats a good way to do it - use external resistor to define the state of the enable pin(s) while the microcontroller is booting up.
You only need one resistor, your 330 ohm is unnecessary for this purpose.

Adding a 1k or so resistor in line can be useful for protection purposes though - motor controller gets fried, resistor prevents the damage
spreading to the microcontroller.  Make sure the pull-up or pull-down wires to the micro-controller end of any protection resistor though,
avoids creating an unintended resistor-divider.
Logged

[ I won't respond to messages, use the forum please ]

South East USA
Offline Offline
God Member
*****
Karma: 5
Posts: 655
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks.
Logged

Pages: [1]   Go Up
Jump to: