Public Lab Research note


This is part of a series on springhouse-water-level.

Who will win in a world of...LASER DEPTHS?

by cfastie | September 22, 2018 04:08 | 185 views | 2 comments | #17155 | 185 views | 2 comments | #17155 22 Sep 04:08

Read more: i.publiclab.org/n/17155


Last spring I installed a water level data logger in my spring house. The water level was measured using a float connected to a tilting arm and an accelerometer to measure the tilt angle. A Mini Pearl Logger computed the water depth and logged the result every five minutes.

image description
Above: There have been three Mini Pearl Loggers in the spring house for most of the summer. They have been logging (left to right) total dissolved solids, water depth via tilting arm, and water depth via laser range-finder.

I noticed that a laser range-finder on a little PCB cost as little as $6.00 on eBay, so I bought a few. The range of these little units is about one meter, so their utility is limited, but it was exactly what I needed for the spring house. The video below is my proof of concept (the concept being that a $6.00 laser toy could measure something).

Above: The prototype in the video uses an Adafruit Feather, but the logger I installed in the spring house used a Mini Pearl Logger.

MiniLox_20180531-3037.JPG
Above: This is the $5.33 VL53LOX PCB. An integrated circuit (near the screw head) generates the laser pulse and senses the reflection of the pulse. I assume distance is determined by measuring the time it takes the near infrared light to travel back and forth. That means this thing is measuring the speed of light. We are alive at the right time.

MiniLox_20180531-3044.JPG
Above: A Mini Pearl Logger connected to the laser range-finder (right). The range-finder PCB is mounted on a piece of plastic.

lox_20180713-3134.JPG
Above: The laser range-finder on it's plastic mount in place in the spring house. The laser-generating IC on the PCB is pointed down at the surface of the water which is about 70 cm below. The Mini Pearl Logger knows how high the sensor is above the bottom of the spring house and computes the water depth. Measurements are saved to microSD card every five minutes.

image description
Above: The first trial of the laser range-finder in the spring house revealed a flaw. The surface of the water is not a stable enough surface to produce reliable reflections. Actual water depth varied between 80 cm and 120 cm during this two week period, and all of the readings below about 80 cm are noise. A modification was required.

lox_20180713-3131.JPG
Above: The white styrofoam raft floats in the spring house under the laser range-finder. A taught length of fishing line runs vertically through a hole in the corner of the styrofoam to keep it in place. This eliminated the erroneous readings.

Tilt_Lox.PNG
Above: Two records of spring house water depth logged by Mini Pearl Loggers for the same 16 days in August. Depth from tilt angle (accelerometer) is at top and depth from laser range-finder is below. The absolute water depths differ between the two records because the loggers have only approximate values for the distance to the bottom of the springhouse (I never bothered to enter the correct numbers). The high frequency variation caused by household water use and rainfall events is captured similarly by both devices. There is a low frequency variation in the tilt angle data that is exaggerated in the laser range-finder data (see fitted curves). I assume the cause of the low frequency variation is non-linearity in one or both of the systems (probably the tilt arm thing).

7weeks.PNG
Above: Seven weeks of spring house water-depth data from the laser range-finder. Major rainfall events are indicated by icons. Downward spikes are household water use events. Weeks four and five differ from earlier and later weeks because nobody was living in the house then. Those two weeks are expanded in the next figure.

AkTrip.PNG
Above: Two weeks of water depth data from the laser range-finder. The house was not occupied during these weeks and no water was drawn out of the spring house except on day 10 when a neighbor used my hose to water my patio plants and save them from certain death by drought. Rainfall events (icons) were meager during this period.

The surprising result of the final figure above is the diurnal pattern of water depth when no water was withdrawn from the spring house and rainfall was minimal. Water level typically rises about 5 mm each night and drops a similar amount during daylight hours. This is most likely caused by the trees in the watershed uphill from the spring house (see lead image above). Sunlight powers the rise of water up the trunks by driving evapotranspiration from the leaves. This draws soil water into the roots to compensate for the loss through leaf stomata. This water movement stops at night when there is no sunlight to power it and no sunlight to power photosynthesis. When photosynthesis is not happening leaves do not need CO2 so stomata can be closed and no water is lost. At night water is not drawn into roots and the soil water or shallow groundwater can be recharged.

I am pleased with the success of both water depth devices. Both capture the patterns I was hoping to learn about, and were sensitive and precise enough to detect the subtle groundwater dynamics driven by tree evapotranspiration. The laser range-finder does not require construction of a tilting arm contraption so is the preferred approach.

I am less pleased to learn that every rainfall event is recorded by a water depth increase indicating that my water supply includes very young groundwater. Some of the water entering the spring house apparently travels underground very quickly and maybe for only several meters before becoming my drinking water.

I am very pleased with the operation of the Mini Pearl Loggers. They are being controlled by TPL5110 timers which power up the loggers only long enough to read sensors and save the data. I have lost count of how long the loggers have been running, but the same four AA batteries have powered them for at least three months.

Kits to build Mini Pearl Loggers are available at the KAPtery and the Public Lab Store.

There are lots of research notes about using Mini Pearl Loggers.

Here is the sketch running on the Arduino Pro Mini.


I did this Help out by offering feedback! Browse other activities for "mini-pearl-logger"


People who did this (0)

None yet. Be the first to post one!


2 Comments

Tremendous! πŸŽ‰

Reply to this comment...


This is so useful! Another imaginative concept brought to real world utility by Chris Fastie. If I ever have a well, I will install this to learn about ground water recharge relationships to rainfall and surrounding land cover

Reply to this comment...


Login to comment.

Public Lab is open for anyone and will always be free. By signing up you'll join a diverse group of community researchers and tap into a lot of grassroots expertise.

Sign up