Unit 1 Iot
Unit 1 Iot
Definition:
IoT or Internet of Things refers to the interconnectivity of physical devices,
vehicles, home appliances, and other items embedded with electronics, software,
sensors, and connectivity.
Key Characteristics:
4. Data Exchange: IoT devices exchange data with other devices, systems, and
the cloud, enabling real-time monitoring, control, and analysis.
6. Dynamic & Self-Adapting: IoT devices are often able to adjust their behavior
and operations in response to changes in their environment or in the system
Unit 1 1
they are a part of.
Benefits of IoT:
1. Increased Efficiency: IoT devices automate tasks, reducing manual labor and
improving productivity.
4. Cost Savings: IoT devices reduce energy consumption, minimize waste, and
optimize resources, leading to cost savings and reduced environmental
impact.
Unit 1 2
2. Data Privacy: IoT devices collect and transmit sensitive data, raising concerns
about data protection and privacy.
Think of the physical design like the "things" you can see and touch in the
Internet of Things (IoT). These are the gadgets and devices that do the work. For
example:
Sensors: Like a thermometer that can feel how hot or cold it is.
Actuators: These are like little robots that make things happen, like turning on
a light or opening a door.
Smart devices: Things like your phone, a smart fridge, or a smartwatch that
talk to each other.
Unit 1 3
Generic Block Diagram of IoT Device:
Unit 1 4
IoT Protocols:
Application Layer
Transport Layer
Network Layer
Link Layer
Unit 1 5
Physical Design of IoT:
Think of the physical design like the "things" you can see and touch in the
Internet of Things (IoT). These are the gadgets and devices that do the work. For
example:
Sensors: Like a thermometer that can feel how hot or cold it is.
Smart devices: Things like your phone, a smart fridge, or a smartwatch that
talk to each other.
Actuators: These are like little robots that make things happen, like turning on
a light or opening a door.
Physical design is more graphical than Logical design can be textual, graphic, or
textual; however, it can comprise both. both.
Software: The programs or apps that help devices talk to each other.
Networks: The invisible roads that allow devices to send information, like Wi-
Fi.
So, the physical design is what you can touch, and the logical design is the
invisible plan that makes everything work together!
Unit 1 6
1. Request-Response
2. Publish-Subscribe
3. Push-Pull
4. Exclusive Pairs
Request-Response
This is like a conversation between two people. One device requests something,
and the other responds with the answer. For example, your smart speaker might
ask the weather server, “What’s the weather today?” and the weather server
responds, “It’s sunny!”
The Client, when required, requests the info from the Server. This request is in
encoded format.
The model is stateless since the data between the requests is not retained and
each request is independently handled.
The Server categories the request, and fetches the data from the database and its
resource representation. This data is converted to response and it transferred in
an encoded format to the Client. The Client in turn, receives the response.
On the other hand — In Request-Response communication model client sends a
request to the server and the server responds to the request. When the server
receives the request it decides how to respond, fetches the data retrieves
resources, and prepares the response, and sends it to the client.
Unit 1 7
Publisher-Subscriber
This model is like subscribing to your favorite YouTube channel. Devices publish
information, like a smart sensor publishing temperature data. Other devices
subscribe to that information, and whenever there’s new data, the subscribers get
it automatically.
Publishers are the source of data. It sends the data to the topic which are
managed by the broker. They are not aware of consumers.
Unit 1 8
Push-Pull
In this model, one device pushes data (sends information) to another, and the
receiving device pulls the data (takes it when it needs it). Imagine pushing a
notification to your phone, and your phone pulling it to show you.
Publishers publish the message/data and push it into the queue. The
consumers, present on the other side, pull the data out of the queue. Thus, the
queue acts as the buffer for the message when the difference occurs in the
rate of push or pull of data on the side of a publisher and consumer.
Unit 1 9
Exclusive Pair
This is like a secret one-on-one conversation between two devices. Only these
two devices can talk to each other, and no other devices can join. It's like you and
your friend passing secret notes that no one else can read.
The Server has the record of all the connections which has been opened.
This is a state-full connection model and the server is aware of all open
connections.
Unit 1 10
IoT Functional Block
A part of the iot brain that does the function within in the iot system.
REST APi
Communication Protocol
Unit 1 11
Embedded System
Level 2
Level 3
Level 4
Level 5
Level 6
1. Perception Layer
2. Net Layer
3. Middleware Layer
4. Application Layer
5. Business Layer
Unit 1 12