Shop OBEX P1 Docs P2 Docs Learn Events
Simplest circuit to convert 1.5vp-p to 12vp-p signal to digital. — Parallax Forums

Simplest circuit to convert 1.5vp-p to 12vp-p signal to digital.

sccoupesccoupe Posts: 118
edited 2009-10-30 08:02 in BASIC Stamp
I have a sine wave signal that varies from 1.5vp-p to 12vp-p. I have been running this right into a basic stamp input and measuring the frequency and it has always worked fine except when the voltage goes to low. What can I do to allow the basic stamp to see a sine wave with a voltage that low?

Thanks

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2009-10-30 08:02
    Here's a circuit that should help:

    attachment.php?attachmentid=64786

    The diodes will clip the capacitively-coupled input to ±0.6V (i.e. 1.2V P-P). This is further capacitively-coupled to a resistive divider, which biases the Stamp input pin so that, without a signal present, the voltage on the pin is just slightly above or below the Stamp pin's logic threshold. That way, even very small signals will straddle the Stamp's logic threshold, resulting in logic transitions.

    -Phil

    _
    355 x 280 - 2K
Sign In or Register to comment.