Ijece Iceemst P108
Ijece Iceemst P108
Ijece Iceemst P108
required to support and maintain this water level measurement many modern level sensors to measure levels of water such as stated
system. Several studies have designed river level sensors using in the previous paragraph.
databases, processing raw data, extracting information and sending
wirelessly this information to users. [14], [15],[16]. Another more III. STRUCTURE AND DESCRIPTION
previous works have studied similar issues such as [17], [18]. To test the performance of our water level measurement
Because of climate change extreme rainfall is becoming more system, we have created a micro-model based on a prototype. In this
frequent often, therefore it causes heavy flooding. This causes the way, we avoid waiting for torrential rains to watch how the water
need to monitor constantly the river level, so these measurements rises in a river. It seems an absurd idea to test our prototype directly
must be safe and to have reliable sensors are essential. According on a river. Basically, the prototype has as function to be a flood alarm
to location characteristics, different measuring principles can be system, that consists in a water level meter connected to an audible
used. A water level measurement enables to know the amount of
alarm device in 24-hour operation. When the water level reaches the
water that have a river, it also to know what level it can become
level marked a speaker alert (Siren) is triggered. The prototype also
dangerous because it may cause an overflow, therefore, cause
sends information about water level from the container to a web
floods. Saving level values can make predictions for future levels
server and smartphones as well.
and behaviors in the water level of rivers, lakes, lagoons, ponds,
As mentioned, there are different models and types of
and dams.
water level meters, including sensors based on different technologies.
2.1. Water Level Meters
At this time, we design a solution based on a simple open circuit that
Different types of water level measurement systems are used in closes when in contact with water that takes advantages of existing
industry and research which is shown in Figures 1, 2, 3, and 4. These sensors, so we think that an implementation of water level system can
can find directly measuring the height of the liquid by drawing up to
send alert signals toward a web server or a software application
reference line, other measuring hydrostatic pressure, some more
installed on smartphones. When carrying out this water level system,
which are based on a float system whose displacement caused by the
same liquid is quantified or also those that exploit the electrical we took into account the physical properties of water, hence, take to
properties of a liquid. determine the levels of liquids. Water has the ability to conduct or
Traditional systems for measuring water level have existed for transmit heat, electricity or sound. We believe that the conductivity
decades. Next, we present the most typical ones. feature of the water could be a simple and economical solution for
1) Limn meter Rule Meter: Rule for graduating that is set in a river measuring water level, based on this idea, our work focused on
and used to read the fluctuations of the water levels. studying changes in impedance or resistance of some devices when
2) Liquid Level Meter: This device measures directly the height of they are covered by water. Although there are other alternatives for
liquid taking into account a reference of level measurement of a measuring water levels, such as acoustic sensors, it was quite difficult
container. (See Fig. 2). to acquire for use with the Netduino technology, leading to deciding
3) Sounding Line Meter: It is a rod or ruler which is inserted into a to monitor the levels with water resistivity.
reservoir, the water level is determined directly by measuring 3.1. Water Level Design
the length that is wetted by the liquid. To validate the idea and realize a Proof of Concept (POC),
4) Mechanical Float Meter: It consists of a float located in the tank as noted earlier, we have designed a micro-model that emulates how
connected to the outside showing the liquid level with graduated the river stage rises. This micro-model consists of a water container,
scale. The connection can be direct, magnetic or hydraulic. (See an electronic circuit, a Netduino board, an Access Point, a laptop, and
Fig. 4). a smartphone. We must take into account the water level system
protection, it must have a waterproof coating to avoid get damaged
when water exceeds the maximum level and sensors get dirty due to
high solids in the water, hence, a measurement is recommended in a
controlled environment. It is convenient to use an automatic level
measurement and wireless data transmission, connect the device to a
server.
3.2. Equipment and Materials
In order to design the prototype the following materials and
equipment were used. All parts and elements are shown in.
1) Access Point D- LINK Dir-600.- To wireless communication.
2) LED colors - three colors (color code)
Fig 2.1 Ruler fig 2.2 Manometer
• Green: Moderate Alert
• STMicro 32-bit microcontroller reached the first level (green), and so on (See Figure 7). At the same
• Speed: 168 MHz, Cortex-M4 time, the circuit also triggers the speaker alert.
• Code Storage: 384 KB
D. Measurement and interpretation of obtained values during sensing
• RAM: 100 + KB The water level is measured by means three phases or layers, That is,
5) 9 resistors (10 ohms).- To cable data input to Netduino plus 2. green alert, yellow alert, and red alert.
6) Micro USB cable (1 m).- To connect the data transmisin from 1) A device emits a signal to the respective sensor to measure the
the Netduino Plus 2 board to the Web. water level.
7) Copper wires .- For cabling all circuit and connecting to the 2) The value obtained from the sensor becomes in alert levels.
Netduino Plus 2 board. 3) In case of failure to comply with the higher criterion than one
8) Water (5 liters).- To fill the container. (>1), return to step 1.
9) Speaker Alert (Siren).- To emit a loud sound when water is 4) Using a dynamic IP address AP with mobile devices where
rising the red level. readings transmitted data is connected.
10) 1 Laptop .- A computer to execute Microsoft Visual C# and 5) A measurement in degrees is added, together the date and time
interact with Netduino Plus 2. when transmitting a signal to the sensor. 6) It is stored into the
11) Microsoft Visual C# 2010 Express:.- Programming Language memory card.
for running the water level system.
12) Smartphone. - To receive advices when the water level is IV. TESTIING AND IMPLEMENTATION
changing.
Netduino apps are written using C# language and many of us are
already familiar with the Visual studio IDE for development from
Microsoft. The same Visual studio IDE can be used to create, run and
debug the Netduino apps. Assuming we also already have an
installed visual studio let’s look at other components that need to be
installed in order to start programming Netduino apps. Below in
Fig 3.1 LED Figure 8 is shown the three parts involved in the prototype, after
compiling the Netduino programming code, put water in the
C. Architectural Design
container, the prototype is ready to be tested.
Our water level measurement architecture is shown in Fig.
4.1 Testing prototype
7, all parts are integrated and put it all together, in this Figure is As mentioned, a water container with three wires inside and a neutral
shown the architectural design, it has three open electric circuits, the pole were placed within a container, that was filled with water in
terminals or ends (green, yellow and red wires) of these circuits are three stages and while the container was filling, the prototype was
placed inside the water container (3 and 8), these terminals are sending warning messages to smartphones. How we tested the
connected into three pins of the Netduino board (7 and 4), these prototype proposed in this paper is described in detail as follows:
circuits go through a breadboard where connections are organized. 1) The container (empty and dry) was filled with water up to the
Terminals are located in different heights allowing water to level of the first wire (green terminal).
determine three levels (8), it is assigned a color to each level to 2) Immediately the computer program installed on the laptop
identify more clearly, where the LED in green color is the lowest triggered an audible signal and a message of green alert was
level, yellow LED is intermediate and red LED is the highest one. displayed, at the same time in the Smartphone is shown the
same alert message. We continued pouring water into the
container up to the level of the second wire (yellow terminal).
3) Similar to the previous case, the application on the Laptop
triggered an audible signal and a yellow message was
displayed, same happens in the Smartphone, a yellow message
was displayed on a screen.
4) Finally, we continued filling the container with water that was
in the yellow state level, the water reaches the third and final
level (red wire).
5) PC application immediately sounded the siren and green
warning message was displayed on the monitor, while in the
Fig 3.2 Water Level Architecture smartphone was displayed the same red alert message,
indicating that the population should evacuate.
The brown wire is the neutral pole of the circuit and this pole is
The prototype worked in reverse order when the water was removed
permanently in the bottom of the container when the electrical energy from the top level, the application changed automatically to yellow
flows through the circuit, then it remains open until the water level alert and green alert respectively. In this way we tested our prototype
reaches the first terminal indicated by the green color. The liquid once slowly being filled with water the container; if the water level
serves as a conductor of electricity but with a resistance value so that rises, warning messages are sent to both the laptop and the
a short circuit is not present. If there is a change in circuit current, the smartphone. As a result, if the amount of water poured into the
breadboard has a LED color connected to this circuit, then it has container is constantly maintained, then it is possible to calculate the
time remaining until the water reaches the next level mark and so on
until the threshold.