Thanks for the replies. To start I think I was confusing the fact you can have a square wave which is positive and zero volts alternately and you can also have a square wave which is positive and negative volts alternatively, one DC the other AC!
I've just started playing with the sound card scope so this is helpful. I just plugged something easy (blinking LED from Arduino) in to see what I got.
Chris, thanks for the comparison it helps show what is going on.
So going off what Adam said am I right in thinking:
At 1HZ the input capacitor fills up almost instantly when the circuit enters its 'on' part of the cycle. This is because it is sized in order to handle current filling it for only milliseconds before everything changes direction. This sudden filling produces the spike in voltage but the voltage between the full capacitor and the circuit is equal so the spike falls back to 0 volts because the capacitor is now blocking the signal so there is no voltage or change of voltage for the scope to pick up. Then when the circuit enters the 'off' part of the cycle the capacitor instantly (or very quickly) empties itself creating a sharp voltage drop negatively away from the scope. This is picked up as the negative spike. When the capacitor reaches ground the voltage is no longer dropping so the scope trace returns to ground.
By contrast when the signal is at 1KHZ the capacitor never has time to fully fill before the voltage changes polarity. This means the signal is faithfully passed through the capacitor.
Is that right?
Adam, I'm guessing the large capacitor is to smooth the square wave a bit by having a more consistent filling and emptying at the same rate rather than the sudden on/off there is at present. This would then take longer to fill the capacitor at the input of the microphone and therefor clip the wave less?
I'll give it a go with a faster frequency and see what happens.
Thanks again!
I've just started playing with the sound card scope so this is helpful. I just plugged something easy (blinking LED from Arduino) in to see what I got.
Chris, thanks for the comparison it helps show what is going on.
So going off what Adam said am I right in thinking:
At 1HZ the input capacitor fills up almost instantly when the circuit enters its 'on' part of the cycle. This is because it is sized in order to handle current filling it for only milliseconds before everything changes direction. This sudden filling produces the spike in voltage but the voltage between the full capacitor and the circuit is equal so the spike falls back to 0 volts because the capacitor is now blocking the signal so there is no voltage or change of voltage for the scope to pick up. Then when the circuit enters the 'off' part of the cycle the capacitor instantly (or very quickly) empties itself creating a sharp voltage drop negatively away from the scope. This is picked up as the negative spike. When the capacitor reaches ground the voltage is no longer dropping so the scope trace returns to ground.
By contrast when the signal is at 1KHZ the capacitor never has time to fully fill before the voltage changes polarity. This means the signal is faithfully passed through the capacitor.
Is that right?
Adam, I'm guessing the large capacitor is to smooth the square wave a bit by having a more consistent filling and emptying at the same rate rather than the sudden on/off there is at present. This would then take longer to fill the capacitor at the input of the microphone and therefor clip the wave less?
I'll give it a go with a faster frequency and see what happens.
Thanks again!