Before we proceed further to wire up our bot and do the programming, we will understand an important concept of PWM. In our project, PWM is used to control the speed of the DC motor.
So, what is PWM? PWM is a technique of generating an output signal from a digital source that behaves like an analog signal. It means that we can control analog circuitry or analog devices using a digital input source. This technique is used in a wide variety of applications like measurements, communication, and power control.
Let's first understand the difference between analog and digital signals.