I'm trying to measure the waveform on the drain of a low side MOSFET used as a switch for an LED with an oscilloscope.
I tried two different configurations with different components and power rail voltages. In both cases I see the square wave, but when the MOSFET is OFF the measured voltage is only 40-50% of the power rail voltage. If I replace the LED with a resistor, the waveform looks as it should.
With the second probe I measure also the IN-PWM signal and it looks perfect.
Why this behavior? Is there something related to the oscilloscope or probe that I don't understand? Should I measure it in a different way? I am using a HANMATEK DOS1102 scope with an x10 probe.
simulate this circuit – Schematic created using CircuitLab
If I replace the LED with a resistor, the waveform looks as it should.
... why do you conclude that the scope probe is somehow responsible? \$\endgroup\$