12 years, 6 months ago.

does PWM output can be used as AC valtage?

IS it possible to use pwm ouput as ac source

1 Answer

12 years, 6 months ago.

Connect a capacitor to your port, the other side of the capacitor goes to your load (for example a resistor connected to ground). The capacitor blocks all dc current, what passes through is pure AC. To see something reasonable the frequency of the pwm must be high enough in relation to your capacitor C and load R.
f > 1/(2*pi*R*C)

BTW, I smell that you want to do something like this: http://e2e.ti.com/support/microcontrollers/msp430/f/166/t/90305.aspx

Accepted Answer

sir, Thank you very very much sir for your suggestion it is working well.thank you a lot

posted by Harish Mekali 30 Mar 2013