You are on page 1of 5

CHAPTER 4

TESTS AND RESULTS

This chapter presents the test and results of IOT based personal weather
monitoring system according to the proposed system described in previous chapters.
Tests and results are done in each of the sections.

4.1. Tests and Results for Weather Monitoring System


This system employs the NodeMCU as the control device, which connects to
an existing Wi-Fi network and creates a Web Server. When the system connects to
this web server, the NodeMCU will read the temperature, pressure and relative
humidity from the DHT22 and BMP180 sensors and send it to the system’s web
browser with a nice interface.

4.1.1. Tests and Results for DHT22 Temperature Sensor


In the personal weather monitoring system, DHT22 temperature sensor is used
to measure the temperature around the environment. Sensor’s Data pin is coupled to
the NodeMCU pin. Then, a 10KΩ pull-up resistor is connected between VCC and the
data line to keep it HIGH for proper communication between the sensor and the
ESP8266.

Figure 4.1. Temperature Detection Using DHT22 Sensor.


31

The result can read on the display as shown in Figure 4.2 on the system
startup. To complete the system, Piezo electric sound buzzer is installed. If the
temperature is too high from the predetermined level, Piezo electric buzzer produces
sound loudly. When the humidity level is under from the determined level, the sound
comes out from the buzzer.

Figure 4.2. Parameters under Monitoring Displayed on LCD

4.1.2. Tests and Results for BMP180 Sensor


Barometric pressure sensors can measure the absolute pressure of the air
around them. This pressure varies with both the weather and altitude. Depending on
how the user interpret the data, the system can monitor changes in the weather,
measure altitude, or any other tasks that require an accurate pressure reading using
this sensor as shown in figure 4.3.

Figure 4.3. Pressure Sensing Via BMP180


32

After sensing the accurate pressure using the sensor, the result is revealed on
the LCD display as shown in Figure 4.4. If the pressure level is high from the
prearranged level, the buzzer will continue for a certain amount of time as shown in
figure 4.4.

Figure 4.4. Parameters under Monitoring Displayed on LCD

4.2. Tests and Results Using Web Server Via Blynk IoT Platform
The system uses sensors to monitor and adjust environmental parameters such
as temperature, pressure and relative humidity. Then, the microcontroller sends the
data to a web page to plot the sensor data, shown as graphical statistics. The data
updated from this system can be accessed on the internet from anywhere in the world.
The embedded system enables the user to access the various criteria and store the data
in the cloud. Hence, the Internet of Things (IoT) is the core root of linking all the
sensors to the internet and monitoring the weather in real-time.
If the internet is not connected with the system, the sensor data can be
monitored by the LCD display. When a proper connection is established with the
server device, the data collected from various sensor devices implanted in specific
areas of interest is immediately relayed to the webserver. Using any Wi-Fi module
such as Node-MCU, this processed sensor data is then uploaded and stored on a
website to serve as a database. The status of these systems in the webpage which can
be accessed by entering the IP address of the web server is shown in figure 4.5.
33

Figure 4.5. Sensor Data of Monitoring System on Webpage

The Arduino code is run and the sensor output is retrieved as revealed in
figure 4.6. Finally, the user can login to the web application and view the real time
data from sensors. This is a general description of weather monitoring system
architecture and it’s working a detailed one involves a more in-depth knowledge.

Figure 4.6. Compiling Arduino Code for the Webpage


34

The implemented system consists of a microcontroller (ESP8266) as a main


processing unit for the entire system and all the sensor and devices can be connected
with the microcontroller. The sensors can be operated by the microcontroller to
retrieve the data from them and it processes the analysis with the sensor data and
updates it to the internet through Wi-Fi module connected with via blynk app then the
user can measure temperature, humidity and pressure as publicized in figure 4.7.

Figure 4.7. Overview Result of Personal Weather Monitoring System

4.3. Summary
This chapter explains the tests and results of the system. The program
flowchart of the overall system is described. In the next chapter, conclusion,
discussions and further extension are mentioned.

You might also like