Lecture 9 - IoT Hardware and Software
Lecture 9 - IoT Hardware and Software
Winter 2023
INST560 Internet of
Things
Internet of Things
Hardware and Software
Professor Aliakbar Jalali
aliakbar.jalali@live.uona.edu
Lecture 9
/59
Contents
UoNA-INST560 – Internet of Things (IoT)
• Introduction
• IoT Sensors
• What is sensor?
• Sensor Market
• IoT Hardware
• IoT Actuator
• IoT Gateway
• IoT Software
• Conclusion
• References
2 /59
Introduction
UoNA-INST560 – Internet of Things (IoT)
• These are small devices or components that are used to collect data from the physical
world and communicate that data over the internet to other devices, systems or platforms.
• IoT sensors can collect a variety of data types such as temperature, humidity, pressure,
light, sound, motion, and many more. The collected data can be used for a wide range of
applications such as home automation, environmental monitoring, industrial automation,
healthcare, smart cities, and more.
• IoT sensors can be used in a variety of different contexts such as in consumer electronics,
industrial machinery, transportation systems, and more. They often have wireless
connectivity and can communicate with other devices or systems over Wi-Fi, Bluetooth, or
other wireless protocols. The data collected by IoT sensors can be processed and analyzed
in real-time or stored for later use.
4 /59
Introduction
UoNA-INST560 – Internet of Things (IoT)
1 Sensors
6 /59
What is sensor?
UoNA-INST560 – Internet of Things (IoT)
7 /59
What is IoT Sensor?
UoNA-INST560 – Internet of Things (IoT)
Protocol Communications
Sensors
13 /59
Understanding IoT Sensors: the Basics
UoNA-INST560 – Internet of Things (IoT)
14 /59
Understanding IoT Sensors: the
Basics
UoNA-INST560 – Internet of Things (IoT)
15 /59
Resistive Sensors
UoNA-INST560 – Internet of Things (IoT)
https://vimeo.com/album/2801639/video/102042976
16 /59
Optical Sensors
UoNA-INST560 – Internet of Things (IoT)
https://vimeo.com/album/2801639/video/102042976#t=3m41s
17 /59
Ranging Sensors
UoNA-INST560 – Internet of Things (IoT)
1. ease of installation
2. self-identification
3. self-diagnosis
4. reliability
Gateway Gateway
24 /59
Objectives for smart sensors
UoNA-INST560 – Internet of Things (IoT)
25 /59
An architecture of a smart sensor
UoNA-INST560 – Internet of Things (IoT)
26 /59
Sensors in Mobile Devices Market
Demand 2024 with Fastest-Growing
UoNA-INST560 – Internet of Things (IoT)
Sector in 2032
https://www.linkedin.com/pulse/sensors-mobile-devices-market-demand-2024-fastest-growing-rfjhf/
27 /59
How Mobile Apps are Leveraging the Internet of
Things (IoT)
UoNA-INST560 – Internet of Things (IoT)
https://www.businessofapps.com/news/how-mobile-apps-are-leveraging-the-internet-of-things-iot/
28 /59
Sensor networks
UoNA-INST560 – Internet of Things (IoT)
industrial, home,
shipboard, transportation
systems automation, or
elsewhere.
29 /59
Wireless sensor networks
UoNA-INST560 – Internet of Things (IoT)
30 /59
Wireless Sensor Networks (WSN)
UoNA-INST560 – Internet of Things (IoT)
Data Acquisition
Data Distribution
32 /59
Wireless Sensor Networks
UoNA-INST560 – Internet of Things (IoT)
33 /59
IoT and Wireless Sensor Networks
UoNA-INST560 – Internet of Things (IoT)
34 /59
Note
UoNA-INST560 – Internet of Things (IoT)
35 /59
Top 10 Arduino-Sensors with Projects for Beginners
UoNA-INST560 – Internet of Things (IoT)
Click
36 /59
IoT Definition with focus on sensing
UoNA-INST560 – Internet of Things (IoT)
• Internet of Things
devices is the
aggregation of all the
sensing modules that
are linked to the Cloud
– either directly or
through a gateway. 37 /59
Sensing technology
UoNA-INST560 – Internet of Things (IoT)
• Micro Electromechanical
Systems (MEMS)
• Nanotechnology
• MEMS devices smaller
than 1 mm
• Accelerometers,
gyroscopes, microphones
integrated into
smartphones, digital
cameras, cars, etc.
38 /59
UoNA-INST560 – Internet of Things (IoT)
Example: Sensing technology
39 /59
Example: wide range of Cell Phone sensors
UoNA-INST560 – Internet of Things (IoT)
40 /59
Example: Light Dependent Resistance (LDR)
UoNA-INST560 – Internet of Things (IoT)
41 /59
Example: Thermistor
UoNA-INST560 – Internet of Things (IoT)
• PTC is used in all kit which uses CRT (Cathode Ray Tube) e.g., T.V.,
monitor in series with Degassing coil.
• You can use any semiconductor device such as transistor, diode etc.
as NTC type thermistor.
• For PTC type thermistor you can use thin wire of many turn for e.g.
you can also use small step-down transformers primary connection.
42 /59
DHT11 Temperature/Humidity Sensor
UoNA-INST560 – Internet of Things (IoT)
Specification
43 /59
Sensors and IoT Market
UoNA-INST560 – Internet of Things (IoT)
44 /59
Sensor Market
UoNA-INST560 – Internet of Things (IoT)
45 /59
Sensors and IoT Market
UoNA-INST560 – Internet of Things (IoT)
• Sensors as the infrastructure, are leading and shaping the IoT market.
46 /59
Wearable Electronic Market in 5
categories
UoNA-INST560 – Internet of Things (IoT)
Wearable 1 2 3 4 5
electronics is a
new big
opportunity
for sensors
http://www.yole.fr/iso_upload/Samples/Yole_IoT_June_2014_Sample.pdf 47 /59
Transducer, Sensor and Actuator
UoNA-INST560 – Internet of Things (IoT)
• Transducer
• a device that converts a primary form of energy into a corresponding
signal with a different energy form
• Primary Energy Forms: mechanical, thermal, electromagnetic, optical,
chemical, etc.
49 /59
Sensor Systems
UoNA-INST560 – Internet of Things (IoT)
50 /59
Sensor and smart Sensor
UoNA-INST560 – Internet of Things (IoT)
51 /59
Smart Sensors
UoNA-INST560 – Internet of Things (IoT)
• A smart sensor is a
sensor that provides
extra functions beyond
those necessary for
generating a correct
representation of the
sensed quantity.
52 /59
Smart Sensors
UoNA-INST560 – Internet of Things (IoT)
53 /59
IoT Sensing
UoNA-INST560 – Internet of Things (IoT)
54 /59
How Sensor work
UoNA-INST560 – Internet of Things (IoT)
https://giphy.com/search/temprature-sensor
55 /59
UoNA-INST560 – Internet of Things (IoT)
How Sensor work
r
O
S
N
e
S
56 /59
Example: WATER SENSOR ALARM USING
LM380
UoNA-INST560 – Internet of Things (IoT)
By this circuit uses the integrated circuit LM380 , usual use be power amplifier IC the small-sized , seek buy easy , be
usable not difficult. For friend's loudspeaker choose use 8 ohm small-sized all right. For power supply source 9V sizes
arrive at 12V all right. The detail is other , see in the circuit better yes.
57 /59
IoT Sensors types
UoNA-INST560 – Internet of Things (IoT)
• Noise levels;
• The presence or absence of
certain kinds of objects;
• Mechanical stress levels on
attached objects;
• The current characteristics
such as speed, direction, and
size of an object.
58 /59
Different types of sensors
UoNA-INST560 – Internet of Things (IoT)
59 /59
UoNA-INST560 – Internet of Things (IoT)
Different types of sensors
60 /59
MultiSensor 6
UoNA-INST560 – Internet of Things (IoT)
Motion sensor
UV sensor Temperature sensor
61 /59
Example: Motion sensor
UoNA-INST560 – Internet of Things (IoT)
home
Sensors
in smart
63 /59
Sensors in smart home
UoNA-INST560 – Internet of Things (IoT)
65 /59
IoT Wearable Sensors
UoNA-INST560 – Internet of Things (IoT)
66 /59
Wearable Sensors: Medical services example
UoNA-INST560 – Internet of Things (IoT)
Information
interventions
67 /59
UoNA-INST560 – Internet of Things (IoT)
2
IoT
Hardware
68 /59
What is IoT Hardware?
UoNA-INST560 – Internet of Things (IoT)
Input Actuator
Smart Device
Smart Phone
2 Ds
D ireles atio
n
D2D D2D W
Co mmu
nic
OR Wireless
Communication
Wireless
Communication
Web
70 /59
Example of IoT Hardware: Actuator
UoNA-INST560 – Internet of Things (IoT)
75 /59
What to Look Out for in IoT Gateway
Manufacturers
UoNA-INST560 – Internet of Things (IoT)
77 /59
How to Secure an IoT Gateway
UoNA-INST560 – Internet of Things (IoT)
• What is Raspberry Pi
81 /59
UoNA-INST560 – Internet of Things (IoT)
Example: Raspberry Pi 3 Model B?
82 /59
UoNA-INST560 – Internet of Things (IoT)
Different tapes of Raspberry Pi
83 /59
UoNA-INST560 – Internet of Things (IoT)
IoT
Issues
Arduino and
Hardware
84 /59
Example of IoT Hardware: Arduino
UoNA-INST560 – Internet of Things (IoT)
• WHAT IS ARDUINO?
WATERING
SYSTEM -
INTRODUC
TION Good
example
Step by
Step
http://www.instructables.com/id/WATERING-SYSTEM-INTRODUCTION/
86 /59
A project: using Arduino
UoNA-INST560 – Internet of Things (IoT)
• https://www.youtube.com/w
atch?v=nUHizmtyt74
• https://www.youtube.com/
watch?v=Z2xLD0P83rw\
88 /59
UoNA-INST560 – Internet of Things (IoT)
3
IoT
Software
89 /59
UoNA-INST560 – Internet of Things (IoT)
90 /59
IoT Software
UoNA-INST560 – Internet of Things (IoT)
• IoT terminology is still evolving, but IoT is generally accepted as the network of smart
devices that are able to exchange data autonomously without human interference.
• IoT software is the enabling technology that controls data collection and
communication on a connected device so it can provide real-time data that computers and
applications can transform and present as information.
• Some of the real-world applications of IoT devices are in home automation where lighting,
heating, air conditioning, entertainment, or security systems can detect environmental
input and automatically activate or deactivate.
• Another application is in healthcare where smart medical devices can actively monitor
patients and automatically alert healthcare providers. Other applications are in personal
wearables, transportation systems, manufacturing, and agriculture.
93 /59
What are the Benefits of IoT Software?
UoNA-INST560 – Internet of Things (IoT)
• Connected devices are able to function smartly due to the intelligence that an
IoT platform provides. Smart devices only have limited computing ability and
have another primary functions.
• The intelligence usually comes from a system in the cloud where the IoT
software resides but can transfer the needed information so the device can
perform an action or function wherever it is located. Benefits of IoT software
include:
• Providing the interface to automate and control smart devices
• Enabling the access of data from connected devices in real time to provide just-in-time
information
• The best IoT platform builds upon these two features to perform automatic
data transfer, data analysis, and autonomous response. Here is a list of the
top IoT tools in no particular order.
• New Relic One is an observability platform that can collect, store, and monitor
all types of operational data, including those coming from IoT devices.
• Google Cloud offers fully managed and integrated IoT services that are
scalable.
https://project-management.com/iot-software/#:~:text=IoT%20software%20is%20the%20enabling,transform%20and%20present%20as%20information.
96 /59
Best IoT Software
UoNA-INST560 – Internet of Things (IoT)
• Java, Python and JavaScript are the most popular IoT programming
language.
• Interpreted. ...
• Portable. ...
• Extensible.
97 /59
Why use Python in IoT
UoNA-INST560 – Internet of Things (IoT)
• In addition, Python is available to run on Linux devices and you can use
Micro-Python for microcontrollers.
• Some of the many advantages of working with Python for IoT devices are
the speed at which you can develop code and many libraries for all kinds
of platforms.
• IoT Sensors, hardware and software are the most important parts of IoT ecosystems.
• IoT Hardware includes a wide range of devices such as devices for routing, bridges, sensors etc.
• These IoT devices manage key tasks and functions such as system activation, security, action
specifications, communication, and detection of support-specific goals and actions.
• Sensors and actuators are devices, which help in interacting with the physical environment.
• The data collected by the sensors must be stored and processed intelligently in order to derive
useful inferences from it.
• The set of programs that help you get the activities done like the data collection, processing,
storage, and evaluating instructions based on the processed data from the IoT Software.
• These IoT sensors and hardware manage key tasks and functions such as system activation,
security, action specifications, communication, and detection of support-specific goals and
actions.
• In IoT, Python is a great choice for the backend side of development as well as the software
development of devices.
102 /59
References and Practical Examples
UoNA-INST560 – Internet of Things (IoT)