Final Report Headgear
Final Report Headgear
Final Report Headgear
A PROJECT REPORT
Submitted by
NAVEEN KUMAR S
SARAVANAKUMAR S
VIJAYARAMMSEN A
of
BACHELOR OF ENGINEERING
in
BONAFIDE CERTIFICATE
Certified that this project report “Shrewd Headgear For Worker’s Safety
Using LoRa Technology” isthe bonafide work of
SIGNATURE SIGNATURE
Dr.C.Arunachala Perumal Dr.S.Vairaprakash
HEAD OF THE DEPARTMENT SUPERVISOR
Professor, Associate Professor,
Department of ECE, Department of ECE,
Ramco Institute of Technology, Ramco Institute of Technology,
Rajapalayam-626117. Rajapalayam-626117.
Last but not least, we extend our indebtedness towards our beloved
parents for their support which made this project a successful one.
NAVEEN KUMAR S
SARAVANAKUMAR S
VIJAYARAMMSEN A
vii
ABSTRACT
The industry death rate at the location is rising daily. However, there
are still no opportunities to lower this fatality rate. Therefore, this system
prevent them from any health threats while working. The suggested
workers. Particularly when you think about the industrial and construction
construction sites safer and more secure for workers, hence lowering the
controller and LoRa to transmit signals over Wi-Fi, are all included in the
setting.
TABLE OF CONTENTS
CHAPTER PAGE
TITLE
No. No.
ABSTRACT vii
LIST OF TABLES xi
LIST OF FIGURES xii
LIST OF ABBREVIATIONS xiii
1 INTRODUCTION 1
2 LITERATURE SURVEY 2
2.1 Problem Identification 3
2.1.1 Fires 3
2.1.2 Injuries 4
2.1.3 Carbon Monoxide Gas 4
3 INTERNET OF THINGS 5
3.1 Description of IoT 5
3.2 Architecture 5
3.2.1 Layers of IoT Architecture 6
3.2.2 Stages of IoT Architecture 8
3.3 IoT Technology and Protocol 11
3.4 IoT Software 13
3.5 Characteristics of IoT 14
3.6 Benefits of IoT 15
3.7 Motivation and Objectives 16
3.8 Advantages of IoT 16
3.9 Application 17
3.9.1 Smart Agriculture 17
3.9.2 Smart Vehicles 18
3.9.3 Smart Home 18
3.9.4 Smart Pollution Control 18
3.9.5 Smart Healthcare 19
3.9.6 Smart Cities 19
3.9.7 Smart Retail 19
4 IOT ENABLED SHREWD HEADGEAR 21
4.1 Existing Method 21
4.2 Proposed Method 21
4.3 Block Diagram 22
4.4 Flow Diagram 25
4.5 Schematic Diagram 27
5 SYSTEM REQUIREMENT 31
5.1 Hardware Requirement 31
5.1.1 ESP 32 31
5.1.2 LoRa 34
5.1.3 MQ - 3 Sensor 35
5.1.4 MPU6050 36
5.1.4.1 Gyroscope 36
5.1.4.2 Accelrometer 37
5.1.4.3 Temperature Sensor 37
5.1.5 Limit Swich 39
5.1.6 USB Connector 40
5.1.7 LCD 40
5.1.8 Buzzer 41
5.2 Software Requirement 42
5.2.1 Thing Speak 42
5.2.1.1 Things Speak Feature 43
5.2.2 IFTTT Software 44
5.2.2.1 IFTTT Feature 45
5.2.3 Ardino IDE 45
5.2.3.1 Specification of Ardino IDE 46
6 RESULTS AND DISCUSSION 47
6.1 Results 47
7 CONCLUSION AND FUTURE SCOPE 52
7.1 Conclusion 52
7.2 Future Scope 52
REFERENCES
PUBLICATION
LIST OF TABLES
LIST OF ABBREVIATIONS
ADC - Analog-to-Digital Converter
API - Application Programming Interface
CO - Carbon Monoxide
CSV - Comma Separated Values
DAS - Direct- Storage Attached
ESP 32 - Embedded System Processor 32
GPIO - General Purpose Input/Output
IDE - Integrated Development Environment
IFTTT - If This Then That
IoT - Internet Of Things
I2C - Inter-Integrated Circuit communication protocol
JSON - JavaScript Object Notation
LCD - Liqufied Crystal Display
LED - Light Emitting Diode
LTE - Long-Term Evolution
MATLAB - Matrix Laboratory
MPU - Motion Processing Unit
MQ - Metal Oxide Semiconductor (MOS) type sensor
PC - Personal Computer
PPM - Parts Per Million
RSSI - Reserved Signal Strength Indicator
SDA - Serial Data
SOM - System on Module
USB - Universal Serial Bus
VCC - Voltage Common Collector
1
CHAPTER 1
1. INTRODUCTION
We started our research for the Shrewd Headgear For Worker’s Safety
project while working as interns in the industrial sectors. We all understood
the importance of safety because several members of our group worked in
the industrial sector. Workers frequently put their helmets away from their
heads when hiding from safety engineers and security cameras,
compromising their own safety.
CHAPTER 2
2. LITERATURE SURVEY
Fan Zihhong [1] claimed that the "Quality and safety management of
construction" projects are inconsistent and nonsensical. To ensure safety, it
is first necessary to strengthen the construction engineering safety
management system. Because of this, we thoroughly investigated the
theory and application of construction safety management and added IoT
technology to it.
Nandhini, Mangala Padma, and V Priya G.V., Nandhini S., and Mr. K.
Dinesh suggested the "IoT based Smart Helmet for Ensuring Safety in
Industries" [3]. Industrial safety is a service to industry. Asphyxiation, gas
poisoning, and gas explosion are among the working risks. Consequently,
important considerations in industry include air quality and the detection of
hazardous events. In order to apply those safety precautions, the
recommended system provides a wireless sensor network for real-time
monitoring of the working environment from a monitoring station.
The cement industry, like any other industrial sector, can face mishaps
that include fires, injuries, carbon monoxide (CO) gas incidents, and
infections. Here is some information about these specific issues and how
they can be addressed in the context of the cement industry.
2.1.1 Fires
2.1.2 Injuries
CHAPTER 3
3. INTERNET OF THINGS
3.1 DESCRIPTION OF IoT
3.2 ARCHITECTURE
IoT architecture can be seen in a variety of ways, and each IoT system
is distinct. But they all follow the same basic structure and progression.
The four main components of an IoT architecture are a processing system
(often a part of a cloud platform offering), a processing system to transport
data to and from the cloud, a processing system to store, manage, and
analyse the data locally or in the cloud, and connected hardware "things"
that collect and process data using sensors and controlling devices at the
edge.
6
Device Layer
Communication Layer
Data is sent from the device layer to the Internet via the network layer,
which is the second layer. This is typically done through a gateway, which
frequently aggregates connections with several edge devices and may also
perform some further processing. Here, processing and decision-making
may be done in addition to security functions like malware prevention,
authentication, and encryption.The best way to further understand this layer
is to share a few distinct examples. After then, the gateway sends the data
to the cloud using cellular connectivity.The amount of cellular data utilised
each month and whether the majority of the data will be processed in the
cloud or on or near the device are typically determined by the use case,
even if many industries share a topology.
7
Application Layer
A data acquisition system (DAS) collects raw sensor data and converts
it from analogue to digital format. The DAS gathers and formats the data
before sending it via a wired or wireless WAN (such as Wi-Fi or cellular)
to an Internet gateway for additional processing. At this point, the volume
of data has peaked.
10
Low-Energy Bluetooth
Low-Energy Wireless
Radio Protocols
ZigBee, Z-Wave, and Thread are radio technologies for creating low-
rate private area networks. These technologies are low-power but offer high
throughput, in contrast to many comparable alternatives. This improves
tiny local device network performance without adding to the typical costs.
LTE-A
WiFi-Direct
Data Collection
Data aggregation, light data security, light data filtering, and sensing
are all under the control of this software. By utilising specific protocols, it
aids sensors in establishing real-time connections to machine-to-machine
networks. The information is then gathered from numerous devices and
distributed according to specifications. It also functions backwards by
distributing data among many devices. The system eventually transmits all
of the information it has gathered to a centralised server.
Device Integration
Real-Time Analytics
For instance, IoT plays a crucial role in the health industry. It can be
used to measure heart rate, check blood sugar levels, and monitor body
temperature.Medical professionals will save the results as big data or large-
scale data. To finish the task in accordance with the previously created
algorithm, the IoT machine just has to receive these checks.
A improved connection will allow the gadget system to perform more
rapidly and adaptably. Efficiency may grow as network connectivity gets
better. As a result, time is used to complete activities more
16
3.9 APPLICATION
Food is both necessary for survival and crucial to living. Sadly, even if
there is hunger in less developed countries, such as America and Chad, a
lot of food is wasted in affluent countries like America. One way to feed
everyone is to enhance farming practises, which can be done with the help
of IoT. This can be accomplished by first collecting data for a farm, such as
soil quality, sunlight levels, seed type, rainfall density, etc. from various
sources, such as farm sensors, satellites, local weather stations, etc., and
using this data with machine learning and the internet of things to create
specific recommendations for each farm that will optimise the planting
procedure, irrigation levels necessary, fertiliser amount, etc.
CHAPTER 4
This system uses a LoRa and Wi-Fi module for implementation. MQ-
3, Buzzer, and Limit Switch are used. The processor keeps track of every
parameter. The on-site buzzer will activate if the sensor parameters limit
exceeds the specified limit. Additionally, the supervisor will also receive
notification of the worker's condition.
22
Limit switches are used to keep an eye on helmet wear. MQ3 keeps
an eye on the concentration of the hazardous gas.Additionally, the sensor
readings are kept in an internet database for future use.
In this experiment, the limit switch, MPU 6050, and MQ3 Sensor are
connected to an ESP 32 CPU.The sensor data is sent to the Lora transmitter
for useful purposes including long-distance transmission and private
networking.The Data Send to the receiver side processor has a buzzer for
notifications when the limit has been exceeded.The data is transferred to
the receiver Lora for user-purpose LCD display over a private
network.Data stored in the cloud for future use and manager notification
when it is exceeded
Transmitter
The figure 4.1 illustrate the block diagram of transmitter,
Receiver
The figure 4.2 illustrate the block diagram of receiver,
Transmitter
The following figure 4.3 shows the flow of transmitter,
Receiver
The following figure 4.4 shows the flow of receiver,
Transmitter
The pin connection of transmitter side is seen in the following figure
4.5,
Receiver
The pin connection of receiver side is seen in the following figure 4.6,
The ESP 32 connection for receiving data and transmitting it to the LoRa
receiver, as well as connecting a buzzer for abnormal condition indication
and an LCD display:
1. Receiving Data and Transmitting to LoRa Receiver:
ESP32 receives sensor data from the MQ-3 gas sensor and
MPU6050 accelerometer.
The data is processed and transmitted to the LoRa receiver
using the configured LoRa module.
DIO0 pin on the LoRa module is connected to a digital pin on
the ESP32 for transmission completion or receive interrupts.
30
CHAPTER 5
5.1.1 ESP 32
The ESP 32 DevKit v1 can be powered directly via either the "VIN"
pin or the on-board USB Micro B connector.
32
Architecture 32 bits
RAM 512 KB
USB to UART
CP2102
bridge
5.1.2 LoRa
5.1.3 MQ - 3 Sensor
5.1.4 MPU6050
5.1.4.1 Gyroscope
5.1.4.2 Accelrometer
The ordinarily open pin (NO pin) is used in the regularly open mode.
This pin, often known as the NC pin, is used in the normally closed
state.
5.1.7 LCD
We will use a 16x2 I2C LCD display, although other sizes of LCDs
should work as well.An I2C LCD has the advantage of having relatively
simple wiring. SDA and SCL pins should only be connected.
I2C ESP 32
GND GND
VCC VIN
5.1.8 Buzzer
Any IOT device's software is its most valuable resource, and the
designer uses it depending on their standards and requirements. Based on
the applications, several types of software are employed.
5.2.1 ThingSpeak
Using the IoT project ThingSpeak, users can share analysed data
across public channels. In the settings section, users can access a variety of
channel options. The user has the option to make their channel private,
public (so that everyone can see it), or shared just with particular users via
the sharing tab. Experts can input and export data on their channels.
IFTTT draws its name from the logical conditional statement "if this,
then that" in programming. In order to launch one or more automations
involving those items, the company provides a software platform that
connects products from different developers. Applets, which operate
somewhat similarly to macros and connect many apps to do automatic
actions, are used to carry out the automations. You can activate or disable
an applet using the IFTTT website or mobile apps (and/or the IFTTT
widgets in the mobile apps). You may create your own applets or edit
already-existing ones thanks to IFTTT's simple, user-friendly interface.
45
IFTTT, which has made connectivity the industry standard, is the low-
code alternative to building and maintaining integrations internally for each
organisation. By standardising how different API protocols interact across
our growing network of services, IFTTT enables you to interface with any
service in our ecosystem for a fraction of the cost.IFTTT's products provide
customers the freedom to choose how their data is connected, opening up
incredible possibilities that a single, standalone service could never offer.
IFTTT has created the industry standard for how complex API protocols
communicate with one another.Get access to a wide range of branding and
marketing tools that will help you position, promote, and raise awareness of
your service and Applets.You can get the technical support and replies you
require when you need them from our knowledgeable support and account
management teams.
CHAPTER 6
Figure 6.1& 6.2 show Shrewd Headgear for Worker’s Safety. The
entire safety of the site employees would be guaranteed by the
implementation of the proposed solution. With the aid of this smart helmet,
the Manager able to keep an eye on all of the workers engaged in the
Working process, as well as get notifications about their physical well-
being and quickly intervene to protect them from potentially life-
threatening situations in an emergency. By increasing their security, we can
decrease the number of fatal accidents involving employees.Through this
project, we created a smart helmet that was intended to help workers avoid
dangerous situations in workplaces.
Transmitter-Side Implementation:
a. Develop the code for the ESP32 in the worker helmet to collect
data from the sensors.
b. Read data from the MPU6050, limit switch, and MQ-3 sensor,
and format it for transmission over the LoRa network.
c. Implement error-checking mechanisms to ensure reliable data
transmission.
Receiver-Side Implementation:
a. Develop the code for the receiver-side ESP32 to handle LoRa
communication and data processing.
b. Configure the buzzer by assigning the appropriate pin and
implementing the necessary functions to trigger alerts based on
received data.
c. Integrate the LCD display, initializing it and creating functions to
show relevant information based on the received data.
ThingSpeak Integration:
a. Sign up for a ThingSpeak account and create a channel to store
the collected sensor data.
b. Configure the receiver-side ESP32 to periodically send the sensor
data to the assigned ThingSpeak channel for storage and future
analysis.
Testing and Debugging:
a. Test the integrated system thoroughly, ensuring proper
functionality of each component and their interactions.
b. Verify the accuracy of sensor readings, LoRa communication
range, alert notifications, LCD display output, IFTTT triggers,
and data storage on ThingSpeak.
51
CHAPTER 7
The future scope of smart helmets for industry is vast and promising.
Smart helmets are designed to enhance the safety and productivity of
workers in high-risk industries such as construction, mining, and
manufacturing.
Smart helmets can also be equipped with augmented reality (AR) and
virtual reality (VR) technologies, which can provide workers with
immersive training and simulation experiences. This can help them learn
new skills and procedures more effectively, and reduce the risk of errors
and mistakes on the job.
Overall, the future of smart helmets for industry looks bright, as more
and more companies recognize the importance of investing in innovative
technologies to improve workplace safety and productivity.
.
54
REFERENCES
PUBLICATION
Dr.S.Vairaprakash,S.NaveenKumar,S.SaravanaKumar,A.Vijayarammsen
presented a paper tiled as ‘Shrewd Headgear For Worker’s Safety’, in
the ISTE Sponsored 9th International Conference on Latest Trends in
Science, Engineering and Technology (ICLTSET’23) organized by
Karpagam Institute of Technology, Coimbatore.
56
57
58
59