a. Simple PC digital oscilloscope

This simple adapter enables connection of an external signal source to a standard PC audio line input. The correct values of R1 and R2 resistors have to be calculated from the maximum external source signal range and the maximum signal range of the PC sound chip line input. The line input resistance (Ri) must also be considered in most cases. If Ri value is less than 10 times greater than R2, you should first calculate the R2i, which is a combined resistance of R2 and Ri. Afterwards R2 may be calculated from R2i. The electrical current (I) through the voltage divider should also be limited to a few miliamps (mA) to prevent draining a significant current from the external signal source. Therefore R1 or R2 should be initially chosen to have values in range of kilo ohms. A good suggestion is to select R2 = Ri/10. Ri is typically around 10 k ohms (ex. Sound Blaster X-Fi sound card).

If external signal source has a maximum range of 24 Vpp (a symmetrical signal range should be presumed) then Uc = 24 Vpp (alternates between -12 V to +12 V). A typical line input maximum signal range is Ui = 1.4 Vpp (alternates between -0.7 V to +0.7 V). Now, R1 and R2 vales can be calculated as follows:

R2i = 1 / (1 / R2 + 1 / Ri) à R2 = 1 k ohm, Ri = 10 k ohm à R2 = 1 / (1 + 0.1) k ohms = 990 ohm (in this case Ri could be neglected which would give us R2i resistance of 1 k ohms)

Now, let us calculate the R1 resistance:

Uc = (R1 + R2i) I , Ui = R2i I , I = Ui / R2i

Uc = (R1 + R2i) Ui / R2i à R1 = (Uc / Ui -1) R2i

In our example we get: R1 = (24 Vpp / 1.4 Vpp -1) 990 ohm = 16 k ohms. It is not a bad idea to select a bit higher R1 value to have some margin on sound chip A/D converter range. In this case we could select R1 = 25 k ohms.

Now, we only need a Windows application to display the input signal. There are many Windows sound recording applications on the internet (ex. Cool Edit 2.0). Many of them enable you to capture and analyze signals up 100 kHz. A typical audio line input A/D converter of a new PC has conversion rate up to 192 kHz or more, which is enough for low frequency AC signal analysis. There are sample digital oscilloscope applications in the Downloads section.

NOTE: Read 1 Msps modular oscilloscope for everyone on how to build an oscilloscope that goes up to 1 MHz.