How to make a 89c51 MCU to divide the frequency?

Status
Not open for further replies.

TheSniper

Member level 3
Joined
Sep 18, 2004
Messages
67
Helped
4
Reputation
8
Reaction score
0
Trophy points
1,286
Activity points
591
freqdiv

Some body knows how to make a 89c51 MCU
to divide the frequency

TheSniper (+)
 

Re: 89c51 Freq DIV

Count falling (or rising ) edges of the incomming square wave and program your microcontroller to output one pulse every N falling ( or rising ) edges. By doing this you will have the output wave of INPUT/N frequency ..
 

Re: 89c51 Freq DIV

with interrupt input and falling edge setting, and interrupt routine N count down every input falling edge present. and output pulse if N is zero.

or 50% duty cycle make N/2 for output low, N/2 next for output high.
 

89c51 Freq DIV

if i did it your way then i can divide the frequency which
is applied into any pin in any port but what i want
is to divide the frequncy using the MCU's internal
COUNTER meanning to determine the mode and the constant ..... etc
did i made my self clear now

TheSniper(+)
 

Re: 89c51 Freq DIV

Yes, you did yourself clear ..
But if you seek any co-operation from us you should not sound like an SS-commander form the past ..
In your post there is one word missing : please/help ..
 

89c51 Freq DIV

am sorry if i disturbed you
but my english is not good
and i wrot it very fast
so pleas pleas forgive meeee???

TheSniper (+)

Added after 1 minutes:

by the way this picture is for a british Commando
 

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…