Introduction and preview of the course
  • Introduction and preview of the course
Introduction to PIC18FXXX Microcontrollers
  • History of PIC Microcontrollers
  • Selection Criteria of Microcontroller
  • Features of PIC18F Microcontroller
  • Pin description and I/O SFR's
  • Timers
Introduction to CCP Module
  • CCP Module
Timer2 Registers
  • Timer2 Block diagram
  • Timer2 SFR's
  • Timer2 Programming
PWM Programming
  • PWM Mode
  • CCPxCON Register
  • PWM Configuration
  • Calculations of PR2, Prescalar, CCPR1L and DC1B1:B0
  • CCP in PWM mode
Configuring CCPx for PWM Programming
  • PWM Programming
  • Example Program
  • Interfacing of DC Motor-PWM Generation