News for hackers. Stuff that matters.
Re:Naval Architecture by abraae on Tuesday July 27, 2021 @04:34PM (#27977251)
I'm building a system for measuring levels in water tanks using submersible pressure sensors (triggered by living in a dry area and being totally dependant on our tanks).

Quality sensors cost a lot - too much for domestic purposes. Much cheaper ones can be bought from China, so I've been looking for some way to test them, without actually altering the level in a gigantic water tank.

It occurred to me I should be able to just use a thin vertical pipe. But as you say, this seems counter intuitive, especially if the pipe is barely wider than the sensor itself. Just doesn't... Feel right.

Re:Naval Architecture by zsmi on Tuesday July 27, 2021 @08:06PM (#27979039)
I can totally relate.

I've been using ohm/square for decades. I know the math. I've measured it. It works. I know it's true. But my mind refuses to accept that ohms/square can possibly be a unit. Every single time my mind is like, "ohms per square what?"

http://www.esdjournal.com/techpapr/ohmmtr/ohm.htm

Re:Naval Architecture by tbrownaw on Wednesday July 28, 2021 @02:30PM (#27987659)
My understanding of that is that it's using "square" as in aspect ratio like how screens are 16:9 or whatever, while "square" in units is more commonly used as in `exp(n, 2)`. And that terminology mismatch is why it often doesn't seem to make sense.
Re:Naval Architecture by lazide on Tuesday July 27, 2021 @05:21PM (#27977824)
It’s called head - and it’s a key calculation in if a dam is worthwhile. The pipe feeding the turbine can be quite small for a lot of power if the head is large.

You could also use a small pressure vessel/sealed tank, and pump in water with a hand pump. You could simulate nearly any sized tank that way too.

Re:Naval Architecture by RantyDave on Tuesday July 27, 2021 @07:25PM (#27978801)
If you stick the sensor at one end of a hose pipe (with water in it) then you can just change the height of the other end to change the pressure.
Re:Naval Architecture by abraae on Tuesday July 27, 2021 @08:13PM (#27979081)
Nice idea, thank you.
Re:Naval Architecture by RantyDave on Tuesday July 27, 2021 @07:29PM (#27978836)
Hey, also, why not just find the height of the water level by attaching something ultrasonic to the inspection hatch (or whatever). https://www.adafruit.com/product/4664
Re:Naval Architecture by abraae on Tuesday July 27, 2021 @08:09PM (#27979058)
Not accurate enough. I want to be able to quantify e.g how much water was used to water the garden. In a 25K litre tank, that's a very small change in level.
Re:Naval Architecture by groby_b on Tuesday July 27, 2021 @08:50PM (#27979282)
You'll have the same issue with pressure sensors, though?

Maybe a flow meter is a better choice for that. (Bonus, you can use that to cross-calibrate with the pressure/level sensor)

Re:Naval Architecture by snovv_crash on Wednesday July 28, 2021 @08:54AM (#27983139)
Yep, if you use flow plus pressure, you can run an EKF to get much more accurate results.
Re:Naval Architecture by snypher on Wednesday July 28, 2021 @07:17PM (#27990985)
You can get ultrasonics with millimeter precision but they're $300.
Re:Naval Architecture by vosper on Tuesday July 27, 2021 @07:49PM (#27978947)
Not only is this a really cool idea, that sensor is awesome! I love that you can get something like that for $30.