PIC32MX: PWM Motor Control
From Mech
Revision as of 17:08, 29 July 2009 by Andrew Long (talk | contribs) (New page: Pulse Width Modulation, or PWM, is a technique used to vary the ''average'' magnitude of a signal by changing its '''duty cycle''' (the proportion of time that a signal is active or "high"...)
Pulse Width Modulation, or PWM, is a technique used to vary the average magnitude of a signal by changing its duty cycle (the proportion of time that a signal is active or "high"). For a more in-depth introduction to PWM motor control click here.
PWM for PIC32 is discussed in more detail in the Output Compare documention.
Available Pins
The Pins available for PWM are 5 input pins (OC1, OC2, OC3, OC4, and OC5) and 2 output pins (OCFA and OCFB). The output pins are for fault pin protection.