Category: AVR

Subcategories:

January 04, 2006

ATmega32 PWM

This note briefly describes how to set up PWM on an ATmega32. In this instance, Timer/Counter 1 (16-bits wide) is used to set up a Fast PWM-mode PWM wave to drive a typical R/C servo. The PWM period is 20 ms (50 Hz), and the pulse width varies from 0.9 ms to 2.1 ms.

Continue reading “ATmega32 PWM”
Posted by rmann at 04:14 AM | Comments (4)