IOT Notes
IOT Notes
S.No
. IIOT IOT
It focuses on general
It focuses on industrial applications
applications ranging from
1. such as manufacturing, power
wearables to robots &
plants, oil & gas, etc.
machines.
It needs moderate
7. It needs stringent requirements.
requirements.
5. Characteristics of IoT
1. Connectivity
IoT devices must always stay connected to each other and the
internet. This ensures seamless communication between devices,
like mobile phones, sensors, routers, or gateways. Whether
connecting people or machines, connectivity must be reliable at all
times, from anywhere in the world.
3. Scalability
IoT systems are growing rapidly, with more devices being added
every day. The system must handle this growth effectively while
managing the enormous amount of data generated. Scalability
ensures that IoT networks remain functional even as they expand.
5. Architecture
The design of IoT systems cannot follow a single standard. It should
allow devices from various manufacturers to work together. This
diversity requires collaboration between different fields of
engineering and technology to create a hybrid system.
6. Safety
Connecting devices to the internet increases the risk of data
breaches. Personal details can be stolen, and the network may face
threats. Ensuring the security of both data and equipment is a major
priority in IoT systems.
7. Self-Configuring
IoT devices can set themselves up with little or no human
intervention. They can update their software automatically and add
new devices to an existing network without much hassle. This
simplifies system management.
8. Interoperability
IoT devices from different manufacturers need to communicate
seamlessly. Standard protocols like MQTT, CoAP, Bluetooth, Wi-Fi,
and Zigbee ensure this compatibility. Interoperability allows devices
to share data effectively, making the IoT ecosystem work smoothly.
11. Data-Driven
IoT devices generate a large amount of data, which is analyzed to
make informed decisions. For instance, data from sensors can
optimize heating and cooling systems in a building, saving energy
and improving comfort. Big data technologies help process and
utilize this information effectively.
12. Security
Security is crucial in IoT to protect sensitive data and connected
devices from cyberattacks. Multiple layers, including device,
network, and data security, are implemented. Encryption,
authentication, and firewalls are some measures used to ensure
safety.
13. Ubiquity
IoT devices are everywhere—in homes, offices, factories, and public
spaces. Their widespread presence allows users to control and
monitor devices remotely, like adjusting home lighting or
temperature using a smartphone from anywhere.
6. Applications of IoT
Smart Homes: Devices like smart lighting, security systems, and
appliances.
Healthcare: Wearables and devices that monitor patient health
(e.g., heart monitors).
Industrial Automation: Sensors used in factories to improve
efficiency and monitor machines.
Agriculture: IoT sensors monitoring soil moisture, crop conditions,
and livestock health.
Transportation: Smart vehicles, traffic management, and fleet
tracking.
Energy Management: Smart grids, meters, and appliances that
optimize energy usage.
7. Hardware of IoT
Sensors: Collect data (e.g., temperature, humidity, motion
sensors).
Microcontrollers/Microprocessors: Devices like Raspberry Pi or
Arduino that process the collected data.
Actuators: Perform actions based on processed data (e.g., turning
on/off a motor).
Communication Modules: Wi-Fi, Bluetooth, Zigbee, etc., used for
connectivity.
Power Supply: IoT devices require efficient power sources, often
low-power batteries.
8. Challenges of IoT
Security and Privacy: Ensuring data collected by IoT devices is
secure from hackers.
Interoperability: Devices from different manufacturers need to
work together seamlessly.
Scalability: Managing and processing data from millions of devices
as IoT scales up.
Power Management: Many IoT devices run on batteries, so
energy-efficient designs are critical.
Data Storage and Analysis: Handling the vast amount of data
generated by IoT devices.
Protocols:
Network Communication Protocols
These protocols define how data is transferred between devices on a
network.
1. Ethernet: A widely used wired technology for connecting devices in
a local network, like computers to routers or switches. It provides
reliable, high-speed communication.
2. WiMax: A wireless communication standard for long-range
broadband access. It’s similar to Wi-Fi but can cover much larger
areas (up to miles) and provide high-speed internet.
3. Zigbee: A wireless protocol designed for low-power, short-range
communication. It’s used in devices like smart home gadgets (lights,
thermostats) that don’t need much bandwidth.
4. LoRaWAN: A long-range, low-power wireless protocol for IoT
devices. It’s great for sending small amounts of data over large
distances (like monitoring sensors in farms or cities).
5. Sigfox: Another long-range, low-power network designed for
sending small amounts of data. It’s often used in IoT applications
that need simple, low-cost communication.
6. 6LoWPAN: This stands for IPv6 over Low Power Wireless Personal
Area Networks. It allows tiny devices with limited power to connect
to the internet using the IPv6 protocol.
7. NFC (Near Field Communication): A short-range wireless
communication technology used for things like contactless
payments and sharing data between devices by tapping them
together.
8. RPL (Routing Protocol for Low-Power and Lossy Networks): A
routing protocol for devices in a low-power IoT network. It ensures
data gets from one device to another, even if some connections are
weak or unreliable.
9. LR-WPAN (Low-Rate Wireless Personal Area Network): A low-
power wireless network designed for short-range communication
between small devices. Zigbee uses this as a base.
10. 2G/3G/LTE (Cellular): These are cellular networks used for
mobile communication. 2G and 3G are older generations of mobile
networks, while LTE (Long-Term Evolution) is a faster, more
advanced version that supports high-speed internet.
Internet Protocols
These are used to identify devices and route data across the internet or
local networks.
11. IPv4: The fourth version of the Internet Protocol, which
assigns unique addresses to devices connected to the internet.
However, there are only a limited number of addresses available
with IPv4.
12. IPv6: The more recent version of the Internet Protocol,
designed to replace IPv4 because it provides a nearly unlimited
number of unique addresses. IPv6 is essential as more and more
devices get connected to the internet.
Transport layer Protocols
13. TCP (Transmission Control Protocol): This protocol
ensures data sent over the internet is reliable and arrives in the
correct order. It’s used for applications that need accuracy, like web
browsing and email.
14. UDP (User Datagram Protocol): A faster, less reliable
protocol than TCP. It’s used when speed is more important than
accuracy, like in live streaming or online gaming.
Application-Layer Protocols
These protocols define how applications communicate over a network.
15. HTTP (Hypertext Transfer Protocol): The protocol used by
web browsers to request and display web pages. Every time you
visit a website, your browser uses HTTP to get the page’s data from
a server.
16. WebSockets: A protocol for two-way communication between
a client (like your web browser) and a server. Unlike HTTP, which
sends a request and gets a response, WebSockets allow for
continuous, real-time communication (used in chat apps, online
games).
17. MQTT (Message Queuing Telemetry Transport): A
lightweight messaging protocol used in IoT applications. It’s
designed for sending small amounts of data between devices in
unreliable networks, like sensors talking to a server.
18. XMPP (Extensible Messaging and Presence Protocol): A
protocol designed for real-time communication, like instant
messaging. It’s often used in chat applications, video calls, and
social networking.
19. DDS (Data Distribution Service): A protocol used for real-
time systems where data needs to be shared reliably and quickly.
It’s often used in critical applications like military systems or
healthcare devices.
20. AMQP (Advanced Message Queuing Protocol): A more
complex messaging protocol used in systems that require secure
and reliable data transfer, such as financial services or enterprise
applications.
21. CoAP (Constrained Application Protocol): A protocol
designed for use in low-power, low-bandwidth IoT environments. It
allows small devices (like sensors) to communicate with each other
over the internet or within local networks.
Sensors:
Electrical Sensor
Purpose: Measures electrical quantities like voltage, current, and
resistance.
How It Works: Detects changes in electrical signals and converts
them into data that can be monitored or controlled.
Example: Used in circuits to monitor electrical current and ensure
devices are functioning correctly, such as in power supply systems.
Touch Sensor
Purpose: Detects physical contact or pressure.
How It Works: Responds when touched by converting mechanical
pressure into an electrical signal. Capacitive touch sensors are
commonly used, detecting the change in electrical charge when a
finger touches the surface.
Example: Found in touchscreens on smartphones and tablets.
Optical Sensor
Purpose: Measures properties of light, including intensity, color, or
wavelength.
How It Works: Detects light and converts it into an electrical
signal. Optical sensors can include photodiodes, fiber optics, or
other light-sensitive components.
Example: Used in barcode scanners to detect barcodes on
products.
Speed Sensor
Purpose: Measures the speed of an object, such as rotation or
movement.
How It Works: Converts the motion of an object (like a rotating
shaft) into an electrical signal that can be measured.
Example: Used in vehicles to measure the speed of the wheels,
which is important for systems like anti-lock brakes (ABS).
Temperature Sensor
Purpose: Measures temperature or changes in temperature.
How It Works: Detects temperature changes using materials that
change resistance with temperature (like thermistors) or through
voltage changes (like thermocouples).
Example: Used in thermostats to regulate home heating and
cooling systems.
Ultrasonic Sensor
Purpose: Measures the distance to an object by using sound waves.
How It Works: Emits high-frequency sound waves that bounce off
objects and return to the sensor. The time it takes for the echo to
return is used to calculate the distance.
Example: Used in car reverse parking sensors to detect nearby
objects.
Humidity Sensor
Purpose: Measures the moisture level (humidity) in the air.
How It Works: Uses materials that change electrical resistance or
capacitance based on the moisture content in the air. The sensor
converts this change into an electrical signal.
Example: Used in weather stations and air conditioning systems to
monitor and control humidity.
Micro-Electro-Mechanical Sensor (MEMS) / Accelerometer
Purpose: Measures acceleration, tilt, or vibration.
How It Works: Small mechanical structures inside the sensor move
when the device experiences acceleration or tilt. This movement
changes the electrical signal, which the sensor uses to calculate the
movement.
Example: Used in smartphones to detect orientation and in fitness
trackers to count steps.
Sound Sensor
Purpose: Detects sound and converts it into an electrical signal.
How It Works: Uses a microphone or similar device to capture
sound waves. These sound waves create vibrations that are
converted into electrical signals.
Example: Used in voice-activated devices like smart speakers (e.g.,
Amazon Echo or Google Home).
Pressure Sensor
Purpose: Measures the pressure of liquids or gases.
How It Works: Converts pressure changes into an electrical signal
by using materials that change resistance under pressure.
Example: Used in tire pressure monitoring systems in vehicles.
Image Sensor
Purpose: Captures images or video by detecting light.
How It Works: Converts light into electrical signals using materials
like photodiodes. Each pixel in the sensor records light intensity to
form an image.
Example: Used in cameras, smartphones, and webcams to capture
photos and videos.
Gas Sensor
Purpose: Detects the presence or concentration of gases in the
environment.
How It Works: Uses a chemical reaction that produces an electrical
signal in the presence of a specific gas.
Example: Used in smoke detectors or industrial settings to detect
gases like carbon monoxide or methane.
RFID Sensor
Purpose: Identifies objects using radio frequency identification
(RFID) technology.
How It Works: Uses radio waves to transfer data between a tag
and a reader. The sensor reads the information stored in the RFID
tag when it's in range.
Example: Used in contactless payment systems and inventory
management.