Iot Unit-1
Iot Unit-1
INTRODUCTION OF IOT
WEIGHTAGE TOTAL MARKS: 16M (2 Shorts & 1 essay)
1.1 INTRODUCTION:
1.1.9. Sensors
1.1 INTRODUCTION
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 very few of the categorical examples where IoT is strongly established.
❖ IoT devices use technologies like Wi-Fi, Bluetooth, or mobile data to stay connected.
❖ This connection allows real-time communication and remote control.
Example: A smartwatch sends heart rate data to your phone using Bluetooth.
2. Scaling (Scalability)
3. Sensing
4. Analyzing
5. AI (Artificial Intelligence)
❖ AI allows IoT devices to learn from data and get smarter over time.
❖ It enables features like voice control, predictions, and auto-decisions.
Example: Alexa learns your music taste and plays your favourite songs when asked.
6. Active Engagement
7. Integration
❖ IoT connects hardware, software, cloud, and networks into one system.
❖ Ensures smooth communication and coordination between devices.
Example: A smart fridge tracks food using sensors and shows it in an app.
8. Security
❖ IoT uses encryption, passwords, and updates to protect data and devices.
❖ Prevents hacking and ensures only authorized access.
Example: A smart lock opens only with the right fingerprint or mobile command.
9. Automation
❖ All devices can be monitored and controlled from one app or system.
❖ Makes it easy to update, manage, or fix multiple devices.
Example: Google Home app lets you manage all smart devices in your house.
• Devices are now part of the IoT ecosystem – connected, automated, and intelligent.
• Use AI, cloud, real-time communication, and machine learning.
Example: Smart home systems, fitness bands, connected cars, smart agriculture sensors.
• Billions of devices will be connected using 5G, edge computing, and AI.
• Everything from clothes to cities will become "smart."
Example: Smart cities, wearable health tech, AI-driven robots.
1.1.4 List Advantages
1. Automation
2. Time Saving
3. Remote Access
❖ You can control or monitor devices from anywhere using mobile apps.
❖ Helpful when you're away from home or office.
Example: Turning off smart lights from your phone while traveling.
4. Real-Time Monitoring
1. High Cost
2. Depends on Internet
❖ IoT fully relies on internet connectivity to work.
❖ Without the internet, devices may stop functioning or responding.
Example: Smart door lock won’t open via app if the Wi-Fi is down.
5. Privacy Issues
1) Sensors / Devices
❖ Sensors are electronic devices that detect changes in the environment such as temperature, light or motion
and convert these physical signals into digital data for the IOT system to use.
❖ Sensors act as the eyes and ears of the IOT system by gathering real-world data.
❖ They monitor environmental factors like temperature, humidity, light intensity, motion, and pressure.
❖ They are responsible for real-time monitoring, which is important for quick decision-making.
❖ Sensors play a vital role in automating tasks.
Ex: Turning on lights when someone enters a room.
2) Connectivity:
❖ Connectivity is the method through which IoT devices send data to each other or to the cloud for
processing and storage.
❖ It is the communication link between sensors/devices and data processing units.
❖ Connectivity can be through wired (Ethernet) or wireless technologies like Wi-Fi and Bluetooth.
❖ It supports real-time data transfer for instant actions or alerts.
Ex: Wi-Fi for connecting smart home devices like cameras and lights.
3) Data Processing:
❖ It is the step where the raw data from sensors is analyzed, filtered and converted into meaningful information
to support decision-making.
❖ Processing involves cleaning data by removing errors and irrelevant parts (filtering).
❖ It reduces the amount of data sent over the network, saving bandwidth.
❖ Results of processing can trigger actions, notifications or alerts.
Ex: Cloud processing to predict weather based on sensor data.
4) Cloud
❖ The User Interface is the platform where users interact with IoT systems, view data, receive alerts, and
control devices.
❖ UI can be in the form of mobile apps, web dashboards, or voice assistants.
❖ It provides a visual representation of data using graphs, charts, or simple status indicators.
❖ Users can control devices remotely, such as switching lights or adjusting temperature.
❖ UI must be user-friendly and accessible to ensure easy operation by anyone.
Ex: Amazon Alexa app to control smart home devices with voice commands.
1.1.7 List Applications of IOT
1. Smart Homes
2. Smart Education
3. Smart Cities
4. Smart Healthcare
5. Smart Agriculture
6. Smart Transport
7. Smart Refrigerators
8. Smart Traffic Management
9. Smart Fire Alarms
10. Smart Parking
1) Wireless Technologies
Wireless technologies allow devices to communicate without using cables, by sending radio signals.
WIFI – Connects devices over short distances, like in homes or offices.
Example: Using WIFI to connect your phone or laptop to the internet.
Bluetooth – Used for nearby devices.
Cellular Networks (3G, 4G, 5G) – Allow communication over long distances.
Zigbee and LoRaWAN – Use low power and work well with small devices over long distances.
NFC (Near Field Communication) – Works when two devices are very close.
2) Wired Technologies
Wired technologies use physical cables to connect devices. These connections are fast and stable, but not flexible because
the devices must be connected with wires.
USB (Universal Serial Bus) – Connects devices for charging or data transfer.
PLC (Power Line Communication) – Sends internet using the electrical wiring in buildings.
Fiber Optic Cable – Uses light to send internet through thin glass cables.
1.1.9 Sensors
A sensor is an electronic device that detects changes in the environment like temperature, light, sound, motion,
or pressure. It converts these changes into electrical signals or data, which can be understood by machines or
computers.
Detection: The sensor detects a physical change, like heat, light, or movement.
Conversion: This physical change is converted into an electrical signal like voltage or current.
Signal Processing: The signal is sent to a processor, which reads the signal and decides what to do next (store,
display, or act).
TYPES OF SENSORS
This classification is based on the kind of electrical signal a sensor produces — either continuous or discrete.
➤ Analog Sensors
• These sensors give a continuous output signal, meaning the output can have any value within a range.
• Example: Temperature sensor in a fever thermometer – the mercury or digital reading changes
gradually based on body temperature.
➤ Digital Sensors
• These sensors give a discrete (fixed) output signal, usually ON (1) or OFF (0).
• Example: Motion sensor used in automatic doors – it gives an ON signal if a person is present,
otherwise OFF.
This classification depends on the type of data the sensor measures — physical or chemical.
➤ Physical Sensors
➤ Chemical Sensors
An actuator is a device that performs an action like moving, turning, opening, closing, or
controlling something based on a signal from a controller (like a microcontroller or IoT device).
In short:
Sensors collect data → Controller decides → Actuator takes action
1. Hydraulic Actuator
A hydraulic actuator is a type of actuator that uses pressurized liquids (usually hydraulic oil) to produce mechanical
motion. It works based on Pascal’s law, which states that when pressure is applied to a fluid in a closed system, it is
transmitted equally in all directions. These actuators are very powerful and are used in applications that require heavy
lifting or strong mechanical force. They can produce linear or rotary motion depending on the design. Hydraulic
actuators are generally slower than pneumatic ones but more powerful and stable.
Examples:
2. Pneumatic Actuator
A pneumatic actuator uses compressed air or gas to produce mechanical motion. When pressurized air enters a chamber,
it pushes a piston or diaphragm which results in linear or rotary motion. Pneumatic actuators are commonly used in
industries for tasks that require quick, light-to-medium force operations. They are faster than hydraulic actuators and
require less maintenance because they use air instead of oil. However, they are less powerful compared to hydraulic
actuators and not suitable for heavy-duty operations.
Real-Life Examples:
3. Electric Actuator
An electric actuator converts electrical energy into mechanical motion, either rotational or linear. It typically consists
of an electric motor, gears, and linkages, and is commonly used in home automation systems, smart devices, and
robotics. These actuators are easy to control, clean, quiet, and do not require fluid or air. They are ideal for low to
medium force applications and are widely used in IoT systems because they can be easily connected to microcontrollers
and programmed for automated tasks.
Real-Life Examples:
4.Thermal Actuator
A thermal actuator works by using heat energy to create movement. These actuators usually contain materials that
expand or change shape when heated, triggering a mechanical action. Some use wax, bi-metallic strips, or special
thermal-sensitive liquids.They are mostly used in temperature-sensitive environments where actions need to be
performed automatically based on heat levels. These actuators are simple, automatic, and require no complex control
systems.
Real-Life Examples:
• Fire sprinklers that release water when the surrounding temperature rises
• Geysers that shut off heating when water is hot
5. Magnetic Actuator
A magnetic actuator works using magnetic fields, either from a permanent magnet or more commonly from an
electromagnet (a coil that becomes magnetic when electric current passes through it). It produces a pulling or pushing
force to cause mechanical movement or to activate a switch.These actuators are often used for contactless switching,
locking mechanisms, or sound-producing devices. They are fast, reliable, and are frequently found in security systems
and control circuits.
Real-Life Examples:
• Maglocks (magnetic door locks) in hotels and offices
• Buzzers that make sound in alarms or alerts
Examples:
1. Temperature sensor
2. Gas sensor
3. Motion detector
2. Network Layer
❖ This layer transfers data collected from the sensing layer to the processing center.
❖ Provides connectivity and communication between devices and cloud systems.
❖ Uses technologies like:
➢ WIFI
➢ Bluetooth
➢ Zigbee
➢ 4G/5G
➢ Ethernet
❖ This layer processes and analyzes the raw data from sensors.
❖ It includes:
4.Application Layer
❖ This is the topmost layer that interacts with the end user.
❖ It provides a user-friendly interface to control and monitor devices.
❖ Includes mobile apps, dashboards, web portals, etc.
❖ Supports:
➢ Data visualization
➢ Reports & Notifications
➢ Device control
Examples:
❖ IoT devices collect personal data, and if not protected, hackers can steal that data.
Example: A smart camera can be hacked to see inside your home.
❖ Many devices use weak or default passwords, which are easy to guess.
Example: A smart lock with the password “0000” can be broken into.
❖ Some devices do not get regular software updates, making them vulnerable.
Example: An old smart bulb without updates can be easily attacked.
❖ If data is not encrypted, it can be read or changed during transmission.
Example: A smart fridge sending info over open Wi-Fi is not safe.
❖ Many users are unaware of how to protect their IoT devices.
Example: People may not know they should change the default password on their smart TV.
❖ IoT devices often use small batteries, so they must be designed to save power.
Example: A smart farm sensor needs to work for months without charging.
❖ Devices from different brands may not work together properly.
Example: A smart fan from one brand may not connect with a voice assistant from another brand.
❖ IoT devices generate a large amount of data, which is difficult to manage.
Example: A smart hospital collects a lot of patient data every day.
❖ Some IoT applications require fast responses, which can be hard to design.
Example: A fire alarm system must send alerts immediately when it detects smoke.
❖ Devices should be easy to use by everyone, including people with no technical knowledge.
Example: A farmer may find it hard to use a smart irrigation app with a complex design.
❖ Some areas do not have good internet connectivity, which affects IoT performance.
Example: A smart water pump in a village may not work due to poor signal.
❖ Setting up IoT systems can be expensive at the beginning.
Example: Installing smart boards and sensors in a classroom costs a lot.
❖ Devices placed outdoors or in high locations are difficult to maintain.
Example: Fixing a sensor on a smart streetlight is not easy.
❖ Devices must be able to survive heat, rain, and dust in outdoor environments.
Example: A traffic sensor must work even during heavy rain or summer heat.
❖ IoT systems create a lot of data, which needs to be stored and managed properly.
Example: A smart city project generates huge amounts of data every day.
An IoT ecosystem is a complete environment where devices, software, networks, cloud, and users work together to
collect data, share it, process it, and take action — all automatically!
Examples:
• Temperature sensor
• Light sensor
• Motion detector
• Smartwatch (heart rate)
Example: Smart fridge detects food is spoiling (gas sensor).
Technologies:
• Wi-Fi
• Bluetooth
• Zigbee
• 4G/5G
• LoRa
Features:
• AI/ML analysis
• Data storage
• Logic-based decision making
Examples:
• Mobile apps
• Smart home dashboards
• Notification systems
Real-life: Your app shows “AC is ON” and lets you turn it OFF.
Examples:
• Fan turns ON
• Alarm rings
• Door opens
• Water pump starts
6LoWPAN Stands for IPv6 over Low Power Wireless Personal Area Networks
It is a communication protocol that enables small, low-power, and low-cost devices to connect to the internet using IPv6
over IEEE 802.15.4 wireless networks. It is specifically designed for devices with limited memory, processing power, and
energy. It compresses large IPv6 packets to fit into small frame sizes and supports efficient communication in IoT
environments.
It acts as a bridge between the Internet (IPv6) and wireless embedded devices, making it possible for smart devices
like sensors to send and receive data through the internet.
Example: A temperature sensor in a smart home can send temperature readings to a mobile app via 6LoWPAN, using
very little power and data.
1. Introduction to Diagram:
❖ The diagram shows how IoT devices (nodes) using IPv6 are connected to the Internet and Cloud through
an Edge Router.
❖ This is an example of a 6LoWPAN (IPv6 over Low Power Wireless Personal Area Network) system.
1. IPv6 Support: Devices can use IPv6 addresses to connect to the Internet.
2. Low Power Use: Works well with battery-powered devices like sensors.
3. Small Size Packets: Sends small data packets, saving energy and speed.
5. Mesh Networking: Devices can pass messages through each other (multi-hop).
10. Used in IoT: Perfect for smart homes, smart cities, health devices, etc.
1. Smart Homes
2. Smart Farming
3. Smart Cities
4. Industries
5. Health Monitoring
6. Environment Monitoring
7. Smart Meters
8. Building Automation
9. Asset Tracking
10. Disaster Alerts
2. 64-bit Extended Addressing (EUI-64): Based on the device’s hardware MAC address.
3. 16-bit Short Addressing: Used within a local network (smaller and faster).
2. Data Link Layer (MAC Layer): Organizes how data is sent over the medium
❖ Ensures reliable transmission between two connected nodes.
❖ Uses MAC addresses for local identification.
❖ Handles framing, error detection, and acknowledgment.
❖ Manages medium access using CSMA/CA (like taking turns to talk).
❖ Detects and avoids collisions.
❖ Power saving mechanisms (turn radio on/off).
Real-life Example: Two smart lights taking turns to send updates to the controller.
Real-life Example: A smart lock sends status updates to a mobile app using its Ipv6 address.
Real-life Example: Soil moisture sensor sends data to the server every 10 minutes using UDP.
Real-life Example: You check your smart watch to see your heart rate — that’s application layer in action.
RPL PROTOCOL:
RPL stands for Routing Protocol for Low-Power and Lossy Network. It is a distance-vector protocol that supports a
variety of Data Link Protocols. RPL builds a Destination Oriented Directed Acyclic Graph (DODAG) which has only one
route from each leaf node to the root. All the traffic in this DODAG is routed through the root. Initially, each node
sends a DODAG Information Object (DIO) announcing them self as a root. This information travels in the network, and
complete DODAG is gradually built. When a new node wants to join the network, it sends a DODAG Information
Solicitation (DIS) request and root responds back with a DAO Acknowledgment (DAO-ACK) confirming the join.
Definition
CORPL is a smart version of RPL that uses cognitive radio technology to improve data communication in wireless
sensor networks.
It helps IoT devices choose the best and least congested communication channel by sensing the environment and
dynamically avoiding interference.
In simple words, CORPL allows devices to think and act smartly before sending data, so that they can save energy,
avoid noise, and send data reliably in a crowded wireless network.
Example (Real-Life)
In a smart city, hundreds of sensors (like pollution monitors, cameras, etc.) send data to a control center.
If all use the same path or channel, it becomes slow and noisy.
It’s like Google Maps showing you a shortcut to avoid traffic — but for wireless signals.
LOADng PROTOCOL:
LOADng is an acronym for Lightweight On-Demand Ad hoc Distance Vector Routing Protocol – next generation.
Derived from AODV and extended for use in IOT.
The AODV (Ad hoc On-Demand Distance Vector) routing protocol, which is essentially a distance vector routing
technique, served as inspiration for this protocol.
Establishing and maintaining a path between the source and the destination.
Only when data must be sent or a route to the destination is down does the network generate control and signaling
traffic.
6. RFID Technologies
RFID (Radio Frequency Identification) is a wireless communication technology that uses radio waves in the radio
frequency (RF) portion of the electromagnetic spectrum to automatically identify, track, and manage objects or
individuals. It works by using RFID tags, which store digital data, and RFID readers, which can read that data without
needing a direct line of sight.
Unlike traditional barcode systems that require scanning one item at a time and in close range, RFID technology allows
for the simultaneous identification of multiple items from a distance, even if the tags are hidden inside packaging
or containers. This makes it a fast, efficient, and reliable method for data collection and item management.
The RFID system consists of three main components:
RFID is used in a wide range of industries for inventory management, supply chain tracking, access control, asset
tracking, contactless payments, toll collection, and even in libraries and hospitals. It supports two types of tags:
Passive (no battery) and Active (battery-powered), offering flexibility based on distance and usage needs.
In summary, RFID is a modern and powerful identification technology that enables automated, wireless data
exchange between objects and systems, making it smarter, faster, and more efficient than traditional tracking
methods.
❖ Wireless Communication – Uses radio waves to send and receive data without physical contact.
❖ No Line-of-Sight Needed – Tags can be read even when hidden or placed inside objects (unlike barcodes).
❖ Long Reading Range – Passive tags: a few meters, Active tags: up to 100 meters
❖ Automatic Identification – Can identify and track objects automatically, without manual scanning.
❖ Fast Scanning – Multiple tags can be scanned at once, saves time.
❖ Passive and Active Types – Passive: No battery, Active: Battery-powered for long-range communication
❖ Stores More Data Than Barcodes – RFID tags can hold more detailed information than traditional barcodes.
❖ Reusable and Durable –Tags are made of strong material and can be reused many times.
❖ Secure Communication – Some RFID systems support encryption and secure data access.
❖ Real-Time Tracking – Enables continuous tracking of items in real time , useful in logistics and inventory.
1. Inventory Management
2. Asset Tracking
3. Access Control
4. Supply Chain Management
5. Library Management
6. Healthcare and Hospitals
7. Transportation and Toll Collection
8. Retail and Self-Checkout
9. Animal and Pet Tracking
10. Event Management
An antenna is an device which converts power into radio waves which are used for communication between reader and
tag. RFID readers retrieve the information from RFID tag which detects the tag and reads or writes the data into the
tag. It may include one processor, package, storage and transmitter and receiver unit.
1. Passive Tags
❖ Less expensive, longer lifespan, shorter read range (up to a few meters).
2. Active Tags
❖ Have their own power source (battery), allowing for a longer read range (up to hundreds of meters).
3. Semi-Passive Tags
Every RFID system consists of three components: a scanning antenna, a transceiver and a transponder. When
the scanning antenna and transceiver are combined, they are referred to as an RFID reader or interrogator. There
are two types of RFID readers- fixed readers and mobile readers. The RFID reader is a network-connected
device that can be portable or permanently attached. It uses radio waves to transmit signals that activate the tag.
Once activated, the tag sends a wave back to the antenna, where it is translated into data.
The transponder is in the RFID tag itself. The read range for RFID tags varies based on factors including the
type of tag, type of reader, RFID frequency and interference in the surrounding environment or from other
RFID tags and readers. Tags that have a stronger power source also have a longer read range.
Prepared by,
T.L.S Pradeepthi