Internet of Things (Iot) : Sensors
Internet of Things (Iot) : Sensors
one of the popular “technology buzz” terms. In today’s technological world, IoT
figures prominently in technology discussions due to its rapid growth. There are
multiple ways to define IoT.
Internet of Things refers to the network of physical devices, vehicles, home
appliances, and other items embedded with electronics, software, sensors, and
network connectivity, allowing them to collect and exchange data. The IoT
enables these devices to interact with each other and with the environment and
enables the creation of smart systems and services.
Some examples of IoT devices include:
Smart home devices such as thermostats, lighting systems, and security
systems.
Wearables such as fitness trackers and smartwatches.
Healthcare devices such as patient monitoring systems and wearable medical
devices.
Industrial systems such as predictive maintenance systems and supply chain
management systems.
Transportation systems such as connected cars and autonomous vehicles.
The IoT is transforming various industries, from healthcare and manufacturing to
transportation and energy. IoT devices generate vast amounts of data, which can
be analyzed to improve operations, drive innovation, and create new business
opportunities.
IoT systems are typically composed of several components, including IoT
devices, communication networks, gateways, and cloud-based data processing
and storage systems. IoT devices use sensors and other technologies to collect
data, and then send that data to the cloud for analysis and storage. The cloud also
provides a centralized platform for managing and controlling IoT devices and
networks.
IoT development involves a wide range of technologies, including wireless
communication protocols, cloud computing, big data analytics, machine
learning, and security technologies.
Overall, the IoT is a rapidly growing and evolving field that has the potential to
revolutionize a wide range of industries and transform the way we live and work.
As IoT devices and systems become increasingly widespread, the opportunities
for innovation and growth in this field will continue to expand.
According to the definition of IoT, It is the way to interconnect with the help of
internet devices that can be embedded to implement the functionality in everyday
objects by enabling them to send and receive data. Today data is everything and
everywhere. Hence, IoT can also be defined as the analysis of the data that
generates a meaningful action, triggered subsequently after the interchange of
data. IoT can be used to build applications for agriculture, assets tracking, energy
sector, safety and security sector, defense, embedded applications, education,
waste management, healthcare product, telemedicine, smart city applications,
etc.
Components :
Here, you will see the smart home components like smart lighting, smart
appliances, intrusion detection, smoke/gas detector, etc. So, let’s discuss
it.
Component-1 :
Smart Lighting –
Smart lighting for home helps in saving energy by adapting the life to
the ambient condition and switching on/off or dimming the light when
needed.
Smart lighting solutions for homes achieve energy saving by sensing
the human movements and their environments and controlling the
lights accordingly.
Component-2 :
Smart Appliances –
Smart appliances with the management are here and also provide
status information to the users remotely.
Smart washer/dryer can be controlled remotely and notify when the
washing and drying are complete.
Smart refrigerators can keep track of the item store and send updates
to the users when an item is low on stock.
Component-3 :
Intrusion Detection –
Home intrusion detection systems use security cameras and sensors
to detect intrusion and raise alerts.
Alert can we inform of an SMS or an email sent to the user.
Advanced systems can even send detailed alerts such as an image
shoot or short video clips.
Component-4 :
Smoke/gas detectors –
Smoke detectors are installed in homes and buildings to detect smoke
that is typically an early sign of Fire.
It uses optical detection, ionization for Air sampling techniques to
detect smoke.
Gas detectors can detect the presence of harmful gases such as CO,
LPG, etc.
It can raise alerts in the human voice describing where the problem is.
Domain specific iot-cities
IoT can be used in many ways to make cities more efficient ranging
from managing the traffic, controlling air pollution, handling waste
management, creating smart buildings, planning for natural
disasters, etc. So let’s see how modern technologies combined with
civic planning can result in smart cities that are more efficient and
cost-effective.
1. Traffic Management
It is important to control the traffic in cities otherwise there are huge
traffic jams in popular places and totally empty streets otherwise.
This also depends on the design and layout of the roads but it can
be managed by having smart traffic lights. For example, the traffic
lights should automatically adjust according to the volume of the
traffic so that green lights should have a longer duration where
there more traffic and shorter duration when the streets are empty.
Sensors can also be embedded in roads and bridges to monitor
their conditions so that they can be repaired when there is much
wear and tear. After all, roads with potholes are also a major cause
of traffic pollution!
2. Air Pollution
Air pollution is a major problem in many metropolitan cities where
the particulate matter in the air is so high it is damaging to the lungs
in the long run. But IoT along with machine learning can be used to
reduce air pollution. This is possible by collecting data related to city
pollution like emissions from vehicles, pollen levels, airflow
direction, weather, traffic levels, etc using IoT from various sources
and then calculating pollution forecasts to see the trends in pollution
so they can be controlled.
3. Healthcare
Healthcare is an extremely important aspect of life, especially in
current times when non-communicable diseases like heart problems
and cancer are increasing in big cities while there are still a lot of
deaths from infectious diseases in poorer places. In such a
situation, IoT technology can surely help in enhancing the
healthcare system so that the best healthcare is received by
everybody. One example of this is microbots that can directly enter
the bloodstream and reach any place inside the body to deliver
medicines. Another application of IoT and sensors in healthcare is
remote patient monitoring wherein patients can be monitored 24/7
and emergency responders called if there are any problems.
4. Public Transport
Public transport, whether it be buses or trains, are at the heart of
any city. This is especially true in big cities where there are big
traffic jams and the metro train can be a lifesaver! However, smart
public transport can streamline traffic and also make commuters’ life
much easier. It is very convenient when the trains and buses are
connected with a single app and you know exactly when the next
service will arrive and how long you need to wait. In addition to that,
predictive analytics can be used to optimize the routes of public
transport which provide maximum benefit and minimum cost.
5. Water Management
There is no life without water! But water is also a finite resource
which is reducing at an alarming rate. Therefore, using smart water
management techniques in cities so that water can be conserved
for future generations is a good idea. Sensors can be used to
monitor water levels, pipe conditions, tank pressures, etc. in
municipal water pipelines and tanks to optimize water management.
These will ensure that water is not wasted and that problems like
leaky pipes or high pressure in tanks can be handled without any
loss of water. Sensors can also be used to monitor the groundwater
levels so that they can be replenished if there is a groundwater
shortage.
6.Buildings
Cities are obviously incomplete without buildings and larger cities
have a lot of skyscrapers as well. Now the challenge is to build
smart buildings using IoT where all the functionalities like lighting,
air conditioners, heating, security, etc. can be connected and
controlled from a single source. This will reduce the costs of
operating a building as well as increase efficiency. For example, air
conditions and heaters in a building can be set to change the
internal temperature according to the outside temperature. Sensors
can also be used to monitor the air quality inside the building and
also automatically switch on lights only when there are people. All
these actions will save a lot of energy and also reduce the electricity
bill!
7. Waste Management
Waste management systems in a city can be optimized so that
there is efficient waste collection and disposal which helps in
keeping the city clean and hygienic. After all, mismanagement of
waste can lead to contamination of the soil, air, and water as well
as provide a breeding ground for a host of bacteria (not to mention
the horrible smell!) But IoT technology with sensors in the waste
bins can be used to find when the bins are full and dispose of them
accordingly. This is better than just disposing the waste on
particular days only when the bind might not be full sometimes or
overflowing with the danger of contamination on other days.
8. Parking
It doesn’t sound like parking is a problem but it is actually a big
headache, especially in large cities. Less available space means
that drivers have to waste their time finding parking spaces and
increase road traffic in this process ( while also becoming more and
more irritated!) This issue can be solved by using IoT connected
sensors around the city that point out the empty parking spaces
around wherever your destination is. This data will also allow city
officials to see where there is congestion due to less parking space
and where there is lots of empty space available. This can then be
used to optimize parking and prevent traffic jams as well as driver
irritation!
9. Natural Disaster Management
It is not possible to prevent natural disasters like hurricanes,
earthquakes, tsunamis, etc. but it is entirely possible to anticipate
these disasters before they occur and then manage them
effectively. For example, sensors in combination with IoT can be
used to anticipate when earthquakes are going to occur by
analyzing the makeup of the ground, seismic plate interaction,
energy propagation in the ground, etc. Similarly, sensors can be
used to obtain flood detection data like river level readings, rainfall
records, terrain and elevation of an area, etc. to predict when and
where a flood might occur and the severity of the flood as well.
10. Infrastructure
The infrastructure of a city i.e. its roads, buildings, etc are
essentially what form the city. And smart infrastructure is a very
important part of creating a smart city. This includes using IoT along
with sensors to use technology intelligently which can save energy
and cost for a city. An example of this is using smart streetlights
along the roads that only turn on when they detect motion and stay
off the rest of the time. This will definitely save energy and reduce
the cost to the city
UNIT-III
Contents [hide]
1 Introduction to IoT Design Methodology
2 1. Purpose and Requirements Specification
3 2. Process Specification
4 3. Domain Model Specification
5 4. Information Model Specification
6 5. Service Specifications
7 6. IoT Level Specification
8 7. Functional View Specification
9 8. Operational View Specification
10 9. Device and Component Integration
11 10. Application Development
Data
System should perform local analysis of the data
Analysis
The use cases of the IoT system are formally described based on or
derived from the purpose and requirements specifications. The process
specification for home automation system is as shown below.
3. Domain Model Specification
The domain model describes the main concepts, entities and objects in the
domain of the IoT system to be designed. Domain model defines the
attributes of the objects and relationships between objects. The domain
model is independent of any specific technology or platform.
Using domain model, system designers can get an understanding of the
IoT domain for which the system is to be designed. The entities, objects
and concepts defined in the domain model of home automation system
include the following:
Information model defines the structure of all the information in the IoT
system. Does not describe how the information is stored and represented.
To define the information model, we first list the virtual entities. Later more
details like attributes and relationships are added. The information model
specification for home automation system is as shown below:
5. Service Specifications
For each state and attribute in the process specification and information
model, we define a service. Services either change the state of attributes or
retrieve their current values. The service specification for each state in
home automation systems are as shown below:
6. IoT Level Specification
The functional view defines the functions of the IoT systems grouped into
various functional groups. Each functional group provides functionalities for
interacting with concepts in the domain model and information related to
the concepts.
The functional groups in a functional view include: Device, Communication,
Services, Management, Security, and Application. The functional view
specification for home automation system is shown in the below figure:
The mapping between the IoT level and the functional groups is as shown
in the below figure.
8. Operational View Specification
In this step, various options related to the IoT system deployment and
operation are defined, such as:
Storage options
Device options
The options chosen for home automation system are as shown in the
below figure.
9. Device and Component Integration
In this step the devices like sensors, computing devices and other
components are integrated together. The interconnection of different
components in our home automation system are as shown in the figure
given below.
10. Application Development
Using all the information from previous steps, we will develop the
application (code) for the IoT system. The application interface for home
automation system is shown below.
UNIT-IV
Introduction to Python
•
Installing Python
•
Python Data Types & Data Structures
•
Control Flow
•
Functions
•
Modules
•
Packages
•
File Input/Output
•
Date/Time Operations
•
Classes
PYTHON