- #1
EvLer
- 458
- 0
I need some help on lab questions...
a short description: we are using Pulse Width Modulation (PWM) module of a 68hc12 microcontroller to control speed of a motor hooked up to the microcontroller; the potentiometer connected to ATD channel provides a DC voltage that is sampled using ATD module which determines the duty cycle of the output pulse wave, and based on the settings of the PWM registers, that pulse wave is driving the motor at a set frequency.
So the question is: what are the advantage of using PWM vs other alternatives?
All i can think of is function generator, what could other alternatives can drive motor?
And as far as advantages, well... it allows one to set the frequency and duty cycle, and generate interrupts stuff like that... is there something i am missing?
Thanks in advance...
a short description: we are using Pulse Width Modulation (PWM) module of a 68hc12 microcontroller to control speed of a motor hooked up to the microcontroller; the potentiometer connected to ATD channel provides a DC voltage that is sampled using ATD module which determines the duty cycle of the output pulse wave, and based on the settings of the PWM registers, that pulse wave is driving the motor at a set frequency.
So the question is: what are the advantage of using PWM vs other alternatives?
All i can think of is function generator, what could other alternatives can drive motor?
And as far as advantages, well... it allows one to set the frequency and duty cycle, and generate interrupts stuff like that... is there something i am missing?
Thanks in advance...