You Are Here: Home » AVR ATmega Projects » PWM Projects (Page 2)

Working with Atmel AVR Microcontroller Basic Pulse Width Modulation (PWM) Peripheral

Pulse Width Modulation (PWM) is a technique widely used in modern switching circuit to control the amount of power given to the electrical device.  This method simply switches ON and OFF the power supplied to the electrical device rapidly. The average amount of energy received by the electrical device is corresponding to the ON and OFF period (duty cycle); therefore by varying the ON period i.e. longer or s ...

Read more

Power LED Dimmer using ATmega32 Microcontroller

In this project we are going to use one of the features of ATmega32A to adjust the brightness of 1Watt LED. The method that is used to adjust the speed of  LED is PWM (Pulse Width Modulation). The method of PWM is explained here. Consider a simple circuit as shown in figure. [caption id="attachment_34927" align="aligncenter" width="600"] 1 Watt LED Dimmer using ATmega32 Microcontroller[/caption] Now if the ...

Read more

PWM Based DC Motor Speed Control using Microcontroller

In many applications, it is important to control the speed of DC motor where precision and protection are essence. Here we will use a technique called PWM (pulse width modulation) to control the speed of DC motor. We can achieve speed control of DC motor using mechanical or electrical techniques but they require large size hardware to implement but Microcontroller based system provides easy way to control t ...

Read more

How to use fast PWM (Pulse Width Modulation) Mode of AVR microcontroller Timer

This article is in continuation of PWM generation using AVR timer. In the previous article, PWM generation using Phase correct PWM mode is described. However, there are some applications like DAC, power regulation and rectification etc. which require high frequency PWM wave. The PWM generation using Fast PWM mode is suitable for such applications. This article focuses on Fast PWM mode of AVR Timer. The Fast ...

Read more

Phase Correct PWM (Pulse Width Modulation) Mode of AVR microcontroller Timer

Pulse Width Modulation is well known technique for controlling power electronics devices like SCR, IGBT etc. PWM is also used in motor speed controlling. Square wave generation by using AVR timers is explained in previous article. The AVR timers have feature of PWM wave generation as well .This article describes PWM generation capability of AVR timers. There are four in-built PWM channels in ATmega16. The P ...

Read more

RGB Rotary Encoder with PWM and ISRs Using an ATmega328

Description A long time ago I bought a couple RGB rotary encoders from Sparkfun because they were cheap and I was already spending a bunch on other stuff.  I thought they would be neat for some interfaces since it includes a push button.  The interrupt service routine (ISR) for pin changes on the rotary encoder (for terminals A and B, which will from this point be referred to as AB) can be found in this pos ...

Read more

Mathematical Manipulation of Pure Sine Wave Inverter Using Atmel 89S2051

Introduction Approach used for creating the pure sine wave described in this paper is done through manipulation of mathematical representation of the original sine wave. It is done by dividing half the  sine wave into m (even number) segmentations, where area under a quarter of the sine wave from 0 to  π/2 resembles series of the form [2n-1] where n=1,…, m/2, while  areas of the next quarter from  π/2 to  π ...

Read more
Scroll to top