![]() |
|
|
#12 |
|
Romulan Interpreter
Jun 2011
Thailand
258B16 Posts |
Hm... it looks like you have a lot of unexpected rains and winds (for evaporation) there in Bim, I better delay my visit...
|
|
|
|
|
|
#13 | |
|
"Ben"
Feb 2007
3·1,171 Posts |
Quote:
If you are having fun and trying to find the limits of your hardware, then of course continue. But if you are just trying to get something done then you may be there already. |
|
|
|
|
|
|
#14 | |
|
If I May
"Chris Halsall"
Sep 2002
Barbados
2×5×7×139 Posts |
Quote:
I'm primarily continuing in order to find out exactly what the capabilities are, for other possible applications. Also, it's been a long time since I did low-level work like this; quite a nice break from writing policy position papers...
|
|
|
|
|
|
|
#15 | |
|
"Ben"
Feb 2007
3×1,171 Posts |
Quote:
If you are interested, I can recommend this laser TOF sensor. I've used it before; it is accurate and very easy to use. Since it is laser-based, it shouldn't have the thermal issues you are seeing (assuming those are related to humidity and temperature dependent speed-of-sound). It is 3 times the cost though. |
|
|
|
|
|
|
#16 | |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
10,753 Posts |
Quote:
What about a depth gauge (a tape measure or a metre-stick) tape measure attached to a clear tube containing a brightly coloured float, in the field of view of web cam? Find the position of the meniscus with relatively simple computer vision algorithms such as are implemented in OpenCV Or a float attached to spool of line which is weighted to remain at the bottom of the tank. The spool has a spring strong enough to take in any slack but not strong enough to prevent the float from surfacing. Measure the length of line by any mean you wish, perhaps by a shaft encoder on the spool. (added in edit: most of this kit can be sourced easily from an angling supply store.) Last fiddled with by xilman on 2019-07-25 at 09:12 |
|
|
|
|
|
|
#17 | |
|
If I May
"Chris Halsall"
Sep 2002
Barbados
2·5·7·139 Posts |
Quote:
BTW, it looks like the first sensor I installed in a tank is faulty (never fails; no joke intended). I finally got the cable pulled for the other tank in another building (had to be hidden; SWMBO is an architect, and thus everything has to be "pretty"). The readings are far more stable and am actually getting +/- 0.2 mm accuracy. Attached is a plot of the readings after final placement, and siphoning water from another tank into this one. Note that this tank is effectively underground, so it won't be seeing the ambient thermal variations of the others. Last fiddled with by chalsall on 2019-07-27 at 14:44 Reason: Forgot to upload plot. |
|
|
|
|
|
|
#18 | |
|
If I May
"Chris Halsall"
Sep 2002
Barbados
2·5·7·139 Posts |
Quote:
I place a little bit of red pepper oil in each tube to be able to easily see the water level. Human (rather than computer) vision is then used. The sampling period is quite intermittent, but good enough...
|
|
|
|
|
|
|
#19 | |
|
"Rashid Naimi"
Oct 2015
Remote to Here/There
3×5×137 Posts |
Quote:
https://www.mersenneforum.org/showpo...&postcount=910 |
|
|
|
|
|
|
#20 | |
|
Romulan Interpreter
Jun 2011
Thailand
7×1,373 Posts |
Quote:
![]() (the engineer in me, hehe, sorry, but product design, and being bitchy about, is part of my daily job) |
|
|
|
|
|
|
#21 |
|
6809 > 6502
"""""""""""""""""""
Aug 2003
101Γ103 Posts
23×1,223 Posts |
The major city water supplier near me uses several systems to monitor tank levels. One of the common ones (that is often redundant to radioed automatic measures) is a float inside attached to a cable that exits the top of the tank. This cable goes over a pulley and down the side to a weighted marker. There is a scale in black and white on the side of the tank. Using binoculars the level can be read quite accurately from a good distance. The moving marker sometimes has a light on it and there is a light at the top of the tank (the empty mark on the scale.) The relative level can be determined from a good distance without optical aid. With a cheap camera web cam and 3 LEDs (one on the marker that is differently colored) the % full should be quite detectable. Slap a dark filter on it and computing will be easier. Depending on the tank locations and the camera, you might be able to do multiple tanks at one go.
I have seen the float system used for tanks in the 7.5 million liter range, |
|
|
|
|
|
#22 |
|
If I May
"Chris Halsall"
Sep 2002
Barbados
260216 Posts |
So, LaurV is going to laugh at me about this, but...
I spent the weekend making friends with KiCad EDA and designed a very simple circuit, and then a PCB, to sit on top of a Raspberry Pi. This is to drive up to four ultrasonic and temperature sensors. I also brought all of the unused GPIO lines over to a smaller 20 pin header, so I can design another daughterboard to sit on top of this to drive other things, like pressure and water-flow sensors, and valves. I have to say, I'm having a hoot! It's been more than 20 years since I last did PCB design; how things have changed! The software I worked with before cost several hundred dollars and didn't have the capabilities of KiCad (which is Open Source). Also, I was working on a PC back then, at 640 by 480 pixels. I'm now working with three 1920 by 1080 screens (with 36 virtual desktops)! Sometimes I wonder how we got anything done back then... ![]() PS: On the down side... I tried to source a 74HC74 chip locally here in Bimshire, and found I couldn't even buy a 7400! Sigh... The frustrations of living in "paradise"... Last fiddled with by chalsall on 2019-08-12 at 16:06 Reason: PS... |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New Raspberry PI 4 | ET_ | Mlucas | 26 | 2019-07-08 11:38 |
| Raspberry Pi | lavalamp | Hobbies | 10 | 2017-08-16 00:37 |
| Raspberry Pi | sloppyonefoot | Software | 1 | 2017-07-02 08:48 |
| Raspberry Pi | xilman | Hardware | 126 | 2017-06-01 14:42 |
| PC to run in a tank of mineral oil? | wildrabbitt | Hardware | 32 | 2015-04-10 00:36 |