Pulse Width Modulation

Link

Outline -

About Pulse Width Modulation

About duty cycle and frequency

Formula to calculate the duty cycle.

Experiment to control the brightness of LED by varying the duty cycle.

Experiment to control the speed and direction of a DC motor.

Circuit connection explanation of the above experiments and live setup of the connection.

Source code for the above experiments. Compile and upload the program.

Demonstration of the output.

Write a program to demonstrate the PWM feature of Arduino Uno.