Io T
Io T
What is IoT?
The Internet of Things (IoT) is the network of physical objects or “things” embedded with electronics,
software, sensor and network connectivity, which enables these objects to collect and exchange
data.
IoT allows objects to be sensed and controlled remotely across existing network infrastructure,
creating opportunities for more direct integration between the physical world and computer based
systems, and resulting in improved efficiency, accuracy and economic benefit.
“Things: in the IoT sense, can refer to a wide variety of devices such as heart monitoring implants,
biochip transponders on farm animals, electric clams in coastal waters, automobiles with built-in
sensors, DNA analysis devices for environmental/food/pathogen monitoring or field operation
devices that assist fire fighters in search and rescue operations.
These devices collect useful data with the help of various existing technologies and then
autonomously flow the data between other devices.
History of IoT
The concept of the Internet of Things first became popular in 1999, through the Auto-ID Center at
MIT and related market analysis publications
Radio frequency identification (RFID) was seen as a prerequisite for the IoT at that point. If all objects
and people in daily life were equipped with identifiers, computers could manage and inventory them.
Besides using RFID, the tagging of things may be achieved through such technologies as near field
communication, barcodes, QR codes, Bluetooth, and digital watermarking.
To Diverse Applications
Home (consumer)
Light bulbs
Security
Pet feeding
Irrigation Controller
Smoke Alarm
Refrigerator
Infotainment
Washer / Dryer
Stove
Energy Monitoring
Transport (mobility)
Traffic routing
Telematics
Package Monitoring
Smart Parking
Insurance Adjustments
Supply Chain
Shipping
Public Transport
Airlines
Trains
Health (body)
Patient Care
Elderly Monitoring
Remote Diagnostic
Equipment Monitoring
Hospital Hygiene
Bio Wearables
Food Sensors
Building (infrastructure)
HVAC
Security
Lighting
Electrical
Transit
Emergency Alerts
Structural Integrity
Occupancy
Energy Credits
Cities (industry)
Electrical Distribution
Maintenance
Surveillance
Signage
Utilities / Smart Grid
Emergency Services
Waste Management
Of course, we know nothing remains static, especially when it comes to the Internet. Initiatives and
advances, such as Ciscos Planetary Skin, GE’s Industrial Internet, HP’s central nervous system for the
earth (CeNSE), and smart dust, have the potential to add millions even billions of sensors to the
Internet.
As cows, water pipes, people, and even shoes, trees and animals become connected to IoT, the world
has the potential to become a better place
With a trillion sensors embedded in the environment all connected by computing systems, software,
and services it will be possible to hear the heartbeat of the Earth, impacting human interaction with
the globe as profoundly as the Internet has revolutionized communication
Internet of Things is the next stage of the information revolution and referenced the inter-
connectivity of everything from urban transport to medical devices to household appliances.
Integration with the Internet implies that devices will use an IP address space of IPv4 (which allows
for 4.3 billion unique addresses) objects in the IoT will have to use IPv6 to accommodate the
extremely large address space required
Objects in the IoT will not only be devices with sensory capabilities, but also provide actuation
capabilities (e.g., bulbs or locks controlled over the Internet)
On the other hand, IoT systems could also be responsible for performing actions, not just sensing
things. Intelligent shopping, systems for example could monitor specific users purchasing habits in a
store by tracking their specific mobile phones. These users could then be provided with special offers
on their favorite products, or even location of items that they need, which their fridge has
automatically conveyed to the phone
Additional examples of sensing and actuating are reflected in applications that deal with heat,
electricity and energy management, as well as cruise assisting transportation systems. Other
applications that the Internet of Things can provide is enabling extended home security features and
home automation.
Module 2
IoT Architecture
Perception layer
Temperature sensors: this type of sensor is used in almost any industry. They help control the
temperature of water in household heating systems. Also, they are used in refrigerators,
computers and vehicles
Humidity sensors: they are widely used in HVAC systems. Besides, humidity sensors are
crucial for industrial premises. Its vital to maintain the required humidity level to produce
certain quality products.
Pressure sensors: with the help of this type of sensor, people can measure the flow of air or
liquids. They are used in tech development
Level sensors: they can be found in almost any car, refrigerator, or household. Level sensors
gauge the number of liquids in tanks or gas in the air
Infrared sensors: this type of sensor can detect motion. Infrared sensors are mainly used for
security purposes. Also, they help lower the usage of electricity
Network layer
Ethernet: it is a secure way to connect IoT devices using a wire. It makes the connection
reliable and secure. However, good wire management is required to connect many IoT
components using Ethernet
WiFi: a wireless network is one of the most convenient ways to connect IoT devices. It erases
the need to use wires, which works well in small premises. However wifi routers have limited
signal ranges, making it hard to connect all components of IoTT in large premises using wifi
NFC (Near Field Communication): NFC is a technology that ensures fast and hassle free data
transfer between two IoT devices. It is rarely used because it needs two devices to be placed
in 3 inches or less. Moreover, the data transfer speed is low
Bluetooth: this technology helps transfer data, consuming low amounts of power. Therefore,
its widely used by IoT devices powered y batteries. Unfortunately, on average, Bluetooth has
a short range that makes 30 feet
The most popular protocols used in the second layer of the three layers of IoT architecture are the
following:
DDs (Data Distribution Service)
AMQP (Advanced Message Queuing Protocol)
CoAP (Constrained Application Protocol)
MQTT (Message Queue Telemetry Transport)
Application Layer
The application layer manages all application process based on information obtained from
middleware layer. This application involves sending emails, activating alarm, security system,
turn on or off a device, smartwatch, smart agriculture, etc
The presentation layer, which encrypts and transforms data collected by IoT devices so that the
application layer can present the information in a readable format
The session layer, which acts as a kind of scheduler for incoming and outgoing data. Whenever two
devices need to communicate within an IoT system, the system needs to schedule that
communication by opening a session
The transport layer, which is like a fleet of trucks in a shipping company, except that this layer
transport packets of data instead of shipping containers.
The network layer, which is like the post office for data, coordinating where and when the system
transfers data. Routers are the primary part of the network layer that tell data packets how to get to
their destinations.
The data link layer, which corrects errors due to abnormalities or damaged hardware at the physical
layer and links different devices so they can transfer data through the network layer
The physical layer, which is made up of ethernet cables, cell towers, etc.
5 layer architecture
Business
Application
Transport
Physical
Network
One of the purposes behind organizing all these components into layers is to zero in on the different
functions of the various protocols. For example, application protocols, which are included in all of the
above models, are what transform/ present the data in such a way that a typical user can understand
it.
Application protocols can include:
1. Extensible Messaging and Presence Protocol (XMPP)
2. Message Queuing Telemetry Transport (MQTT)
3. Constrained Application Protocol (CoAP)
4. Simple Object Access Protocol (SOAP)
5. Hypertext Transfer Protocol (HTTP)
In an ideal world, any protocol in this application layer should be able to communicate with any
other protocol.
Network layer protocols, which allow devices in an IoT network to communicate with each other, can
include:
Bluetooth
Ethernet
Wi-fi
Zigbee
Thread
Cellular network (4G or %G)
In an ideal IoT system, any of these protocols should be compatible with any other protocols in this
layer.
Cellular
Cellular networks are another method for connecting IoT devices. Most IoT systems rely on
the 4G cellular protocol, though 5G has some applications as well. Cellular networks
generally take more power than most of the protocols mentioned above, but perhaps more
importantly, a cellular connection requires you to pay for a sim card. When you need a lot
devices over wide area, the cost can quickly become prohibitive.
Still, cellular networks are very low-latency and can support high speeds for data transfer. 4G
in particular was a huge step above 3G, since 4G is ten times faster. When you use your
smartphones data to control or interact with some IoT devices remotely, you’re typically
using 4G or 5G. An example would be wen you use your cell data to view the feed from your
smart security cameras when youre away from home.
Wi-Fi
Wi-Fi is the most well known IoT protocol on this list. However, its still worth explaining how
the most popular IoT protocol works.
In order to create a Wi-Fi network, you need a device that can send wireless signals. These
include:
Telephones
Computers
Routers
Wi-Fi provides an internet connection to nearby devices within a specific range. Another way
to use Wi-Fi is to create Wi-Fi hotspot. Mobile phones or computers may share a wireless or
wired internet connection with other devices by broadcasting a signal
Wi-Fi user radio waves the broadcast information on specific frequencies such as 2.4 GHz or
5GHz channels. Furthermore, both of these frequency ranges have a number of channels
through which different wireless devices can work. This prevents the overflowing of wireless
networks.
A range of 100 meters is common for a Wi-Fi connection. That being said, the most common
is limited to 10 to 35 meters. The main impacts on the range and speed of a Wi-Fi
connection are the environment and whether it provides internal or external coverage.
Bluetooth
Compared to other IoT network protocols listed here, Bluetooth tends to frequency hop and
has a generally shorter range. However, it’s gained a huge user base due to its integration
into modern mobile devices—smartphones and tablets, to name a couple—as well as
wearable technology, such as wireless headphones. Since many different devices and
systems can use bluetooth, it’s great for promoting interoperability, enabling communication
between vastly different systems and applications.
Standard Bluetooth technology uses radio waves in the 2.4 GHz ISM frequency band and is
sent in the form of packets to one of 79 channels. However, the latest Bluetooth 4.0
standard has 40 channels and a bandwidth of 2Mhz. This guarantees a maximum data
transfer of up to 3 Mb/s. This new technology is known as Bluetooth Low Energy (BLE) and
can be the foundation for IoT applications that require significant flexibility, scalability, and
low power consumption.
BLE wasn’t originally a Bluetooth technology. Nokia developed the concept, which soon
gained the notice of the Bluetooth Special Interest Group. Since then, Bluetooth fully
adopted BLE as an important communication protocol.
But because of the low range of Bluetooth, it’s not ideal for all use cases. Additionally, since
any Bluetooth-enabled device is discoverable to any other bluetooth enabled device for
pairing, BLE doesn’t have a built-in security feature to prevent unauthorized connections.
You would need to add security measures at the application layer.
Zigbee
ZigBee-based networks are similar to Bluetooth networks in the sense that ZigBee already
has a significant user base in the world of IoT.
However, its specifications slightly eclipse the more universally used Bluetooth. ZigBee has
lower power consumption, low data-range, high security, and has a longer range of
communication. (ZigBee can reach 200 meters, while Bluetooth maxes out at 100 meters.)
Zigbee is a relatively simple protocol, and is often implemented in devices with small
requirements, such as microcontrollers and sensors. Furthermore, it easily scales to
thousands of nodes. No surprise that many suppliers are offering devices that support
ZigBee’s open standard self-assembly and self-healing grid topology model.
Thread
Thread is a new IoT protocol based on Zigbee and is a method for providing radio-based
internet access to low-powered devices within a relatively small area. Thread is similar very
to Zigbee or Wi-Fi, but it is highly power efficient. Also, a Thread network is self-healing,
meaning certain devices in the network can act as routers to take the place of a broken or
failing router.
Thread can connect up to 250 devices, with up to 32 of those devices being active routers in
the network. The newly developed Matter protocol, which operates at the application level
to support interoperability (compatibility) between different IoT devices and protocols,
often runs on top of Thread
Z-Wave
Z-Wave is an increasingly-popular IoT protocol. It’s a wireless, radio frequency cased
communication technology that’s primarily used for IoT home applications. It operates on
the 800 to 900MHz radio frequency, while Zigbee operates on 2.4GHz, which is also a major
frequency for Wi-Fi.
By operating in its own range, Z-Wave rarely suffers from any significant interference
problems. However, the frequency that Z-Wave devices operate on is location-dependent, so
make sure you buy the right one for your country.
Z-Wave is an impressive IoT protocol. However, like ZigBee, it’s best used within the home
and not within the business world.
LoRaWAN (Long Range WAN)
LoRaWAN is a media access control (MAC) IoT protocol. LoRaWAN allows low-powered
devices to communicate directly with internet-connected applications over a long-range
wireless connection. Moreover, it has the capability to be mapped to both the 2nd and 3rd
layer of the OSI model. LoRaWAN is implemented on top of LoRa or FSK modulation for
industrial, scientific, and medical (ISM) radio bands.
RFID technology employs 2-way radio transmitter-receivers to identify and track tags
associated with objects.
NFC consists of communication protocols for electronic devices, typically a mobile device
and a standard device.
Low-Energy Bluetooth
This technology supports the low-power, long-use need of IoT function while exploiting a
standard technology with native support across systems.
Low-Energy Wireless
This technology replaces the most power hungry aspect of an IoT system. Though sensors
and other elements can power down over long periods, communication links (i.e., wireless)
must remain in listening mode. Low-energy wireless not only reduces consumption, but also
extends the life of the device through less use.
Radio Protocols
ZigBee, Z-Wave, and Thread are radio protocols for creating low-rate private area networks.
These technologies are low-power, but offer high throughput unlike many similar options.
This increases the power of small local device networks without the typical costs.
LTE-A
LTE-A, or LTE Advanced, delivers an important upgrade to LTE technology by increasing not
only its coverage, but also reducing its latency and raising its throughput. It gives IoT a
tremendous power through expanding its range, with its most significant applications being
vehicle, UAV, and similar communication.
WiFi-Direct
WiFi-Direct eliminates the need for an access point. It allows P2P (peer-to-peer) connections
with the speed of WiFi, but with lower latency. WiFi-Direct eliminates an element of a
network that often bogs it down, and it does not compromise on speed or throughput.