Pulse Width Modulation

Status
Not open for further replies.

Sherif Welsen

Junior Member level 1
Joined
Feb 3, 2005
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
135
Hi all,

Please I wanna you provide me with a code written in ASM for 8051 that perform the Pulse Width Modulation of some date.

Regards.
 

Here you will find an example of a code for 8051 on PWM controlled LEDs:
https://www.iguanalabs.com/pwm.htm
There will be scores of other examples but I think this one is one of the simples and most comprehensive desription of PWM using basic 8051 (without built-in PWM block) ..

good luck and rgs ..
 

Thanks for immediate reply. Could you provide me with another examples.
 

As you probably know, some of 8051 microcontrollers have a PWM module built in. In this case control of this module is relatively simple.
If you would like to compare more examples on PWM and 8051, do you prefer pure 8051-core (software PWM) or 8051 derivatives with buil-in PWM module (hardware solution) ?
 

you can find an example of PWM Motor Control in Myke Predko's book which you can download from the forum
 

IanP said:
... some of 8051 microcontrollers have a PWM module built in ... do you prefer pure 8051-core (software PWM) or 8051 derivatives with buil-in PWM module (hardware solution) ?

I would prefere PURE 8051-core ( software PWM ).

Thanks inadvance.

Added after 4 minutes:

redhat said:
you can find an example of PWM Motor Control in Myke Predko's book which you can download from the forum**broken link removed**

This book deals with PIC MCU. I need to understand it in 8051 MCU.

Regards.
 
Last edited by a moderator:

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…