Professional Documents
Culture Documents
Puejfngolj - Designing and Developing Products For Ioe
Puejfngolj - Designing and Developing Products For Ioe
Puejfngolj - Designing and Developing Products For Ioe
Assignment 2
Student Name
Student ID
Table of Contents
Introduction......................................................................................................................................4
Task 1 IOT Communication Layer..................................................................................................4
Question 1 (A) Types of components used in IOT......................................................................4
Sensors/Devices.......................................................................................................................5
Connectivity.............................................................................................................................5
Data Processing.......................................................................................................................5
User Interface...........................................................................................................................5
Question 1 (B) Challenges with IoT............................................................................................5
Question 1 (C) Different Layers of IoT Protocol stack...............................................................6
IOT Stack layer 1: Physical layer............................................................................................6
IOT Stack layer 2: Processing as well as control layer...........................................................6
IOT Stack layer 3: Hardware Interface Layer.........................................................................7
IOT Stack layer 4: RF layer.....................................................................................................7
IOT Stack layer 5: Message layer............................................................................................7
IOT Stack layer 6: User Experience layer...............................................................................7
IOT Stack layer 7: Application layer.......................................................................................7
Question 2 (A).............................................................................................................................7
Question 2 (B)..............................................................................................................................8
Question 2 (C) Disadvantages of PIR sensors.............................................................................8
Task 2 Design Approach.................................................................................................................8
Question 1....................................................................................................................................8
(A) Messaging protocol terms for IoT.................................................................................9
(B) Difference between MQTT and HTTP...........................................................................10
(C) Challenges in MQTT Protocol........................................................................................12
Slow transmission cycle........................................................................................................12
Scalability..............................................................................................................................12
(D) Preference to MQTT protocol.........................................................................................12
Task 3 Communication Protocol...................................................................................................13
(A) Wireless communication Technologies..........................................................................13
LoRa Wireless technology.....................................................................................................13
LPWAN (Low Power Wide Area Network).........................................................................14
(B) Working of I2C and SPI protocol...................................................................................14
(C) Advantages and Disadvantages of I2C and SPI protocol...............................................15
Conclusion.....................................................................................................................................16
Reference.......................................................................................................................................17
List of Figures
Figure 1 IOT Communication Layer...............................................................................................4
Figure 2 MQTT................................................................................................................................8
Figure 3 MQTT publish/subscribe architecture...............................................................................9
Figure 4 HTTP...............................................................................................................................10
Figure 5 LoRa Wireless technology..............................................................................................12
Figure 6 I2C Protocol....................................................................................................................13
Introduction
The term IOE stands for Internet of Everything, this permits the users to have access to variety of
platforms and identify them for their convenience and flexibility and permits them to have access
to whatever they need. This supports the users with full device identity along with proper
authentication as soon as they are online. This permits the users to establish seamless
interconnection among various devices and also build an autonomous coordination among
massive computes as well as their respective elements, hence to have the detailed understanding
of IOE the report have been taken into account. Various tasks have been taken into account and
questions concerning the same are discussed in the report below.
Sensors/Devices
This is the first fundamental components which are being employed in IOT. Such sensors as well
as devices contribute towards collection of data available at every minute and second from the
respective environment as well as surroundings. All such data consist of varied degree of
variances and complexities which range from simple body temperature to complicated video
feed.
Connectivity
This is second most important component of the IOT which plays a vital role in sending the data
being collected to the cloud infrastructure and becomes a very important and crucial mode of
transporting the data in effective and timely manner.
Data Processing
This component again pays a vital role in IoT as once all the data is being gathered and collected
the software is held responsible for performing the processing of the respective data being
acquired. Hence to make the data meaningful and understandable its processing is considered to
be of paramount importance.
User Interface
The last but again an important component is user interface. This is held responsible for
presenting the processed and meaningful data in front of its real users and stakeholders as a
whole. The same is being achieved through continuous pop ups and alarms over their smart
devices and continuous notifications over mobile phones as well as emails.
Question 2 (A)
This section of the report considers the completion of the diagram of the hardware components.
Question 2 (B)
This section of the report considers the code of the C language that is required to be employed in
MCU with the aim of detecting the respective motion at the time obstacle is around or in line
with the respective PIR sensor.
They have a very low level of sensitivity and also considers low coverage when is being
compared to the microwave sensors.
Though it works very effectively and efficiently in line of straight but is problematic
when it comes to corner regions.
Question 1
With the aim of sending as well as receiving the data through the employment of the IoT system
to the respective cloud application the employment of the design approach is being employed.
The very common and emerging protocol used is MQTT. This section of the report considers
discussion upon the terms and functioning of the messaging protocol.
Figure 2 MQTT
(A) Messaging protocol terms for IoT
S.no Terms Description
.
1 Broker This is considered to be an architectural pattern with the aim of
validating the message, their respective transformation as well as
their effective routing (). It is held responsible for mediating the
respective communication among various applications, and also
helps in minimizing the level of mutual awareness which the
applications must consist from one another with the aim of easy and
convenient transmission of messages.
2 Client An IoT client is considered as a software interface that is employed
with the aim of running and making the end node function. Apart
from the same it also helps in establishing the connection to the
respective cloud service (Çorak, Okay, et.al., 2018).
3 Topic It will not be wrong to state that IoT is considered as the system of
various interrelated and interdependent devices, mechanical as well
as the numerous digital machines which are being provided and
identified with their respective unique identifiers (UIDs).
4 Publish The term publish stands for specifying the job to the sever along
with their respective nodes which are required to be monitored on
regular intervals and the sample of the same are required to be send
to the Azure which is also known as the hub of IoT.
5 Subscribe The respective publications are then being sent at the time when the
respective information is being published at the intended client. The
publications are being made available to the respective client at
such point of time when message is being published to the
respective topic which again is matched to the relevant subscription
which is being developed of created at the end of the client.
6 QoS QoS stands for Quality of server, this is being employed through
the use of the respective mechanism or the various technologies that
is able to work over the network with the aim of controlling the
traffic and assure the level of performance of the various crucial
applications with the use of restricted network capacity.
Though they have similarity that they run over the various TCP connections and are both based
upon the common client server architecture, but the interpretation is evident to state that MQTT
permits the users to send the message in both the directions among both server as well as client.
On the other hand HTTP server is able to respond only towards the requisite request of the client.
This section of the report considers the difference among the MQTT protocol and the HTTP for
effective and efficient understanding of the same.
Figure 4 HTTP
Scalability
Scalability is considered as another major and most common issue in MQTT protocol. Creation
of the scalable network at the global level is comparatively more complex and difficult in
integration with MQTT protocol when the same is being compared with their respective
competitors.
On the other hand SPI protocol is considered as a full duplex interface. In this the users are
permitted to send the data through both main as well as sub-node simultaneously through the
employment of the MISO as well as MOSI lines respectively. SPI protocol works very
effectively and efficiently as the same is able to send and receive the data at the same time.
Conclusion
After making due analysis of the facts and the figures stated therein it will not be wrong to state
that IOT is considered to be snowballing and is held responsible for production of massive and
very large amount of data. This permits the users to establish seamless interconnection among
various devices and also build an autonomous coordination among massive computes as well as
their respective elements, hence to have the detailed understanding of IOE the report have been
taken into account.
Reference
Khan, M.A., Khan, M.A., Jan, S.U., Ahmad, J., Jamal, S.S., Shah, A.A., Pitropakis, N. and
Buchanan, W.J., 2021. A deep learning-based intrusion detection system for mqtt enabled
iot. Sensors, 21(21), p.7016.
Mishra, B. and Kertesz, A., 2020. The use of MQTT in M2M and IoT systems: A survey. IEEE
Access, 8, pp.201071-201086.
Çorak, B.H., Okay, F.Y., Güzel, M., Murt, Ş. and Ozdemir, S., 2018, June. Comparative analysis
of IoT communication protocols. In 2018 International symposium on networks, computers and
communications (ISNCC) (pp. 1-6). IEEE.
Dizdarević, J., Carpio, F., Jukan, A. and Masip-Bruin, X., 2019. A survey of communication
protocols for internet of things and related challenges of fog and cloud computing
integration. ACM Computing Surveys (CSUR), 51(6), pp.1-29.
Glaroudis, D., Iossifides, A. and Chatzimisios, P., 2020. Survey, comparison and research
challenges of IoT application protocols for smart farming. Computer Networks, 168, p.107037.
Stusek, M., Zeman, K., Masek, P., Sedova, J. and Hosek, J., 2019, October. IoT protocols for
low-power massive IoT: a communication perspective. In 2019 11th International Congress on
Ultra Modern Telecommunications and Control Systems and Workshops (ICUMT) (pp. 1-7).
IEEE.
Liu, C., Meng, Q., Liao, T., Bao, X. and Xu, C., 2019, November. A flexible hardware
architecture for slave device of i2c bus. In 2019 International Conference on Electronic
Engineering and Informatics (EEI) (pp. 309-313). IEEE.