I'm working on a project right now that has two resevoirs of water, and I need to be able to tell how much water is in each of them.
The only two ideas that I have at the moment is to use either an IR distance sensor or an ultrasonic one. Is there anything that I could do/use? Thanks.
Okay, each reservoir holds 12 cups (where a cup is 6 fl. oz.). The first one is long and slender, but is about an inch and a half wide. The second one is more cylindrical, but has a base of about 3x4 inches.
Water level will probably change equally (i.e. water will run from reservoir #1 to #2, with #1 being refilled periodically).
When I was looking into this some years back, I found that some guy had patented sticking 2 wires in the water and taking one side to a transistor base to switch a beeper..... I can't find it now. I thought a patent had to be non-obvious to someone of similar standing. Using a transistor to amplify a signal, is surely what transistors are for?
A pressure sensor would be around $10 and quite precise. A bit of an old document but it explains the concepts. Assuredly better examples out there somewhere.
That etape might do the trick. It would possibly work well for the tall/skinny resevoir, but the cylindrical one, I'm not so sure. Is there etape that comes in small sizes?
Also, the sensor might need to be submerged in very hot water (i.e. almost boiling).
Washing machine pressure sensors usually operate via a trapped-air line, with the pressure sensor always well above the water level. As the water enters the machine air in the line leading to the sensor is compressed.
This works great if the machine is emptied each time, but it doesn't work well if water is always present. In such a case, the air in the tube will gradually dissolve in the water and water will move into the tube.
Another option is to use a water pressure sensor designed for the purpose. You could have a line leading to the sensor from the bottom of one of the tanks, with the pressure sensor being at room temperature. I use this technique to measure the water levels in large water tanks and have found it to be extremely accurate and reliable.
Finally, you can consider capacitive liquid level sensors. These are non-contact and relatively immune to temperature differences. There are several posts on the Arduino forum on the topic.