How to Measure Capacitance and Inductance with an Oscilloscope.
Today there are many instruments on the market that measure capacitance and inductance, but they cost several times more than a Chinese multimeter. Someone who needs to measure capacitance or inductance every day will definitely buy one, but what if you need to do it only very rarely? In that case you can use the method described below.
It's known that if a square pulse is applied to an integrating RC circuit, the shape of the pulse changes and becomes like the one in the picture.

The time it takes for the voltage across the capacitor to reach 63% of the applied voltage is called tau. The formula for calculating tau is shown in the figure.

In this case it's said that the integrating circuit has smoothed the edges of the square pulse.
It's also known that if a square pulse is applied to a parallel LC circuit, damped oscillations arise in the circuit at a frequency equal to the circuit's resonant frequency. The resonant frequency of the circuit is found using the Thomson formula, from which the inductance can be expressed.

The circuit is connected through a small capacitor, the smaller the better, which limits the current going into the circuit. Let's look at how a small capacitor limits current.
For a capacitor to charge to its rated voltage, a certain charge must be delivered to it. The smaller the capacitor's capacitance, the less charge it needs for the voltage across its plates to reach the pulse voltage. When we apply a pulse, the small capacitor charges very quickly, and the voltage across its plates becomes equal to the pulse voltage. Since the capacitor and pulse voltages are equal, there's no potential difference, so no current flows. Moreover, current may stop flowing through the capacitor some time after the start of the pulse, and for the rest of the pulse no energy will be delivered to the circuit.
For the experiment we'll need a square pulse generator with a frequency of 5-6KHz.
You can build one using the circuit in the figure below or use a signal generator; I did it both ways.
Now, remembering how an integrating RC circuit and a parallel LC circuit behave when a square pulse is applied, let's build the simple circuit shown in the picture.

First we'll measure the capacitance of the capacitor; its connection point in the circuit is marked C?. I didn't have a 1K resistor at hand, so I used 100 Ohm, and instead of a 10pF capacitor I used a 22pF one. In principle, you can choose any resistor value, but not below 50 Ohm, otherwise the generator voltage will sag a lot.
In this experiment I'll use a signal generator with an output impedance of 50 Ohm. Let's turn on the generator and set the amplitude to 4V; if you build the generator from the circuit, you can adjust the amplitude by changing the supply voltage.

Let's connect the oscilloscope probes across the capacitor. The following picture should appear on the oscilloscope.

Let's zoom in a little.

Let's measure the time it takes for the voltage across the capacitor to reach 63% of the pulse voltage, or 2.52V.

It equals 14.8uS. Since the generator's resistance is connected in series with our circuit, it must be taken into account, so the total resistance is 150 Ohm. Dividing the tau value (14.8 uS) by the resistance (150 Ohm), we find the capacitance: 98.7 nF. The capacitor is marked 100nF.
Now let's measure the inductance. In the circuit, the inductor's connection point is marked L?. We connect the coil, turn on the generator and connect the oscilloscope probe across the LC circuit. On the oscilloscope we'll see this picture.

We increase the timebase.

We see that the oscillation frequency is 260KHz.
The probe's capacitance is 100pF, and in this case it must be taken into account because it makes up 10% of the circuit's capacitance. The total capacitance of the circuit is 1.1nF. Now let's substitute the capacitance (1.1nF) and the oscillation frequency (260KHz) into the formula for finding inductance. For such calculations I use the Coil32 program.

We got 340.6uH; according to the marking, the inductance is 347uH, which is an excellent result. This method lets you measure inductance with an error of up to 10%.
Now we know how to measure a capacitor's capacitance and a coil's inductance using an oscilloscope.
It's known that if a square pulse is applied to an integrating RC circuit, the shape of the pulse changes and becomes like the one in the picture.

The time it takes for the voltage across the capacitor to reach 63% of the applied voltage is called tau. The formula for calculating tau is shown in the figure.

In this case it's said that the integrating circuit has smoothed the edges of the square pulse.
It's also known that if a square pulse is applied to a parallel LC circuit, damped oscillations arise in the circuit at a frequency equal to the circuit's resonant frequency. The resonant frequency of the circuit is found using the Thomson formula, from which the inductance can be expressed.

The circuit is connected through a small capacitor, the smaller the better, which limits the current going into the circuit. Let's look at how a small capacitor limits current.
For a capacitor to charge to its rated voltage, a certain charge must be delivered to it. The smaller the capacitor's capacitance, the less charge it needs for the voltage across its plates to reach the pulse voltage. When we apply a pulse, the small capacitor charges very quickly, and the voltage across its plates becomes equal to the pulse voltage. Since the capacitor and pulse voltages are equal, there's no potential difference, so no current flows. Moreover, current may stop flowing through the capacitor some time after the start of the pulse, and for the rest of the pulse no energy will be delivered to the circuit.
For the experiment we'll need a square pulse generator with a frequency of 5-6KHz.
You can build one using the circuit in the figure below or use a signal generator; I did it both ways.
Now, remembering how an integrating RC circuit and a parallel LC circuit behave when a square pulse is applied, let's build the simple circuit shown in the picture.

First we'll measure the capacitance of the capacitor; its connection point in the circuit is marked C?. I didn't have a 1K resistor at hand, so I used 100 Ohm, and instead of a 10pF capacitor I used a 22pF one. In principle, you can choose any resistor value, but not below 50 Ohm, otherwise the generator voltage will sag a lot.
In this experiment I'll use a signal generator with an output impedance of 50 Ohm. Let's turn on the generator and set the amplitude to 4V; if you build the generator from the circuit, you can adjust the amplitude by changing the supply voltage.

Let's connect the oscilloscope probes across the capacitor. The following picture should appear on the oscilloscope.

Let's zoom in a little.

Let's measure the time it takes for the voltage across the capacitor to reach 63% of the pulse voltage, or 2.52V.

It equals 14.8uS. Since the generator's resistance is connected in series with our circuit, it must be taken into account, so the total resistance is 150 Ohm. Dividing the tau value (14.8 uS) by the resistance (150 Ohm), we find the capacitance: 98.7 nF. The capacitor is marked 100nF.
Now let's measure the inductance. In the circuit, the inductor's connection point is marked L?. We connect the coil, turn on the generator and connect the oscilloscope probe across the LC circuit. On the oscilloscope we'll see this picture.

We increase the timebase.

We see that the oscillation frequency is 260KHz.
The probe's capacitance is 100pF, and in this case it must be taken into account because it makes up 10% of the circuit's capacitance. The total capacitance of the circuit is 1.1nF. Now let's substitute the capacitance (1.1nF) and the oscillation frequency (260KHz) into the formula for finding inductance. For such calculations I use the Coil32 program.

We got 340.6uH; according to the marking, the inductance is 347uH, which is an excellent result. This method lets you measure inductance with an error of up to 10%.
Now we know how to measure a capacitor's capacitance and a coil's inductance using an oscilloscope.
