From the course: Learning Arduino: Pulse Width Modulation
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Comparing DC motors, servos, and stepper motors - Arduino Tutorial
From the course: Learning Arduino: Pulse Width Modulation
Comparing DC motors, servos, and stepper motors
- When it comes to making things move, there are three solutions most makers turn to, DC motors, Servos, and Stepper motors. DC motors have two leads. One for power and the other for ground. The speed of the motor can be controlled with a pulse width modulated signal. When a DC motor is connected to an appropriate power supply, it turns the driveshaft. When the leads are connected in reverse, the motor runs in reverse. Some motors require more power to operate than the Arduino can provide. To run a more powerful DC motor, you may need to use a transistor. Transistors act as a bridge between the low power signal of the Arduino, and the higher powered signal used to turn the motor. Transistors listen for a signal from the Arduino, and when the signal is output the transistor completes the high power circuit to power the motor. An H bridge is type of integrated circuit that allows for the signal to be applied in both directions. An H bridge listens for multiple signals, and depending on…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Comparing DC motors, servos, and stepper motors2m 44s
-
(Locked)
Implementing basic servo control1m 30s
-
(Locked)
Controlling a servo with an analog input1m 18s
-
(Locked)
Controlling a continuous rotation servo with an analog input2m 6s
-
(Locked)
Controlling DC motor speed with an analog input and transistor2m 49s
-
(Locked)
Diving deeper into H bridge control3m 5s
-
(Locked)
Controlling a DC motor with an H bridge2m 30s
-
(Locked)
Challenge: Controlling a DC motor with an H bridge and potentiometer48s
-
(Locked)
Solution: Controlling a DC motor with an H bridge and potentiometer2m 27s
-
(Locked)
-