Hi there,
I'm trying to create a variable potentiometer out of some resistive wire.
My problem, apart from not having a solid electronics background, is that the overall resistance of the wire that I am using is only about 2-3 Ohm.
I basically want a simple ribbon controller where the wire is stretched, suspended over a conductive surface. When you press it down, you should get a variable reading depending on how far up the wire you pressed.
My first naive attempts at wiring this up as a voltage divider (of sorts) resulted in dangerously hot, small value resistors. Not good. But at least I got some readings on the arduino analog input in the range of about 320-390.
After some research I figured I could do with an operational amplifier, and copied a design [1] for a Difference Amplifier. It seemed like just the ticket.
My Op Amp is a TI NE5532P - DUAL LOW NOISE OPERATIONAL AMPLIFIER.
I then spent a number of hours trying different wiring schemes and resistor values. The best I could come up with was:
Resistive wire has ends A and B. Circuit as per [1].
A goes to V1. B goes to V2 and GND.
Resistor R0 goes from +5 to A.
Conductive surface C goes to GND.
Vout to Arduino A0. V+ and V- to +5 and GND respectively.
With R0=100Ohm, R1=261Ohm, R3=1K, I get readings on the diecimila in the range 380-440 depending on where I press down the wire. Which is good, but far from perfect.
The ratio R3/R1, which should determine the amplification, is 3.83.
Now the problem is, if I increase the ratio I get a smaller range of values.
E.g with R1=180R R3=2K7, the ratio is 15 but I get readings from around 866-872, so a much smaller range.
I'm wondering if the op amp is maxing out somewhere, or what else might be going on?
And is there a way to calculate the optimal resistor values to get the full 5v range from my 3Ohm wire? Now what kind of black magic maths is required for that... I shudder at the thought.
Do I need an Instrumentation amplifier? Or have I simply goofed up the connections around my wire?
questions, questions - thank you for your patience.
cheers,
/m
[1] Op-amp Varieties
/m