IOT Sem Re-Notes
IOT Sem Re-Notes
UNIT-1
Long Answers:
1. define IOT.
Big data and IoT are strongly linked as IoT devices generate vast amounts of
data, known as IoT data, which necessitates the utilization of big data
technologies for effective management, processing, and analysis.
Big data analytics techniques enable organizations to extract valuable insights
from IoT data, leading to improved operational efficiency, predictive
maintenance, and data-driven decision-making.
3. list various communication API’s used in IOT.
Applications of IOT:
Long answers:
a)JSON
The Python JSON package provides functions for encoding and decoding data in
JSON (JavaScript Object Notation) format. JSON is a lightweight data
interchange format widely used for data serialization and communication
between systems.
b)XML
The Python XML package provides functions for working with XML (eXtensible
Markup Language) data. XML is a markup language used for structuring and
representing data in a hierarchical format.
c) HTTP lib and URL lib
d) SMTP lib
***2. give the diagram and architecture of Raspberry Pi.(components of Raspberry Pi)
**3. explain about the Raspberry Pi interfaces SPI and I2C.
**4. write python program to interface LED with Raspberry pi.(blinking of LED)
import RPi.GPIO as g
from time import sleep
from gpiozero import LED
g.setwarnings(False)
g.setmode(g.BCM)
led=LED(17)
g.setup(17,g.OUT)
while(True):
led.on()
sleep(1)
led.off()
sleep(1)
Short answers:
The MOSI and MISO terminals are master out slave in and master in
slave out terminals, respectively, that are used in the spi interface.
The MOSI pin is responsible for transmitting bits from the master to
the slave. The MISO pin is used to transfer information from one
slave to another.
2. what is the difference between a conventional desktop computer and a Raspberry Pi.
Operating Support for various operating systems Primarily runs Linux-based OS like Raspberry Pi
System (Windows, macOS, Linux) OS, Ubuntu, specialized distributions
Size and Form Larger size, housed in tower or Compact size, small form factor, suitable for
Factor desktop cases embedded systems and DIY projects
Long answers:
***1. Explain IOT system management with NETCONF-YANG with diagram. (give required steps)
NETCONF:
YANG:
SDN architecture
A typical representation of SDN architecture comprises three layers: the
application layer, the control layer and the infrastructure layer. These layers
communicate using northbound and southbound application programming
interfaces (APIs).
Application layer
The application layer contains the typical network applications or functions
organizations use. This can include intrusion detection systems, load
balancing or firewalls. Where a traditional network would use a specialized
appliance, such as a firewall or load balancer, a software-defined network
replaces the appliance with an application that uses a controller to
manage data plane behavior.
Control layer
The control layer represents the centralized SDN controller software that
acts as the brain of the software-defined network. This controller resides on
a server and manages policies and traffic flows throughout the network.
Infrastructure layer
The infrastructure layer is made up of the physical switches in the network.
These switches forward the network traffic to their destinations.
APIs
These three layers communicate using respective northbound and
southbound APIs. Applications talk to the controller through its northbound
interface. The controller and switches communicate using southbound
interfaces, such as OpenFlow, although other protocols exist.
SDN is a great option for large, complex networks that require lots of up-time. It
gives engineers the ability to re-route networks on the fly. For example, when an
outage occurs, a software defined network can be configured to automatically
reroute around that area and maintain the connections your users need.
2. More Efficient Network Management
SDN offers real-time visibility into your network performance. This visibility gives
you the ability to optimize your network’s performance and to drive its efficiency
(as well as that of your team’s).
3. Cost-Savings
In the past, the most effective way to ensure network availability was through
redundancy, which of course comes with additional equipment and circuits and
costs. Because SDN offers the real-time ability to automatically reroute or to
stand-up new functions and routes, you can increase your nines of uptime without
adding new hardware and increasing costs.
4. Faster Scalability
SDN offers automated scaling-up (and scaling down). This ability, combined with
the additional visibility it brings, gives engineers the operational ability to
normalize traffic across a wide space, and to do it quickly and seamlessly.
Separating network functions from hardware yields numerous benefits for the network
operator, which include:
1. define M2M.
Long answers:
***1. explain about the various cloud storage models. (Service and deployment models)
Service models:
Deployment models:
**2.a)exlpain Importance of cloud In IOT solutions and explain how Xively supports these
functions. explain the steps involved in Xively cloud deployment model for IOT solution.
b) write program for sending temperature data to Xively Cloud and explain its operation.
A)
The cloud plays a crucial role in IoT (Internet of Things) solutions and offers
several important benefits. Some of them are:
1. Scalability and Flexibility
2. Data Storage and Processing
3. Connectivity and Integration
4. Remote Management and Monitoring
5. Security and Reliability
6. Cost-Efficiency
Xively supports above mentioned functions by:
Scalability and Flexibility:
Xively offers a scalable cloud infrastructure that can handle large-scale IoT
deployments and accommodate the growing number of connected devices.
Data Storage and Processing:
Xively provides secure and reliable data storage for IoT data. It offers a time-
series data store optimized for storing and querying large volumes of time-
stamped IoT data.
Connectivity and Integration:
Xively supports seamless connectivity with IoT devices using standard protocols
such as MQTT and RESTful APIs.
Remote Management and Monitoring:
Xively offers comprehensive device management features, allowing
organizations to remotely manage and monitor their IoT devices.
Security and Reliability:
Xively incorporates robust security measures to protect IoT data and
infrastructure. It offers secure authentication, encryption, and access controls
to ensure the confidentiality and integrity of data.
Cost-Efficiency:
Xively follows a pay-as-you-go pricing model, allowing organizations to optimize
costs based on their usage.
Long answers:
***1. determine the various communication models that can be used for weather monitoring
system. Which model is appropriate? Describe the pros and cons.
The most appropriate model would be the Publisher – Subscriber model due to
its efficient data distribution , Scalability and Decoupled communication
between monitoring devices and subscribers.
**3. explain how IOT plays a vital role in agriculture, and propose an architecture to realize your
solution.
IoT plays a vital role in agriculture by enabling precision farming, optimizing
resource utilization, improving crop yield, and automating various tasks. Here is
a proposed architecture to realize an IoT solution for agriculture:
1. Sensing Layer:
• Deploy various sensors in the agricultural field to collect data on soil
moisture, temperature, humidity, light intensity, and other relevant
parameters.
• Use sensors such as weather stations to gather real-time weather data.
• Implement livestock monitoring sensors to track animal health and
behavior.
2. Connectivity Layer:
• Establish a robust and reliable network infrastructure, such as wireless
connectivity (e.g., Wi-Fi, LoRaWAN, or NB-IoT), to connect the sensors
and devices.
• Ensure sufficient network coverage across the agricultural area to
facilitate seamless data transmission.
3. Data Collection and Processing:
• Collect data from the sensors in real-time and transmit it to a centralized
data collection point.
4. Decision Making and Control:
• Utilize data analytics and machine learning algorithms to make informed
decisions.
• Implement automated control systems to regulate irrigation, fertilization,
and pest control based on data-driven insights.
5. Visualization and User Interface:
• Develop a user-friendly interface, such as a web portal or mobile
application, to provide farmers with real-time information and control
over their agricultural operations.
6. Integration and Scalability:
• Ensure interoperability and seamless integration with existing
agricultural systems and equipment.
**4. explain how IOT plays a vital role in healthcare, and propose an architecture to realize your
solution.
IoT plays a vital role in healthcare by revolutionizing patient care, improving
diagnostics, enhancing treatment outcomes, and enabling remote monitoring.
Here is a proposed architecture to realize an IoT solution for healthcare:
1. Sensing Layer:
• Deploy wearable devices, biosensors, and medical devices to collect real-
time patient data such as heart rate, blood pressure, temperature,
oxygen levels, and other vital signs.
• Utilize smart beds, smart pill dispensers, and RFID tags to track patient
movements, medication adherence, and inventory management.
2. Connectivity Layer:
• Establish a secure and reliable network infrastructure, such as Wi-Fi or
Bluetooth, to connect the sensors, medical devices, and other healthcare
systems.
• Implement robust security protocols and encryption to protect patient
data during transmission.
3. Data Collection and Processing:
• Collect and transmit patient data from the sensors to a centralized
healthcare data management system.
4. Decision Making and Treatment:
• Utilize artificial intelligence and machine learning algorithms to analyse
patient data, detect anomalies, and provide predictive insights for early
diagnosis and treatment.
• Develop decision support systems that provide healthcare professionals
with real-time alerts, recommendations, and treatment guidelines based
on the analysed data.
5. Remote Monitoring and Telehealth:
• Enable remote monitoring of patients' health conditions and provide
telehealth services.
• Implement remote monitoring devices and mobile apps for patients to
self-monitor and track their health conditions.
6. Integration and Interoperability:
• Integrate with existing healthcare systems such as electronic health
records (EHRs), hospital information systems (HIS), and pharmacy
systems.
By implementing this architecture, IoT can transform healthcare by improving
patient outcomes, enabling remote care, enhancing diagnostics, and facilitating
personalized medicine. It enables proactive healthcare interventions, real-time
monitoring, and early detection of health issues, leading to better patient care,
reduced hospital readmissions, and optimized resource utilization.
Short answers:
1. smart lighting
2.smart appliances
3.Intrusion detection
4. smoke/gas detectors
2. list out applications of RFID.
• Temperature sensors
• Pressure sensors
• Motion sensors
• Level sensors
• Image sensors
• Proximity sensors
• Water quality sensors
• Chemical sensors
• Gas sensors
• Smoke sensors
Motion sensors, Infrared sensors and Image sensors are used in smart parking.
4.how noise pollution can be monitored using IOT?
A smart grid is an electricity network that uses digital and other advanced
technologies to monitor and manage the transport of electricity from all
generation sources to meet the varying electricity demands of end users.
6. define CBR.
CBR stands for Case Based Reasoning. In CBR, a new problem is compared to a
library of previously solved cases, and a solution is derived by adapting or
modifying the solutions from similar cases. CBR relies on the principle that
similar problems tend to have similar solutions. It is commonly used in areas
such as decision support systems, diagnosis, and expert systems.
7. what is fleet tracking?
1. LED lighting
2. wireless connectivity using Wi-Fi or Zigbee
3. ambient light sensors
4. centralized control systems