You can get PWM frequencies much faster than 490 Hz. Look at the ATmega168 datasheet or search this forum for posts I've made about generating PWMs with arbitrary frequencies (searching for posts by bens containing "PWM frequency" should probably bring them up).As far as what you're planning on doing, I'm not sure how you expect to get a PWM pin to output a negative voltage. I assume your plan is to use MOSFETs or transistors to deliver the current to the motor (since the mega168 most likely cannot deliver what will be needed), and I guess you will be using a negative regulator to generate the negative half of the sine wave?- Ben
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16