Điểm của bài asm còn tùy thuộc vào người chấm. Chỉ cần paraphase bài này là có thể pass. 1 trong nhưng tool paraphase mình recommend là quillbot.The submission is in the form of 1 document.● You must use the Times font with 12pt size, turn on page numbering; set line spacing to 1.3 andmargins to be as follows: left = 1.25cm, right = 1cm, top = 1cm, bottom = 1cm. Citation andreferences must follow the Harvard referencing style. ASSIGNMENT FRONT SHEET Qualification BTEC Level HND Diploma in Computing Unit number and title Unit 2: Networking Infrastructure Submission date Date Received 1st submission Resubmission 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 P1 P2 P3 P4 M1 M2 D1 ❒ Summative Feedback: Grade: Lecturer Signature: ❒ Resubmission Feedback: Assessor Signature: Date: Table of Contents I Network Network definiton
Trang 1ASSIGNMENT 2 FRONT SHEET Qualification TEC Level 5 HND Diploma in Computing
Unit number and title Unit 43: Internet of Things
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
Trang 2 Summative Feedback: Resubmission Feedback:
Internal Verifier’s Comments:
Signature & Date:
Trang 3Table 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 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
C CONCLUSION 18
Trang 4A 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
Trang 5B 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:
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
Trang 6When 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
Trang 7The 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
Trang 8that 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
Trang 9Source 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
Figure 2: Configure hardware2
Trang 10Specifically, 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
Trang 11The 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
Trang 12All 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
Trang 13The 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
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
Figure 3: Set up blynk
Trang 14Our 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
Trang 154 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
Trang 16This 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
1 John weetch 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
4,75/5
2 Harry Maguire 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
4,5/5
3 Marcus Greenwood 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
4/5
4 Nguyen Thuy Tien The price point is quite cheap, but the UX/UI
is quite bad for this value
3,5/5
5 Le Bao Binh I do not understand why the temperature
sensor sometimes does not work However, this application is quite good at this price and
it really easy to use
3.5/5