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.

circuit help: square and sin wave input = square wave output

Status
Not open for further replies.

spyghost

New Member
hi,

i would like to ask what kind of circuit would produce such a response?

input:
- a sinewave with a varying amplitude directly proportional to the frequency. maximum pk is 3v and max freq is 500hz
- a square wave with a V-hi of 5V and V-low of 0V and a max freq of 500hz
- a square wave witha V-hi of 12V and a V-low of 0V and a max freq of 500Hz

output:
- a square wave that is ttl compatible (V-hi of 5v and V-low of 0V)
- the + side of the sine wave input must produce a high output (5v), while the - side of the sinewave must be low output
- the V-hi's of both square wave inputs must be a high output, while the V-low of the sqare wave inputs must produce a low output (0v)

what kind of circuit would produce such a response?

thanks!
 
3 input or gate and 1 comparator !

STEVE
 

Attachments

  • 3ORCOMP.gif
    3ORCOMP.gif
    9 KB · Views: 537
ideally it would create such a waveform, but the problem arises when the amplitude of the sinewave goes below 1v....

is there a way to get rid of this?
 
Status
Not open for further replies.

New Articles From Microcontroller Tips

Back
Top