Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Individual report Individual Demonstration, Assignments of Programming Paradigms

Definitions of: data types (the role of constants/variables), methods (including input/output), control structures, iteration, scope, parameter passing, classes, inheritance and events. Key components of an IDE with a brief explanation each component. Developing simple applications which implements basic algorithms using the features of a suitable language and IDE Documentation of the debugging process in the IDE, with reference to watch lists, breakpoints and tracing. defects and bugs in their

Typology: Assignments

2021/2022

Uploaded on 07/12/2022

thuannguyen24
thuannguyen24 🇻🇳

4.5

(5)

6 documents

1 / 22

Toggle sidebar

Related documents


Partial preview of the text

Download Individual report Individual Demonstration and more Assignments Programming Paradigms in PDF only on Docsity! ASSIGNMENT 2 FRONT SHEET Qualification TEC Level 5 HND Diploma in Computing Unit number and title Unit 43: Internet of Things Submission date May 1, 2022 Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Nguyen Dang Tu Student ID GCH200074 Class GCH0904 Assessor name Le Anh Ngoc 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:  Resubmission Feedback: Grade: Assessor Signature: Date: Internal Verifier’s Comments: IV Signature: III. Introduction In the final report I have to introduce some information about the internet of the thing. Also, I mentioned 1 scenario. That is the current situation of using temperature sensor. Next, I have proposed solutions and suggestions for a system to apply in offices or households to help them less worries about getting taking temperature in close range with security guard. In this report. I will clarify and provide photos and demos of the actual product. IV. Develop the IoT application A. Overview 1. Problem When it comes to addressing COVID-19, we are all only as safe as those members of our community who are most at risk. We are all in this together, while the coronavirus does not discriminate against race, ethnicity, nationality, or socio-economic status, stigma and misinformation do. But we can make it easier to control by take the factor that high body temperature or fever is one of the first signs of covid-19. We need to make an IoT device to measure the body temperature remotely operated to prevent the disease from spreading to people to people. 2. Solution We will create an IoT gate that can scan people’s temperature passing thought it. If the gate senses any high temperature (more than 37 degree Celsius), the gates automatically reject the entry by closing the gate. The gate also provides warning beeps while the body temperature of a person is high. B. Hardware The recommended hardware for this specific project: 1. Module WIFI ESP8266 NODEMCU D1 Mini The ESP8266 NODEMCU is the best choice for this project because it can transmit data to Blynk app via Wi-Fi. Moreover, the ‘D1 Mini’ like it name is extra tiny, making it easier to fit the size of the small prototype. There are 13 GPIO pins, 10 PWM channels, I2C, SPI, ADC, UART, and 1-Wire on this board. Figure 1 - Module WIFI ESP8266 NODEMCU D1 Mini 2. Melexis Contact-less Infrared Sensor – MLX90614 The contact-less infrared measure light reflecting off distance object, allowing it to detect temperature without making contact with the object with a decent distance, making it one of the best candidates for the project and being the most expensive of all hardware. Figure 2 - Melexis Contact-less Infrared Sensor – MLX90614 3. Servo SG90 To be able to close the gate in the prototype, a servo with the ability to spin at least 90 degree is required to work as the motor closing the gate, working as a barrier to preventing person with abnormal body temperature getting through the gate. Figure 3 - Servo SG90 4. Breadboard A simple breadboard needed to provides easier surface for wiring when developing the protype for the project. Figure 4 - Breadboard 5. Buzzer In order to alarm the surrounding when a abnormal person is passing by, a buzzer in included into the prototype. It has the ability to produce a large sound upon triggered. Figure 5 - Buzzer C. Software The open-source Arduino Software (IDE) makes it easy to write code and upload it to the board. This software can be used with any Arduino board. It’s also an open-source program being hosted by GitHub by that it allows programmers to write and upload code that simple to build, repair, maintain, and upgrade systems in a most environments difficulty. Figure 8 - Device test with normal test subject Figure 9 - Device test with high temperature test subject When an abnormal object passing thought the gate it alarms and close the gate. Like the above picture. Figure 10 - Blynk Notification Advantages and disadvantages of the device: Figure 11 - Advantages Disadvantages B. Solutions To overcome most of the disadvantages, the group decided to design the mobile application to be more user friendly. And the Pins should be also be physically solder into the board to provide more stable connection between components for the final product. Finally, the sensor would be redesign carefully to achieve the best performance and avoid over heat. VI. Test and evaluate user’s feedback To further develop this particular project, the author’s group created a survey through online as well as physical forms to collect user’s opinion on the prototype product. These contributed feedbacks from the community will be one of the greatest sources of inspiration to further improve the device to reach its maximum potential. A. Information To ensure the unbiased of the interview or survey, user’s basic information will be collected and remain confidential by using questions as follow: What is your given name? What is your age? What is your education level? Do you aware the current pandemic situation? B. Interview QUESTION ANSWER A: What is your name? B: Nguyen Khanh An Tuyen A: How old are you? B: 18 A: What is your field of study? B: Culinary art A: What do you think about the current state of the Covid-19 pandemic? B: Am aware of the situation. Figure 15 - Fourth survey question result After using the product, only 27.6% the tester doesn’t like the product. This a great start for the IoT project because most people agree on this device. Figure 16 - Fifth survey question result The following question only ask if the device is stable or not and some small percent of the user said it’s not. Figure 17 - Sixth survey question result In the Sixth question, nearly half of the tester feels that the measure still being too close and uncomfortable. Group should note this and improve more on the final design or invest more on the newer sensor to fix this. Figure 18 - Seventh survey question result When being asked about price for the product, most of the user want to pay the minimum amount which is 50$ for the product. But still some willing to pay more so 65 or more is fine price for product. Figure 19 - Eight survey question result Many users demanding quality of the product but in theory the only thing needed to improve right now are features and design. But still developers need to note this and pick the correct move for the project. Figure 20 - Final survey question result Final question, the user being asked to rate on the scale from 1 to 10 based on their opinion. Despise just being the prototype most of the user rate the device very high. D. EVALUATION Through surveys and interviews, we can see that the term IoT is quite familiar to everyone. In that most people also understand about the influence of Covid. Since then, most of them agree with the idea as well as the solution that we offer. In addition, they are also willing to experience the test if our products UNIVERSITY of GREENWICH ascne tn IGT astm oo #define BLYNK_TEMPLATE_ID "TMPLp3uantoz" #define BLYNK_DEVICE_NAME “esp8266" #deZine BLYNK_AUTH_TOKEN "Ilb2p_taMivjxYNNXdVYc0SIHpkiWa_t4B" #include <ESPS266WiFi-.h> #include <BlynkSimpleEspe266.h> char auth[] = BLYNK_AUTH_TOKEN: // Your WiFi credentials. // Set password to "" for open networks. /fchar ssid[] = "1708"; //char pass[] = "777777777"; char ssid[] = "Greenwich GUEST": char pass[] = "greenwichvn@123"; BlynkTimer timer; finclude <Wire.h> #include <Adafruit_MLx90614.h> #include <Servo.h> Servo myservo; Adafruit_MLX90614 mlx = Adafruit_MLx90614(); double temp; int b = 14; //DS5 woid setup() { Blynk.begin(auth, ssid, pass); Serial.begin (9600); Figure 22 - Source codel UNIVERSITY of GREENWICH ascne tn IGT astm void setup(} Blynk.begin(auth, ssid, pass); Serial.begin (9600); Serial.println("Adafruit MLES0614 test"): Blynk.virtualWrite(Vl2, “clre"); Blynk.virtualWrite(V12, "Session begin\n"); pinMode(b, OUTEUT); myservo.attach(12); // Arduino MER PIN Dé myservo.write (0); mlx.begin(); i} void loop() { Blynk .run(); digitalWrite(b, LOW); myservo.write (0) + temp = mlx.readObjectTempc (); if (temp >= 38) { Serial.println ("HIGH TEMPERATURE") ; Blynk.virtualWrite(V12, "HIGH TEMPERATURE, Alert!!! !!\n"); Blynk.logEvent ("warning heat", "This person temperature is exceeds the limit!") ; digitalWrite(b, HIGH); Figure 23 - Source code2 Figure 24 - Source code3 VIII. CONCLUSION Through the report, writer have raised the problem of the actual state of Covid affecting people. Since then, the solution is the smart gate. Group have collected data from outside through interviews and survey to verify the feasibility along with the opinions of people to further develop our own products.
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved