### Pulse Width Modulation Tutorial

Pulse Width Modulation tutorial

Introduction to PWM
The theory behind pulse width modulation
and its working.

8051 PWM Example
Implementation of PWM on normal 8051
using timers, along with sample code.

AVR PWM Example
Using timers of AT90S8515 in 8-bit PWM
mode with non-inverting o/p, with sample code.

Posted on Tue Feb 19 2008, 02:25 am

### RS232 Simulation?

actually speed of DC motor changes when you change the voltage of motor... and in digital world this is done with the help of Pulse width modulation.
So i think you should see this for learning about PWM.
I have no idea whether x86 processors have timers or not.. if not then it will be difficult to generate PWM, or you have to make use of some external thing to generate PWM.
Other Tags:
Posted by ajay_bhargav on Thu Jan 17 2008, 12:00 pm

### An 8051 Based Temperature Controlled Fan project

PWM is Pulse width modulation.. it helps you to control the output voltage by varying the width of a square wave pulse..

A Brief Description:

```|Â¯Â¯|__|Â¯Â¯|__|Â¯Â¯|__ --->
A square wave

|Â¯Â¯Â¯Â¯Â¯Â¯|______
<-Ton->
<-Tof->
.
<---Ttotal--->
```

Ttotal = ton+toff

Duty cycle d = Ton/Ttotal

if Vin is the input voltage and Vo is the o/p voltage.. then

Vo = d x Vin
where d is the duty cycle... Read Compelte post
Other Tags:
Posted by ajay_bhargav on Mon Aug 20 2007, 06:15 pm

### An 8051 Based Temperature Controlled Fan project

I think there is some problem with the attachment of file.. i need to check that..
By the time.. please try to paste the code..

here is a sample PWM code.. check it..
Other Tags:
Posted by ajay_bhargav on Thu Aug 30 2007, 06:35 pm

### Untitled

Forum ->
Other Tags:
Posted by on Thu Jan 01 1970, 05:30 am

### Untitled

Forum ->
Other Tags:
Posted by on Thu Jan 01 1970, 05:30 am

### Recent

KennethRak
Sat Sep 07 2024, 07:35 pm
Derekloaps
Sat Sep 07 2024, 03:27 pm
Charleszepaf
Sat Sep 07 2024, 10:08 am
Glenngreet
Sat Sep 07 2024, 09:51 am
LindaTrene
Sat Sep 07 2024, 06:09 am
BlaseraSHABE
Sat Sep 07 2024, 05:07 am
Anya67sa
Sat Sep 07 2024, 04:48 am
Brettreure
Fri Sep 06 2024, 09:47 pm