All About Circuits Forum  

Go Back   All About Circuits Forum > Software, Microcomputing, and Communications Forums > Programmer's Corner


Programmer's Corner Discussion forum for all aspects of programming and software engineering. Any software programming language welcome: C, C++, C#, Fortran, Java, Matlab, etc.

Reply   Post New Thread
Thread Tools Display Modes
Old 02-21-2011, 04:24 PM
Hayley Hayley is offline
New Member
Join Date: Feb 2011
Location: Newjersy
Posts: 1
Lightbulb 89c51rd2

Hi everybody,

am quite new in not much familiar with the assembly codings..

I want to generate a PWM(pulse width modulation) using the PCA timer in 89C51RD2 microcontroller.I just needed the assembly language programm for this...The Pulse should be 20ms, The On time should be 4ms, and off time 16ms and the duty cycle must be 20%.

Please help ... I ll be greatful...:confused :
Reply With Quote
Old 02-21-2011, 07:16 PM
Papabravo's Avatar
Papabravo Papabravo is offline
Senior Member
Join Date: Feb 2006
Location: Michigan, USA (GMT-5)
Posts: 5,850

Do you have the datasheet for the part in question?

Here is the one I'm using

So first things first. What is the frequency of the crystal or oscillator that you are using for the system?
We never have time to do it right,
But we always have time to do it over.

Last edited by Papabravo; 02-21-2011 at 07:24 PM.
Reply With Quote
Reply   Post New Thread

, , ,

Related Site Pages
Section Title
Video Lecture JK Flip-Flop - Digital
Worksheet Flip-flop circuits
Worksheet Passive integrator and differentiator circuits
Textbook Microprocessor programming : Principles Of Digital Computing
Video Lecture Representative System (Part 2) - Computer Hardware - Microprocessors
Video Lecture Counters - Digital
Video Lecture Boolean Expressions and Truth Tables - Digital
Video Lecture Boolean Algebra - Postulates - Digital
Video Lecture Working with Phase Angles (cont) - Alternating Current
Textbook Synchronous counters : Sequential Circuits Counters

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 05:15 AM.

User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License.
Powered by vBulletin
Copyright ©2000 - 2014, vBulletin Solutions, Inc.