I found myself needing some moderately accurate inductors for a project. If you have experience of electronics you will know that designers have a reluctance (

) to use inductors because of size, cost and the large range of values, operating frequencies and currents.
A quick search around the net shows a design using a mini(328) arduino an op amp and a handful of components. I figure that I can go one better and use just an arduino, some resisters and 1 capacitor. So this thread will be a record of my attempt to do so.
To achieve these economies I will use the internal comparator amplifier and the tri state characteristics of one or more of the port pins.
Method of operation is to cause the IUT (inductor under test) to resonate with a known value of capacitor. Then measure the period of induced oscillation to ascertain the frequency and hence the inductor value. For a readout I will use the serial monitor from the arduino compiler, though I may add a simple oled display if I think its a keeper.
Attached is proposed circuit.
Best Regards
picclock