Quote Originally Posted by T.Jackson View Post
I have used this relatively simple, "poor man's" schema in a few past projects. Never tried to do all the maths with just the PIC though, instead I just spat out 10 BIT samples to a host computer and performed all the calculations there. Worked O.K.
<br/>
This method should be able to work quite well but possibly will not be too accurate if the test piece DUT is too big or too small.
As far as I can remember, the ADC converts the voltage received (between 0v and 5v) to a number between 0 and 255. You will have to adjust the value of R1 to get a reading that is accurate for high value resistors and another R1 value for low value resistors and probably a number of times in between.
This method will probably work very well in cases where you are trying to get a number of resistors as close as possible to identical, closer than 1%.
Must add this to my library.
All the best,