I have built and tested this circuit, it works but now and then it shows an way off value, any suggestion why this happens?
https://reibot.org/2011/07/19/measuring-inductance/
https://reibot.org/2011/07/19/measuring-inductance/
Hi,
That usually means one of the following:
1. Theory behind the technique does not work outside a certain range.
2. Either current or voltage is being exceeded.
3. Part has behavior that is based more on parasitic sundries than usual.
4. Frequency response of some of the test circuit parts is not favorable for the given unknown part.
5. Part is bad.
If you had a scope it would help to troubleshoot, or you could mention what values you are measuring, those that work and those that dont work.
Thanks, will try that out.Hi,
Oh that's different then, it sounded like some parts worked and some did not.
Since it is the same part then it could just be noise or the Arudino does not always catch the pulse(s) right. I would not worry too much about it then.
For example of a quick fix, you can change the code to reject values that fell outside a range centered at the average of several readings. That would give more consistent results and display rendering.
Another fix might involve reading the pulse(s) using a different technique.