PWM Projects

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

How to use fast PWM (Pulse Width Modulation) Mode of AVR microcontroller Timer 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

Phase Correct PWM (Pulse Width Modulation) Mode of AVR microcontroller Timer 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

Mathematical Manipulation of Pure Sine Wave Inverter Using Atmel 89S2051 Read More »

AVR DDS signal generator V1.0 using ATmega8

Sometimes when tuning various electronic hardware we need simple signal generator with various waveform and frequency. One of the options is to by a professional with variable gain professional coating and many additional functions. But if you are an amateur you might want to build one. This small project is dedicated for building one of

AVR DDS signal generator V1.0 using ATmega8 Read More »

A 1 Khz Digital Sine Wave Signal Source using ATmega8515 microcontroller

A 1 Khz Digital Sine Wave Signal Source using ATmega8515 microcontroller

1 Khz From a Quartz Crystal 1 V P-P Sine Wave Calibrated Output 1 KHz Square Wave Output 900 mv Inverted Sine Wave Output (Uncalibrated) Downloads Download the WINAVR main source for the 2313 version of the firmware: 2313sine.c. Download the complete zipped WINAVR project for the  2313 version of the firmware: 1_kHz_sine_2313.zip. Also, Download

A 1 Khz Digital Sine Wave Signal Source using ATmega8515 microcontroller Read More »

MAX038-Based Sweep/Function Generator With Markers using AVR ATtiny2313 microcontroller

Take Maxim’s MAX038 function generator chip, add some frills, and you have a pretty nice tool for the bench. Downloads: Main Circuit Schematic Power Supply Schematic You can build this with switches instead of buttons if you don’t want to use a micro controller. Here is the controller code. AVRStudio 4.x Assembler Source for AT90S1200A 

MAX038-Based Sweep/Function Generator With Markers using AVR ATtiny2313 microcontroller Read More »

PWM Waveform Capture using AVR microcontroller

Described are the waveform capture method, example firmware and hardware designs. This material formed the basis of an article that was first published in the October, 2003 issue of Circuit Cellar magazine. The only components added to the operating Atmel AT90S2313 circuit (one capacitor and two resistors) to allow  waveform sampling with < 1 microsecond resolution

PWM Waveform Capture using AVR microcontroller Read More »

Scroll to Top