Introduction: Meten Aan Water: Pelting Intensity Meter

Intro

This device is created to measure rain strength. At that place are many ways to measure the amount rainfall. Yet, if rainfall intensity is the desired data, most measurement devices are same expensive. This device is a cheap and light to build solution to collect data about the rainfall intensity. Information is collected through a photon and divided in 4 categories: no rain, light pelting, moderate rain down & heavy rain. This instructable is written to reproduce the measurement twist.

Whole step 1: Materials &adenylic acid; Tools

Materials

- 1 Photon

- 1 Coerce sensor

- 1 Adjustable resistance

- 1 Button switch

- 10 Wires

- 2 LR44 batteries

- 7 Slates with measurements of approximately: 2cm × 30cm × 5cm

- 1 Milk carton

- 1 Small flexible tube with a length of 25 cm and an inside diameter of approximately 0.5cm

- 1 Funnel: diameter of 18 cm

Tools

- 1 hammer

- 1 basketball hoop of nails (30mm)

- 1 saw

- Glue

- Tape

Step 2: Frame

Attach cardinal slates to from each one other to create a cross (X). Saw sour two pieces of 2cm × 2cm × 5cm of one slate and nail them to other ends of the thwart to stabilise it. Attach 4 slates midmost of the Cross (with the 2cm × 5cm side stuck to the get over) so that they forg a shaft in which the Milk River carton fits (slates +/- 10 cm apart). The carton should make up stabilized by the rotating shaft, but non get stuck. Then saw away another piece of the sawed ticket and attach it betwixt ii of the shaft sides. At long last add ace LR44 battery on top of the go piece of music. In the long run the frame should look like figure 1 (each slate is a different colour, for simplification).

Step 3: Ingathering Bin

Cut sour the lower berth part of the milk cartonful approximately 15 cm from the bottom. Then make a hole in which the tube fits, somewhat to the side. Glue the thermionic valv through the gob so that one end rests on the backside of the milk carton and make sure the pickle does not leak. Finally glue a LR44 battery on the buns of the bin, soh that the stamp battery rests on the other battery if the bin is placed in the scape. Figure 2 shows the result.

Step 4: Photon &adenylic acid; Bread board

Place the photon on the top of the Breadboard.

One wire go from 3V3 (j1) to the plus line.

Cardinal wire from ground (c2) to the minus bank line.

One wire from D0 (j12) to g22.

Put one button switch over e-f22& e-f24.

Put one changeable underground over c-e18 & c-e20 and twist it center.

One electrify from b20 to the disadvantageous line.

One wire from b19 to b26.

Unmatchable wire from e26 to the sensor (solder).

One electrify from e27 to the sensor (solder).

One wire from a26 to A0 (c12).

One telegram from d27 to plus.

One electrify from c24 to min.

If the gimmick is constructed as described above (like figure 3), place the sensor between the ii LR44 batteries and tape it stuck to the small slate in 'tween the shaft.

Step 5: Funnel

If the previous parts are in situ, glue on the funnel on top to increase the catchment region of the device

Step 6: Script

To run the measuring instrument, a script needs to be written and activated on the photon. Wright the following C script connected build.particle.io and flash it on your photon (go steady figure):

In the figure, the script is represented. It is not obliged to understand the full script, simply beneath is a brief description what every set off stands for.

In the first part, the variables of the book are given. Where int represents an integer, float stands for a digit with decimals.

The second base percentage void frame-up, the void represents a function. This is the setup character, whereat is explained what pin on the Breadboard is used to get information.

After this part, the median is stated. The medial is affected of a some measurements, to get rid of the advanced or low peaks. In this script, the median is affected for 5 measurements.

Void loop is the future function. The iteration represents a function which repeats afterward a while. The if means that under a certain condition, the inner part is continuing.

Side by side, the different measurements are stored. With the different stored digits, the median can be calculated.

Likewise the calculations for the rainIntensity are presented. These calculations are needed e.g. because the pressure is measured, which needs to live converted to a rain intensity.

At the cease, the results are published.

It is, again, not duty-bound to fully interpret the codes. The script can be copied. To get the script, the following link moldiness be wide: https://frame.particle.io/build Delight, press Create new-sprung app. You will engender an vacant tack. In here, the script needs to be pasted. To be sure the copy-paste went well, delight verify the script. The programme will explore for any mistakes. If there are mistakes, delight contact us. If there are no mistakes, flash the system.

Before the system can Be used in practice, delight calibrate the system. Pour an amount of irrigate in the basket, and put the begin (no more water in the bank identification number) and end (the bin colmpletely entire) terms, learn from the twist, in the script at the places: int begin and int end. This calibration need to represent through 3 times. Also change the '400' on line 108 to the total amount of mL that the ABA transit number can postponement. After this, flash the system again. Now the device is working, and IT can live used for actualized rain measure.

Be the Maiden to Share

Recommendations

  • Anything Goes Contest 2022

    Anything Goes Contest 2022