Unit-1: Internet of Things (Iot)
Unit-1: Internet of Things (Iot)
1. IoT:
Introduction: IoT stands for Internet of Things. It refers to the interconnectedness of physical
devices, such as appliances and vehicles, that are embedded with software, sensors, and
connectivity which enables these objects to connect and exchange data. This technology
allows for the collection and sharing of data from a vast network of devices, creating
opportunities for more efficient and automated systems.
Internet of Things (IoT) is the networking of physical objects that contain electronics
embedded within their architecture in order to communicate and sense interactions amongst
each other or with respect to the external environment. In the upcoming years, IoT-based
technology will offer advanced levels of services and practically change the way people lead
their daily lives. Advancements in medicine, power, gene therapies, agriculture, smart cities,
and smart homes are just a few of the categorical examples where IoT is strongly established.
IOT is a system of interrelated things, computing devices, mechanical and digital machines,
objects, animals, or people that are provided with unique identifiers. And the ability to transfer
the data over a network requiring human-to-human or human-to-computer interaction.
Characteristics:
Application:
1. Smart Homes
2. Healthcare
3. Agriculture
Smart irrigation systems, soil sensors, and drones for crop monitoring.
Benefits: Better resource management, higher crop yields, and reduced waste.
4. Transportation
6. Retail
7. Smart Cities
8. Energy Management
9. Education
The "things" in IoT refer to the physical devices, objects, or entities connected to the network.
They are responsible for:
1. Data Generation
Devices like sensors, cameras, and trackers collect data from their environment
(e.g., temperature, humidity, motion).
Example: A thermostat measures room temperature.
2. Actuation
3. Communication
4. Autonomy
Many IoT devices can make decisions locally without needing constant internet
access.
Example: A robot vacuum cleaning based on a pre-set schedule.
5. Resource Constraints
IoT devices are often designed to be energy-efficient and lightweight for specific
tasks.
The "internet" enables connectivity, communication, and collaboration between devices and
systems. It plays a key role in:
1. Data Transmission
Provides the medium for devices to send and receive data, either to a local hub, the
cloud, or another device.
Example: A wearable fitness tracker syncing health data to a smartphone app.
2. Remote Access
Allows data to be processed in the cloud or on edge devices for actionable insights.
Example: Analyzing sensor data to predict equipment failures.
4. Interoperability
5. Scalability
IoT systems can integrate with external platforms like AI, machine learning, and
big data through the internet.
Example: Smart city systems using AI to analyze traffic data collected via IoT.
In the context of IoT, privacy refers to the protection of personal data collected by IoT
devices from unauthorized access, use, or disclosure. Trust, on the other hand, pertains
to the confidence that users have in the IoT devices and the ecosystem to function
reliably, securely, and ethically.
1. Privacy in IoT
IoT devices collect a wide variety of sensitive information, such as location data, health
records, and daily habits. Privacy challenges arise because:
Smart Cameras: A home security camera stores footage in the cloud. If the
cloud service is hacked, personal videos may be leaked.
Wearable Health Devices: A fitness tracker monitors your heart rate and
location. If this data is sold to advertisers without consent, it compromises
privacy.
2. Trust in IoT
Building Trust
Illustrative Example
A smart speaker (e.g., Amazon Echo or Google Home) is a good example for discussing
privacy and trust.
1. Privacy Issue:
o The device listens for wake words and sometimes records conversations
unintentionally. These recordings may be uploaded to servers, where
they can be accessed by employees for quality control, risking sensitive
information exposure.
o Mitigation: Allow users to delete recordings and turn off voice activation
when not in use.
2. Trust Issue:
Privacy and trust are critical for the widespread adoption of IoT. Users must be assured
that their data is protected, and devices are reliable. Manufacturers need to prioritize
transparency, security, and ethical data handling to address these concerns effectively.
5. Web Of Things
Definition: The Web of Things (WoT) is a framework that leverages existing web technologies
(like HTTP, WebSockets, and REST APIs) to integrate IoT devices into a unified, interoperable
system. It aims to simplify the development and management of IoT systems by providing
standardized web-based interfaces for devices, services, and platforms.
Instead of reinventing protocols for IoT, WoT builds on widely used web standards to ensure
compatibility and scalability. It is developed under the guidance of organizations like the World
Wide Web Consortium (W3C).
Defines the metadata, properties, actions, and events of a "thing" (IoT device).
Example: A smart lightbulb's TD might specify its brightness level and on/off state.
2. Binding Templates
Maps WoT interfaces to underlying IoT protocols like MQTT, CoAP, or Bluetooth.
3. Scripting API
Provides developers with web APIs to interact with devices and build applications.
Example: A JavaScript API for controlling smart home devices via a browser.
Security Mechanisms
# Applications of WoT
1. Smart Homes
WoT enables seamless integration of devices like smart thermostats, lighting systems, and
security cameras, allowing centralized control through a single web interface.
Example: Using a web browser to turn off all lights and lock doors.
2. Healthcare
Remote monitoring of patient vitals through connected devices that communicate securely over
the web.
Example: Real-time tracking of heart rate using wearables integrated into a hospital's system.
3. Industrial Automation
WoT supports monitoring and controlling factory equipment through web-based dashboards.
4.Smart Cities
Integrating public infrastructure like traffic lights, waste management systems, and air quality
monitors into web-accessible platforms.
4. Agriculture
Monitoring soil moisture, weather conditions, and crop health using web-based analytics.
Example: Automated irrigation systems triggered based on real-time data from sensors.
#Benefits of WoT
Flexibility: Adaptable to various domains like healthcare, agriculture, and smart cities.
# Standarization in IOT:
1. Interoperability:
IoT devices often handle sensitive personal data (e.g., health information, location
data), which makes security and privacy essential. Standards define security
protocols, data encryption methods, and authentication mechanisms, ensuring that
IoT systems are secure and that user privacy is protected.
Examples include TLS (Transport Layer Security) for secure communication and
OAuth for user authentication.
3. Global Adoption:
4. Compatibility
Ensuring Device and Platform Integration: IoT standards ensure that different
devices, regardless of the manufacturer, can operate together in a system. This
includes both hardware compatibility (sensors, devices) and software
compatibility (protocols, APIs).
Example: A smart home system might have various components—like smart locks,
lighting systems, and voice assistants—manufactured by different companies. With
standardized communication protocols (like Wi-Fi or Z-Wave), these components
can all integrate into a single, cohesive system, ensuring compatibility.
UNIT-2
Definition: The M2M value chain describes the various components and stages involved in an
M2M system, from device creation to the final use of data. It involves multiple players and
processes, and each stage adds value to the overall solution.
Devices/Sensors: The machines or devices equipped with sensors that collect data.
These could include temperature sensors, meters, actuators, or any equipment that
generates data for monitoring or control purposes.
Connectivity: This layer connects the devices to the network. It can involve
cellular, Wi-Fi, Bluetooth, Zigbee, or other wireless communication technologies.
The connectivity enables the devices to transmit the data to other systems or
platforms.
Network Infrastructure: This includes the hardware and software systems (e.g.,
cellular networks, routers) that ensure secure and reliable transmission of data
between devices and cloud platforms or servers.
Data Processing/Management: Once the data is collected and transmitted, it is
processed, analyzed, and managed. This involves cloud platforms, data storage,
analytics tools, or edge computing devices that handle the incoming data.
Applications: These are the end-user applications or systems that interpret the
processed data and provide actionable insights. For example, a remote monitoring
system that alerts a user to take action when a threshold is exceeded.
End Users/Decision Makers: The final step involves using the data for decision-
making, either by human users or automated systems. For example, a business
might use M2M data to manage inventory or predict equipment maintenance.
Definition: The IoT value chain is similar to the M2M value chain but is more comprehensive,
covering a wide range of devices, applications, and services across various industries. It
integrates devices, networks, data platforms, analytics, and applications into an interconnected
system.
Devices/Sensors: Just like in M2M, IoT systems rely on devices and sensors to
collect data. These could be anything from wearables, smart appliances, industrial
machines, to health-monitoring devices.
Connectivity: Connectivity in IoT involves not only traditional networks (cellular,
Wi-Fi, etc.) but also emerging technologies like 5G, LPWAN (Low Power Wide
Area Networks), and satellite networks. Connectivity ensures the data flows
between devices, cloud servers, and other platforms.
Edge Computing: In IoT, there is often an additional layer of edge computing.
Edge computing involves processing data closer to where it is generated (at the
device or local gateway), which reduces latency and bandwidth usage and enables
real-time decision-making.
Data Storage and Cloud Platforms: The cloud is often used in IoT to store large
volumes of data, provide computing resources, and offer the infrastructure needed
for processing and analytics. Cloud platforms such as AWS, Microsoft Azure, and
Google Cloud are popular for IoT solutions.
Data Analytics and Artificial Intelligence (AI): After the data is collected and
stored, analytics tools and AI algorithms process this data to derive insights.
These could include predictive analytics (e.g., for equipment failure), optimization
algorithms, or machine learning models for pattern recognition.
Applications: These are software solutions or services that use the processed data
to provide value to users. IoT applications could be found in many sectors,
including smart homes (controlling lighting, HVAC), healthcare (remote patient
monitoring), smart cities (traffic management), and industrial IoT (predictive
maintenance).
End Users/Decision Makers: Ultimately, human users or automated systems take
actions based on the insights generated by the IoT solution. These actions could
range from changing environmental settings (e.g., adjusting a thermostat), sending
maintenance alerts, or generating reports for management decisions
3. Architecture of IOT:
4. Architecture of M2M:
The state of the art in Internet of Things (IoT) architecture includes the following:
Components: Sensors, actuators, devices, gateways, and cloud number
Stages: The main stages of IoT architecture are sensors and actuators, internet and
gateways, and edge analytics
Layers: IoT architecture is laid out across four layers: physical, network,
middleware, and application
Application layer: This layer provides user interfaces like mobile apps and
dashboards that allow users to interact with the system
Network layer: This layer is responsible for data forwarding, routing, and
addressing
Number of connected devices: The number of connected IoT devices is growing
rapidly. IoT Analytics expects the number of connected IoT devices to grow from
16.6 billion at the end of 2023 to 18.8 billion by the end of 2024
Applications: IoT-based technology is being used in many applications, including
smart homes, autonomous vehicles, medicine, power, gene therapies, agriculture,
and smart cities
Purpose: This is where the physical world is sensed. It involves the sensors,
actuators, and devices that gather information from the environment. The data
generated here is critical for any IoT system, as it provides the foundation for all
subsequent operations.
Examples: Sensors (temperature, humidity, motion), RFID, GPS, cameras, and
other devices collecting data from the environment.
Purpose: The network layer is responsible for transferring the collected data
from the perception layer to other layers, such as the processing or application
layer. It uses various communication protocols and infrastructure to transmit
data.
Examples: Communication technologies such as Wi-Fi, Bluetooth, LoRaWAN,
Zigbee, 5G, Ethernet, and cellular networks.
5. Application Layer
Purpose: This layer is the interface between the end-user and the IoT system. It
provides the domain-specific services and applications that leverage the data
processed in previous layers. The application layer is responsible for the
functionality that users experience.
Examples: Applications for smart homes, healthcare monitoring, industrial
automation, agriculture, and smart cities.
6. Business Layer
Purpose: The business layer manages and ensures that the IoT system aligns
with business objectives. It is responsible for business logic, data management,
and system-level decisions such as service management, analytics, and
enterprise integration.
Examples: Business models, analytics, service-level agreements (SLAs), and
integration with enterprise systems.
7. Management Layer
The ISO stack refers to a layered architecture model developed by the International
Organization for Standardization (ISO) for communication protocols and network
design. It is typically associated with the OSI (Open Systems Interconnection) model,
which standardizes the communication functions of computer networks.
Purpose: The ISO stack, specifically the OSI model, standardizes and describes
the layers involved in computer network communication, ensuring
interoperability between different systems and technologies.
7 Layers: The OSI model divides network communication into 7 layers, from
physical transmission to user-level application support:
1. Layer 1: Physical Layer – Deals with the hardware and transmission medium (e.g.,
cables, switches).
2. Layer 2: Data Link Layer – Handles error detection, and framing (e.g., Ethernet).
3. Layer 3: Network Layer – Manages routing and IP addressing (e.g., IP).
4. Layer 4: Transport Layer – Ensures reliable data transfer (e.g., TCP/UDP).
5. Layer 5: Session Layer – Manages sessions and connections (e.g., API calls).
6. Layer 6: Presentation Layer – Handles data translation, encryption, and compression
(e.g., JPEG, SSL).
7. Layer 7: Application Layer – Provides end-user services and interfaces (e.g., HTTP,
FTP).
Purpose: Focuses on the functions or capabilities of the system and how these
functions interact.
Key Elements:
o Defines system components and their roles.
o Describes how services are delivered.
o Explains interaction patterns between components or subsystems.
Use in IoT:
5. Information View
Purpose: Deals with the data handled by the system, including how it is
generated, stored, processed, and exchanged.
Key Elements:
Use in IoT:
6. Deployment View
Use in IoT:
7. Operational View
Use in IoT:
Definition: The Internet of Things (IoT) creates value across various sectors by
enabling real-time data collection, automation, and improved decision-making. The
value IoT brings can be categorized into efficiency gains, cost reduction, enhanced
customer experiences, and new business models.
Predictive Maintenance:
Process Automation:
Asset Tracking:
1. RFID tags and IoT sensors track assets in warehouses and supply chains.
2. Improves inventory management and reduces loss or theft.
Energy Management:
Worker Safety:
1. Wearable IoT devices monitor workers' health (e.g., heart rate, exposure
to toxic gases).
2. IoT systems trigger alarms during unsafe conditions or accidents.
Benefits of IoT
Example:
IoT in agriculture, also called smart farming, leverages IoT technology to improve
farming efficiency, crop yield, and resource management.
Precision Agriculture:
1. IoT devices like soil sensors and drones monitor soil quality, moisture
levels, and crop health.
2. Farmers receive actionable insights to apply water, fertilizers, or
pesticides only where needed, reducing waste.
Smart Irrigation:
Livestock Management:
Environmental Monitoring:
Smart objects are IoT-enabled devices embedded with sensors, actuators, and
communication capabilities. These objects can perceive their environment, process data,
and interact with other devices or systems, enabling autonomous or semi-autonomous
decision-making.
The retail and supply chain industry benefits greatly from IoT by improving efficiency,
enhancing customer experience, and enabling real-time decision-making. Below are
detailed applications:
1. Retail Applications
IoT helps retailers create a seamless shopping experience, optimize inventory, and
improve customer satisfaction.
Key Applications:
Smart Shelves:
1. Use RFID tags and weight sensors to monitor product availability in real time.
2. Notify staff when items need restocking.
3. Reduce inventory errors and prevent stockouts.
Personalized Shopping Experience:
1. IoT devices track customer movements and preferences in-store using beacons.
2. Provide personalized offers or recommendations based on browsing history or
location.
3. Example: A beacon sends a discount notification for an item a customer is viewing.
Automated Checkouts:
1. IoT-enabled sensors and cameras allow customers to pick items and leave, with
payments processed automatically (e.g., Amazon Go stores).
2. Eliminates the need for traditional checkout lines.
Energy Management:
1. IoT-enabled smart lighting and HVAC systems optimize energy usage in retail stores.
2. Reduce operational costs while maintaining comfort for customers.
Theft Prevention:
Key Applications:
Asset Tracking:
1. IoT sensors and GPS trackers monitor the location of goods in transit.
2. Provide real-time updates, ensuring on-time delivery and reducing lost shipments.
3. Example: A logistics company tracks refrigerated goods to ensure temperature
compliance.
Inventory Management:
1. RFID and IoT sensors provide real-time data on stock levels in warehouses.
2. Automates reordering processes to prevent overstocking or understocking.
3. Reduces waste and optimizes storage space.
Predictive Maintenance:
Dynamic Routing:
1. IoT systems use real-time traffic and weather data to optimize delivery routes.
2. Reduces fuel consumption, delivery times, and costs.
Blockchain Integration:
1. IoT devices feed real-time data into blockchain systems for traceability.
2. Ensures transparency and authenticity of goods, especially in industries like food and
pharmaceuticals.
The Internet of Things (IoT) in healthcare, also referred to as the Internet of Medical
Things (IoMT), is transforming patient care by enabling remote monitoring, early
diagnosis, and data-driven insights.
1. IoT devices like wearable sensors track vital signs (heart rate, blood pressure, glucose
levels) and send data to healthcare providers.
2. Enables doctors to monitor chronic conditions without requiring hospital visits.
3. Example: A diabetic patient uses a connected glucometer to send real-time glucose
readings to their doctor.
Telemedicine:
1. IoT devices support telehealth consultations by providing real-time patient data during
virtual visits.
2. Enables diagnosis and treatment without physical proximity.
1. IoT-enabled devices like connected inhalers, smart insulin pens, and cardiac monitors
help patients manage their conditions.
2. Example: A smart asthma inhaler tracks usage patterns and environmental conditions
to alert patients about potential triggers.
1. IoT tags track medical equipment like wheelchairs, defibrillators, and infusion pumps.
2. Ensures timely availability and reduces equipment misplacement.
Medication Adherence:
Emergency Response
1. Wearable IoT devices detect falls, abnormal heart rhythms, or other emergencies and
notify emergency services.
2. Saves lives by reducing response times.
1. IoT sensors collect large volumes of patient data, enabling AI-driven analysis for early
detection of diseases.
2. Example: Wearables detect early signs of cardiac events, allowing preventive measures.
2.Brownfield IoT
Brownfield IoT refers to the integration of IoT technologies into existing systems,
equipment, or infrastructure that were not originally designed with IoT capabilities.
Unlike greenfield IoT, which involves building IoT systems from scratch, brownfield
IoT focuses on retrofitting and upgrading legacy systems to make them IoT-enabled.
Interoperability:
Cost-Effective:
1. Saves costs compared to full system replacements.
2. Maximizes the value of existing investments.
Incremental Deployment:
Manufacturing:
Utilities:
1. Upgrading traditional electric grids with IoT sensors for smart grid
capabilities.
2. Example: Installing smart meters on existing power infrastructure for
real-time energy usage tracking.
Transportation:
Healthcare:
Buildings:
Security Risks:
Complexity:
Cost of Retrofitting:
Scalability Constraints:
Cost Savings:
Faster Implementation:
Preserves Investments:
Improved Efficiency:
Minimized Disruption:
Here’s a table summarizing the four aspects to master IoT in your business:
2. Overview of Governance
Key Aspects:
Establishment of Policies:
Stakeholder Roles:
Interoperability Standards:
Sustainability:
IoT systems face unique challenges due to their distributed and resource-constrained
nature.
Privacy Challenges:
Data Collection:
User Profiling:
Anonymity:
Security Challenges:
Weak Authentication:
Vulnerable Firmware:
DDoS Attacks:
Example Scenarios:
Key Contributions:
IoT@Work
o Enhanced IoT solutions for industrial environments.
o Addressed interoperability and safety requirements.
SmartSantander:
Smart cities rely heavily on IoT to manage resources and infrastructure efficiently.
However, this also raises concerns about the security and privacy of citizen data.
Key Considerations:
2. Trust Frameworks:
3. Secure Platforms:
Challenges:
Solutions:
Steps:
1. Threat Assessment:
4. Regular Updates:
Example Tools:
7. Smartie Approach
The Smartie Project (Secure and Context-Aware Data Management in IoT) provides a
framework for managing IoT data securely.
Features:
Data Ownership:
Policy Enforcement:
End-to-End Security:
Use Case:
In smart cities, Smartie enables secure sharing of sensor data between citizens,
government, and private entities without compromising privacy.
Conclusion
IoT governance, security, and privacy are crucial to addressing the risks and ethical
concerns associated with interconnected systems. Leveraging frameworks like FP7
projects and Smartie, and implementing best practices, ensures the sustainable growth
of IoT in applications like smart cities and industrial automation.