[go: up one dir, main page]

0% found this document useful (0 votes)
9 views14 pages

Project Report

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)
9 views14 pages

Project Report

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/ 14

`

A Consultancy work Report on

IOT BASED OFFICE MONITORING SYSTEM


WITH WEB APPLICATION

Client Details:
PINESPHERE SOLUTIONS PVT LTD,
NO 27, 46 Annamalai Nagar,
Malumichampatti, Coimbatore – 641202
Ph. No.: 9994434264
Email: surendiran@pinesphere.com.

Sri Eshwar College of Engineering


(An Autonomous Institution – Affiliated to Anna University)

COIMBATORE – 641 202


`

S No. Name
Faculty Coordinator:
1. Mr. M. Vivek Kumar M.E.,(Ph.D.).,
Assistant Professor (SI.Gr.),
Sri Eshwar College of Engineering.
Faculty Member:
2. Dr. S. Ramalingam M.E.,Ph.D.
Assistant Professor (SI.Gr.),
Sri Eshwar College of Engineering.
Student Members:
3. G. Rekashini

4. R. Pavithra

ABSTRACT:
This report delves into the design, implementation, and impact of an Internet of
Things (IoT)-based office monitoring system aimed at enhancing workplace comfort,
security, and efficiency. The primary objective of this research is to develop a system that
allows seamless monitoring and control of office appliances via a web interface, utilizing
low-power communication protocols such as Wi-Fi, Zigbee, and Bluetooth Low Energy
(BLE).Central to the system's architecture is the ESP32 microcontroller, which functions as
the server, facilitating communication between various sensors and office appliances. The
system incorporates a wide array of sensors, including air quality sensors, motion detectors,
temperature and humidity sensors, and smart plugs. Additionally, smart cameras are deployed
to enhance security measures within the office environment. These devices collect vital data
related to environmental conditions and energy consumption, which is transmitted to a central
hub for initial processing and storage. The data is subsequently relayed to a cloud server,
enabling robust data analytics and long-term storage A significant feature of the system is its
user-friendly interface, comprising a web-based dashboard. This interface provides real-time
control and monitoring capabilities, allowing users to manage office appliances such as bulbs,
fans, and sockets remotely. The interface also supports manual control through the integration
of push buttons, offering flexibility and redundancy in appliance management and
demonstrates that the ESP32 server effectively communicates with an Arduino-based
hardware circuit to control connected electrical appliances, ensuring reliable and efficient
operation. The system's ability to automate responses to specific conditions, such as adjusting
lighting based on occupancy or regulating temperature based on environmental data,
underscores its potential for significant energy savings. The results indicate that the IoT-based
system not only streamlines the management of office resources but also contributes to
substantial energy conservation, thereby promoting sustainable office practices.
`

This work concludes that the implementation of IoT technologies in office settings
can lead to marked improvements in operational efficiency, energy management, and overall
workplace comfort. Future work could explore the integration of advanced machine learning
algorithms to further enhance the system's predictive capabilities and automate more complex
decision-making processes. Additionally, expanding the system's compatibility with a broader
range of office appliances could provide even greater flexibility and scalability. Through
continuous innovation and adaptation, IoT-based office monitoring systems hold the promise
of transforming traditional office environments into smart, responsive, and energy-efficient
spaces. This system integrates subsystems such as biometric access control, lighting, heating,
and buzzer systems. Sensors are used to obtain real-time data from the environment and are
connected to the ESP32 microcontroller, which processes the data and controls output
components like fans, bulbs, and buzzers based on threshold values. The sensors data is
continuously recorded, focusing on biometric access, door control, lighting, heating, and
reconfiguration to save energy and improve employee satisfaction. The system ensures indoor
office comfort by analyzing visual, thermal, and air quality conditions. It also groups device
interactions into three categories and presents the design and implementation of context-
aware spontaneous interoperability of information devices in building a smart meeting
room .For security purposes, a fingerprint identification module is used. Additionally, a
buzzer and emergency messages are sent via email to security personnel, enhancing the
overall security measures of the office environment.

DESCRIPTION:
An advanced integration of Internet of Things (IoT) technology aimed at increasing
modern workplaces' operational efficiency, comfort, and security is represented by an IoT-
based office monitoring system with a web application. This system uses a network of
sensors that are thoughtfully placed across the office space to gather data in real-time on a
variety of factors, including lighting, temperature, humidity, occupancy levels, and air quality.
These sensors send the gathered data to a centralized cloud platform where it is processed,
analyzed, and made available via a web-based interface.

Typically, these sensors are coupled to edge devices like microcontrollers or IoT
gateways. The cornerstone of this system lies in its ability to provide actionable insights and
real-time monitoring capabilities through a user-friendly web application. For facilities
managers, administrators, and even staff members, this program functions as a thorough
dashboard that provides a full overview of the state of the office environment today and over
time. Users can remotely monitor and control office conditions by using this information
from any web-enabled device. Users can monitor occupancy levels to optimize workspace
utilization, adjust HVAC systems based on temperature and humidity data for comfort
optimization, and regulate lighting levels to enhance energy efficiency.

The system sends alerts for critical events such as HVAC failures, security breaches,
or abnormal environmental conditions, enabling prompt responses and preventive actions.
Historical data analysis allows for identifying patterns and trends over time, supporting
predictive maintenance, resource planning, and operational improvements. Integrated
controls enable users to remotely manage devices and systems, such as HVAC, lighting, and
`

security systems, based on real-time data and predefined settings. Role-based access control
ensures that only authorized personnel have access to sensitive data and administrative
functionalities within the application.

In this , we propose a solution for a smart office monitoring system that utilizes a
variety of sensors and components interfaced with an ESP32 microcontroller, programmed
using Arduino IDE. The system is designed to monitor office conditions and provide real-
time data to an Android application accessible by managers and security personnel.

Hardware Components:

1. ESP32 Microcontroller:

The ESP32 is a powerful microcontroller that combines 2.4 GHz Bluetooth and
Wi-Fi capabilities, designed using TSMC's ultra-low-power 40 nm technology. It offers
excellent power and RF performance, making it suitable for a wide range of applications. The
ESP32 is reliable, flexible, and can operate under various power conditions.

2. Servo Motor:
Servo motors are precise electrical devices used to control the position of an object.
They consist of a simple motor controlled by a servo mechanism. Servo motors can be AC or
DC powered and are known for their high torque and lightweight design.

3. R307 Fingerprint Sensor:


The R307 module includes a high-speed DSP processor, a high-performance
fingerprint alignment algorithm, and high-capacity FLASH chips. It provides stable
performance and includes functions like fingerprint access, image processing, fingerprint
matching, and template storage.

4. 5V 4-Channel Relay:
This relay module can control multiple appliances and devices with high current.
Each channel requires a 15-20mA driver current and can handle up to AC250V 10A or
DC30V 10A. It is compatible with microcontrollers and is used to manage office devices.

5. PIR Motion Sensor:


PIR sensors detect infrared light emitted by objects within their field of view and
are commonly used in motion detection systems.

6. MQ2 Gas Sensor:


The MQ2 sensor is used for detecting gas leaks in both residential and industrial
settings. It can sense LPG, H2, CO, CH4, alcohol, smoke, and propane. The sensor is highly
sensitive and responds quickly, with adjustable sensitivity via a potentiometer.
`

7. LDR Sensor:
Also known as a photoresistor, the LDR sensor's resistance decreases as light
intensity increases. It is used in various applications, including light beam alarms, camera
light meters, and automatic lighting systems.

8. DHT11 Temperature & Humidity Sensor:


The DHT11 sensor uses resistive sensing technology combined with an NTC
thermistor to measure relative humidity and temperature. It is a cost-effective, popular sensor
for environmental monitoring.

Software Components:

1. Arduino IDE:
The Arduino Integrated Development Environment (IDE) is used for writing and
uploading code to the ESP32 microcontroller. It is a lightweight, cross-platform application
available for Windows, Mac, and Linux. Arduino IDE supports both online and offline
coding, allowing users to save their projects locally or in the cloud.

2. Blynk:
Blynk is an Android application designed for real-time monitoring and control of
IoT devices. It can display sensor data, store information, and visualize it through various
widgets. Blynk allows for remote hardware control and provides a user-friendly interface for
creating project dashboards. The Blynk server manages communication between the
smartphone and hardware, with the option to use Blynk Cloud or a locally hosted server.

System Operation:

The smart office monitoring system starts by initializing the DHT11, MQ2, LDR, and
R307 sensors. The system checks for gas leaks or unusual light levels using the MQ2 and
LDR sensors. If detected, it triggers a buzzer and sends a notification to security. The system
ensures Wi-Fi connectivity to proceed with online operations.

It verifies authorized access using the R307 fingerprint sensor to open the door via a
servo motor. Inside, the PIR motion sensor detects activity to control the lights and fan. If no
motion is detected, the lights and fan remain off. The system can also verify a security
fingerprint to close the office, ensuring all devices are turned off when not in use.

This comprehensive approach ensures a secure, efficient, and automated office


environment, with real-time monitoring and control facilitated by the ESP32 microcontroller
and Blynk application.
`

Architectural Design:

Fig. 1 Architectural Design

In this architectural diagram as shown in the fig.1 we have used 5 sensors such
as R307 (Fingerprint sensor), PIR (Passive infrared sensor), MQ2 (gas sensor), LDR
(Light Dependent Resistor sensor), DHT11 (Temperature & Humidity sensor). And
the controlling unit are light & Fan. And in this architectural diagram we have shown
about buildings which contains employee area, manager room, conference room,
control room (where all the controlling units such as microcontroller and relay are
kept in this room).
`

BLOCK DIAGRAM/FLOW CHART:

Fig.2 Flow Chart

The workflow of above Fig.2 of an IoT-based smart office monitoring system


incorporating various sensors and fingerprint recognition for security and automation. The
process begins with the initialization of the system, including sensors like the DHT11 for
temperature and humidity, MQ2 for gas detection, LDR for light levels, and R307 for
fingerprint recognition. The system first checks for any detections from the MQ2 gas and
LDR sensors. If detected, it triggers a buzzer and sends a notification to security; otherwise, it
continues. Next, it verifies Wi-Fi connectivity, necessary for online operations. Upon
successful connection, it checks for the presence of an employee's or manager's fingerprint to
authorize door access via a servo motor. If authorized, the system opens the door. Once
inside, the system checks for motion to control the lights and fan. If motion is detected, lights
and the fan are turned on; if not, they remain off. Additionally, the system checks for a
security fingerprint to close the office, turning off lights and the fan. If no security fingerprint
`

is detected, the office remains open with lights and fan on. The process concludes with the
office either open or closed, depending on the detection status.

CIRCUIT DIAGRAM:

Fig. 2 Circuit Diagram

The components are connected according to our project as shown in the above Fig. 2.
As for easy identification colour code of the wiring is used that are red colour as VCC, Black
as GND, Yellow and Blue as input, Pink to the relay1, relay2, relay3, relay4 of GPIO’s,
Ochre as RX of the fingerprint module, Cyan as TX of the fingerprint module.
The status of the office will be closed. The fingerprint sensor will be waiting to get the
authentication to open the office. after authenticating the person’s i.e. Employee or Manager,
the door will open and the motion sensor detects the presence of the person and all the lights
and Fan will ON. Inside the office we have used LDR Sensor and MQ2 Gas Sensor. If there
is a chance of getting any short circuits inside the office the buzzer will be ON and the
`

notification and email will be sent to the security people and manager as fire or smoke
detected.

Fig. 3 Blynk Application


In the above Fig.3 shows that the Blynk app is showing the widgets of Button, Gauge,
Notification and Email. The controller widget such as the Button widgets are simply used for
ON and OFF the lights and Fan. The Display widget such as Gauge widgets are displaying
the Humidity and Temperature value inside the office. The Notification widget such as
Notification and Email widget are used for sending the mail for the particular person and
sending the notification. In this project we have used four rooms that are employee area,
conference area, Manager area and control room. As mentioned in the controller widget, the
labels of Employee area, Conference room, Manager room, Fan are responsible for ON and
OFF of the lights and fan of the particular rooms.

PROCEDURE:
 The smart automation aspect of the IoT-based office monitoring system
involves using sensors and microcontrollers to create an intelligent, responsive
environment that enhances workplace efficiency and comfort. Various sensors,
such as motion detectors, temperature and humidity sensors, and air quality
sensors, continuously collect data from the office environment.
`

 These sensors monitor occupancy, environmental conditions, and air quality.


The collected data is transmitted to the ESP32 microcontroller, which acts as
the central processing unit. It processes the incoming data to determine the
current state of the office environment. Based on predefined conditions and
thresholds set in the system, the microcontroller makes decisions about
controlling various office appliances, if the motion detector senses no
movement for a specified period, it can automatically turn off the lights to
conserve energy.
 The system can adjust heating, ventilation, and air conditioning (HVAC)
settings in real-time based on temperature and humidity readings to maintain
optimal comfort levels. Users can monitor and control the system in real-time
using a web dashboard. This interface allows users to manually override
automated settings, turn appliances on or off, and adjust system parameters as
needed. Manual controls, such as push buttons, provide an alternative way to
control the appliances directly, ensuring flexibility and redundancy.

 Lights can be automatically dimmed or turned off based on occupancy data


from motion detectors, ensuring energy is not wasted in unoccupied areas. The
system can regulate the HVAC settings based on real-time temperature and
humidity data, ensuring a comfortable working environment without
unnecessary energy consumption.
 Air quality sensors can trigger ventilation systems to improve air circulation
when pollutant levels exceed a certain threshold. The system continuously
monitors energy usage through smart plugs and other sensors. It identifies
patterns of energy consumption and provides insights for further optimization.
 By automating the control of lights, HVAC systems, and other energy-
consuming appliances, the system reduces unnecessary energy use, leading to
significant energy savings. Biometric access controls and smart cameras
enhance office security. In case of unauthorized access or security breaches,
the system can trigger alarms and send alerts to security personnel.
 In emergencies, the system can automate the activation of buzzers and send
immediate notifications to the concerned authorities via email. Smart
automation in the IoT-based office monitoring system thus creates an
intelligent, energy-efficient, and comfortable office environment by leveraging
real-time data and automated control mechanisms.

1. Component Collection and Assembly

Hardware Components:
- ESP32 Microcontroller
- Servo Motor
- R307 Fingerprint Sensor
`

- PIR Motion Sensor


- MQ2 Gas Sensor
- LDR Sensor
- DHT11 Temperature and Humidity Sensor
- 5V 4-Channel Relay
- Breadboard, jumper wires, and power supply

Software Components:
- Arduino IDE
- Blynk App

2. System Design and Circuit Connections:


ESP32 Connections:
- DHT11 Sensor: Connect the data pin to GPIO4.
- MQ2 Gas Sensor: Connect the analog output to an ADC pin (e.g., GPIO34).
- LDR Sensor: Connect through a voltage divider circuit to an ADC pin (e.g.,
GPIO35).
- R307 Fingerprint Sensor: Connect TX and RX to the ESP32 UART pins (e.g., TX to
GPIO17 and RX to GPIO16).
- PIR Motion Sensor: Connect the output pin to GPIO5.
- Servo Motor: Connect the control pin to a PWM-capable GPIO pin (e.g., GPIO15).
- Relay Module: Connect control pins to GPIO pins (e.g., GPIO18, GPIO19, GPIO21,
GPIO22 for each channel).

3. Programming the ESP32


Arduino IDE Setup:
1. Install the ESP32 board definitions in Arduino IDE.
2. Install necessary libraries:
- `DHT.h` for the DHT11 sensor.
- `Adafruit_Fingerprint.h` for the R307 fingerprint sensor.
- `ESP32Servo.h` for servo control.
`

- `WiFi.h` and `BlynkSimpleEsp32.h` for Wi-Fi and Blynk integration.

4. System Integration and Testing

1. Connect all hardware components on a breadboard or PCB.


2. Upload the Arduino code to the ESP32 using the Arduino IDE.
3. Open the Serial Monitor in Arduino IDE to check for initialization messages and debug
information.
4. Configure the Blynk App:
- Create a new project and add widgets (e.g., value displays for temperature, humidity,
notifications for gas and light levels).
- Link the widgets to the virtual pins used in the code (e.g., V1, V2, V3, V4).

5. Test each component individually to ensure proper functionality:


- Verify sensor readings on the Blynk app.
- Check the servo motor operation with authorized fingerprints.
- Confirm relay control through the app.

6. Simulate various scenarios to test system responses:


- Introduce gas near the MQ2 sensor to trigger an alert.
- Vary light levels to check LDR responses.
- Use fingerprints to open and close the door.
- Monitor motion detection and corresponding actions on the app.

7. Final Deployment

- Mount the sensors and components in their designated locations in the office.
- Ensure secure and stable connections for all hardware elements.
- Power the system using an appropriate power supply.
- Monitor the system via the Blynk app for real-time updates and alerts.
`

By following these steps, the smart office monitoring system can be effectively implemented,
providing enhanced security, efficient environmental monitoring, and automated control of
office conditions.

OUTCOME:

The implementation of the smart office monitoring system yielded several key results.
Upon initialization, the ESP32 microcontroller successfully activated the DHT11, MQ2,
LDR, and R307 sensors, confirming their readiness for monitoring temperature, humidity,
gas levels, and light intensity. The system verified Wi-Fi connectivity, which enabled data
transmission to the cloud and allowed real-time monitoring through the Blynk Android
application. The environmental monitoring component effectively detected abnormal gas
levels and light conditions via the MQ2 and LDR sensors, respectively. When such anomalies
were identified, the system triggered an alarm and sent notifications to security personnel,
ensuring prompt responses to potential hazards. Access control was efficiently managed
using the R307 fingerprint sensor, which accurately authenticated employees and managers,
allowing door access through a servo motor. Once inside, the PIR motion sensor detected
activity, automatically controlling the office lights and fan. In the absence of motion, these
devices were turned off to conserve energy. The security fingerprint feature allowed for
secure office closure, ensuring all devices were powered down when not in use. Overall, the
system demonstrated reliable, automated monitoring and control of office conditions,
significantly enhancing security and energy efficiency.

TERMS AND CONDITIONS


1. For a year from the date of purchase, the program is guaranteed to operate as
specified. We will offer fixes and updates throughout this time to make sure the
program works as intended.
2. The hardware is covered for one year from the date of purchase against faults in
materials and workmanship. Hardware component replacement or repair is
covered by this warranty.
3. Please keep your proof of purchase and get in touch with our customer care staff
to be eligible for warranty service. Please be aware that damage resulting from
abuse, mishaps, or unapproved modifications is not covered by the warranties.
`

You might also like