Tải bản đầy đủ (.pdf) (18 trang)

ASM 2 IOT 1690 FPT Greenwich (Merit good choice)

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (1.49 MB, 18 trang )

ASSIGNMENT 2 FRONT SHEET
Qualification

TEC Level 5 HND Diploma in Computing

Unit number and title

Unit 43: Internet of Things

Submission date

Date Received 1st submission

Re-submission Date

Date Received 2nd submission

Student Name

Student ID

Class

Assessor name

Student declaration
I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that
making a false declaration is a form of malpractice.
Student’s signature
Grading grid


P5

P6

P7

M5

M6

D3

D4


 Summative Feedback:

Grade:

 Resubmission Feedback:

Assessor Signature:

Internal Verifier’s Comments:

Signature & Date:

Date:



Table of Contents
A. TASK 1: DEVELOP AN IOT APPLICATION USING ANY COMBINATION OF HARDWARE, SOFTWARE,
DATA, PLATFORMS AND SERVICES. ................................................................................................................ 5
I.

Employ an appropriate set of tools to develop your plan into an IoT application(P5) ....................... 5
1.

Select an appropriate set of tools, frameworks, devices ................................................................ 5

2.

Develop the solution........................................................................................................................ 7

II. RUN END-USER EXPERIMENTS THEN IDENTIFY THE PERFECT AND INCOMPLETE POINTS IN YOUR
SYSTEM(P6) ............................................................................................................................................... 10
1.

Deployment of all program............................................................................................................ 10

2.

Design the Blynk app ..................................................................................................................... 13

3.

Test The Software .......................................................................................................................... 14

4.


The perfect and incomplete points in our system......................................................................... 15

B. TASK 2: EVALUATE YOUR IOT APPLICATION AND DETAIL THE PROBLEM YOUR IOT APPLICATION
SOLVES, THE POTENTIAL IMPACT ON PEOPLE, BUSINESS, SOCIETY AND THE END-USER AND THE
PROBLEMS IT MIGHT ENCOUNTER WHEN INTEGRATING INTO THE WIDER IOT ECOSYSTEM .................... 15
I.

EVALUATING END-USER FEEDBACK FROM YOUR IOT APPLICATION ................................................ 15
1.

Users Feedback: ............................................................................................................................. 15

2.

Evaluate the User Feedback .......................................................................................................... 17

3.

Possibility of commercialization .................................................................................................... 17

II.

C.

DISCUSS THE DRAWBACK OF YOUR SYSTEM AND SOLUTIONS FOR IMPROVEMENT ....................... 18
1.

Discuss the drawbacks: There are several drawbacks: ................................................................. 18

2.


Possibilityity For Improvement:..................................................................................................... 18

CONCLUSION ......................................................................................................................................... 18


A. INTRODUCTION
In Assignment 1, I discussed IoT platforms, tools, and hardware in terms of explaining the IoT's
guiding principles. This report is putting the solutions to the issue mentioned in the previous report
into practice. Following that, I will survey project participants and assess the final result.


B. TASK 1: DEVELOP AN IOT APPLICATION USING ANY COMBINATION OF HARDWARE, SOFTWARE, DATA,
PLATFORMS AND SERVICES.
I.
Employ an appropriate set of tools to develop your plan into an IoT application(P5)
1. Select an appropriate set of tools, frameworks, devices
Our team has made up our minds to choose the smart agricultural system for our IoT application. This
one will have five features when finished, including fast temperature sensing, soil moisture, air humidity
sensing, and triggering an automatic cooling fan as well as a pump, from which it may balance the
temperature or moisture of the surroundings.
Finding an Integrated Development Environment (IDE) to develop the source code, debug the program,
and construct compiled code is the first step in turning the program into operation. Our team makes the
decision to use the Arduino IDE for such a project as it has relied on a microcontroller, which is a concise
computer that can run even one program at a time repeatedly. This allows the programmer to have an
intuitive board that can handle streamlined repetitive tasks like reading the bordering temperature and
moisture content. The IoT platform, such as Thingspeak, Ubidots, the Blynk Application, etc., is how
much we will need next for remote monitoring and controlling. As a result of its simplicity and low cost,
our team will use the Blynk platform for this.
This is because Blynk is a software that could run on iOS and Android platforms as well as permits system

control and internet-based device inspection, the author selects to integrate Arduino IDE with the C
programming language and Blynk platform to build the system. The hardware of one's selection is
accessible by Blynk; it is not confined to any dedicated hardware. Illustrations also include Arduino,
Raspberry Pi, ESP8266, and a number of very well hardware modules. Coding and uploading code to the
board is made easier by the free and open-source Arduino Software (IDE). Any Arduino board may be
used with this application.
All Hardwares of this IoT:
Name

Description
The DHT11 module's humidity and temperature
sensor will be designed to quantify the surrounding
air's humidity and relay that information to the
system.
With this, users may water plants remotely rather
than physically, as the pump will do so in response
to their commands.


When the temperature detected by the sensor is
hotter than the appropriate temperature, the fan
will assist in reducing the ambient temperature
since too high temperatures can harm the plants.

By using this sensor, the system will be able to
determine the soil's state, which will allow us to
determine when to water the plants.

By using this sensor, the system will be able to
determine the soil's state, which will allow us to

determine when to water the plants.
Based on the ESP8266 Wi-Fi Module, this Wireless
Module CH340 Node MCU is an Internet of Things
Module. With just a few lines of Lua code, it is an
open-source firmware and development kit that
enables the prototyping of IoT devices. With a
server or client, it will manage a Wi-Fi connection
An electronics prototyping platform is known as a
breadboard or protoboard. utilized to connect the
wire to hardware.


The interconnection process is accompanied by the
LCD's incredible number of legs, which also uses up
a massive proportion of the microcontroller's legs.
An I2C converter module only needs two legs, as
contrasted to the microcontroller's minimum need
of six legs (RS, EN, D7, D6, D5, and D4) to connect
to the LCD (SCL, SDA).

Relays are electrically powered switches that may
be turned on or off, enabling current to flow or
not, and can be controlled by low voltages like the
3.3V provided by the ESP32 pin 3V3.

2. Develop the solution
Every one of the aforementioned hardware would be a part of the smart agricultural system and be
accessible through WiFi. Considering everything will be online, clients are able to test the functional
requirement and performance on a smart device such as a computer, smartphone, tablet, or another
smart device by running the Blynk app.

Via using hardware, the smart agricultural system will collect data about its environment and
communicate it through the Internet to connected devices like smartphones and tablets by
utilising the Blynk app. The software will then process the data and transmit it to the client.
The air humidity, temperature, and soil moisture are the three variables that the software will
provide. In particular, that has three basic functions: it controls the light to check the temperature
when it gets chilly; the pump to hydrate the plant when the soil moisture level is low, and the fan to
adjust the air humidity when it becomes too high.
The system will notify via the Node MCU V3 CH340 - RF Kit ESP8266 whenever the moisture levels get
too low and the notify is "plants need to be watered". Acknowledge receipt of the warning
system, notifying the Blynk app in other smart devices that the soil moisture is lacking and indicating


that the plant needs to be watered. When the measure is adequate, the client can then restart the
water and turn off the pump.
The air temperature and relative humidity warnings function similarly to the notification for soil
moisture. To warm the planet when it reaches the point and to cause the air humidity when it reaches
over the acceptable limit, the user would need to switch on the fan.
 Develop the air humidity sensor and automatic cooling fan.
My task in this project is to create and develop two of the primary functions which are air
humidity sensing and an automatic cooling fan. Similarly to another measure of Air Temperature
and Humidity, I prefer the DHT11 Humidity Sensor to make the sensor. Utilising a 5V Power
relay to control and manage the Cooling fan 3010.
The cooling fan will automatically start when the Humidity sensor determines that there is
sufficient air humidity present on the farm. Consequently, the land will be automatically irrigated.
The cooling fan shuts off when the air humidity becomes standard. From anywhere in the globe, I
may use Blynk Server to remotely observe everything that is happening.
Specific Hardware for these two functions:
DHT11 Humidity Temperature Sensor: Although it's not too difficult to operate, data collection
requires precise scheduling. This sensor's sole significant drawback is that you can only collect new
data from it once every two seconds. As a result, sensor data used in the library may be up to two

seconds outdated. In this project, the atmospheric temperature and humidity will be measured
using this sensor. The other is a cooling fan.
Configuration of the hardware:
Attach the DHT11 to pin D4 of the Nodemcu. The cooling fan and relay are connected. Using the
NodeMCU's D7 Pin, I can control the relay. The 5V pin of NodeMCU may be used to power the
Cooling fan and Relay. Only a 9V Supply Pin is needed for the Cooling fan, DHT11 Sensor and relay.

Figure 1: Configure hardware


Figure 2: Configure hardware2

Source Code/Program
The IoT Smart Agriculture & Automatic Irrigation System with ESP8266 Source Code is quite
straightforward. Direct uploading of the code to the NOdeMCU Board is possible.
Library:
o ESP8266WiFi
o BlynkSimpleEsp8266

I attach a variable to the pin D7's incoming value here in the code. This is the fan's pin value, and if
it equals 1, then implies the fan is being turned off via relay 1, in this example. If not, we will
switch on the fan.


Specifically, If the temperature, as well as air humidity, is greater than 30 and 15, the Cooling Fan
will automatically start. The data will be also printed on serial.
II.
RUN END-USER EXPERIMENTS THEN IDENTIFY THE PERFECT AND INCOMPLETE POINTS IN YOUR
SYSTEM(P6)
1. Deployment of all program



The ESP8266WiFi.h and BlynkSimpleEsp8266.h libraries for the Node MCU V3 CH340-RF Kit ESP8266
and the DHT.h library for the Module temperature-humidity sensor DHT11 are included here, as well
as all other essential libraries. The next step is to define some of the system's implementation-related
variables, such as the Wi-Fi accounts and certain hardware-related variables, including analogue Input
= A0, Fan = D7, and Pump = D6.

The only operation that takes place when a controller is reset is void setup(). There is a setup code
there from our team. Install both hardware and software while setting up the entire system.


All of the code is repeatedly executed inside the void loop. The author first used the Blynk. run()
method to launch the Blynk application. After that, the author set two values for the temperature and
air humidity in the variables h and t.


The technology will send a signal if the temperature increases greater than 30 degrees and the air
humidity hits 85 per cent. The soil moisture variable is then read from the analogue. The system will
issue a notification if the value is below 20.
2. Design the Blynk app
Our team will walk through each step of how to present the information on the user interface.
Begin by signing up for Blynk, then launch the Smart Agricultural system project. After that, click on
the screen, saunter down to the sidebar, and begin designing the interface. The set-up of the app in
this case is seen in the accompanying image.

Figure 3: Set up blynk

This app will exhibit the temperature on the left and the air humidity on the right, accompanied by
the soil moisture at the bottom position. There will also be no buttons since all of these programs also

automatic operate.


Our team will choose "Gauge" and change the name to "Air Humidity." Our team will set up the
connection PIN for INPUT to be Virtual > V4 (0 100) with the label per cent. Our team will pick Push in
REFRESH INTERVAL and set the sensor reading speed to 1 second.
Our team will enter "Temperature" as the name for the temperature display in the gauge
configuration. The connection PIN for INPUT will be set to Virtual > V5 (0 50) with the label being °C.
Our team will pick Push in REFRESH INTERVAL and set the sensor reading speed to 1 second.
Go to Widget Box and choose Notification to see Messages displayed. The author set the button here
labelled "NOTIFY WHEN HARDWARE GOES OFFLINE" to OFF by default. The author selects NORMAL as
the default value in the "PRIORITY" section.
3. Test The Software
Whenever the soil humidity and temperature meet the limit, data from the Blynk app will show up on
the screen, telling you exactly whether or not the gadget is operational. The pump and fans may be
turned on or off by utilizing the Blynk's buttons whenever a warning is delivered.

Figure 4: Test Result


4. The perfect and incomplete points in our system.
The Perfects: Supporting the progress of the solution, the system will have certain benefits and
drawbacks. The first value of the technology is that it helps clients to manipulate the environment
with a precise number and monitor it remotely and over the Internet. The system is intuitive
nevertheless beneficial, enabling a list of advantages.
Incomplete Points: There are several incomplete points, including the probability of system damage
without any warning to the user. Whereas the system is an electrical machine, it requires a pump to
fill the water, and if the pump blowouts, the water can deteriorate over time as a whole. The
proposes adding a way to check for the harmed system using the Blynk app as well as placing the
pump in a secure location and using a high-quality pump to avert system damage throughout.

C. TASK 2: EVALUATE YOUR IOT APPLICATION AND DETAIL THE PROBLEM YOUR IOT APPLICATION SOLVES,
THE POTENTIAL IMPACT ON PEOPLE, BUSINESS, SOCIETY AND THE END-USER AND THE PROBLEMS IT
MIGHT ENCOUNTER WHEN INTEGRATING INTO THE WIDER IOT ECOSYSTEM
I.
EVALUATING END-USER FEEDBACK FROM YOUR IOT APPLICATION
1. Users Feedback:
My Sample Survey to collect some user feedbacks:

Figure 5: Sample Survey to collect feedbacks


This survey is sent to some expert users.
Related parties are companies that offer hardware and software services.
Survey’s Result:

Figure 6: Survey Result

Here is the table specifying the feedback from users:
User
No.

Full Name

Assessment

Rating

1.

John weetch


4,75/5

2.

Harry Maguire

3.

Marcus Greenwood

4.

Nguyen Thuy Tien

I could use a wireless sensor while working in
the garden, which undoubtedly saves me a
huge amount of work and exertion. I have
remote system control and the ability to work
under pressure. There is nothing about this
that I find unsatisfactory.
Glad to see that your team continuously
trying to make this IoT product better. I'm
loving the new changes and the features. It
helps me a lot with my garden.
My Ex violently have me observe her garden
last month, and this Smart agricultural IoT
system saved me. It help me observe her
garden remotely, I could be watching tv and
observing her garden at the same time.

The price point is quite cheap, but the UX/UI
is quite bad for this value.

5.

Le Bao Binh

4,5/5

4/5

3,5/5

I do not understand why the temperature 3.5/5
sensor sometimes does not work. However,
this application is quite good at this price and
it really easy to use.


2. Evaluate the User Feedback
At the first glance, my IoT product partly supports all the wishing of the customers on a Smart
Agricultural could remotely use. Based on feedback from users, this product is straightforward to
use, and the price that I provide is also reasonable for any type of user. Its performance is also
quite good, it could detect the temperature, humidity, and soil moisture to notify whether it too
high or low, auto cooling and watering the garden. However, it still has some errors when
working and the UI/UX in the mobile app is not good enough for some users.
The system must improve the temperature sensor so that users may utilize them based on
reliable user feedback.
The system uses a wifi network to send data, therefore occasionally there may be issues with the
internet that prevent the device from functioning correctly. New hardware that works with the

5G network will be implemented in the upcoming edition.
3. Possibility of commercialization
Currently, there are many farms or gardens in which the farmers or users still haven’t applied the
IoT techniques such as Smart Agricultural System. Hence, to help them extend and easy to
manage the garden as well as the farm, the smart Agricultural System will be a solution for
managing their plants.
 Economic Feasibility
A Smart Agricultural System will cost around 1,2 million VND to develop. The current price
per system for this IoT application is 1,8 million VND. As a result, you will make 60 million
VND if you sell this application to 100 individuals each month. In the future, you may also
develop and upgrade the application to increase its profitability.
IVI = 1,200,000 * 100 + 700,000 = 120,700,000
FVI = 1,800,000 * 100 – 1,400,000 = 178,600,000
ROI = (178,600,000 - 120,700,000) / (1,200,000 * 100) * 100
ROI = 48%
 Technical Feasibility
In order to develop a plan and blueprint for how the Smart Agricultural System project is
developed, maintained, transmitted, and tracked, the technological feasibility is applied. For
the project involving the smart lighting system, some elements of technological viability are:
Technology: Blynk platform, C++ software. Hardware: PCs with 36GB ram ddr5, 2T SDD, Wifi
Labour: A project manager, testers, designers, programmers, and software engineers will be
included in our system.
In order for the entire crew to work together, we will rent a floor of a building.
Devices for communication: Since everyone has a phone, communicating with one another is
simple.
 Organizational Feasibility


II.
1.





A project manager with at least 4 years of experience will be in charge of the Smart
Agricultural System project. The developers must have 2-4 years of experience and be
proficient in the programming language you have chosen.
The project manager will create the project's pattern and assist other developers in creating
the highest-quality result.
Many individuals have tiny gardens at home, but they aren't always able to tend to them
since they work outside. In order to assist them in caring for their garden, they would require
my Internet of Things program. So, my Internet of Things application can be made profitable.
Future innovation will allow me to address a variety of additional needs, such as automated
warming.
DISCUSS THE DRAWBACK OF YOUR SYSTEM AND SOLUTIONS FOR IMPROVEMENT
Discuss the drawbacks: There are several drawbacks:
The probability of system damage without any warning to the user.
Whereas the system is an electrical machine, it requires a pump to fill the water, and if the pump
blowouts, the water can deteriorate over time as a whole.
The proposes adding a way to check for the harmed system using the Blynk app as well as placing
the pump in a secure location and using a high-quality pump to avert system damage throughout.

2. Possibility For Improvement:
The software can be expanded in the future to support customers' requirements after already
being critically analyzed and through manual intervention; notwithstanding, the accuracy of the
results nonetheless needs to be improved. Additional components are added to examine the
atmosphere, such as the wind and seeing pests or farm animals. To guarantee privacy protection
and maintain that system data is well-protected, the security needs to enhance tremendously.
When such temperature plummets, the machine will eventually switch on the heating light to
warm the farms, which I would implement over the next development of this system.

In the future, I'll also implement a security feature to defend users' plantings. It will have a
camera because it has an automated detection mechanism for somebody sneaking into the farm.
So that it will become aware of the user and sound the alert to arouse suspicion of the outsider.
The UI/UX also will be improved in the future to make this more friendly for any type of user.
D. CONCLUSION
In the final point, I have discussed a variety of topics related to the technology of our IoT System,
Also with a critical perception of a product, I also included user feedback and comments. In order to
accommodate evolutionary biology, it is necessary to be fully prepared and have a complete grasp of
the IoT technology (IoT), which also is rapidly expanding to have a deeper impact on life and key
industrial infrastructure.



×