Changes between Version 1 and Version 2 of MotorControl
- Timestamp:
- Aug 28, 2015, 6:26:44 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MotorControl
v1 v2 5 5 Motors generally use electromagnets to generate physical motion such as rotating a shaft. Electromagnets typically require much more current than a micro-controller can source directly. To control motors, micro-controllers typically use a transistor as a valve; turning the transistor on or off requires a very small amount of current, but when turned on, the transistor can allow large amounts of current to flow through it to the motor. 6 6 7 DC motor controllers often use 4 transistors in an [https://en.wikipedia.org/wiki/H_bridge H-Bridge] circuit; this allows the motor '''direction''' to be reversed by swapping the direction of current flow through the motor. DC motor '''speed''' is often controlled using [http://www.electronics-tutorials.ws/blog/pulse-width-modulation.html pulse-width modulation] (PWM). In many cases, there are dedicated integrated circuits to provide this functionality such as [http://www.gearbest.com/other-accessories/pp_218079.html Arduino Motor Shields] .7 DC motor controllers often use 4 transistors in an [https://en.wikipedia.org/wiki/H_bridge H-Bridge] circuit; this allows the motor '''direction''' to be reversed by swapping the direction of current flow through the motor. DC motor '''speed''' is often controlled using [http://www.electronics-tutorials.ws/blog/pulse-width-modulation.html pulse-width modulation] (PWM). In many cases, there are dedicated integrated circuits to provide this functionality such as [http://www.gearbest.com/other-accessories/pp_218079.html Arduino Motor Shields]; and [http://playground.arduino.cc/Main/AdafruitMotorShield code libraries] to support them. 8 8 9 9 Working with motors involves many considerations including protecting the motors from overheating if they are working too hard (e.g. stalled), braking control, and using the motors efficiently. For more details about DC motor control see (see [http://www.4qd.co.uk/faq/motrat.html here])