August 2018
Beginner to intermediate
214 pages
6h 39m
English
You can directly connect DC hobby motors to the PWM pin of a microcontroller to power them, but this is usually inadvisable: motors take up a lot of power and many microcontrollers limit the amount of current out of each pin.
A more advisable solution, which we will be using in this chapter, is to use an external motor controller; these usually contain the circuitry necessary to do more complex movement with your motors (such as allowing them to go backwards), and allow for an external power supply that provides the necessary power to your motors without drawing it from the microcontroller.
Read now
Unlock full access