Assignment 2 1690 pass, Assignments of Information Technology

Assignment 2 1690 pass (who want to pass)

Typology: Assignments

2023/2024

Uploaded on 01/10/2024

unknown user
unknown user 🇻🇳

16 documents

1 / 38

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
A
SSI
GNMENT 2 FRONT
S
HEET
Qualification
TEC Level 5 HND Diploma in Computing
Unit number and title
Unit 43: Internet of Things
Submission date
22-12-2023
Date
Received
1st submission
22-12-2023
Re-submission
Date
6-1-2024
Date
Received
2nd submission
6-1-2024
Student Name
Nguyn n Quang
Student ID
Gch211372
Class
Gch1107
Assessor name
Nguyn Thế Lâm Tùng
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
Quang
Grading grid
P6
P7
M5
M6
D3
D4
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26

Partial preview of the text

Download Assignment 2 1690 pass and more Assignments Information Technology 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^22 -^12 -^2023 Date Received 1st submission^22 -^12 -^2023 Re-submission Date^6 -^1 -^2024 Date Received 2nd submission^6 -^1 -^2024 Student Name Nguyễn Văn Quang Student ID Gch Class Gch1107^ Assessor name Nguyễn^ Thế^ Lâm^ Tùng 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 Quang Grading grid P5 P6 P7 M5 M6 D3 D

Summative Feedback: Resubmission Feedback: Grade: Assessor Signature: Date: Internal Verifier’s Comments: Signature & Date: 2.2 2.

  • Introduction
  • P5 Employ an appropriate set of tools to develop your plan into an IoT application.
    • I. Hardware
    • II.Sourse code
  • P6. Run end user experiments and examine feedback
    • I. Run the Projects
    • II. Test case
  • P7. Evaluate end user feedback from your IoT
    • I. User feedback
    • II. Evaluation
      • III. Ability of improvement
    • IV. The activities of the team members.
  • Figure 1:Arduino
  • Figure 2:ultrasonic sensor.............................................................................................................................................
  • Figure 3 :Water sensor
  • Figure 4:breadboard
  • Figure 5:Electrical cables...............................................................................................................................................
  • Figure 6 :keyboard 4 x 4 matrix
  • Figure 7:Sound sensor
  • Figure 8 :Led
  • Figure 9:Group
  • Figure 10 :SmartHome Group
  • Figure 11 :Sound Sensor
  • Figure 12 :Sound sensor after have sound
  • Figure 13 : Survey question
  • Figure 14 :Survey question
  • Figure 15 :Survey question
  • Figure 16 :Survey question
  • Figure 17 :Survey question
  • Figure 18 :Survey question
  • Figure 19 :Survey question
  • Figure 20 :Survey question
  • Figure 21 :Survey question
  • Figure 22 :Survey question

Introduction

The evolution of human shelter has been driven by the need for community and protection throughout history. From the modest buildings of the prehistoric age, we progressed to the medieval era, where the affluent resided in ornate castles and basic furniture emerged in simple huts. With the introduction of strong civil and electrical engineering principles for better, more pleasant dwellings, the Industrial Revolution represented a major advancement. This progression continued throughout the premodern era, when advancements in technology made it possible to build homes that were more opulent than those of the past. These days, the emphasis goes beyond aesthetics. The emergence of smart houses heralds a new age in housing, since these dwellings are equipped with the ability to communicate with many devices and carry out tasks on their own. Modern smart homes employ AI to gather information and intuitively comprehend consumer preferences.

P5 Employ an appropriate set of tools to develop your plan into an IoT

application.

Developing an IoT application for a smart home using Arduino and various sensors requires careful planning and execution. Here's a comprehensive approach to develop your IoT application, focusing on both hardware and software components. I. Hardware

  1. Arduino 3 An open-source platform called Arduino is used to construct electronics projects. The Arduino system is comprised of a programmable circuit board, often known as a microcontroller, and an IDE (Integrated Development Environment) software that is installed on your computer and is used to develop and upload computer code to the board. For good reason, the Arduino platform has grown in popularity among those who are just getting into electronics. In contrast to the majority of earlier programmable circuit boards, the Arduino may be updated with new code using a USB cable instead of a separate piece of hardware known as a programmer. Additionally, learning to program is made simpler by the Arduino IDE's usage of a condensed version of C++. Ultimately, Arduino offers a common form factor that deconstructs the micro-controller's functionality into a more understandable packaging.

Figure 2:ultrasonic sensor Parameters

  • Operating Principle: Sends out ultrasonic waves and measures the time taken for the waves to bounce back.
  • Operating Range: Varies depending on the specific sensor model but commonly ranges from a few centimeters up to several meters.
  • Accuracy: Accuracy can vary based on the quality of the sensor and environmental conditions. Higher- quality sensors tend to provide more precise measurements.
  • Beam Angle: The angle of the emitted ultrasonic waves can vary, affecting the sensor's field of view or detection area.
  • Power Supply: Typically operates on a 5V DC power supply.
  • Output: Analog or digital signal output, depending on the sensor model and configuration.
  • Interface: Some ultrasonic sensors offer interfaces such as GPIO (General Purpose Input/Output) pins or specific communication protocols like I2C or UART for interfacing with microcontrollers or other devices.
  1. Water sensor Typically, a water sensor consists of a sensing element and related circuitry to determine whether or not there is moisture or water present. Water sensors come in a variety of forms; some use optical techniques, capacitive sensors, or even conductive probes to measure variations in the amount of water present.

Figure 3:Water sensor Parameters

  • Sensing Method: Water sensors can use different methods such as conductivity, capacitance, or optical detection to determine the presence of water.
  • Sensitivity: The level of sensitivity to detect water or moisture. Some sensors may be more sensitive to slight moisture changes, while others might require more water to trigger a response.
  • Detection Range: The area or distance within which the sensor can effectively detect water or moisture.
  • Response Time: The time taken by the sensor to detect the presence of water and trigger an output signal.
  • Output: Water sensors can have different output types, including digital signals (on/off), analog voltage levels, or specific communication protocols depending on the sensor type and model.
  • Operating Voltage: The required power supply voltage for the sensor to function properly.
  • Environmental Considerations: Some sensors are designed to be waterproof or water-resistant to ensure their reliability in damp or wet conditions.
  • Form Factor: Water sensors come in various shapes and sizes, suitable for different applications. Some are standalone units, while others might be integrated into specific devices or systems.
  • Interface: Some sensors offer interfaces such as GPIO (General Purpose Input/Output) pins or specific communication protocols like I2C or UART for interfacing with microcontrollers or other devices.
  1. breadboard A rectangular plastic board with numerous tiny holes in it is called a breadboard. Prototyping is the process of building and testing an early version of an electrical circuit, such as this one with a battery, switch, resistor, and LED (light-emitting diode). These holes make it simple to insert electronic components. See our Electronics Primer for further information on certain electronic parts.

A 4 x 4 matrix keyboard layout consists of 16 keys organized in a grid arrangement across rows and columns. The intersection of each key within the matrix's rows and columns indicates where it should be placed. Smaller keyboards, numeric keypads, and other input devices where a compact layout is necessary frequently employ these matrices. 7 .Sound sensor One kind of module used to detect sound is the sound sensor. This module is typically used to measure sound intensity. This module's primary uses are in monitoring, security, and switching. This sensor's accuracy can be adjusted for user convenience. This sensor uses an amplifier, peak detector, buffer, and microphone as input. This sensor processes an o/p voltage signal to a microcontroller and detects sound. It then completes the necessary processing after that. This sensor can measure noise levels in DBs, or decibels, at frequencies of around 3 kHz and 6 kHz, which is roughly where the human ear is sensitive. Decibel Meter is an Android application that can be used on smartphones to measure the volume of sound. Figure 7:Sound sensor Sound Sensor Pin Configuration This sensor includes three pins which include the following. Pin1 (VCC): 3 .3V DC to 5V DC Pin2 (GND): This is aground pin Pin3 (DO): This is an output pin Features The features of the sound sensor include the following These sensors are very simple to use

It gives analog o/p signal Simply incorporates using logic modules on the input area. Specifications The specifications of the sound sensor include the following The range of operating voltage is 3.⅗ V The operating current is 4~5 mA The voltage gain 26 dB ((V=6V, f=1kHz) The sensitivity of the microphone (1kHz) is 52 to 48 dB The impedance of the microphone is 2.2k Ohm The frequency of m microphone is16 to 20 kHz The signal to noise ratio is 54 dB Applications The applications of the sound sensor include the following. This sensor can be used to build various electronic projects with the help of an Arduino board. For instance, this project uses a grove sensor, which fundamentally gives your Arduino’s ears. In this project, a microphone can be attached to an analog pin of the board. This can be used to notice the noise level within the nearby surroundings. The grove sensors support platforms like Arduino, Raspberry Pi, BeagleBone Wio, and LinkIt ONE. This sensor plays an essential role while activating the light in your office or house by detecting a precise whistle or clap sound.

  1. Led A light-emitting diode (LED) is a semiconductor device that emits light when an electric current flows through it. When current passes through an LED, the electrons recombine with holes emitting light in the process. LEDs allow the current to flow in the forward direction and blocks the current in the reverse direction.

P6. Run end user experiments and examine feedback

I. Run the Projects

Figure 9:Group 4 To initiate the project, the Arduino requires a suitable power supply. By connecting the Arduino to a laptop or PC via its connection cable, the project becomes operational. Here's a breakdown of the key functionalities: Password-Operated Door Opening: The first functionality involves a servo-activated door that opens upon entering the correct password. Sound Sensor Module for Bathroom Lighting: The module is designed to detect sound when someone enters the bathroom. Upon detection, it automatically switches on the lights for approximately 10 minutes. Water Level Sensing and Pump Control: A water sensor is utilized to monitor the water level. The system activates the pump to increase water levels when they are low or medium and turns the pump off when the water level reaches a high point. Ultrasonic Sensor for Staircase Lighting: The HC-SR04 Ultrasonic Sensor is set up to detect motion on the stairs. When it senses someone ascending or descending, it activates the lights for about a minute to facilitate safe movement.

This project is more than just an academic exercise; it's a testament to the power of collaboration. It underscores how a group of individuals, united by a shared vision and driven by a passion for innovation, can come together to create something truly remarkable. The end product of our efforts will be a smart home model that is not just a showcase of technological prowess but also a symbol of teamwork and the spirit of collective achievement. Figure 11:Sound Sensor In our team project, I am responsible for developing the sound sensor, a crucial component in our smart home model. However, I am currently facing a challenge: my sensor is not yet able to effectively detect sound, particularly in the bathroom environment. The aim of this sensor is to automatically turn on the lights when someone enters the bathroom, utilizing the sound of the door opening. As of now, although the sound sensor has been installed, it has not been responding to the sound of the door opening as anticipated. My focus is on adjusting and enhancing the sensor's sound detection capabilities. This process involves analyzing and experimenting with various sound frequencies, as well as fine-tuning the algorithm so that it can distinguish between the sound of the door opening and other noises in the bathroom.

For me, this is not just a technical challenge but also an opportunity to deepen my understanding of how sensors work and how they interact with their surroundings. The ultimate goal is to create an accurate and reliable sound sensor that contributes to a comprehensive smart home system, improving the user experience and convenience. Figure 12:Sound sensor after have sound Following the activation of the sound sensor, it is evident that the red light illuminates successfully, remaining on for a duration of 10 minutes. This achievement marks a significant milestone in our project, enhancing the convenience for users in the bathroom. With this functionality, the restroom experience becomes more comfortable and user-friendly, showcasing the practical benefits of our technological innovation. II. Test case Note Name Expected Reality Evaluate 1 Test water sensor When the measured Low level will be Success shows Low level water level is less than displayed when the the initial initial level, Low will be displayed water level is set to the lowest level 2 Test water sensor When the measured Medium will be Success shows Medium level water level is greater displayed if the water