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.

... Read Compelte post
Posted on Mon Feb 18 2008, 08:55 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..
now if we ... Read Compelte post
Other Tags: pulse width modulation   PWM   8051 PWM code   
Posted by ajay_bhargav on Mon Aug 20 2007, 12:45 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..
... Read Compelte post
Posted by ajay_bhargav on Thu Aug 30 2007, 01:05 PM

Conversation

Mon Sep 23 2019, 05:37 PM
Nathaniel
I am doing a project for my schools wireless security system with cameras,sensors and spot lights using 8051 micro controller, could you help me out with the design and its source code.
Thu Sep 19 2019, 06:48 AM
Caryn Kover
Thank you for your time,
ExperimenterUK
Tue Aug 06 2019, 05:09 AM
@Ismail ..post in forum, give details
Tue Aug 06 2019, 02:33 AM
Ismail balghmi
Hello. Please I won't download
ExperimenterUK
Wed Jul 24 2019, 10:47 AM
@BUSTER123 Please post in the forum
Wed Jul 24 2019, 04:13 AM
BUSTER123
hello! newbie here. i am kind of a guy who hates using ready - made existing libraries, so this helped a lot as i was trying to control and write to a character lcd display. however, i can't figure out how to set the cursor position. for example, i want to set it to the 5th column in the first row, so position 5. so according to the table, i am sending 10000101 on the 8 data lines of the lcd (register select pulled low). the cursor does not move there however. and i cant move the cursor left or right too. is it something wrong that i am doing? thank you.
ExperimenterUK
Fri Jul 12 2019, 05:55 AM
@ramos https://www.theengineeringprojects.com/2017/09/l298-motor-driver-library-proteus.html
ExperimenterUK
Fri Jul 12 2019, 05:44 AM
@praveen123. Can you give a link to the project ?
Fri Jul 12 2019, 02:47 AM
ramos
buenos dias alguien podria ayudarme necesito saber como descargar la libreria del l298n para proteus
Thu Jul 11 2019, 09:11 PM
praveen123
anyone can help me

Downloads

Comments

ramon_vsc
Fri Sep 20 2019, 04:53 PM
youssoufba
Thu Sep 19 2019, 11:57 AM
Taiphan000
Tue Sep 17 2019, 04:21 AM
mawantha
Fri Sep 13 2019, 10:42 AM
jonelily954
Mon Sep 02 2019, 12:34 PM
electrobyte
Sat Aug 31 2019, 03:24 AM
Moutonajj
Sun Aug 25 2019, 09:30 PM
jualanled
Sat Aug 17 2019, 03:41 AM

Online

Guests: 58, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38092
Newest member: ramon_vsc
Forum Activity
nick@IT Avatar
Posted By [email protected]
Wed Aug 07 2019, 10:38 AM
I am trying to execute USSD codes through my GSM m...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sun Jul 28 2019, 08:55 PM
An LM339 may not be fast enough for reliable SPI ...
sakibnaz Avatar
Posted By sakibnaz
Sun Jul 28 2019, 06:40 AM
Hi All.I need to connect my MCU with an external S...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Jul 24 2019, 10:42 PM
Your unit is communicating, so I assume the GPS si...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Jul 24 2019, 10:32 PM
Have you read this ?http://www.8051projects.net/wi...
manu8193 Avatar
Posted By manu8193
Wed Jul 24 2019, 04:57 AM
any one tell me the explaination and 'c' code for ...
3AAPC Avatar
Posted By 3AAPC
Sun Jul 21 2019, 12:51 AM
3AAPC Avatar
Posted By 3AAPC
Sun Jul 21 2019, 12:47 AM
With the GPS antenna in the outdoors, I use the ub...
ameya123 Avatar
Posted By ameya123
Fri Jul 19 2019, 07:42 AM
Hello,Please share 8051 Assembly language code for...
figureyang Avatar
Posted By figureyang
Fri Jul 05 2019, 04:37 AM
here is the source code prepared for you download ...