3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Does anyone know any good PWM tutorials for the AtMega32 and AtMega168 chips. These are not arduinos.

Does anyone know any good PWM tutorials for the AtMega32 and AtMega168 chips. These are not arduinos. I am looking specifically for servo and DC Motor control but any tutorial on PWM should give me the base I need to move forward.

4 answers
Jan 30, 2009. 11:58 AMUziMonkey says:
This looks pretty good. It's for the older AT90 chips, but it should apply to all AVR chips. Check out Atmel's documentation on these chips as well. It's really good, and can generally tell you how to do things like this.
Jan 27, 2011. 12:06 AMrewolff says:
FYI, the arduino also has an atmega168 chip, so any tutorial you might find about the arduino can be modified to work on your atmega168. On the other hand, the arduino people will use the arduino environment and use the arduino libraries which are a hassle to get to work on a separate atmega168.
Feb 10, 2010. 7:56 AMTheZuke! says:
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=68302

http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=80218

http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=76406
Feb 3, 2009. 10:53 AMdoctek says:
For all things AVR, AVR Freaks is always a good bet. They have several write-ups on PWM and pointers to other sites. Unfortunately, the Atmel Apps Notes are pretty thin in the PWM area giving only one rather complicated example, and that in Assembly Language.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!