That's what I was saying with using the extra pins.
If you take the extra pins, bring them out, connect a 1K (for example) in between each pin, put +5v and the top, ground at the bottom of the string, and change the pins from input to output (or back), and high to low (or whatever), you can dynamically change the Vref (+ and -) points without having to slide a switch...let the software do the work. Start wide and dial the reading down to a tight reading.
For that matter, you could even use a couple of digital pot's as a variable voltage divider under software control.
Bookmarks