Difference between revisions of "Rain gauge"

From BoSL Wiki
Jump to navigation Jump to search
Line 145: Line 145:
 
The connection is shown as follows:
 
The connection is shown as follows:
  
[[File:Reed Switch Connection.png|thumb|center|Line Connection for rain guage using reed switch]]   
+
[[File:Reed Switch Connection new.png|thumb|center|Line Connection for rain guage using reed switch]]   
  
 
The code for using the reed switch is attached here:
 
The code for using the reed switch is attached here:

Revision as of 04:19, 29 May 2023

This section shows the journey for making our 3D print rain gauge!

Design journey

We didn't start from scratch - we work on Suromark's version (referred as original design in the following) and we did some changes to that:

First, we noticed that the tipping bucket can get stuck to the pivot if operated overnight, so we changed the flipper with 0.6 mm clearance. Secondly, we noticed that not all of the water in the bucket can escape when tipping. We compared with the standard tipping bucket rain gauge design, and we added a sharp edge and made some "swale" in the bucket to help divert water when tipping:

Thirdly, we found water can be soaked into the tipping bucket during long-time operation so we changed the 3D print from 30% infill to 100% infill;

In the end, we found that the tipping volume can change from time to time. We found during the overnight operation, a small amount of water from splashing or dripping can stay on the rain gauge base, which probably increases the friction between the base and bucket, therefore influencing the tipping volume. In that case, we changed the base design - to make water can easily escape so the tipping volume is consistent.

3D print files

Thanks Stephen for designing and editing the files!

File:Funnel.stl

File:Seesaw.stl

File:Baseplate.stl

Nano Board code

Thanks Luke(Baiqian) Shi for the coding :)

File:Nano Rainguage Sender.ino

Assembly instructions

The following video outlines the process required to assemble the gauge and to connect it to a logging system.

Application

We have used these rain gauges in Xixi Shi's lab-wetlands to monitor the outflow rate. There are 6 wetlands in total, and we have equipped each wetland outlet with a rain gauge to monitor the outflow rate.

This is the calibration for each rain gauge tipping bucket:

Rain gauge tipping volume(ml) Feb 16 3pm Feb 17 11am overnight difference (%)
R1 2.8 2.8 2
R2 2.9 2.9 2
R3 2.8 3.1 9
R4 2.9 3.1 7
R5 3 3 -1
R6 3 2.9 2


New Design journey

Our design is based on the Giovanni Aggiustatutto's version. We made some changes to it:

Firstly, we noticed that this tipping bucket had the same issue as Xixi's design, which was that water could not escape when tipping. To address this, we added a sharp edge and slope trench to help the water escape while tipping.

Secondly, based on Xixi Shi's experience, we found that the PLA filament absorbs water in a humid environment, which can alter the flipper's weight and tipping value. Therefore, we decided to use other waterproof materials such as PETG and PP filament to print the flipper.

Thirdly, we added a base at the bottom of the rain gauge container to ensure that rainwater can escape better after tipping.

Flipper (tipping bucket)

We made several versions of changes to the sharp edges and slopes to improve water drainage.

original design
Flipper version 1: sharp edge is not long enough to let water escape
Flipper version 2: Changing the sidewall of the flipper to a curved shape minimizes the volume of water that gets stuck. The slope of the sharp edge is larger than that of the trench, which allows water to escape from the flipper during light rain conditions without tipping
Flipper version 3: The slope of the sharp edge is the same as that of the trench, which means water can only escape during tipping, but the volume of water getting stuck is reduced.

Stand

We added an stand under the base container to raise the height without using threaded rod.

Rain gauge stand

Additionally, we removed the flat aluminum profile that Giovanni used under the container and added four arms to the stand, which connect the funnel and rain gauge box using M5 stainless steel stranded rods and some pieces of M5 self-locking nuts and washers.

Rain gauge stand with arms

Funnel

We changed the funnel shape form rectangular cone to a circular cone. A circular funnel allows for more efficient collection of rainwater compared to a rectangular funnel. The shape of a circle allows for better distribution of the incoming rainwater, ensuring a more accurate measurement.


Assembly

rain gauge
rain gauge demo
rain gauge demo 1

All printing parts are including in below file.

File:Rain gauge stl .stl

Testing

Printing material

We used PLA and PETG to print the flipper and test its waterproof effect. First, we measured thier dry weight and put them in the water overnight and then measured the wet weight separately. The results show that PETG and PLA are both absorb water, both of them can not be fully waterproof.

Material Dry weight Wet weight Different %
PETG 10.0903 10.1776 0.0873 0.865%
PLA 8.5891 8.6976 0.1085 1.263%

Therefore, we applied a clear, protective finish to the printed components using Rust-Oleum 2X Ultra Cover Satin Spray to achieve waterproof performance.

spray_flipper
spray_funnel

Tipping value

We need to find the rainfall in millimeters in height, therefore, we achieved 2 ml of water per flip by constantly adjusting the height of the flipper.

Coding

Hall effect Sensor

As the Arduino only allows one program running at a time, in the case of flip happened during the uploading process, an additional MicroBoard is used as an counter to help solve this issue. The connection is shown as follow:

Line Connection for rain guage

The code for using the hall effect sensor is attached here:

File:Newdesign Rainguage Sender.txt

File:Newdesign Rainguage logger.ino

Reed Switch

Since the rain guage is aimed to be used at field condition. The previous hall effect sensor version is not satisfied as the logging sensor always needs to listen from the sending sensor, which is large battery consuming. Therefore, we are looking for some sensors that can support the sleep function. The reed switch is then selected.

The connection is shown as follows:

Line Connection for rain guage using reed switch

The code for using the reed switch is attached here:

VERSION 1. File:Rainguage logger Hologram.ino VERSION 2: File:Raingauge.ino