I am trying to measure the current in dependence of time in turning on and off an inductor.
If I choose an inductor with low inductivity (36 mH) it works for turning on (almost) as expected, but for turning off it doesn't.
Here is my setup:
and here is are the results (red curve for turning on, black curve for turning off):
I measured the resistance of the current path for turning off with a voltmeter to about 10 ohms. In the case of turning on, the resistance is also approximately 10 ohms as you can see from the current curve (in the case 5,2 volts).
What did I do wrong and how can I fix it?
Here are details of the setup: