Hi. I'm playing with a flex sensor, wich is basically a variable resistor. In the range Im using it, it produces resistances between 6K (min) and 7K (max) ohms. I'm using another resistor of 4,7K and reading the flex sensor with Arduino ADC between the flex sensor and the resistor.
Problem is that i'm loosing lot of resolution using this approach, because the basic flex sensor resistance starts at 6K.
Wich is the best solution to compensate this, in order to get on the adc pin 0 ~ 5 volts with the variable resistor moving between 6K and 7K ohms?
Thanks very much
The typical method is to use a "resistance Bridge" (you can google this).
The issue that will have is the measurement must be made from two points where neither is a ground (of the arduino).
You could then read the bridge voltage with THIS
Or you could use the above ADC board with the circuit you have and get more resolution than the Arduino A/D
I would say you use a pull-up resistor to get the resolution you need. I’m not sure if 4.7kOhm is the right resistor for this. The value of the pull-up resistor will depend on your setup. I know it is a trial and error method, but you’ll get good results.
I was just thinking that with only a 1µF capacitor to create an RC circuit, the time constant would vary from 6000µs to 7000µs, the difference being 1000µs. The analog comparator could be used to generate an interrupt that allows you to measure this time difference.
Using some OpAmps you can first offset the signal to one of the power rails, then amplify the voltage to reach the other rail.
Another option would indeed be a Wheatstone bridge.
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.