Write a program to control an LED brightness by generating a PWM signal on PIC18 series microcontroller

Aim

Write a program to control an LED brightness by generating a PWM signal on PIC18 series microcontroller

Objective

  • To understand the working of PWM
  • To study the on-chip CCP Module (PWM section) of PIC Microcontroller
  • To interface DC motor, via Driver IC L293D, to PIC Microcontroller
  • Apply the PWM signal to control the speed of DC Motor