Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

analog input to flip flops

Status
Not open for further replies.

raviram87

New Member
i had a doubt on d flip flops...

can i use an analog signal (say a sinusoidal input) as a clock input to a positive edge trigerred flip-flop? or should the clock input necessarily be a digital one?
 
raviram87 said:
i had a doubt on d flip flops...

can i use an analog signal (say a sinusoidal input) as a clock input to a positive edge trigerred flip-flop? or should the clock input necessarily be a digital one?

It needs to be a digital one, feed your input via a schmitt trigger to make it a squarewave.
 
Hi Raviram87,

raviram87 said:
i had a doubt on d flip flops...
can i use an analog signal (say a sinusoidal input) as a clock input to a positive edge trigerred flip-flop? or should the clock input necessarily be
a digital one?

In theory Nigel Goodwin is right but there are always exceptions.
Compare the datasheets of the CD4013 and the HEF4013.
You will find that the HEF4013's clock input has a schmitt-trigger input
which means that it will accept also signals with a lower rise and fall
time without oscillating. Check also the datasheet of the CD4017 &
CD4022, same thing here. But your signal needs to stay at all times
within limits of the power supply range of the digital part.
Therefore if you want to apply a sinusoidal signal to a digital part
you will have to make shure that it stays within those limits !
Therefore you need to keep the voltage at the input of the digital part
at approx. 1/2 of it's supply voltage with a resistive divider and apply
the sinewave through a capacitor. This will shift the dc level of the
sinewave up to 1/2 of the supply voltage of the digital part.
If the peak-to-peak amplitude of the sinewave is larger than the
supply voltage of the digital part you'll have to attenuate it or you
could also add a resistor in series with the input capacitor to limit
the current through the input protection diodes to a safe value.

on1aag.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top