IoT Sensors: Types and Applications
IoT Sensors: Types and Applications
AI and machine learning are being used by IoT devices more frequently to add intelligence
and autonomy to industrial smart manufacturing, medical equipment, home automation, and
autonomous driving, among other systems and processes. Numerous of these gadgets are
microcontroller-based systems that are compact, inexpensive, and have limited power.
Increased demand for on-device processing—data processing on the IoT endpoint instead of
using cloud-based methods—is being driven by network capacity constraints as well as
consumer expectations around data privacy and user experience.
IoT sensors are hardware components that gather data and identify environmental changes.
These are the components of an Internet of Things ecosystem that connect the virtual and real
worlds. IoT sensors may measure variables like pressure, temperature, and motion. They can
also communicate data with a network if they are connected to one.
There is a wide range of shapes and sizes of sensors available. The several sensors that can be
used for common applications are defined in the following section.
i. Temperature Sensors
Temperature sensors determine the amount of heat generated by a substance or space. They
log their observations as data when they detect a change in temperature. Temperature sensors
are used in many different areas, such as manufacturing, healthcare, and agriculture.
Examples include resistor temperature detectors (RTD), thermocouples, and resistors.
Figure 2.1 (a): Room Temperature Sensor Figure 2.1 (b): Body Temperature Sensor
Sensor Precision: Readings of 98.28 kg, 100.34 kg, and 101.11 kg after three repeat
measurements for an actual mass of 100 kg. Because of the notable differences in the
temporal readings for the same object under the same conditions, the sensor precision is
therefore not considered high.
There are numerous chances to enhance how firms run thanks to the Internet of Things (IoT).
The Internet of Things has improved automation processes by using sensors to gather vast
volumes of data. A sensor gathers information from dependable sources, which is then put to
use for a number of uses.
Application of the hybrid sensing concept can be implemented for following application.
(A) The sensing system is made up of a self-carried visual tracking system and a dual
displacement sensor system (rotary and linear encoders).
(b) A 3-D illustration of the self-carried visual tracking system. It tracks a visual marker that
is fastened to the rear of a front ring by fixing the probe cameras to a ring-shaped structure,
creating a paired observe-reference camera & marker array.
2.1.4 Virtual Sensing
There are several types of sensors on the market that can be applied to various situations. In a
similar vein, the number of sensors utilized in mobile devices is rising quickly. A virtual
sensor is used to estimate the characteristics of the output otherwise conditions of the process,
with the help of mathematical models that take readings from an additional physical sensor to
compute the expected condition or attribute. By substituting hardware sensors with AI model-
based software sensors that have been trained with historical data, virtual sensors offer
information on physical parameters that are costly and difficult to monitor. Technically
speaking, a virtual sensor provides an indirect value for tracking the target parameter by
identifying correlations between the measured parameter and other parameters of interest.
i. I/O Peripherals: The auxiliary parts that connect with the processor and memory to
enable a microcontroller to communicate with the outside world are known as input/output
(I/O) peripherals. Receiving input data and providing output data to external devices
including sensors, displays, and communication modules are the responsibilities of these
peripherals. A microcontroller's I/O peripherals can be divided into several sorts, including
PWM, digital and analog I/O, and communication interfaces like SPI, I2C, and UART.
ii. Memory: Another essential part of a microcontroller is memory. Its job is to store the
information and instructions needed for the microcontroller to carry out its functions.
Typically, microcontrollers contain two kinds of memory:
Program Memory (ROM)
Data Memory (RAM)
Through switches, displays, and sensors, the I/O peripherals enable the microcontroller to
communicate with the external environment. The microcontroller's clock regulates the timing
of every action, making sure that activities are completed at exact intervals. In order to
balance processing speed and power consumption, this clock can also be modified. A
microcontroller runs code that is kept in memory when it is powered on. Through a
programming interface, this code can be pre-programmed or later loaded into the
microcontroller. The microcontroller can read data from sensors, carry out computations, and
regulate output to devices like motors or displays while it runs code.
The real-time functionality of microcontrollers is one of their main features. Because of their
control application design, they have the ability to react fast to changes in input and produce
output instantaneously. They are therefore perfect for uses like automation and robotics.
Examples of Microcontroller
Large, due to
Size external memory and Small, as memory and I/O are integrated.
I/O connections.
Suitability for
Not suitable due to
Compact Suitable, ideal for compact systems.
size and complexity.
Systems
High, due to the
Cost need for additional Low, with most required components on-chip.
external components.
High, external
Power Low, fewer external components and integrated
components increase
Consumption design reduce power usage.
power usage.
RAM, ROM, I/O RAM, ROM, CPU, and peripherals are embedded on
Component
units are external. a single chip.
Lacks power-saving
Power Saving Includes power-saving modes for efficiency.
features.
Fewer, which may
Registers limit some More, supporting a wide range of functions directly.
operations.
Often based on the
Von Neumann
Typically based on the Harvard architecture,
Architecture model, where
separating program and data memory.
program and data
share memory.
A central processing
unit requiring
Integration A comprehensive system on a chip, including CPU
additional
Level and peripherals.
components for full
functionality.
Instruction Set Complex, with a Simpler, with fewer instructions needed for its
Complexity large number of targeted tasks.
instructions.
Can run at very high
speeds, suitable for Limited to up to 200MHz or more, sufficient for
Speed
complex computing many embedded applications.
tasks.
Pi 1 Model B (2012)
Pi 1 Model A (2013)
Pi 1 Model B+ (2014)
Pi 1 Model A+ (2014)
Pi 2 Model B (2015)
Pi Zero (2015)
Pi 3 Model B (2016)
Pi Zero W (2017)
Pi 3 Model B+ (2018)
Pi 3 Model A+ (2019)
Pi 4 Model A (2019)
Pi 4 Model B (2020)
Pi 400 (2021)
The Arduino Software (IDE) establishes a connection with the Arduino boards in order to
upload and communicate with programs. Sketches are programs created with the Arduino
Software (IDE). These drawings are created in a text editor and stored as files with a certain
extension is .ino.
Toolbar: Toolbar containing several options and buttons for frequently used
operations. You can create, open, save, and verify programs with the toolbar buttons.
You can also open the serial monitor and create, open, and validate drawings.
Message Area: In addition to displaying faults, the message box provides feedback
during exporting and saving.
Text Editor: The text editor for writing your code.
Text Console: The text console displays text output by the Arduino Software (IDE),
including complete error messages and other information.
Energy can be converted into motion by IoT actuators, which are mechanical or
electromechanical devices. By fusing energy sources and electrical impulses, they are able to
manipulate the surrounding physical environment.
Actuators work by utilizing motion energy or heat. In the meantime, sensors use
electrical impulses to keep an eye on the surroundings.
Electrical signals are converted into physical actions by actuators. Sensors then
convert physical attributes into electrical impulses.
Actuators monitor the outputs of the machine, and sensors record
IoT systems use the required IoT communication technologies to integrate with different
types of actuators. Several types of actuators in the Internet of Things are as follows:
Hydraulic actuators use the power generated by a cylinder or fluid motor to perform
mechanical tasks. The actuator transforms mechanical motion into rotary, linear, or
oscillatory motion based on the requirements of the IoT device. Experts in heavy-duty
machinery, including construction equipment, use them.
The mechanical motion is converted to rotational, linear, or oscillatory motion based on the
needs of the Internet of Things device. Hydraulic actuators are utilized in former construction
equipment because of their high force output. High force and speed can be produced via
hydraulic actuators. Used for lowering or raising the vehicles in car transport carriers.
Mechanical actuators change the form of motion from one type—like rotational motion—to
another, like linear motion. They rely heavily on their parts, which include chains, gears, and
rails. Braking systems, racks, and pinions are compatible with mechanical actuators. A
mechanical actuator is a device that translates rotational motion into linear motion. In
addition to their current use in industry, sensors and actuators will find increased use in
commercial and home applications as the Internet of Things expands.
2.6.3 Electric actuators
Electrical energy is transformed into mechanical motion by electric actuators. They provide
accurate and dependable motion and are suitable for robotics equipment, electric vehicles,
and home automation (e.g., smart locks). Electric actuators work by converting electrical
energy into mechanical torque, typically through the use of a motor. An electric bell with a
solenoid as its basis is an example of an electric actuator.
2.6.4 Thermal actuators
Electrical devices do not operate thermal actuators. They are constructed of a temperature-
sensitive substance that, in response to variations in temperature, causes linear motion.
Systems for air conditioning, ventilation, and heating frequently use thermal actuators.
Thermal or mechanical energy is used to actuate them. These actuators use Shape Memory
Alloys (SMAs) or Magnetic Shape-Memory Alloys (MSMAs). A piezo motor with SMA can
serve as an illustration of a thermal/magnetic actuator.
Pneumatic actuators can move mechanically in a straight or circular path using compressed
air or gas. Since they don't produce sparks, they are especially appropriate for situations
involving ignition or fire dangers. In addition, pneumatic actuators control the flow of air by
opening or closing valves. A pneumatic actuator can provide either linear or rotating motion
by using the energy created by a vacuum or highly compressed air. Example: In robotics,
sensors that function similarly to human fingers through the use of pressurized air are used.
The challenge of storing, analyzing, and retrieving vast volumes of data has emerged as a
result of technology's explosive growth. Utilizing cloud and Internet of Things technology
together is a great breakthrough. New monitoring services and robust processing of sensory
data streams will be enabled when combined. For instance, sensor data can be uploaded to the
cloud and stored there for use in the future for intelligent monitoring and device activation.
The objective is to turn data into insights that will motivate efficient and fruitful action.
i. IoT Cloud Computing provides many connectivity options, implying large network
access. Mobile devices, tablets, and laptops are just a few of the many gadgets people use
to access cloud computing resources. Although this makes it convenient for consumers, it
also raises the issue of network access points being required.
ii. IoT cloud computing is available to developers on demand. To put it another way, it's an
online service that can be accessed without assistance or specific permission. Access to
the Internet is the sole prerequisite.
iii. Users can scale the service to suit their needs based on the requests. Quick and adaptable
means you may adjust the number of users, change the software settings, and increase
storage capacity. This feature makes it feasible to offer deep processing and storage
capacity.
iv. Resource pooling is implied by cloud computing. It encourages greater teamwork and
fosters strong user relationships.
v. Security issues surface as the amount of automation and IoT devices in use increases.
Businesses can rely on trustworthy encryption and authentication protocols thanks to
cloud solutions.
vi. The benefit of IoT cloud computing is that you receive the correct value for your money.
This implies that prices change based on usage because the provider tracks your usage
patterns. To communicate data between network components and connect to the Internet,
an expanding network of objects with IP addresses is required.
AWS develops its own network infrastructure in order to set up datacenters in various
locations, primarily across the globe. The foundation of AWS's operations and services is its
worldwide infrastructure. It makes it easier for users to use Amazon Virtual Private Clouds to
create secure environments. Utilizing the compute and storage service with elastic scaling
requires the use of essential services like Amazon EC2 and Amazon S3. With services like
Elastic Load Balancing (ELB) and Auto scalability, it facilitates the dynamic scalability of
applications. It offers users a user-friendly AWS Management Console that makes it easy for
them to configure and manage AWS services. Because of its fault tolerance and high
availability architecture, AWS is a strong and flexible cloud computing platform.
AWS Services
i. Elastic Compute Cloud (EC2): The acronym for Elastic Compute Cloud is EC2.
AWS's cloud platform offers an on-demand computing service called EC2. It falls
under computing and covers all the features that a computer device may provide for
you as well as the adaptability of a virtual environment. Additionally, it enables the
user to modify their instances to meet their needs, such as allocating RAM, ROM, and
storage in accordance with the demands of the active work. When the virtual device's
function is finished and it is no longer needed, even the user can disassemble it. for
making all of these scalable resources available. Every month at the end, AWS bills
you a certain amount, which is totally based on how much you use.
ii. Simple Storage Service (AWS S3): AWS provides a vast array of storage services
that are configurable based on the needs and use cases of your project. For the purpose
of preserving extremely secret data, often accessed data, and regularly accessed
storage data, AWS offers a variety of storage services. A variety of storage service
types are available for you to select from, including backups, data migration options,
file storage, block storage, and object storage as a service.
iii. AWS Lambda: An Amazon server less computing system called AWS Lambda
executes code and takes care of the underlying computing resources, such as (EC2). It
is a computer service that is event-driven. It enables the automatic execution of code
in response to a variety of events, including state transitions, HTTP requests from the
Amazon API gateway, and table updates in Amazon DynamoDB. It also lets the user
build their own back-end services and extend to other AWS services with custom
logic. Simply create the code, for instance, and upload it as [Link] file or any other type
of container image. Code is executed on high-availability computer infrastructure to
operate the service. AWS Lambda comes in pretty helpful if you know how to write
code but are unsure about how to provision the underlying infrastructure in AWS.
AWS Lambda will promptly scale up the applications in the event of an unplanned
spike in traffic; conversely, it will scale down to zero in the event of a drop in
incoming traffic.
iv. Amazon Virtual Private Cloud: Amazon Virtual Private Cloud (VPC) is also
referred to as the private cloud inside the cloud. It is a grouping of logical servers
within a specific network. The servers you intend to set up in the Virtual Private
Cloud (VPC) will be completely isolated from all other servers located within the
architecture of Amazon Web Services. You have complete control over the IP address
that virtual machines are issued, as well as the route tables and gateways that go to the
VPC. Security groups and network access control lists can help you further safeguard
your application.
Figure 2.25: Amazon Web Server
Adopting Internet of Things Communications APIs has several advantages. One of the main
advantages is that they provide a standard way to connect to IoT devices, which makes it
easier for developers to create services and apps that are compatible with a wide range of
devices. As a result, developers can save a great deal of time and effort, as they are not need
to set up unique communication protocols for every device they wish to communicate with.
APIs for IoT communications can also help to improve security. By providing a standardized
communication way with IoT devices, APIs may help guarantee that devices interact securely
and that data is encrypted and protected from unwanted access. Data breaches and other
security-related problems may be avoided with our help.
i. REST APIs: REST APIs are a popular option because they provide an easy-to-use and
scalable way to expose IoT device capabilities online. Developers can construct innovative
IoT-powered applications by utilizing REST APIs to access and modify IoT devices and
data. REST-based Internet of Things communications APIs are based on the same
principles as standard REST APIs, but they prioritize IoT-specific features and resources.
For instance, an IoT Communications API might offer resources like data streams,
actuators, or sensors.
ii. MQTT APIs: A lightweight messaging protocol called MQTT (Message Queuing
Telemetry Transport) is used in IoT Communications APIs to connect devices to the
cloud. MQTT is a great option for Internet of Things applications since it was designed to
be dependable, efficient, and easy to use. Devices can send messages to specific topics
using subscribe messaging model and receive messages from topics they have subscribed
to. Apart from these APIs, there exist IoT Communications Platforms that provide a
comprehensive end-to-end solution for IoT communication. Pre-built APIs, dashboards for
data visualization, and other tools that facilitate the development process are frequently
included in these platforms.
iv. CoAP APIs: The protocol known as Constrained Application Protocol (CoAP) is utilized
in communications APIs for devices and networks with limited resources. It is a
straightforward protocol for using the internet to access and modify IoT device resources.
CoAP is a low-overhead protocol that requires minimal header information and small
message sizes. It is hence ideal for usage in Internet of Things devices with modest
processor and memory capacities. Additionally, CoAP is designed to interact with
restricted networks, like IEEE 802.15.4 or 6LoWPAN-based networks.
2.10 IoT Smart Objects
The fundamental building block for Internet of Things applications is provided by smart
objects. Similar to a computer, a smart object is usually intended to fulfill a single purpose
rather than providing a general-purpose platform that can handle several [Link] object is
considered smart if it improves communication with people and other smart objects. The
Internet of Things (IoT) is a network of interconnected heterogeneous items that are uniquely
addressable and based on standard communication protocols. Examples of these objects
include smart devices, smart objects, sensors, actuators, RFID, embedded computers, etc.
These items are networked and can help us in our daily lives (smart homes, smart cities)
regardless of the circumstance, size, and scenario, risk of hazard, localization, or accessibility
to a sensor.
Numerous uses in fields like factory monitoring, home automation, building automation,
smart cities, energy management, smart grid, smart grid and transportation are made possible
by smart items.
Edge computing: The use of edge computing in manufacturing can dramatically lower
manufacturers' carbon footprints. Energy usage is minimized during sensor data
processing when it happens at the edge. Real-time monitoring is also made possible by
edge computing that incorporates sensors.
Industrial IoT: The Industrial Internet of Things (IIoT) is an ecosystem that uses
wireless sensors, devices, apps, and networking equipment to analyze, monitor, and
control industrial activities. IIoT sensors provide automated condition monitoring of
industrial systems and devices.
iv. Hyper Text Transfer Protocol (HTTP): The HTTP paradigm was already mentioned in
passing. The purpose of the Hypertext Transfer Protocol (HTTP) was to allow data
transfer between computers (servers) and clients. Users can print three-dimensional
objects to any networked 3-D printer from any computer with an internet connection by
using this program. However, because of the volume of data it makes available, the HTTP
protocol is crucial in many industries, such as 3-D printing and manufacturing. The World
Wide Web (WWW) data sharing protocol was created to make it easier. It makes sense,
then, that it would be used to the Internet of Things.
A network is an assembly of linked, communicative devices. The device that either receives
or transmits data can be a computer, printer, or scanner. The network refers to the linked
devices as "Nodes," and the connecting methods include wired and wireless.
Performance: There are numerous techniques to measure performance include the response
and transit times. Numerous elements affect a network's performance, such as the quantity of
users, the kind of transmission media, the capabilities of the hardware that is linked, and the
effectiveness of the software.
Transit time: The amount of time a node needs to send a message from the start to the
last character. Transmission is what transit stands for.
Response time: The amount of time it takes a node to process and reply to a request or
inquiry from another node or device. It is the interval of time between the finish of the
query to the start of the response.
Throughput: The amount of data that is successfully sent in a certain amount of time
from the sender node to the recipient node is measured by throughput. Bits per second
or data per second are used to measure it.
Bandwidth: The network's highest feasible throughput capacity. In bits, megabits, or
gigabits per second, we can measure it. It establishes the upper bound.
Latency/Delay: We spoke about how throughput is the
Reliability: Network reliability is determined by the frequency of failures, the time it takes a
link to recover from a breakdown, and the resilience of the network during a disaster, in
addition to delivery accuracy.
Security: Protecting data from destruction and development, preventing unwanted access,
and putting policies and procedures in place for data loss recovery from branches are all
examples of network security challenges. It assesses the rules and processes the network puts
in place to safeguard itself against harm and illegal access, as well as how well it safeguards
the data in the face of errors and attacks. The frequency of breakdowns is examined in
reliability.
A technique called radio frequency identification, or RFID, employs radio waves to passively
identify an object that has been tagged. In order to uniquely identify an object or person,
RFID is a type of wireless communication that uses electromagnetic or electrostatic coupling
in the radio frequency region of the electromagnetic spectrum. It tracks, locates, and
communicates with objects and people using radio frequency. It is employed in many
business and industrial applications, including as monitoring the flow of goods via a supply
chain and recording the things that are checked out of libraries. RFID, or radio frequency
identification, is a technology that automatically recognizes and tracks tags affixed to items
using electromagnetic fields. Without a direct line of sight, the electrically stored information
on these tags can be read from a distance of several meters. Because RFID is so accurate and
efficient at identifying and controlling objects, it is frequently utilized in supply chain
logistics, asset tracking, inventory management, and access control.
Types of RFID
RFID systems can be classified according to the frequency spectrum in which they operate.
The magnitude of the radio waves that are utilized to communicate amongst system
components is referred to as frequency. Low frequency (LF), high frequency (HF), and ultra-
high frequency (UHF) bands are used by RFID systems all around the world.
For instance, a low frequency RFID system can read near metal and liquids better but has a
lower data transfer capacity. A system that operates at a higher frequency would often
transfer data faster and detect objects farther away, but radio waves are more susceptible to
interference from nearby liquids and metals. Additionally, systems can be divided into two
main categories: passive RFID and active RFID. This part shall examine the various RFID
system types and frequencies in the ensuing sections.
The range of frequencies in the LF band is 30 KHz to 300 KHz. While some LF RFID
devices function at 134 KHz, most of them run at 125 KHz. While it has a slower read speed
than the higher frequencies and a short read range of 10 cm, this frequency band is less
susceptible to radio wave interference. The many frequencies and reading powers that
function globally mean that the LF spectrum is not regarded as a frequency for global
applications. Animal control and access control are two common uses for LF.
There are 30 MHz to 3 MHz in the HF spectrum. With detection ranges of between 10 cm
and 1 m, the majority of HF RFID systems run at 13.56 MHz. The sensitivity of HF systems
to interference is modest. Applications for data transfer, payments, and ticketing are
frequently implemented with HF systems. For HF RFID, there are a few standards: The ISO
15693 standard pertains to item traceability, while the ISO / IEC 18092 and ECMA-340
standards cover Near Field communication, a technology that uses a short reading ratio to
transfer data between devices.
The 300 MHz to 3 GHz frequency range is covered by the UHF frequency band. RAIN RFID
systems operate in the 860–960 MHz band and adhere to the UHF Gen2 standard. While
frequency varies slightly between regions, RAIN RFID systems typically run between 900
and 915 MHz in much of the world. UHF RFID scanning systems have a transmission speed
of up to 12 meters, a high sensitivity to interference, and a reach exceeding 12 meters.
Numerous applications make use of RAIN RFID UHF systems.