Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
32 views31 pages

ASM2 IoT

The document describes a smart hospital IoT system developed using Arduino technology. The system incorporates sensors for light, temperature/humidity, motion, gas, and air quality (CO2). An Arduino Uno microcontroller, various sensors, an LCD display, and other components were selected. The system was deployed and tested, with user feedback indicating some features worked well while others needed improvement.

Uploaded by

minehq1234
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views31 pages

ASM2 IoT

The document describes a smart hospital IoT system developed using Arduino technology. The system incorporates sensors for light, temperature/humidity, motion, gas, and air quality (CO2). An Arduino Uno microcontroller, various sensors, an LCD display, and other components were selected. The system was deployed and tested, with user feedback indicating some features worked well while others needed improvement.

Uploaded by

minehq1234
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 31

ASSIGNMENT 2

Qualification TEC Level 5 HND Diploma in Computing

Unit number and title Unit 43: Internet of Things

Submission date 21/08/2023 Date Received 1st submission

Re-submission Date Date Received 2nd submission

Student Name Thai Van Chien Student ID GCH210162

Class GCH1103 Assessor name Nguyen The Lam Tung

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:

Signature & Date:


INTRODUCTION_________________________________________________________________________________________4

TASK 1 - DEVELOP THE IOT APPLICATION (P5-P6-M3)___________________________________________________________4

1. EMPLOY AN APPROPRIATE SET OF TOOLS TO DEVELOP YOUR PLAN INTO AN IOT APPLICATION (P5)_____________________________4
1.1 Select an appropriate set of tools, frameworks, devices______________________________________________4
1.2 Develop the solution________________________________________________________________________11
2. RUN END-USER EXPERIMENTS THEN IDENTIFY THE PERFECT AND INCOMPLETE POINTS IN YOUR SYSTEM (P6)_____________________14
2.1 Deployment of all program___________________________________________________________________14
2.2 Test the software___________________________________________________________________________18
2.3 The perfect and incomplete points in our system__________________________________________________20

TASK 2 – TEST AND EVALUATE THE USER FEEDBACK (P7 – M2 – M3)_____________________________________________20

1. EVALUATE END USER FEEDBACK FROM YOUR IOT APPLICATION.___________________________________________________20


2. THE RESULT OF SURVEY______________________________________________________________________________25

CONCLUSION__________________________________________________________________________________________31

REFERENCES___________________________________________________________________________________________31

PICTURE 1: ARDUINO IDE___________________________________________________________________________________11


PICTURE 2: CONFIGURE HARDWARE____________________________________________________________________________13
PICTURE 3: MY IOT'S PROJECT________________________________________________________________________________18
PICTURE 4: WHEN HIGH LIGHT INTENSITY________________________________________________________________________19
PICTURE 5: WHEN AVERAGE LIGHT INTENSITY______________________________________________________________________19
PICTURE 6: WHEN LOW LIGHT INTENSITY_________________________________________________________________________20
PICTURE 7: SMART HOSPITAL SYSTEM FEEDBACKS___________________________________________________________________25
PICTURE 8: GAS SENSING FUNCTIONALITY 1_______________________________________________________________________25
PICTURE 9: GAS SENSING FUNCTIONALITY 2_______________________________________________________________________26
PICTURE 10: GAS SENSING FUNCTIONALITY 3______________________________________________________________________26
PICTURE 11: LIGHT SENSING FUNCTIONALITY 1_____________________________________________________________________27
PICTURE 12: LIGHT SENSING FUNCTIONALITY 2_____________________________________________________________________27
PICTURE 13: MOTION DETECTION FUNCTIONALITY 1_________________________________________________________________28
PICTURE 14: CO2 MONITORING FUNCTIONALITY 1__________________________________________________________________28
PICTURE 15: CO2 MONITORING FUNCTIONALITY 2__________________________________________________________________29
PICTURE 16: : TEMPERATURE AND HUMIDITY DISPLAY FUNCTIONALITY 1___________________________________________________29
PICTURE 17: TEMPERATURE AND HUMIDITY DISPLAY FUNCTIONALITY 2____________________________________________________30
PICTURE 18: OVERALL USER EXPERIENCE_________________________________________________________________________30
PICTURE 19: OVERALL USER EXPERIENCE_________________________________________________________________________31

Introduction
Our team's main focus in this assigment revolves around IoT devices for smart hospitals. In our
organization, we recognize the critical importance of energy conservation, especially in the context of
electricity. The implications of energy conservation extend to providing better access to electricity in
remote areas, such as mountainous areas, where power supply is limited. In addition, we prioritize
environmental protection; Inefficient use of energy leads to increased power consumption, pollution and
the release of harmful emissions. To solve this problem, we have developed a smart hospital IoT system
using Arduino technology in combination with a 5V Relay module.

Task 1 - Develop the IoT application (P5-P6-M3)


1. Employ an appropriate set of tools to develop your plan into an IoT
application (P5)
1.1 Select an appropriate set of tools, frameworks, devices
Our team has chosen to develop a smart hospital system as our project. This system will embrace five
main features: a light sensor, temperature and humidity sensors, a motion sensor, a gas sensor, and an air
quality sensor (specifically for CO2 levels). Our initial step in bringing this system to life involves
selecting an Integrated Development Environment (IDE) that enables us to write, debug, and compile the
source code. After careful consideration, we've opted to utilize the Arduino IDE for this project. This
choice stems from the fact that the project revolves around a microcontroller, essentially a compact
computer capable of executing programs in a loop. This characteristic proves particularly useful for
handling repetitive tasks like monitoring ambient temperature and humidity. The Arduino Software (IDE),
which is both free and open-source, significantly simplifies the process of coding and uploading programs
to the board. It's important to note that any Arduino board can seamlessly integrate with our application.
All Hardware of this IoT Project:
Item Image Description Quantity Cost
Arduino An open source microcontroller 1 $6,89
Uno R3 board based on the ATmega328P
microcontroller. It is widely used for
prototyping and construction of
electronic projects.

30cm USB The cable is used to connect the 1 $0,63


A-B cable Arduino board to the computer for
programming and power supply.

DHT11 A sensor that measures ambient 1 $1,46


Temperatur temperature and humidity and
e and provides digital output.
Humidity
Sensor
Module

HC SR505 A motion sensor module that can 1 $1,67


Motion sense infrared rays emitted by
Sensor moving objects, commonly used for
motion detection.
LDR Sensor An LDR (Light Dependent Resistor) 1 $1,04
Module module that measures light intensity
and impedance variation based on
ambient light conditions.

MQ2 Gas A sensor module detects various 1 $1,34


Sensor gases such as methane, alcohol,
Module propane, hydrogen, etc., and
provides analog or digital output
based on gas concentration.

MQ135 Air A sensor module used to measure air 1 $1,63


Quality quality by detecting various gases
Sensor such as ammonia, nitrogen dioxide,
Module benzene, etc.

Breadboard A solderless breadboard used to 1 $1,17


Test Plug prototype circuits without soldering.
MB-102 The plug provides convenient
connection for components.
Female- A plug test board with female 1 $0,84
Piece Test connectors at both ends, often used
Board Plug to create custom jumper connectors.
20cm (40
strands)

Male- A plug test board with a female 1 $0,84


Female Test connector at one end and a female
Board Plug connector at the other, used to create
20cm (40 extension connections.
strands)
Led 5mm A standard 5mm LED glows when 10 $0,25
current flows through it, often used
for display and lighting purposes.

Combo A module that combines a 16x2 1 $2,84


Module LCD monitor (LCD1602) with an
LCD1602 + I2C interface, which simplifies
I2C connection and use.
Resistance A resistor with an impedance value 50 $0,21
220R of 220 ohm and a power of 0.25
0.25W 5% watts, is often used to limit the
current or change the voltage level in
a circuit.

a) Arduino Uno R3
The Arduino UNO R3 is the perfect board to get familiar with electronics and coding. This versatile
development board is equipped with the well-known ATmega328P and the ATMega 16U2 Processor.
This board will give you a great first experience within the world of Arduino.
Features:
 ATMega328P Processor
 Memory
o AVR CPU at up to 16 MHz
o 32KB Flash
o 2KB SRAM
o 1KB EEPROM
 Security
o Power On Reset (POR)
o Brown Out Detection (BOD)
 Peripherals
o 2x 8-bit Timer/Counter with a dedicated period register and compare channels
o 1x 16-bit Timer/Counter with a dedicated period register, input capture and compare channels
o 1x USART with fractional baud rate generator and start-of-frame detection
o 1x controller/peripheral Serial Peripheral Interface (SPI)
o 1x Dual mode controller/peripheral I2C
o 1x Analog Comparator (AC) with a scalable reference input
o Watchdog Timer with separate on-chip oscillator
o Six PWM channels
o Interrupt and wake-up on pin change
 ATMega16U2 Processor
o 8-bit AVR® RISC-based microcontroller
 Memory
o 16 KB ISP Flash
o 512B EEPROM
o 512B SRAM
o debugWIRE interface for on-chip debugging and programming
 Power
o 2.7-5.5 volts
Advantages:
 Easy to use: The Arduino Uno R3 is very easy to use, even for beginners. It has a simple and
intuitive design, and there are many resources available online to help you get started.
 Low cost: The Arduino Uno R3 is very affordable, making it a great option for budget-minded
projects.
 Widely supported: The Arduino Uno R3 is widely supported by the Arduino community. There are
many libraries and tutorials available, making it easy to find help when you need it.
 Flexible: The Arduino Uno R3 is a very flexible platform. It can be used for a wide variety of
projects, from simple LED blinkers to complex robotics applications.
Disadvantages:
 Limited processing power: The Arduino Uno R3 has limited processing power, so it is not suitable
for projects that require a lot of computation.
 Limited memory: The Arduino Uno R3 has limited memory, so it can only store a limited amount
of code.
 Not as powerful as other microcontrollers: There are other microcontrollers that are more powerful
than the Arduino Uno R3. These microcontrollers may be a better choice for projects that require a
lot of processing power or memory.
 Can be difficult to debug: The Arduino Uno R3 can be difficult to debug, especially for beginners.
This is because it does not have a built-in debugger.

b) LDR Sensor Module


An LDR sensor module is a digital sensor as well as a low-cost analog sensor module, capable of
measuring and detecting light intensity. This sensor is also known as an Optical Resistance sensor. This
sensor has a built-in LDR (Light Dependent Resistor), which helps it detect light. This sensor module
comes with 4 terminals. Where pin "DO" is the digital output pin and the "AO" pin is the analog output
pin. The output of the module is high in the absence of light and becomes low in the presence of light. The
sensitivity of the sensor can be adjusted using the potentiometer on the board.
Features:
 Operating Voltage: 3.3V to 5V DC
 Operating Current: 15ma
 Output Digital - 0V to 5V, Adjustable trigger level from preset
 Output Analog - 0V to 5V based on light falling on the LDR
 LEDs indicating output and power
 PCB Size: 3.2cm x 1.4cm
 LM393 based design
Advantages:
 Low cost: LDR sensor modules are very affordable, making them a cost-effective option for many
applications.
 Simple to use: LDR sensor modules are easy to use, even for beginners. They can be connected to
an Arduino or other microcontroller using just a few wires.
 Wide range of applications: LDR sensor modules can be used in a variety of applications,
including light detection, automatic lighting control, and motion detection.
 Durable: LDR sensor modules are usually made of durable materials, making them resistant to
damage.
 Sensitive: LDR sensor modules are sensitive to changes in light intensity, making them ideal for
applications that require precise measurements.
Disavantages:
 Affected by temperature: The resistance of the LDR sensor module is affected by temperature, so
it is important to take this into account when using the sensor.
 Slow response time: LDR sensor modules have slow response times, which means they may not be
suitable for applications that need to detect rapid changes in light intensity.
 Not suitable for bright light conditions: LDR sensor modules are not suitable for bright light
conditions, as the sensor may be saturated and light intensity cannot be accurately measured.
c) Arduino IDE
The Arduino IDE was chosen to solve the problem of automatic water supply to animals due to its user-
friendly interface and adaptability. It supports multiple operating systems including Windows, Mac OS X,
and Linux, making it accessible to many users. It is often used by educators and students to create cost-
effective scientific equipment, teach programming and robotics, and explain scientific concepts.\nThe
Arduino IDE offers an affordable solution because there are no ongoing monthly costs and it is open
source, allowing skilled programmers to customize it. Its simplicity makes it suitable for beginners while
its versatility caters to advanced users. The foundation of software in the Processing programming
environment also supports the teaching of programming concepts. The Arduino IDE is cross-platform,
ensuring compatibility across different operating systems. It allows users to easily follow step-by-step
instructions from the toolkit or participate in the online Arduino community to discuss ideas and projects.

Picture 1: Arduino IDE

1.2 Develop the solution


We have chosen and developed a smart hospital system as our project including 5 members:
 Duong Ngoc Anh (leader)
 Bui Tuan Linh
 Vu Tan Dung
 Thai Van Chien (me)
 Nguyen Duc Minh
In smart hospital systems, integrated sensors play an important role in monitoring and maintaining a
conducive healthcare environment. With the inclusion of sensors such as DHT11 Temperature and
Humidity Sensing Module, HC SR505 Motion Sensor, LDR Sensor Module, MQ2 Gas Sensor Module
and MQ135 Air Quality Sensor Module, the system is capable of collecting real-time data from the
surrounding environment. This smart hospital system works seamlessly online, allowing customers to
evaluate its functional and performance requirements through various smart devices such as computers,
smartphones, tablets and others. The Arduino IDE serves as the backbone for programming and
controlling hardware components, ensuring the entire system works efficiently. Interconnected sensors
contribute by collecting essential environmental data, which is then processed in the system's software.
The software, developed using the Arduino IDE, analyzes the collected data to derive meaningful insights.
For example, the system monitors variables such as air temperature, humidity and air quality. These
variables form the basis for the functions of the system.
Application of sensors in smart hospital:
 DHT11 temperature and humidity sensor module (Nguyen Duc Minh): This module plays an
important role in monitoring and maintaining the temperature and humidity of the environment in
the hospital. Data from this sensor can help adjust air conditioning and humidity systems to ensure
a comfortable environment for patients and staff.
 HC SR505 Motion Sensor (Duong Ngoc Anh): Motion sensor can be used to detect the appearance
of people or objects in certain areas of the hospital. This can be used to activate security
monitoring systems or automatic lighting in dark areas.
 LDR sensor module (Me): The light sensor can be used to adjust lights in areas such as hallways,
waiting rooms, and hospital rooms. This saves energy by automatically turning off lights in well-lit
conditions.
 MQ2 Gas Sensor Module (Vu Tan Dung) and MQ135 Air Quality Sensor Module(Bui Tuan Linh):
These sensors can be used to monitor hospital air quality, including the detection of harmful gases
such as CO2 and fine dust particles. Data from these sensors can help the system manage and
control air quality in areas such as operating theatres, treatment rooms, and wards.
In this project, my task involved developing two main functions: using an LDR (Light Dependent
Resistor) sensor to monitor ambient light levels and controlling three LEDs of different colors. I will use
the LDR sensor to measure the intensity of ambient light. LDR's sensitivity allows it to react to changes in
light levels. However, readings may vary due to small fluctuations in light. To mitigate this, I will
implement a simple filtering mechanism to avoid rapid changes in LED state.
LEDs will serve as visual indicators of light levels. Yellow LEDs will indicate high light conditions, green
LEDs will indicate moderate lighting, and red LEDs will indicate low light levels. The LED color will
automatically change based on the LDR sensor reading. The hardware configuration will involve
connecting the LDR sensor to the pin indicated on the Arduino, such as pin A0. The three LEDs will be
connected to Arduino's A2, A3 and A4 pins, which are red, green and yellow LEDs respectively. A
suitable current-limiting resistor will be connected in series to each LED to prevent overload. To power
the components, Arduino's 5V pins can be used for LDR sensors and LEDs. Depending on the LED
specifications, resistors will be selected to maintain a safe current level.

Picture 2: Configure Hardware

Source code:
const int redPin = 2;
const int greenPin = 3;
const int yellowPin = 4;
const int sensorPin = A0;

void setup() {
pinMode(redPin, OUTPUT);
pinMode(greenPin, OUTPUT);
pinMode(yellowPin, OUTPUT);
Serial.begin(9600);
}

void loop() {
int lightSensorValue = analogRead(sensorPin);

if (lightSensorValue > 500) {


setLEDState(1, 0, 0);
Serial.println("Low Light Intensity");
} else if (lightSensorValue > 200) {
setLEDState(0, 1, 0);
Serial.println("Average Light Intensity");
} else {
setLEDState(0, 0, 1);
Serial.println("High Light Intensity");
}

Serial.println(lightSensorValue);
delay(2000);
}

void setLEDState(int redState, int greenState, int yellowState) {


digitalWrite(redPin, redState);
digitalWrite(greenPin, greenState);
digitalWrite(yellowPin, yellowState);
}

When the light value is low (greater than 500), the red light will light up and print out 'Low Light
Intensity'. When the average light value (greater than 200), the green light will light up and print out the
'Average Light Intensity'. When the light value is high, the yellow light will light up and print out 'High
Light Intensity'. The readings from the light sensor are also printed and the whole program stops working
for 2 seconds before repeating the process.

2. Run end-user experiments then identify the perfect and incomplete points in
your system (P6)
2.1 Deployment of all program
Source code:
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include <DHT.h>
#define DHTPIN 7
#define DHTTYPE DHT11

LiquidCrystal_I2C lcd(0x27, 20, 4);


int speakerPin = 8;
int smokeA0 = A1;
int sensorThres = 210;
int redPin = 2;
int greenPin = 3;
int yellowPin = 4;
int sensorPinLight = A0;
int sensorPinMotion = 5;
int ledPin = 6;
int analog_IN_CO2 = A2;

DHT dht(DHTPIN, DHTTYPE);


DisplayMode currentDisplayMode = CO2_MODE;
unsigned long lastCO2DisplayTime = 0;
const unsigned long CO2DisplayInterval = 5000;
enum DisplayMode {
CO2_MODE,
TEMP_HUMIDITY_MODE
};

void setup() {
pinMode(speakerPin, OUTPUT);
pinMode(smokeA0, INPUT);
pinMode(redPin, OUTPUT);
pinMode(greenPin, OUTPUT);
pinMode(yellowPin, OUTPUT);
pinMode(sensorPinLight, INPUT);
pinMode(sensorPinMotion, INPUT);
pinMode(ledPin, OUTPUT);
pinMode(analog_IN_CO2, INPUT);
Wire.begin();
lcd.init();
lcd.backlight();
dht.begin();
Serial.begin(9600);
lcd.clear();
lcd.setCursor(0, 0);
lcd.print("Initializing...");
delay(2000);
lcd.clear();
}

void loop() {
int analogSensor = analogRead(smokeA0);
int lightSensorValue = analogRead(sensorPinLight);
int motionSensorState = digitalRead(sensorPinMotion);
int co2Value = analogRead(analog_IN_CO2);
int co2Concentration = map(co2Value, 0, 1023, 0, 5000);
int humidity = dht.readHumidity();
float temperature = dht.readTemperature();

Serial.print("\nGas Sensor Value (ppm): ");


Serial.println(analogSensor);
if (analogSensor > sensorThres) {
tone(speakerPin, 300);
Serial.println("Dangerous Gas");
} else {
noTone(speakerPin);
Serial.println("Gas Level Normal");
}

if (lightSensorValue > 500) {


setLEDState(1, 0, 0);
Serial.println("\nLow Light Intensity");
} else if (lightSensorValue > 200) {
setLEDState(0, 1, 0);
Serial.println("\nAverage Light Intensity");
} else {
setLEDState(0, 0, 1);
Serial.println("High Light Intensity");
}

if (motionSensorState == HIGH) {
digitalWrite(ledPin, HIGH);
printSensorState("Motion detected!");
} else {
digitalWrite(ledPin, LOW);
printSensorState("No motion.");
}

Serial.print("\nTemp: ");
Serial.print(temperature);
Serial.print("C ");
Serial.print("\nHumidity:");
Serial.print(humidity);
Serial.print("%");

unsigned long currentTime = millis();


if (currentTime - lastCO2DisplayTime >= CO2DisplayInterval) {
if (currentDisplayMode == CO2_MODE) {
lcd.clear();
lcd.setCursor(0, 0);
lcd.print("CO2: ");
lcd.print(co2Concentration);
lcd.print(" ppm");
if (co2Concentration <= 600) {
lcd.setCursor(0, 1);
lcd.print("Normal");
} else if (co2Concentration <= 800) {
lcd.setCursor(0, 1);
lcd.print("Alert");
} else {
lcd.setCursor(0, 1);
lcd.print("Danger");
}
currentDisplayMode = TEMP_HUMIDITY_MODE;
} else {
lcd.clear();
lcd.setCursor(0, 0);
lcd.print("Temp: ");
lcd.print(temperature);
lcd.print("C");
lcd.setCursor(0, 1);
lcd.print("Humidity: ");
lcd.print(humidity);
lcd.print("%");
currentDisplayMode = CO2_MODE;
}
lastCO2DisplayTime = currentTime;
}
Serial.print("\nCO2: ");
Serial.print(co2Concentration);
delay(2000);
}

void printSensorState(const char* message) {


Serial.print("Sensor state: ");
Serial.println(message);
}

void setLEDState(int redState, int greenState, int yellowState) {


digitalWrite(redPin, redState);
digitalWrite(greenPin, greenState);
digitalWrite(yellowPin, yellowState);
}

In this program, the process of installing and declaring important variables is carried out. The pins of
peripherals such as LEDs, smoke sensors, light sensors, motion sensors, DHT11 temperature and humidity
sensors, speakers, CO2 sensors and LCD screens are initially defined and configured. The setup() section
is the starting point of the program. In this section, we set the pins of the device to act as input or output,
initialize the necessary libraries, and set up the LCD screen as well as brighten it. The loop() loop part is
the core of the program. In this loop, the value from the sensors is read, then checked and the appropriate
actions taken. The smoke sensor (smokeA0) allows the gas concentration value to be read and check if
this concentration exceeds the safe threshold. When the concentration exceeds the threshold, the program
will sound a warning. The light sensor (sensorPinLight) allows reading the light value and relying on this
value to turn on the corresponding LED to show the light level. The motion sensor (sensorPinMotion)
allows checking the status of the motion sensor and turning on the corresponding LED based on this
status. DHT11 temperature and humidity sensor (DHT dht(DHTPIN, DHTTYPE)) allows temperature and
humidity values to be read from the DHT11 sensor. The CO2 sensor (analog_IN_CO2) allows the value
from the CO2 sensor to be read and converted into a CO2 concentration. Information about the CO2
concentration will be displayed on the LCD screen, accompanied by notifications about the danger level.

2.2 Test the software


Below is a picture of when our system is not working:

Picture 3: My IoT's project


Picture 4: When High Light Intensity

When the reading value from the low light sensor, which is rated greater than 500, the red LED
automatically lights up, producing a warm red light. This not only provides a soft lighting environment in
a low-light environment, but is also a signal to the user that the current light level is low. Attached to the
display on the screen, the words 'Low Light Intensity' are also printed to inform about the current light
level.

Picture 5: When Average Light Intensity

When the light reading is average, rated greater than 200, the blue LED automatically lights up, producing
a gentle blue light. This is a sufficient light level to provide good visibility in the environment, and the use
of blue light can create interesting and relaxing spaces. The words 'Average Light Intensity' are also
printed to indicate the current light level.

Picture 6: When Low Light Intensity

When the light reading value reaches a high level, the yellow LED automatically lights up, creating a
warm and extended light. Yellow LEDs are often associated with natural light during the moment of
sunset or sunrise, creating a warm and pleasant environment. The words 'High Light Intensity' will be
printed to give a signal about the current light level, along with changing the status of the yellow LED.

2.3 The perfect and incomplete points in our system


Our system is well structured and integrates various sensors to monitor different environmental aspects.
The system can detect harmful gas levels, movement and light intensity. It can also display temperature
and humidity information. The system is capable of switching between CO2 mode and
temperature/humidity display.
However, the system still has 1 number of incomplete points. The system lacks a CO2 sensor reset
method. There is no provision for adjusting thresholds for gas sensors, light sensors and motion sensors. In
addition, the system does not provide a way to store historical data.

Task 2 – Test and evaluate the user feedback (P7 – M2 –


M3)
1. Evaluate end user feedback from your IoT application.
When integrating the Arduino Smart Hospital system, users have encountered both positives and negatives
that affect their overall experience. Through careful observation of user interactions and conducting
interviews, it has been established that the questionnaire serves as the most effective tool for assessing
Arduino Smart Hospital user satisfaction. Presented below is an illustrative sample of the survey:
User responses and experimental assessment:
A total of 20 individuals utilizing the Arduino Smart Hospital system participated in a questionnaire-based
assessment. Out of these participants, 13 individuals provided valuable feedback regarding our group's
Internet of Things (IoT) product system. This input is deemed essential for informing future iterations and
improvements.
2. The result of survey
The Arduino Smart Hospital System was rated well by the vast majority of poll participants.

Picture 7: Smart Hospital System Feedbacks

Gas Sensing Functionality:

Picture 8: Gas Sensing Functionality 1


Picture 9: Gas Sensing Functionality 2

Picture 10: Gas Sensing Functionality 3


Picture 11: Light Sensing Functionality 1

Picture 12: Light Sensing Functionality 2


Picture 13: Motion Detection Functionality 1

Picture 14: CO2 Monitoring Functionality 1


Picture 15: CO2 Monitoring Functionality 2

Picture 16: : Temperature and Humidity Display Functionality 1


Picture 17: Temperature and Humidity Display Functionality 2

Picture 18: Overall User Experience


Picture 19: Overall User Experience

Conclusion
In summary, our efforts to create a smart hospital IoT system using Arduino technology have yielded
promising results. Our project focuses on energy saving in line with the urgent need to address electricity
scarcity in remote areas, while prioritizing environmental protection. By integrating the Arduino R3 and
the 5V Relay module, we have successfully developed a solution that not only contributes to energy
efficiency in a hospital environment, but also shows the potential of IoT applications in healthcare.

References
There are no sources in the current document.

You might also like