### 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

### 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

### 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

### Recent

Charlesboodo
Sat Aug 10 2024, 03:12 pm
StephenLal
Sat Aug 10 2024, 06:14 am
KevinFub
Fri Aug 09 2024, 03:20 am
Mulvames
Thu Aug 08 2024, 10:38 pm
GilbertTwilk
Thu Aug 08 2024, 09:18 pm
RamonDunny
Thu Aug 08 2024, 05:58 pm
DonaldKes
Thu Aug 08 2024, 04:00 pm
ColleenMut
Wed Aug 07 2024, 03:06 pm