How would I go about if wanted to drive a 10V DC motor with 5V logic, suuch as the one found by an Arduino, at different rotation speeds? Is there such thing as a motor driver that accepts an analog/digital value specifying motor speed?
Asked
Active
Viewed 670 times
0
1 Answers
2
The simplest way that I know is for you to use an H-bridge. It will take PWM to control the speeds, which is easily output by the Arduino. The only downside is that you will need two supply lines: One for the Arduino and one for the bridge. They can run off the same supply, you would just have to use a LM316 or similar to get the voltages you need.
TI has a common h-brigde: http://www.mouser.com/ProductDetail/Texas-Instruments/SN754410NE/?qs=AMJt07B76uuZ4Fb3eRjJ6A%3D%3D&gclid=CKDTkIj-mb4CFYtDMgodyjUAJA
NorseEngineering
- 74
- 3
-
but how exactly would the PWM output modulate the voltage into the motor? – joaocandre May 07 '14 at 14:13
-
@joaocandre You have to provide additional voltage source for motor supply. – Kamil May 07 '14 at 14:56
-
H-bridge is easiest way to control motor to rotate in both directions. For one direction just one transistor will be enough. – Kamil May 07 '14 at 14:58
-
@joaocandre The h-bridge has a signal pin that is on/off. You can run your PWM from your micro-controller or other source into this pin. It will then drive the motor at a variable speed dependent on your PWM. – NorseEngineering May 07 '14 at 15:41
That answer also includes a suitable circuit diagram with some of the important protections (except for the clamping
– Jon Watte May 05 '14 at 17:06