From the course: IoT Foundations: Operating System Applications
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Use pulse-width modulation (PWM) signals for motor control
From the course: IoT Foundations: Operating System Applications
Use pulse-width modulation (PWM) signals for motor control
- [Instructor] Let's look at the motors which are broadly used actuators in robots, drones, and industrial systems. A motor can be virtually driven by any microcontrollers. While there are many kinds of them, using Pulse-Width Modulation PWM is a common way for embedded systems to control the motors and other power assistance. The PWM signals are nothing but a modulated signal, a series of on and off pulses with varying duty cycles. Let's see how it works. Suppose we have a connected robot with some wheels controlled by a few DC motors. The rotational speed of a DC motor is controlled by the magnetic fields which can be controlled by the PWM signals. Each motor can simply make a wheel move forward or backward in various speeds. A combination of motors can make a robot do complex movements such as making left or right turns at different angles. Through the PWM signals, to control the driver module of the motor, the on pulses indicate the high voltage applied to the DC motors while the…
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.