Let's make sure we don't have a language barrier thing happening here. When you say elevation, do you really mean elevation or depth? The elevation is easy, a GPS floating on the rivers surface will give you the elevation above sea level.
If you want depth of the river that is a much more involved process. Underwater sonar is not something you can typically hack together at home.
We have problems with the overflow of rivers due to heavy rainfall in this region, I would like to measure the elevation of the river at various points to advance warning of flooding.
another, but much more expensive way is to measure water depth with a submersible pressure sensor. these are very expensive, but very accurate. you can mount in a concrete vault because water pressure will effect anything under water.
dave-in-nj:
another, but much more expensive way is to measure water depth with a submersible pressure sensor. these are very expensive, but very accurate. you can mount in a concrete vault because water pressure will effect anything under water.
A bubbler is a cheaper variation of that.
A (gauge) pressure sensor, a small air pump, and a thin plastic hose to a concrete block in the river.
Pump air in the hose untill the pressure doesn't increase anymore (bubbles escape).
The air pressure is the water depth.
Repeat every 10 minutes.
Leo..
Wawa:
A bubbler is a cheaper variation of that.
A (gauge) pressure sensor, a small air pump, and a thin plastic hose to a concrete block in the river.
Pump air in the hose untill the pressure doesn't increase anymore (bubbles escape).
The air pressure is the water depth.
Repeat every 10 minutes.
Leo..
need to supply compressed air, not feed from a compressor. the pulses are way larger than depth.sensitivity.
accuracy depends on sensor, but un-manned operation requires the compressed air is refilled. you can pressurize with a compressor, but that requires power.
Little tube with the ends sealed goes down from the bridge. Inside are hall effect sensors and wires running back up. Outside the tube is a float with a magnet inside of it around the tube. As the bob goes up and down, you sense it passing the hall effect sensors. Low granularity, but for flood watching that's all you really need. Maybe one sensor per foot and you always know the depth to within 12". If it might get damaged, then the whole contraption might be put inside of an outer tube with the ends open so the water level inside will rise and fall with the river.
Suppose you immerse two parallel conductive rods into the water. The water between the rods represents a resistor, and the further up the rods the water comes, the lower the resistance, in a linear relationship. So you put another resistor in series with this resistor, to get a voltage divider, and now scale it so you can use analogRead() to determine a voltage.
The only gotcha I can think of is water temperature and water chemistry may affect the resistance. So you arrange for a small pair of control rods, conductive along only a fixed length, to remain fully immersed in the water to determine how to interpret the resistance on the rods you are using for measurement.
dave-in-nj:
need to supply compressed air, not feed from a compressor. the pulses are way larger than depth.sensitivity.
accuracy depends on sensor, but un-manned operation requires the compressed air is refilled. you can pressurize with a compressor, but that requires power.
Run the compressor for several seconds (long enough to expel the water from the tube), stop the compressor then measure the static air pressure. This also eliminates errors due to frictional drag of air moving through the tube giving a false high pressure reading.