Professional Documents
Culture Documents
Unit 1
Unit 1
IoT devices encompass a wide range of physical objects that are connected to
the internet and communicate with each other. Some common types of IoT
devices include:
Wearable Devices: These include smartwatches, fitness trackers, and health monitoring
devices. They collect data about an individual's activity, health, and location.
Smart Home Devices: These devices automate and control various aspects of a home, such as
lighting, security systems, thermostats, and appliances. They enable remote monitoring and
control through internet connectivity.
Industrial IoT Devices: These devices are used in industrial settings to monitor and control
machinery, optimize processes, and improve operational efficiency. Examples include
sensors in factories, logistics tracking systems, and remote monitoring equipment.
Smart Appliances: These are traditional home appliances, such as refrigerators, washing
machines, and ovens, enhanced with IoT capabilities. They can be controlled remotely,
gather usage data, and offer features like predictive maintenance.
Connected Vehicles: IoT devices in vehicles enable features like real−time GPS tracking,
remote diagnostics, and vehicle−to−vehicle communication for enhanced safety and
efficiency.
The functionalities of IoT devices vary depending on their intended use, but
common features include data collection, remote control and monitoring,
automation, and connectivity to other devices or cloud platforms.
These sensors enable IoT devices to collect real−time data, monitor the
environment, and respond to specific conditions or triggers.
Healthcare: Wearable devices and medical sensors enable remote patient monitoring,
continuous health tracking, and early detection of health issues. They can help improve
patient outcomes and reduce healthcare costs.
Agriculture: IoT devices are used for precision farming, monitoring soil moisture levels,
temperature, and weather conditions. They optimize irrigation, automate pest control, and
enhance crop yield.
Manufacturing: IoT−enabled sensors and devices are used for predictive maintenance,
real−time monitoring of equipment, inventory management, and supply chain optimization.
They improve operational efficiency and reduce downtime.
Transportation and Logistics: Connected vehicles, tracking devices, and smart logistics
solutions enable real−time tracking of shipments, route optimization, and efficient fleet
management. They enhance supply chain visibility and reduce transportation costs.
Energy Management: IoT devices monitor energy consumption, optimize energy usage, and
enable remote control of devices to save energy and reduce costs in buildings and homes.
Connectivity
Communication protocols for IoT
Communication protocols are essential for IoT devices to exchange data and
information. Some commonly used protocols in IoT include:
Wi−Fi: A widely used wireless networking technology that enables high−speed data transfer
over short to medium distances. It is suitable for applications with power availability and the
need for high bandwidth.
Bluetooth: A short−range wireless technology used for connecting devices in proximity. It is
commonly used for IoT devices that require low power consumption and intermittent data
transfer, such as wearable devices and home automation systems.
Zigbee: A low−power, low−data−rate wireless communication protocol designed for
applications with low power consumption requirements and a large number of devices. It is
commonly used in home automation, smart lighting, and industrial applications.
LPWAN (Low−Power Wide Area Network): LPWAN technologies, such as LoRaWAN and
NB−IoT, offer long−range connectivity with low power consumption, making them suitable
for IoT applications that require wide area coverage, such as smart city deployments and
agricultural monitoring.
Wired connectivity options
While wireless connectivity is prevalent in IoT, there are also cases where wired
connectivity is preferred for its reliability and stability. Some common wired
connectivity options include:
Ethernet: A standard wired networking technology that provides reliable and highspeed data
transfer over local area networks (LANs). Ethernet is commonly used in industrial settings
and for devices requiring high bandwidth and low latency.
Powerline Communication: This technology allows data transmission over existing power
lines, eliminating the need for additional wiring. Powerline communication is often used in
home automation systems and smart meters.
Power requirements of IoT devices can vary based on factors such as their
functionality, processing capabilities, and communication needs. IoT devices
typically fall into two categories:
Battery−powered devices: These devices operate on limited battery power and must be
designed to optimize energy consumption to extend battery life. They often employ
low−power components, sleep modes, and efficient power management techniques.
Line−powered devices: Devices that are connected to a power source have more flexibility in
terms of power requirements. However, energy efficiency is still a consideration to minimize
operating costs and environmental impact.
Extending battery life is crucial for many IoT devices to ensure uninterrupted
operation and minimize maintenance. Energy−efficient designs for IoT devices
may include:
The logical design of an Internet of Things (IoT) system entails the creation of
an abstract representation of entities and processes, steering clear detailed
implementation specifications. It relies on the utilization of Functional Blocks,
Communication Models, and Communication APIs to effectively establish a
functioning system. In this article, we will understand about them in detail.
In this article, we will discuss more about logical design of IoT. Let’s start.
Application
An application is an interface that facilitates users in accessing and analyzing the status of a
system. It serves as a control system allowing users to monitor and evaluate system
operations.
Management
The management functional block encompasses a range of functions designed to oversee an
IoT system. These functions enable effective administration and coordination of various
system components.
Services
The services functional block offers a set of capabilities, including device monitoring and
control, data publication and deletion, as well as system restoration. These services enhance
the functionality and utility of the IoT system.
Communication
The communication block plays a crucial role. It helps with facilitating communication
between the client & the cloud−based server. It provides seamless data transmission &
reception by employing proper protocols.
Security
The security block is instrumental in defending an IoT system through several defensive
measures implementation. These criteria encompass authorization mechanisms, data security
protocols, authentication processes, & additional security elements such as two−step
verification.
Device
Devices within the IoT framework are responsible for sensing and monitoring functions,
gathering data from the surrounding environment. These devices enable the collection of
relevant information required for system operations.
Within the realm of IoT, there exist two primary types of communication APIs:
In this article we discuss various IoT Levels and Deployment templates. We know that we can’t
use same approach for every problem statement. After a long search on internet, I found some
IoT Deployment templates. These are 6 IoT Deployment templates. It is based on Complexity.
IoT Level-1
• A level-1 IoT system has a single node/device that performs sensing and/or actuation, stores
data, performs analysis and hosts the application • TIt is suitable for modeling low- cost and low-
complexity solutions where the data involved is not big and the analysis requirements are not
computationally intensive.
IoT Level-2
• It has a single node that performs sensing and/or actuation and local analysis (IoT Device and
collected data).
• It is useful for solutions where the data involved is big, however, the primary analysis
requirement is not computationally intensive and can be done locally itself.
IoT Level-3
• It has has a single node. Database and application establish in the cloud.
• It is suitable for solutions where the data involved is big and the analysis requirements are
computationally intensive.
IoT Level-4
• It has multiple nodes that perform local analysis. It has Cloud based application and database.
These IoT System contains local and cloud- based observer nodes which can subscribe to and
receive information collected in the cloud from IoT node devices.
• It is suitable for solutions where we are using multiple nodes, the data involved is big and the
analysis requirements are computationally intensive.
IoT Level-5
• It has multiple end nodes and one coordinator node. The end nodes use for sensing and/or
actuation.
• In this model Coordinator node collects data from the end nodes and transfer to the cloud. In
this model we used Cloud-based Database for store and Analyze data.
• It is suitable for solutions based on wireless sensor networks, in which the data involved is big
and the analysis requirements are computationally intensive.
IoT Level-6
• It has multiple independent end nodes that used for sensing and/or actuation and transfer data to
the cloud. We used Cloud-based database.
• The analytics component analyzes the data and stores the results in the cloud database and
results are visualized with the cloud-based application.
• The centralized controller is aware of the status of all the end nodes and sends control
commands to the nodes
Recommended: Internet of Things (IoT) Introduction | IoT Tutorial Part-1 | IoT Basics
This IoT tutorial covers following terms in this article :
IoT Systems Management with NETCONF-YANG YANG is a data modeling language used to model
configuration and state data manupulated by the NETCONF protocol. The generic approach of IoT device
management weith NETCONF-YANG. Roles of various
Components are:
1) ManagementSystem
2) ManagementAPI
3) TransactionManager
4) RollbackManager
5) Data ModelManager
6) ConfigurationValidator
7) ConfigurationDatabase
8) ConfigurationAPI
9) Data ProviderAPI
1) Management System : The operator uses a management system to send NETCONF messages to
configure the IoT device and receives state information and notifications from the device as
NETCONFmessages.
3) Transaction Manager: executes all the NETCONF transactions and ensures that ACID properties hold
true for thetrasactions.
4) Rollback Manager : is responsible for generating all the transactions necessary to rollback a current
configuration to its original state.
5) Data Model Manager : Keeps track of all the YANG data models and the corresponding managed
objects. Also keeps track of the applications which provide data for each part of a datam,odel.
6) Configuration Validator : checks if the resulting configuration after applying a transaction would be a
validconfiguration.
8) Configuration API : Using the configuration API the application on the IoT device can be read
configuration data from the configuration datastore and write opeartional data to the
opearationaldatastore.
9) Data Provider API: Applications on the IoT device can register for callbacks for various events using
the Data Provider API. Through the Data Provider API, the applications can report statistics and
operational data.
1) Create a YANG model of the system that defines the configuration and state data of the system.
2) Complete the YANG model with the ‗Inctool‘ which comes withLibnetconf.
5) Load the YANG module and the TransAPImodule into the Netopeer server using Netopeer
managertool.
6) The operator can now connect from the management system to the Netopeer server using the
NetopeerCLI.
7) Operator can issue NETCONF commands from the Netopeer CLI. Command can be issued to changew
the configuration dsta, get operational dat or execute an RPC on the IoTdevice.
Security requirements
Behavior Auto: System measures the light level in the room and
switches on the light when it is dark
System
System should provide remote monitoring and control
Manageme
functions
nt
Data
System should perform local analysis of the data
Analysis
Application
Application should be deployed locally, but should be
Deploymen
accessible remotely
t
Watch the below video to learn about the rest of the steps in IoT
design methodology:
5. Service Specifications
The service specification defines the following:
Service inputs/output
Service endpoints
Service schedules
Service preconditions
Service effects
The mapping between the IoT level and the functional groups is as
shown in the below figure.
8. Operational View Specification
In this step, various options related to the IoT system deployment and
operation are defined, such as:
Storage options
Device options
The options chosen for home automation system are as shown in the
below figure.
9. Device and Component
Integration
In this step the devices like sensors, computing devices and other
components are integrated together. The interconnection of different
components in our home automation system are as shown in the figure
given below.
10. Application Development
Using all the information from previous steps, we will develop the
application (code) for the IoT system. The application interface for
home automation system is shown below.