embedded - PWM pin of microcontroller, what is it for? -


i see pwm pin in microcontrollers, in pic is/are use of it?

while pwm indeed used motor control, i'd main use pwm digital analog conversion, in case mcu doesn't have dac on chip (they don't). pwm duty cycle can used represent analog value, if connect pwm output op amplifier. quite common design in kinds of applications.

most kinds of systems reglating using pwm + op amp give analog output, can used control sort of hardware. analog output can read mcu, through analog digital converter, , mcu can alter pwm duty cycle accordingly.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -