Chapter 2
Chapter 2
Things in IoT
Sensor
• A Sensor is an electronic device that is used to
measure some sort of physical parameters (e.g.
temperature, pressure, light intensity, etc). The
output of an electronic sensor is an electrical
signal that is either analog or digital.
• Each sensor has a different working principle
depending on the physical construction and the
physical parameter it’s actually measuring.
• The common thing between all sensors is they
all convert a physical parameter (such as
temperature) to an electric signal.
• But each one has a specific transfer function
(for analog) or a specific communication bus
as SPI, UART, etc (for digital).
Classification of the sensors,
• Active Sensors are those which require an
external excitation signal or a power signal.
Ex. RADAR, GPS
• Passive Sensors, on the other hand, do not require
any external power signal and directly generates
output response. Ex. Light Dependent Resistor,
metal detecting
• The other type of classification is based on the
means of detection used in the sensor.
• Some of the means of detection are Electric,
Biological, Chemical, Radioactive etc.
• The next classification is based on conversion
phenomenon i.e., the input and the output. Some of
the common conversion phenomena are
Photoelectric, Thermoelectric, Electrochemical,
Electromagnetic, etc.
• The final classification of the sensors are Analog and
Digital Sensors.
• Analog Sensors produce an analog output i.e., a
continuous output signal (usually voltage but
sometimes other quantities like Resistance etc.) with
respect to the quantity being measured.
• Digital Sensors, in contrast to Analog Sensors work
with discrete or digital data. The data in digital
sensors, which is used for conversion and
transmission, is digital in nature.
• Different Types of Sensors
• The following is a list of different types of sensors that are
commonly used in various applications. All these sensors are used
for measuring one of the physical properties like Temperature,
Resistance, Capacitance, Conduction, Heat Transfer etc.
1. Temperature Sensor 2. Proximity Sensor
3. Accelerometer 4. IR Sensor (Infrared Sensor)
5. Pressure Sensor 6. Light Sensor
7. Ultrasonic Sensor 8. Smoke, Gas and Alcohol Sensor
9. Touch Sensor 10. Color Sensor
11. Humidity Sensor 12. Position Sensor
13. Magnetic Sensor (Hall Effect Sensor)
14.Microphone (Sound Sensor)
15. Tilt Sensor 16. Flow and Level Sensor
17. PIR Sensor 18. Touch Sensor
19. Strain and Weight Sensor etc.
• Temperature Sensor
• One of the most common and most popular
sensors is the Temperature Sensor. A
Temperature Sensor, as the name suggests,
senses the temperature i.e., it measures the
changes in the temperature.
• There are different types of Temperature
Sensors like Temperature Sensor ICs (like
LM35,DS18B20), Thermistors,
Thermocouples, RTD (Resistive Temperature
Devices), etc.
• Temperature Sensors can be analog or digital. In
an Analog Temperature Sensor, the changes in
the Temperature correspond to change in its
physical property like resistance or voltage.
• LM35 is a classic Analog Temperature Sensor.
• Coming to the Digital Temperature Sensor, the
output is a discrete digital value (usually, some
numerical data after converting analog value to
digital value). DS18B20 is a simple Digital
Temperature Sensor.
• Temperature Sensors are used everywhere like
computers, mobile phones, automobiles, air
conditioning systems, industries etc.
• Proximity Sensors
• A proximity sensor is a sensor able to detect the
presence of nearby objects without any physical
contact
• A Proximity Sensor is a non-contact type sensor that
detects the presence of an object. Proximity Sensors
can be implemented using different techniques like
Optical (like Infrared or Laser), Sound (Ultrasonic),
Magnetic (Hall Effect), Capacitive, etc.
• Some of the applications of Proximity Sensors are
Mobile Phones, Cars (Parking Sensors), industries
(object alignment), Ground Proximity in Aircrafts, etc.
Sensors in a Smart Phone
• Transducer
• A transducer is an electrical device that is used
to convert one form of energy into another form.
In general, these devices deal with different
types of energies such as mechanical, electrical
energy, light energy, chemical energy, thermal
energy, electromagnetic energy, and so on.
• For instance, consider a mic we use in daily life
in telephones, mobile phones, that converts the
sound into electrical signals and then amplifies
it into the preferred range. Then, alters the
electrical signals into audio signals at the o/p of
the loudspeaker.
• Classification of Transducers
• It is easy to classify transducers as Input
Transducers or Output Transducers, if they are
treated as simple signal converters. Input
Transducers measure non-electrical quantities
and convert them into electrical quantities.
• Output Transducers on the other hand, work in
the opposite way i.e. their input signals are
electrical and their output signals are non-
electrical or physical like force, displacement,
torque, pressure etc.
• Depending on the principle of operation,
transducers can also be classified into
mechanical, thermal, electrical, etc.
• Let us see the classification of transducers
based on the following three ways:
• Physical Effect
• Physical Quantity
• Source of Energy
• 1. Classification based on Physical Effect
• The first classification of Transducers is based on
the physical effect engaged to convert the physical
quantity to electrical quantity. An example, is the
change in resistance (physical quantity) of a copper
element in proportion to the change in temperature.
• The following physical effects are generally used:
• Variation in Resistance
• Variation in Inductance
• Variation in Capacitance
• Hall Effect
• Piezoelectric Effect
• 2. Classification based on Physical Quantity
• The second classification of Transducers is based on the
physical quantity converted. For example, a Pressure
Transducer is a transducer that converts pressure into electrical
signal.
• Following is small list of transducers classified based on the
physical quantity and corresponding examples
• Temperature Transducer – Thermocouple
• Pressure Transducer – Bourdon Gauge
• Displacement Transducer – LVDT (Linear Variable
Differential Transformer)
• Level Transducer – Torque Tube
• Flow Transducer – Flow Meter
• Force Transducer – Dynamometer
• Acceleration Transducer – accelerometer
• 3. Classification based on Source of Energy
• Transducers are also classified based on the source of energy. Under
this category, there usually two types of transducers:
• Active Transducers
• Passive Transducers
• Active Transducers
• In Active Transducers, the energy from the input is used as a control
signal in the process of transferring energy from power supply to
proportional output.
The antenna is one type of transducer. One type of Sensor is LED. Sensors
Microphones and loudspeakers are used in automobiles to detect touch
also of one type. and activate the siren.
Bus Topology
Ring Topology
A ring topology resembles a closed-loop bus,
which enables devices to transmit data in a
single direction. Following the initiation of data
transmission, every node passes the data to the
next node until the data reaches its intended
destination
Ring Topology
• Peer-To-Peer Topology
• In a Peer-To-Peer Network, the “peers” are
computer systems that are connected to each
other via the Internet. Files can be shared
directly between systems on the network
without the need for a central server. In other
words, each computer on a P2P network
becomes a file server as well as a client.
• Difference between peer-to-peer network and Mesh
Network
• In a peer-to-peer network, individual devices (or nodes) can
talk directly with one another without the need for a central
server. However, it is not typically feasible for each node to be
directly connected to each other node, so instead they connect
to some subset of nodes.
• In a mesh network, each node in a peer-to-peer network also
functions as a router. This routing layer allows you to directly
address nodes to which you are not directly connected, because
intermediate nodes will pass the message along until it reaches
the target node
• A P2P network does not increase the total bandwidth available,
it just uses the bandwidth better.
• In a mesh network, users form new infrastructure by connecting
directly. A mesh network increases the system's total bandwidth
• Enable Internet of Things Technologies
• IoT primarily exploits standard protocols and
networking technologies.
• However, the major enabling technologies and
protocols of IoT are RFID, NFC, low-energy
Bluetooth, low-energy wireless, low-energy
radio protocols, and LTE-A.
• These technologies support the specific
networking functionality needed in an IoT
system.
• Internet of Things enabling technologies are
1. Wireless Sensor Network
2. Cloud Computing
3. Big Data Analytics
4. Communications Protocols
5. Embedded System
1. Wireless Sensor Network
• A wireless sensor network comprises of distributed
device with sensor which are used to monitor the
environmental and physical conditions.
• A WSN consists of a number of end-nodes, routers
and a coordinator.
• End Nodes have several sensors attached to them in
node can also act as routers.
• Routers are responsible for routing the data packets
from end-nodes to the coordinator.
• The coordinator collects the data from all the nodes.
• Coordinator also act as a gateway that connects the
WSN to the internet.
2. Cloud Computing
• Cloud computing is a trans-formative computing
paradigm that involves delivering applications
and services over the Internet
• Cloud computing involves provisioning of
computing, networking and storage resources on
demand and providing these resources as
metered services to the users, in a “pay as you
go” model.
• Cloud computing resources can be provisioned
on demand by the users.
3. Big Data Analytics
• Big Data analytics is the process of collecting,
organizing and analyzing large sets of data
(called Big Data) to discover patterns and other
useful information.
• Big Data analytics can help organizations to
better understand the information contained
within the data and will also help identify the
data that is most important to the business and
future business decisions.
4. Communication protocols
• Communication protocols form the backbone of IoT
systems and enable network connectivity and
coupling to applications.
• Communication protocols allow devices to
exchange data over the network.
• A group of protocols designed to work together are
known as a protocol suite.
• The list of Top 10 IoT Communication Protocols
1. WiFi 2. SigFox 3. Bluetooth
4. LoRaWAN 5.NFC(Near Field Communication)
6. Z wave 7. Zigbee 8. OPC- UA
9. Cellular 10.MQTT
5. Embedded Systems :
• It is a combination of hardware and software
used to perform special tasks.
• It includes microcontroller and microprocessor
memory, networking units (Ethernet Wi-Fi
adapters), input output units (display keyword
etc. ) and storage devices (flash memory).
• It collects the data and sends it to the internet.
• These supporting technologies are there to
ensure the data from IoT devices can be
collected, stored, and analysed.
Some other enabling technologies are
RFID (Radio Frequency Identification)
• RFID provides a simple, low energy, and
versatile option for identity and access tokens,
connection bootstrapping, and payments.
• RFID technology employs 2-way radio
transmitter-receivers to identify and track tags
associated with objects.
• Retail, manufacturing, logistics, smart
warehousing, and banking are among the
major industries using RFID Internet of Things
solutions.
• Micro -Electro- Mechanical System
• Micro Electrical Mechanical System is
popularly called as MEMS.
• MEMS are micron-size devices that can sense
or manipulate the physical world.
• MEMS are created using micro machining
processes, similar to those used to produce
integrated circuit (IC) devices.
• This allows a two- or three-dimensional
mechanical system to be created in the same
small area typical of an IC device.
• NFC (Near Field Communication)
• Similar to RFID, NFC is also a simple, low energy
solution for IoT.
• NFC consists of communication protocols for
electronic devices, typically a mobile device and a
standard device.
• With a straightforward tap-and-go mechanism, NFC
makes it simple and intuitive to connect two different
IoT devices.
• Because NFC chips must be in close proximity of
each other to initiate a transaction, NFC is a clear
sign that the user intends to take a certain action.
• The short-range of NFC also protects against
unauthorized access by hackers.
• Bluetooth Low Energy (BLE)
• This technology supports the low-power, long-use.
• Bluetooth Low Energy is well suited to relatively short-
range communications
• Telemetry, fitness and health, and human interface device
(HID) applications are key targets for this technology.
• BLE can also be used for real-time asset location tracking,
indoor wayfinding and customer engagement experience.
• A key advantage of using Bluetooth Low Energy is that it
enables direct interaction with a wide range of modern
smartphones without the need for any intermediary.
• All major smartphone platforms, including Android and
Apple iOS, provide powerful and accessible APIs to enable
the development of Bluetooth Low Energy applications.
• LTE-A (LTE (Long Term Evolution-) Advanced)
• LTE-A, delivers an important upgrade to LTE
technology by increasing not only its coverage but
also reducing its latency and raising its throughput.
• It gives IoT a tremendous power through expanding
its range, with its most significant applications
being vehicle, UAV, and similar communication.
• The latest version of LTE standard is LTE-A Pro.
• LTE-A Pro operates more like a blisteringly fast,
multi-story ‘superhighway’.
• When you choose an LTE-A Pro embedded module
for your IoT devices, you will see massive increases
in data speed, capacity, and efficiency.
• IEEE 802.15.4
• The Institute of Electrical and Electronics
Engineers (IEEE) supports many working
groups to develop and maintain wireless and
wired communications standards.
• The 802.15.4 category is probably the largest
standard for low-data-rate WPANs(Wireless
Personal Area Network).
• It has many subcategories.
• The 802.15.4 category was developed for low-
data-rate monitor and control applications and
extended-life low-power-consumption uses.
• The 802.15.4 standard defines the physical
layer (PHY) and media access control (MAC)
layer of the Open Systems Interconnection
(OSI) model of network operation.
• The PHY defines frequency, power,
modulation, and other wireless conditions of
the link.
• The MAC defines the format of the data
handling.
• The remaining layers define other measures
for handing the data and related protocol
enhancements including the final application.
• Most networking systems, both wired and
wireless, use the OSI communications model.
• Most systems also use at least the first four
layers, but many do not use all seven layers.
• The 802.15.4 standard uses only the first two
layers plus the logical link control (LLC) and
service specific convergence sub-layer (SSCS)
additions to communicate with all upper layers
as defined by additional standards.
• The 802.15.4 standard defines the star and
peer-to-peer common network topologies.
• ZigBee
• Zigbee is a wireless technology developed as an
open global standard to address the unique needs
of low-cost, low-power wireless IoT networks.
• The Zigbee standard operates on the IEEE
802.15.4 physical radio specification and
operates in unlicensed bands including 2.4 GHz,
900 MHz and 868 MHz.
• ZigBee is a standard that addresses the need of
very low-cost implementation of Low power
devices with Low data rate for short-range
wireless communications.
• Types of ZigBee Devices:
• Zigbee Coordinator Device – It communicates with
routers. This device is used for connecting the devices.
• Zigbee Router – It is used for passing the data between
devices.
• Zigbee End Device – It is the device that is going to be
controlled
• General Characteristics of Zigbee Standard:
• Low Power Consumption
• Low Data Rate (20- 250 kbps)
• Short-Range (75-100 meters)
• Network Join Time (~ 30 msec)
• Support Small and Large Networks (up to 65000
devices (Theory); 240 devices (Practically))
• Zigbee Network Topologies:
• Star Topology (ZigBee Smart Energy)
• Mesh Topology (Self Healing Process)
• Tree Topology
• Zigbee Applications:
• Home Automation
• Medical Data Collection
• Industrial Control Systems