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

IoT Product Development: Designing and Evaluating an IoT Application, Assignments of Information Technology

The process of designing and developing an iot application, including learning outcomes, assignment brief, and guidance. The application includes smart home features such as doors, a fire alarm system, and a smart clothesline. The document also discusses user feedback and evaluations of the system's components and functionality.

Typology: Assignments

2022/2023

Uploaded on 01/25/2024

cuong-djang
cuong-djang 🇻🇳

7 documents

1 / 27

Toggle sidebar

Related documents


Partial preview of the text

Download IoT Product Development: Designing and Evaluating an IoT Application and more Assignments Information Technology in PDF only on Docsity! Page 1 Assignment Brief 2 (RQF) Higher National Certificate/Diploma in Business Student Name/ID Number: Unit Number and Title: Unit 43 – Internet of Things Academic Year: 2022 Unit Assessor: Ho Hai Van Assignment Title: Assignment 2 – Internet of Things Issue Date: Submission Date: Internal Verifier Name: Date: Submission Format: Format: This assignment is an Individual assignment and specifically including 1 document: You must use font Calibri size 12, set number of the pages and use multiple line spacing at 1.3. Margins must be: left: 1.25 cm; right: 1 cm; top: 1 cm and bottom: 1 cm. The reference follows Harvard referencing system. The recommended word limit is 2.000-2.500 words. You will not be penalized for exceeding the total word limit. The cover page of the report has to be the Assignment front sheet 2. Submission Students are compulsory to submit the assignment in due date and in a way requested by the Tutors. The form of submission will be a soft copy posted on http://cms.greenwich.edu.vn/ Note: The Assignment must be your own work, and not copied by or from another student or from books etc. If you use ideas, quotes or data (such as diagrams) from books, journals or other sources, you must reference your sources, using the Harvard style. Make sure that you know how to reference properly, and that understand the guidelines on plagiarism. If you do not, you definitely get fail Unit Learning Outcomes: LO1 Analyse what aspects of IoT are necessary and appropriate when designing software applications LO2 Outline a plan for an appropriate IoT application using common architecture, frameworks, tools, hardware and APIs LO3 Develop an IoT application using any combination of hardware, software, data, platforms and services. Page 2 LO4 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 Assignment Brief and Guidance: You currently work as a product developer for a new startup where you design IoT products for the consumer, corporate, government and defence clients. As part of your role your manager has tasked you to plan and develop a new IoT product, service or application for a potential client. You are required to identify a target user and conduct tests with this user and include this feedback into multiple iterative versions of your product. Part 1 (Assignment 1): For the first part, you must:  Plan an IoT application for a specific target end user and the tests you intend to conduct with this user. This plan will be in the form of a document and will include supporting evidence and material, such as user personas and customer journey maps.  Create multiple iterations of your application and modify each iteration with enhancements gathered from user feedback and experimentation. This will follow the pathway outlined in your plan. (log book,) Part 2 (Assignment 2): For the second part, you must produce a report to prove that:  Show evidence about Developed IoT application using any combination of hardware, software, data, platforms and services (video or images of your IoT system with code snippet)  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 Page 5 I. Introduction I'll put the IoT application I proposed in the last assignment into practice in this report. I will first create it using the code and hardware design, and I'll also list some issues I ran across when creating this program. After that, I'll use test cases to put my application through its paces in real-world settings. The correctness of the application and its ability to satisfy the specifications of an automatic door system will subsequently be assessed using these test scenarios. Lastly, I will gather authentic user input and assess it, using the results to recommend ways to improve the application for further iterations. II. Employ an appropriate set of tools to develop your plan into an IoT application. (P5) 1. Introduction In this section I will implement the design from the previous report. By detailing the progress made in the steps that I and the team have realized and the appropriate solution for the project, it will explain the thought process that is going on in the development of the said project above. I will also briefly explain 2. Implementation from design Step 1 - Preparing the frame Below is the process of assembling my IOT solution, step by step, including an explanation of what it is, why I did it, and how I did it. Each step will also be accompanied by an image to better visualize the process In this step, I need a framework to contain my IOT project for further implementation. We chose hard manufacturing because this is a fairly hard material that is waterproof, sturdy, and can withstand the force of objects pushed into it without damage. The reason I chose this option is because hardcovers are easy to buy and easy to find. Furthermore, it also comes with some covers that can be used to reinforce the frame if desired to match the door as the height matches the house frame. Page 6 Figure 1 Cardboard to make smart home Step 2 - Setting up the doors: Figure 2 Door viewed from outside Include 1 Screen LCD and 1 Key Board - LCD is used to display door opening and closing messages - The keyboard is used to enter the PIN code to open and close the door Page 7 Figure 3 Inside the door - These are the wire connections for the smart door Figure 4 Servo - This servo is used to connect to the wiring boards in Figure 3 and perform door opening and closing operations. Page 10 Step6. Adding the Vietduino Board The Vietduino board Figure 8, the system's core microcontroller, is added as the last stage in the hardware configuration. The breadboard, as well as every sensor, actuator, and input/output device, are linked to the board. It will be configured to operate the system's many parts, including locking doors, sounding the fire alarm, and operating the smart clothesline in response to sensor readings. Figure 8: Vietduino Board. 3. Program Compiler on Arduino. To ensure that the program runs well on the hardware, the Arduino IDE offers an intuitive interface for building and debugging the code. The IoT smart home system's software is assembled and uploaded to the Vietduino board by following the instructions below. Step1: Arduino IDE Setup Ensure that the latest version of the Arduino IDE is installed on your development computer. Check for updates by navigating to Help > Check for Arduino IDE Updates (refer to Figure I 3). The Arduino IDE serves as the environment for programming, compiling, and uploading code to the Vietduino board. It supports various Arduino boards and provides essential libraries for interfacing with sensors and actuators. Figure 9 Arduino IDE Setup Page 11 Step 2: Code development Open the Arduino IDE, create a new sketch, and commence coding for the smart home system. Write the source code, incorporating logic for keypad input, LCD display output, servo motor control, flame sensor monitoring, and other functionalities. Include necessary libraries with #include statements at the top of the sketch Figure 10 Code development Step3: Code Compilation Once the code is written, click the verify button (checkmark icon) in the Arduino IDE. The IDE will compile the code, translating the sketch into machine language for the Vietduino board. Any errors or warnings will be highlighted in the console at the bottom of the window. Resolve issues before proceeding. Figure 11 Code Compilation Figure 12 Wong Compilation Page 12 Step 4: Board and Port Selection Connect the Vietduino board to the computer via USB. In the Arduino IDE, select the correct board type (Tools > Board) and choose the appropriate board from the list. Select the port to which the board is connected (Tools > Port). Figure 13 Board Selection Figure 14 Port Selection Step 5: Uploading the Code After successful compilation and board/port selection, upload the code to the Vietduino board by clicking the upload button (right arrow icon) in the Arduino IDE. The IDE will compile the sketch again and upload it to the board. A progress bar will indicate the upload status, with a success message upon completion. Page 15 2.2 Code implement functions of smart door Figure 17 Function digital Door I2C Keypad Input: The function I2C_Keypad.getKey() is used to read a key input from an I2C keypad. This function likely returns the key that is pressed on the keypad. Door Button Check: The code checks if the door button (connected to the pin BUTTON_DOOR) is pressed. The! digitalRead(BUTTON_DOOR) condition checks if the button is NOT pressed. Unlock, Lock, and Change Password Actions: If the door button is pressed and the door is unlocked (isUnlock is true), the unlock () function is called. If the door is locked (isLock is true), the lock () function is called. If there is a request to change the password (isChangePasswd is true), the change_password function is called, passing the parameters numKey and default_passwd. Page 16 2.3 Code implement functions of fire alarm system Figure 18 function for fire alarm system The fireAlarm() function is the main function of the program. This function is called repeatedly to check the status of the fire sensor. In this function, the value from the fire sensor is read using the analogRead() function. If the fire sensor value is less than 400, it means there is a fire. In this case, the fire state is set to true. If the stop button is pressed, the fire state is set to false. If there is a fire, the function checks whether the current time is greater than or equal to the most recent fire detection time plus the time between two fire detections. If already greater than or equal, then the following actions are taken:  Update the most recent fire detection time  Reverse the status of the warning light  Turn the buzzer on or off based on the status of the warning light Page 17 If there is no fire, the warning lights and buzzer are turned off. 2.4 Code implement function of the “smart clothesline” Figure 19 Function smart clothesline Rain Sensor Reading: Reads the analog value from a rain sensor connected to the specified pin (RAIN_SENSOR_PIN). Serial Monitoring: Prints the current rain sensor value to the serial monitor every second to provide real-time feedback. Rain Detection: Monitors the rain sensor value and updates a time variable (previousRainTime) if the value surpasses a specified threshold (e.g., 400). This helps prevent short spikes in sensor readings from triggering a rain event. Rain Event Handling: If it's not currently raining (!isRain) and enough time has passed since the last rain event (determined by rainDelay), sets isRain to true, indicating that it's currently raining. Also, updates previousServoTime to control the delay before the next servo movement. Page 20 The pie chart illustrates the level of interest among respondents in smart home technology. The majority, 80%, express a strong interest and a desire to apply it immediately. A smaller segment, 20%, indicates a lack of interest at the moment, rather than outright opposition. The absence of demographic information hinders a more nuanced understanding of these responses. Overall, the chart suggests a promising future for the smart home industry, with a notable enthusiasm among a significant majority of respondents. How many person people like smart door? Figure 21 Number of people like smart door This pie chart displays the results of a survey about Smart door popularity. A total of 20 surveyors consulted Result: • 75% of Smart door survey participants. • 15% of survey participants are not sure whether they like or dislike Smart Door. Page 21 • 10% of survey participants do not like Smart door. This result shows that most survey participants (75%) like Smart Door. This can make Smart door bring many benefits to users. However, there are also some survey participants (15%) who are not sure about their jobs or do not like Smart doors. The reason may be that they do not understand Smart doors, or they are still considering other factors, such as price. In addition, there are many survey participants (10%) who do not like Smart doors. The reason may be that they do not like the features of Smart doors, or they are concerned about security issues. User's choice for smart doors Analyze the survey about unlocking methods for smart doors: The pie chart you sent shows that: • 60% of respondents prefer pin codes. This is the most popular option, likely because it is familiar and relatively easy to use. • 25% of respondents prefer Touch ID sensors. This option is becoming increasingly popular as it is more secure than pin codes and can be used with wet or dirty hands. • 15% of respondents prefer to use cards to unlock. It is important to note that this is a small sample size of only 20 respondents, so the results may not be representative of the general population. However, it does give some insights into the preferences of people who are considering purchasing a smart door. Page 22 Figure 22 What People thing about smart clothesline Positive Reception: 70% of participants expressed a positive inclination towards using smart drying racks in their smart homes. This majority suggests a widespread interest and acceptance of this technology, likely driven by perceived benefits. Consideration Phase: 25% of participants are in a consideration phase. This group may have reservations or uncertainties, possibly related to a lack of understanding about smart drying racks or considerations like pricing. Their decision-making process may be influenced by additional information or factors. Lack of Interest: 5% of participants indicated that they are not interested in using smart drying racks. This minority suggests that there is a segment of users who may have specific reasons or preferences that make smart drying racks unappealing to them. Page 25 80%: Yes. This is the largest slice, indicating that the majority of people across all age groups would like to receive instant notifications when a fire occurs. This suggests a strong desire for immediate awareness and preparedness in case of a fire emergency. 15%: Maybe. This slice represents a smaller group who are unsure or hesitant about receiving instant notifications. Their reasons could vary, such as concerns about false alarms, disruptions during sleep, or preference for traditional notification methods. 5%: No. This is the smallest slice, indicating that a very small minority of people do not want to receive instant notifications when a fire occurs. Their reasons could be specific to their situation or based on individual preferences. Figure 27 What do you think about the ability of the fire alarm system to connect to smart doors when there is a fire (door automatically opens)? 3. Self-evaluation 3.1 Introduction In this section, after launching the project, I brought My product to market and surveyed the users. User reviews of My product are divided into two parts, advantages and disadvantages. 3.2. Advantages: After surveying the market, below are some feedback on the advantages of doors with PIN codes:  The door only opens when someone enters the correct PIN code, enhancing security for assets inside.  Eliminates the risk of strangers breaking in, especially useful for people living alone or families with young children.  No need to carry keys, more convenient for users.  Easy to install and use, can change PIN at any time. Page 26  Compatible with many other security systems, can be integrated into smart home systems. There is some feedback on the advantages of Automatic clothes drying roof:  Convenient and Time-Saving: The automatic control system helps raise and lower the drying bar without effort, especially convenient for the elderly, people with disabilities and people with busy schedules.  Diverse functions: Able to integrate many functions such as drying, disinfection, helping clothes dry quickly, clean and fragrant.  Durable and Safe: Made from high quality, rust-resistant materials, ensuring high durability and safety for users.  High aesthetics: Modern, luxurious design, suitable for any space where a clothes drying roof is installed. 3.3 Disadvantages According to customer feedback, bad experiences about automatic doors for users are very few. But from a technical perspective. Installation and maintenance: The automatic door installation process requires a professional technician so that it is accurate and efficient. It also requires regular maintenance and inspections to ensure proper operation and can also be expensive. This means costs are incurred after you install it. If repairs are needed, replacement parts can be costly. Sometimes due to a power outage, the door stops working causing problems that may require the help of a technician. 4. Options to upgrade the product in the next versions. I have identified a few improvements that may be implemented to raise the project's quality even more in light of the user feedback results:  Creating more automated door cleaning programs to enable time- and safety-efficient cleaning. Anywhere that I can barely reach can clean it.  Divide the components into distinct modules to make the door easier to manage.  Include a light that, when turned on, lights the entrance. Improved look and upgraded services that consumers would value at a premium price. When it comes to technical considerations, I put the needs of the client first, thus I'll spend resources to guarantee user safety and do frequent technical inspections. Page 27 References. Anon., 2023. iot-hardware. [Online] Available at: https://www.educba.com/iot-hardware/ [Accessed 13 12 2023]. Coursera, 2023. What Is the Internet of Things (IoT)? With Examples. [Online] Available at: https://www.coursera.org/articles/internet-of-things [Accessed 13 12 2023]. GeekforGeeks, 2023. Architecture of Internet of Things (IoT). [Online] Available at: https://www.geeksforgeeks.org/architecture-of-internet-of-things-iot/ [Accessed 13 12 2023]. GeeksforGeeks, 2023. Top Applications of IoT in the World. [Online] Available at: https://www.geeksforgeeks.org/top-applications-of-iot-in-the-world/ [Accessed 13 12 2023]. GURRIA, L., 2023. IoT APIs: A guide to Application Programming Interfaces. [Online] Available at: https://www.hologram.io/blog/iot-apis-guide/ [Accessed 13 12 2023]. IoTDuina, 2023. What is IoT framework? List top 10 Open source IoT frameworks. [Online] Available at: https://iotdunia.com/what-is-iot-framework-list-top-10-open-source-iot-frameworks/ [Accessed 13 12 2023].
Docsity logo



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