Need some help converting an audio signal (speaker wir output) into a square wave.

Discussion in 'General Electronics Chat' started by Michael Carlotta, Sep 25, 2014.

  1. Michael Carlotta

    Thread Starter New Member

    Sep 25, 2014
    2
    0
    I am trying to get the compression side of an audio signal's sine wave into a 9V pulse and the decompression side of an audio signal's sine wave into a 9V pulse (not shown well in the sketch but I would use a cyclic relay).

    I'm sure my sketch will get a chuckle out of you.

    Thanks for any help.
    [​IMG]
     
  2. crutschow

    Expert

    Mar 14, 2008
    13,003
    3,232
    At what point on the audio signal do you want the pulses to occur? You diagram seems to indicate it's near the peaks.

    Compression and decompression have nothing to do with the signal polarity. Normally the top of the waveform is called the positive side and the bottom of the waveform, the negative side.
     
  3. wayneh

    Expert

    Sep 9, 2010
    12,107
    3,038
    Window comparator. Turn on compression when voltage falls outside the window. (At least that's what I'm guessing you meant from your wording.)
     
  4. Michael Carlotta

    Thread Starter New Member

    Sep 25, 2014
    2
    0
    OK thanks Ill have to google that.
     
  5. bertus

    Administrator

    Apr 5, 2008
    15,647
    2,346
    Hello,

    You might want to have a look at the TCA965.
    I have used the chip in the past.

    Bertus
     
  6. ian field

    Distinguished Member

    Oct 27, 2012
    4,415
    783
    Last time I tried to buy a TCA965, I was told it was obsolete - and that was years ago.

    The 555 has a window comparator input, but the thresholds are fixed at 1/3 & 2/3 of Vcc by an internal series chain of 3x 5k resistors - you can exert a certain amount of "pull" on the lowest resistor via the CV pin, manipulating Vcc to influence the upper threshold can get a bit fiddly.
     
Loading...