Error message

Notice: Trying to get property 'total_page_loads' of non-object in eval() (line 16 of /Sites/Drupal.Fossee.All.Sites/modules/php/php.module(80) : eval()'d code).

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