LED frequency circuit

Thread Starter

electronice123

Joined Oct 10, 2008
311
I am trying to build a circuit which does the following.

The circuit has a frequency generator which drives a transistor, the frequency generator is also needed to turn some LED's on when frequency is in it's off time.

What I want to do is use 2 LED's which will alternate during the off time. I don't want both LED's to be on at the same time, but to alternate, and I need them to both alternate in the frequency generators off time.

How do I do this?
 

bertus

Joined Apr 5, 2008
19,952
Hello,

Can you draw a timing schedual?
Are the frequency generators truned off for a while?

Greetings,
Bertus
 

Thread Starter

electronice123

Joined Oct 10, 2008
311
I don't know what the timing will be yet as the frequency generator has a PLL that locks the resonant frequency of the LC circuit.

The circuit is gated every few pulses.

I'm thinking I can take the frequency and multiply it by 4, then use logic and/or a counter to alternate the LED's, I'm just not sure how to do it?
 

Thread Starter

electronice123

Joined Oct 10, 2008
311
The circuit will operate at atound 10kHz, so I'm sure I won't even see the LED's. I am going to use a 4046 PLL.
 

bertus

Joined Apr 5, 2008
19,952
Hello,

The 4046 has two phase comparator circuits.
Which one are you planning to use?
Do you want to see if the PLL is locked or not?

Greetings,
Bertus
 
Last edited:

bertus

Joined Apr 5, 2008
19,952
Hello,

Here is the datasheet from TI.
It also shows how to see if the PLL is locked or not.

Greetings,
Bertus
 

Attachments

Top