I've 'almost' finished my tutorial about PWM - trying to describe what it is, what it can be used for, and how to set it up. It has been around as a 'work in progress' for weeks now - but I've done some major updates over the last few weeks so if you've visited before and still been confused then hopefully it is now more complete.
Special 'thanks' to Admin and Airman00 for their comments/suggestions to earlier drafts.
The tutorial can be found here:-http://www.societyofrobots.com/member_tutorials/node/228
I'd particularly recommend section '04' which provides some handy download sheets for various controllers used by $50 Robot, Roboduino, and Axon.
The published content is probably ok now but it is still work in progress as I still want to do the following:
1. Finish the section about PWM via software (will take me a while to write/test/publish)
2. Produce downloadable HEX files so that you can test out PWM without having to compile any code (like Admins 'center a servo' hex file but for PWM)
3. Add some 'Admin like' calculators.
However: this is just extra 'stuff' and so the existing content is still valid and it would be good to put it out to the 'society'.
I thought it would be a 'quick and easy' tutorial but it seems to have grown and grown. I guess this is because it is actually quite a complicated topic and it is very hard to provide a 'simple solution' that works for various micro-controllers because, even with AVRs, they are all subtly different.
I've learned a lot by having to write it - and I hope that you find it useful.
If you've any comments/suggestions etc then feel free to post or to send me a personal message.