So here is an update to my progress.
I got the eTape and the arduino Uno and the ethernet shield. I used some basic code from adafruit.com and I'm getting resistance readings in the debug panel.
Here is the exact code I put in:
// the value of the 'other' resistor
#define SERIESRESISTOR 560
// What pin to connect the sensor to
#define SENSORPIN A0
void setup(void) {
Serial.begin(9600);
}
void loop(void) {
float reading;
reading = analogRead(SENSORPIN);
Serial.print("Analog reading ");
Serial.println(reading);
// convert the value to resistance
reading = (1023 / reading) - 1;
reading = SERIESRESISTOR / reading;
Serial.print("Sensor resistance ");
Serial.println(reading);
delay(1000);
}
And this is the way I wired it.
I connected pin #2 of the sensor to ground, then pin #3 to a 560 ohm resistor. The other side of the 560 ohm resistor to VCC to create a resistor divider. Pin #4 is between the sensor and the resistor and pin#1 to A0 on the arduino.
I read through a lot of the documentation and most of it is over my head to be honest. I tried to the code examples that were given here
http://www.parallax.com/tabid/768/ProductID/590/Default.aspx but they get kicked back on verify in the arduino software.
Also, most of the documentation on the eTape is for an older version. The version written about has only two pins, the newer version has four pins.
At the end of the day, what I want is for the arduino to printout a "percent" that tells me the water level. From that point, I want to have that info uploaded via ethernet to Cosm or possibly send me an email with the reading once a day.
Can anyone help me with the next step in this? Essentially that would be getting the code printout a percentage reading telling me how much water is in the tank. Also, do I need to wire this sensor differently? From the datasheet it can be wired in these manors (non of the mean anything to me), simple voltage divider, whitestone bridge and differential op-amp.