2022 Iot
2022 Iot
• Internet of Things (IoT) refers to the interconnected network of physical devices that
communicate and exchange data with each other over the internet.
Define M2M:
• Machine to Machine (M2M) refers to direct communication between devices using wired
or wireless communication channels without human intervention.
• The output of the value chain in IoT includes data collection, data processing, data
analysis, and actionable insights.
• Cloud computing refers to the delivery of computing services over the internet, including
storage, processing, and software.
• Data is called weak type data when it lacks a fixed structure or format.
• The gateway connects IoT devices to the internet and facilitates communication
between devices and the cloud.
• IoT platforms include AWS IoT, Google Cloud IoT, Microsoft Azure IoT, and IBM Watson
IoT.
The Internet of Things (IoT) consists of interconnected devices that collect, process, and
exchange data. These devices perform several key operations to ensure seamless
communication and automation.
1. Key IoT Operations
Sensors transmit collected data using A smart watch sends heart rate
2. Data
communication protocols (Wi-Fi, data to a mobile app via
Transmission
ZigBee, LoRa, MQTT). Bluetooth.
Step 1: Sensing & Data Collection – Smart thermostat detects room temperature.
Step 2: Data Transmission – Sends data via Wi-Fi to a cloud server.
Step 3: Data Processing – Cloud platform analyzes temperature trends.
Step 4: Storage & Management – Temperature logs are stored for future reference.
Step 5: Decision Making – If the temperature is too high, the system turns on AC.
Step 6: User Control – The homeowner can adjust settings via a mobile app.
Step 7: Security – The system encrypts communication to prevent hacking.
The transport layer in IoT is responsible for reliable data transmission between devices
and networks. It ensures data integrity, flow control, and error handling.
IoT applications
TCP A reliable, connection- ✔ Reliable ✔ Error-
requiring high
(Transmission oriented protocol ensuring checking ✔ Flow
accuracy, like remote
Control Protocol) complete data transmission. control
healthcare monitoring.
A lightweight,
UDP (User ✔ Fast ✔ Low Real-time IoT
connectionless protocol that
Datagram overhead ✔ No applications like video
sends data without waiting
Protocol) retransmission streaming and VoIP.
for acknowledgments.
CoAP
A lightweight protocol ✔ Uses UDP ✔ Low Smart home
(Constrained
designed for resource- power ✔ RESTful automation (e.g.,
Application
constrained IoT devices. architecture Philips Hue lights).
Protocol)
MQTT (Message
A lightweight, publish- ✔ Uses TCP ✔ Low Smart agriculture (e.g.,
Queuing
subscribe protocol ideal for bandwidth ✔ QoS sending sensor data to
Telemetry
IoT communication. support a cloud dashboard).
Transport)
Autonomous vehicles
QUIC (Quick UDP A modern transport protocol ✔ Faster than TCP
(real-time
Internet that combines UDP with ✔ Low latency ✔
communication with
Connections) reliability features like TCP. Secure by default
cloud servers).
Communication protocols in IoT enable seamless data exchange between devices, gateways,
and cloud platforms. These protocols operate at different layers of the IoT architecture, ensuring
secure, reliable, and efficient communication.
These protocols enable IoT devices to communicate over the internet or local networks.
HTTP (HyperText Transfer ✔ Standard web protocol IoT dashboards, cloud API
Application
Protocol) ✔ Secure (HTTPS) access
✔ Bi-directional
Real-time IoT apps,
WebSocket Application communication ✔ Low
chatbots
latency
Wearables,
Bluetooth (BLE) 2.4GHz 10-50m
smartwatches
Protocol Frequency Range Use Case
2. Healthcare (IoMT - IoT devices track patient health, Wearable health monitors, smart
Internet of Medical automate diagnostics, and assist insulin pumps, connected
Things) in remote monitoring. pacemakers
Application Area Description Example Use Case
5. Agriculture (Smart IoT helps farmers monitor soil, IoT-based irrigation, smart
Farming) weather, and automate irrigation. greenhouses, livestock tracking
RFID-based inventory
IoT improves customer
7. Retail & E- management, smart shelves,
experience with inventory tracking
Commerce automated checkout (Amazon
and automation.
Go)
1⃣ Smart Traffic Management – IoT cameras and sensors optimize traffic flow.
2⃣ Smart Waste Management – IoT bins notify authorities when full.
3⃣ Smart Parking – IoT sensors detect vacant parking spots.
4⃣ Smart Streetlights – Adjust brightness based on traffic and weather conditions.
Both IoT (Internet of Things) and M2M (Machine-to-Machine) involve communication between
devices, but they differ in scope, communication methods, and architecture.
1. Key Differences
Uses point-to-point
Uses IP-based communication (Wi-Fi,
Communication communication (cellular, wired
Bluetooth, MQTT, HTTP, etc.).
networks).
Human Allows human interaction via apps and Works independently, no user
Involvement dashboards. control needed.
Vending Machine –
Smart Home IoT System – A thermostat
Automatically restocks by
Example collects data, sends it to the cloud, and
sending data to the supplier’s
allows remote control via a smartphone.
system.
✔ IoT: A wearable fitness tracker sends health data to a cloud-based app, allowing users to
monitor vitals.
✔ M2M: A hospital bed sensor detects if a patient has moved and directly alerts the nurse’s
station.
3. Summary
2. Artificial Intelligence
AI-powered automation, decision- AI chatbots, predictive
(AI) & Machine Learning
making, and data analytics. maintenance, fraud detection
(ML)
7. Augmented Reality
Immersive experiences in gaming, Metaverse, virtual training
(AR) & Virtual Reality
training, and education. simulations, AR shopping
(VR)
IoT devices (e.g., temperature sensors, cameras, wearables) collect real-world data like
temperature, motion, or humidity.
Example: A smart thermostat records room temperature.
The collected data is sent to a gateway or cloud using protocols like Wi-Fi, Bluetooth,
ZigBee, LoRaWAN, or cellular (4G/5G).
The gateway acts as a bridge between the devices and the cloud.
Example: The thermostat sends data via Wi-Fi to a smart home hub.
The processed data is used for automation or displayed on dashboards for users.
Example: If the temperature is too low, the thermostat automatically turns on the heater
or notifies the user.
High-speed, short-range
Wi-Fi Network Smart home devices
communication
Fitness trackers,
Bluetooth/BLE Network Short-range communication
smartwatches
IoT devices and sensors continuously collect real-world data such as temperature,
humidity, motion, or health parameters.
Example: A smart thermostat collects temperature readings every few seconds.
IoT data can be stored either on the cloud (AWS, Google Cloud, Azure) or on edge devices
for faster processing.
Example: Smart city data (traffic patterns, pollution levels) is stored on edge servers for
quick decision-making.
The stored data is analyzed using Big Data techniques and AI to find patterns, trends, and
anomalies.
Example: AI detects unusual power consumption in a smart grid and predicts power
outages.
Security measures like encryption, authentication, and blockchain ensure data integrity
and protection.
Example: End-to-end encryption secures data from a wearable health device to prevent
hacking.
IoT generates huge amounts of data, Smart city traffic data needs big data
Data Volume
requiring scalable storage. processing.
Data IoT devices are vulnerable to Hackers can steal personal health data
Security cyberattacks. from wearables.
Data Different IoT devices use different Connecting smart home devices from
Integration protocols and formats. different brands can be complex.
✔ Use Cloud & Edge Computing – Balance real-time processing and long-term storage.
✔ Implement Security Measures – Use end-to-end encryption and blockchain
authentication.
✔ Efficient Data Processing – Use AI & machine learning to analyze IoT data.
✔ Scalable Storage Solutions – Use distributed databases like MongoDB, Apache
Cassandra.
6. Define cloud computing. Explain the various services provided by the cloud.
Cloud computing is the on-demand delivery of computing resources like servers, storage,
databases, networking, software, and analytics over the internet. Instead of maintaining
physical servers, businesses and individuals can access computing power remotely via the
cloud.
Example: Google Drive allows users to store files on cloud servers instead of a personal
hard drive.
IaaS provides virtualized computing resources like servers, storage, and networking over
the internet.
Users manage operating systems, applications, and data but rely on cloud providers for
hardware.
Examples:
• Amazon Web Services (AWS) EC2 – Virtual servers for hosting applications.
✔ Use Case: A startup can use AWS EC2 to deploy a website instead of buying physical servers.
PaaS provides a development environment with tools for building, testing, and deploying
applications without managing the underlying infrastructure.
Includes programming frameworks, databases, and APIs.
Examples:
✔ Use Case: A software developer can build an app using Google App Engine without setting
up servers.
(c) Software as a Service (SaaS)
SaaS delivers fully functional software applications over the internet, eliminating the need
for installation and maintenance.
Users only need a web browser to access the service.
Examples:
• Google Drive & Google Docs – Cloud-based file storage and document editing.
• Microsoft 365 – Online Office applications like Word, Excel, and PowerPoint.
✔ Use Case: A company can use Microsoft 365 for office work without installing software on
each computer.
Deployment
Description Example Use Case
Model
pgsql
CopyEdit
+-----------------------------------------+
| [ ] USB Port |
| [ ] Power Jack |
| |
| o Reset Button |
| o ICSP Header |
+-----------------------------------------+
4. Features of Arduino
Feature Details
Operating Voltage 5V
6. Applications of Arduino
Data acquisition (DAQ) in IoT refers to the process of collecting, processing, and transmitting
real-world data from sensors and devices to a central system for further analysis.
Example: A smart weather station collects temperature, humidity, and pressure data
using sensors and sends it to a cloud server.
✔ Sensors and IoT devices measure physical parameters (e.g., temperature, motion, pressure).
✔ Data is converted into digital signals using Analog-to-Digital Converters (ADC).
✔ Example: A temperature sensor (DHT11) records temperature values.
✔ Data is sent to servers or cloud platforms via Wi-Fi, Bluetooth, ZigBee, LoRa, 5G, or MQTT.
✔ Example: A smart home device sends status updates via Wi-Fi to the cloud.
✔ The data is stored in cloud databases (AWS, Google Cloud, Microsoft Azure).
✔ AI & machine learning models analyze patterns and generate insights.
✔ Example: AI detects traffic congestion patterns using IoT camera data.
Benefit Description
Efficiency & Optimization Helps industries optimize energy, transportation, and logistics.
Benefit Description
✔ High Data Volume – IoT generates vast amounts of data that need efficient processing.
✔ Network Latency – Delays in data transmission can impact real-time applications.
✔ Security Risks – Data must be encrypted to prevent cyber threats.
✔ Data Accuracy – Sensors must be calibrated to ensure reliable readings.
Features of Raspberry Pi
✔ Microprocessor: ARM-based CPU (Broadcom SoC).
✔ RAM: 512MB to 8GB (depending on model).
✔ Connectivity: Wi-Fi, Bluetooth, Ethernet, USB ports.
✔ Storage: Uses microSD card for OS and data storage.
✔ OS: Runs Raspberry Pi OS (Linux-based) or other operating systems like Ubuntu, Windows IoT
Core.
Example Use Case: A Raspberry Pi can be used to create a home automation system that
controls lights and temperature based on sensor data.
Headless Mode means using Raspberry Pi without a monitor, keyboard, or mouse. Instead, it
is accessed remotely via a network using SSH (Secure Shell) or VNC.
1⃣ In the boot partition of the microSD card, create a file named wpa_supplicant.conf.
2⃣ Open the file and add the following Wi-Fi credentials:
ini
CopyEdit
country=IN
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="Your_WiFi_Name"
psk="Your_WiFi_Password"
key_mgmt=WPA-PSK
sh
CopyEdit
ssh pi@<RaspberryPi-IP>
3⃣ If connected successfully, the terminal will now let you control Raspberry Pi remotely.
sh
CopyEdit
sudo raspi-config