1 of 20

Capstone Project – Final: Review – 2 on�Smart Home IoT Intelligent Living Ecosystem

​

Under the Guidance of

Dr.Beera John Jaidhan

Associate Professor

Presented by the Batch No. : 3

​

K.LALITHA RENUKA - VU22CSEN0100371

K.NIKHIL RAJ -VU22CSEN0100099

G.PAVAN KRISHNA SWAMY -VU22CSEN0102287

R.SAI KUSHALI -VU22CSEN0101445

​

Department of Computer Science and Engineering

GITAM School of CSE, GITAM (Deemed to be University),

Visakhapatnam, INDIA.

2 of 20

CONTENTS

  1. Recap of Capstone Project Introduction Review-2

A.Problem Statement

B.Objectives and Project Workflow

C.Design Strategy/Proposed Algorithm/Methodology

D.Feedback from Guide/Reviewers and actions taken after Capstone Project Final Review–1

  1. Methodology/Algorithms
  2. Status of Implementation
  3. Conclusion
  4. References

​

​

2

3 of 20

Problem Statement

In modern homes and workplaces, real-time monitoring of environmental conditions and safety threats is often lacking.Sudden temperature rise, gas leakage,water wastage or unauthorized intrusion can lead to serious accidents and property damage.Manual monitoring systems are inefficient and cannot provide instant alerts when abnormal conditions occur.

There is a need for an integrated system that continuously monitors temperature and humidity levels.Early detection of gas leaks is essential to prevent fire hazards and health risks.Intrusion detection is important to enhance security and prevent unauthorized access at a particular time of the day. Remote monitoring and control through a mobile application can improve response time and convenience.Time-based scheduling of electrical appliances helps reduce unnecessary power usage and improves energy efficiency.

​

3

4 of 20

Objectives

➔ To design and develop an IoT-based system for real-time monitoring of temperature and humidity.

➔ To implement automatic alert mechanisms for abnormal temperature conditions and gas leakage to prevent hazardous situations.

➔ To integrate an intrusion detection system for enhanced security during specific time periods.

➔ To develop a relay-based appliance control system with both manual and schedule-based operation.

➔ To reduce energy consumption through time-based scheduling of electrical devices.

➔ To enable reliable, low-cost, and user-friendly remote monitoring and control using the Blynk mobile application for homes and workplaces.

➔ To reduce water wastage by using float water level switch sensor which detects whether the tank is full.

​

4

5 of 20

5

Project Workflow

6 of 20

6

Project Workflow

  • System initializes NodeMCU, Wi-Fi, and Blynk cloud connection.
  • Sensors (DHT11, MQ135, PIR, Float Sensor) start continuous data collection.
  • NodeMCU reads and processes sensor data at regular intervals.
  • Temperature, gas level, motion, and water level are compared with predefined thresholds.
  • If any value exceeds the limit, alert notifications are triggered via Blynk.
  • Sensor data is sent to the cloud and displayed in the mobile application.
  • User can monitor real-time data and control devices remotely.
  • Relay operates in manual mode (app control) and automatic mode (time scheduling).
  • System continuously repeats the process for real-time monitoring and control.

​

7 of 20

7

Design Strategy / Proposed Methodology

​

  • The system is designed using NodeMCU ESP8266 as the central controller, which provides built-in Wi-Fi connectivity for IoT communication
  • Multiple sensors (DHT11, MQ135, PIR, Float Sensor) are interfaced to continuously monitor environmental conditions and safety parameters
  • Sensor data is collected at regular intervals using timer-based execution (BlynkTimer) to ensure smooth and efficient multitasking
  • The collected data is processed by the NodeMCU and compared with predefined threshold values for each parameter
  • If any abnormal condition is detected, alert notifications are generated and sent to the user through the Blynk cloud platform
  • A relay module is used to control electrical appliances, supporting both manual operation and time-based scheduling
  • Real-time sensor data, device status, and alerts are displayed on the Blynk mobile application for remote monitoring
  • The system operates continuously in a loop, ensuring real-time monitoring, quick alert response, and efficient device control

​

8 of 20

Feedback from Guide/Reviewers and actions taken after Capstone Project Final Review–1

8

Feedback from Guide/Reviewers

1.Reviewers suggested adding a feature to improve water management, specifically to avoid water wastage and make the system more practical.

2. It was also suggested to improve the alert mechanism so that users receive notifications in a clearer and more effective way during abnormal conditions.

3. During the first review, our second circuit was not functioning properly, so our guide advised us to focus on fixing and properly implementing these sensors.

Actions taken

1. A water level monitoring feature was added using a float sensor to detect when the tank is full and prevent water overflow.

2. The alert system was improved by configuring proper event notifications in Blynk, ensuring users receive instant and meaningful alerts for temperature, gas leakage, motion, and water level.

3. The issues in Circuit 2 were resolved by reworking the sensor connections and code, and the system was successfully tested for motion and gas detection.

​

​

​

9 of 20

Testing & Validation

9

Testing Approach

  • The system was tested at three levels: Unit Testing, Integration Testing, and System Testing
  • Individual sensors (DHT11, MQ135, PIR, Float Sensor) were tested separately to verify correct readings
  • Integrated testing was performed after connecting all components with NodeMCU
  • Final system testing was carried out in real-time conditions using the Blynk application

​

​

10 of 20

Testing & Validation

10

Validation of Sensor Performance

  • Temperature & Humidity (DHT11):�Readings were compared with weather applications (such as Google Weather and AccuWeather) at different time intervals�→ Observed values were closely matching with minor acceptable variation
  • Water Level Sensor:�Tested under different tank levels (empty, mid, full)�→ Successfully detected “tank full” condition in all cases without failure
  • PIR Motion Sensor:�Tested for intrusion detection at different distances�→ Detected motion with high sensitivity and an average delay of ~3 seconds
  • MQ135 Gas Sensor:�Tested by exposing the sensor to smoke�→ Sensor showed proper fluctuations and crossed threshold correctly

11 of 20

Testing & Validation

11

Relay & Automation Testing

  • Relay operation tested in both manual mode and schedule mode
  • Devices turned ON/OFF correctly through Blynk app
  • Time-based scheduling was verified at different intervals�→ Relay responded accurately without delay

Alert & Notification Testing

  • Alerts tested for all conditions:
    • High temperature
    • Gas leakage
    • Motion detection
    • Water tank full
  • Notifications were received successfully on the Blynk app
  • Email alerts were triggered and delivered within 1 minute
  • No false alerts observed during normal conditions

12 of 20

Results, Analysis & Discussion

12

Results

  • The system was successfully implemented using NodeMCU ESP8266 with all sensors functioning properly
  • Real-time data for temperature, humidity, gas level, motion, and water level was continuously monitored
  • Sensor data was accurately displayed on the Blynk mobile application
  • Alerts were generated correctly for all critical conditions:
    • High temperature
    • Gas leakage
    • Motion detection
    • Water tank full
  • Email notifications were received within 1 minute of triggering events
  • Relay module operated correctly in both manual mode and schedule-based automation
  • The system showed stable performance under continuous operation

​

13 of 20

Results, Analysis & Discussion

13

14 of 20

Results, Analysis & Discussion

14

15 of 20

Results, Analysis & Discussion

15

Analysis

  • Temperature and humidity values were compared with weather applications at different times�→ Results showed close matching with minor variation
  • Gas sensor readings showed clear fluctuations when exposed to smoke�→ Threshold detection worked effectively
  • PIR sensor detected motion with high sensitivity and ~3 seconds delay
  • Water level sensor accurately identified all conditions (empty, mid, full)
  • Relay scheduling was tested at multiple time intervals�→ Devices turned ON/OFF exactly as programmed
  • System response time:
    • Sensor update: ~2 seconds
    • Alert response: < 1 minute

​

16 of 20

Results, Analysis & Discussion

16

Discussion

  • The system meets all the defined objectives of monitoring, automation, and safety
  • Integration of multiple sensors into a single platform improved overall efficiency
  • Real-time alerts and remote access significantly enhance user control and safety
  • The use of Blynk cloud enabled reliable communication between hardware and user
  • The system is cost-effective and suitable for both home and small-scale applications
  • Minor limitations:
    • Slight delay in PIR detection (~3 seconds)
    • Dependence on stable Wi-Fi connection
  • Overall, the system performed reliably under different testing conditions

​

17 of 20

Results, Analysis & Discussion

17

18 of 20

Results, Analysis & Discussion

18

19 of 20

Conclusion

19

In this project, we developed a Smart Home IoT system that combines monitoring, safety, and automation into a single solution. By using NodeMCU and the Blynk platform, we were able to monitor temperature, humidity, gas leakage, motion, and water levels in real time.

The system not only detects problems early but also alerts the user instantly, which helps in taking quick action. Features like relay control and scheduling make it easier to manage electrical devices and save energy. One of the main advantages of this system is that it can be controlled from anywhere using a mobile application.

Overall, this project helped us understand how IoT can be applied in real-life situations to improve safety and convenience. It is a low-cost and practical solution that can be further improved by adding more features in the future.

​

20 of 20

1.Singh, R., & Kumar, P. (2020). IoT-based fire and motion detection system. IEEE Xplore.

2.Sharma, V., & Gupta, A. (2019). Development of a low-cost IoT device using ESP8266 and ATmega328 for real-time monitoring of air quality with alert. IEEE Xplore.

3.Verma, S., & Yadav, N. (2020). A low-cost IoT-based temperature and humidity monitoring system using DHT11. IEEE Xplore.

4.Patel, K., & Mehta, D. (2021). Environmental parameter monitoring system based on NodeMCU ESP8266, MQTT and Node-RED. IEEE Xplore.

5.Roy, S., & Banerjee, A. (2018). Design and implementation of home automation system using Arduino Uno and NodeMCU ESP8266 IoT platform. IEEE Xplore. 6.Prasad, A., & Thomas, L. (2021). IoT-based electrical device surveillance and control system. IEEE Xplore.

7.Khan, A., & Basha, S. (2019). Smart home security system using IoT and ESP8266. IEEE Xplore.

8.MQTT.org. (2023). MQTT: Message Queuing Telemetry Transport – Technical Overview. Retrieved from https://mqtt.org

★https://drive.google.com/drive/folders/1ncxtRQV4j5etFYrqDXDC-dxkioyHGICe?u sp=sharing

References