Unit I
Unit I
UNIT I
INTRODUCTION : Overview: Definition, features & it’s components, IoT Principles, Challenges
& Applications Conceptual Framework & IoT Architecture, IoT reference model, IoT development
Tools: Arduino : Types, Fundamentals and Configuration, Raspberry Pi: Introduction, configuration,
board setting
DEFINITION :
Kevin Ashton is the first person who defines the term IOT or Internet of things in
1999. He used this term to describe the supply chain management where the real time
entities can be managed through the computer system via internet connectivity
The concept of connecting any device (physical object) to the internet and to other
connected devices.
IBM writes that IoT refers to “ the growing range of internet connected devices that
captures or generate an enormous amount of information every day.
The Internet of things as “the vast network of devices connected to the internet ,
including smartphones, and tablets and almost anything with a sensor on it. These
things collect and exchange data.
IoT is the network of physical objects that contain embedded technology to
communicate and sense or interact with their internal states or the external
environment.
FEATURES OF IOT
2. Sensing: The sensor devices used in IoT technologies detect and measure any change
in the environment and report on their status. IoT technology brings passive networks to
active networks. Without sensors, there could not hold an effective or true IoT
environment.
4. Analyzing: After connecting all the relevant things, it comes to real-time analyzing
the data collected and use them to build effective business intelligence.
5. Scalability: IoT devices should be designed in such a way that they can be scaled up
or down easily on demand. In general, IoT is being used from smart home automation to
automating large factories and work stations, so the use cases vary in scale.
6. Dynamic Nature: For any IoT use case, the first and foremost step is to collecting and
converting data in such a way that means business decisions can be made out of it. In this
whole process, various components of IoT need to change their state dynamically. For
example, the input of a temperature sensor will vary continuously based on weather
conditions, locations, etc. IoT devices should be designed this keeping in mind.
7. Energy : From end components to connectivity and analytics layers, the whole
ecosystems demand a lot of energy. While designing an IoT ecosystem, we need to
consider design methodology such that energy consumption is minimal.
IOT COMPONENTS :
2. Gateways:
IoT Gateway manages the bidirectional data traffic between different networks
and protocols. Another function of gateway is to translate different network
protocols and make sure interoperability of the connected devices and sensors.
Gateways can be configured to perform pre-processing of the collected data from
thousands of sensors locally before transmitting it to the next stage. In some
scenarios, it would be necessary due to compatibility of TCP/IP protocol.
3. Analytics:
It is the process of converting analog data from billions of smart devices and
sensors into useful insights which can be interpreted and used for detailed
analysis. Smart analytics solutions are inevitable for IoT system for management
and improvement of the entire system.
4. Cloud Storage:
Cloud storage is used to store the data which has been collected from different
devices or things. Cloud computing is simply a set of connected servers that
operate continuously (24*7) over the Internet.
5. User Interface:
The user interface (UI) is the visible, tangible portion of the IoT device that
people can interact with. Developers must provide a well-designed user interface
that requires the least amount of effort from users and promotes additional
interactions.
6. Network Interconnection:
IoT is enabled by a variety of technologies. The network used to communicate
with other devices in an IoT deployment is critical to the field, a position that
numerous wireless or wired technologies can fill.
IOT CHALLENGES
Traditionally Energy and Power sectors are considered as sectors with unstructured
data.
Deploying the right set of hardware, acquiring and managing the huge data,
preprocessing and gaining valuable insights will be the key challenges to incorporate
IoT solutions in the energy sector.
IOT APPLICATIONS :
IoT application has been introduced in many domains such as social media, health, transport,
medicine, etc. The advantages and requirements of IoT solution dependents on the needs of
the industry. Few domains such as health care, business analytics, transport and smart
homes/city.
2. Business Analytics
IoT devices embedded in machines generate a large amount of data that is being used
by BI (Business Intelligence tools) such as Power BI to generate useful insights and
predict future outcomes.
4 SOIT RGPV BHOPAL B.TECH (CSDS)
INTRODUCTION TO IOT 2025
With the help of business analytics tools, the data generated from IoT are used to
study customer behavior to increase customer satisfaction rates and provide a better
customer experience.
In the near future, BI tools will be embedded within things such as wearable health
monitoring systems, which can make instant decisions based on the current data.
Data recorded from the user’s behavior and everyday habits will give better
opportunities for the caretakers and hospitals to tackle any sickness in advance.
3. Entertainment System:
Several smart apps such as car navigation systems and voice assistance systems are
already making their way to the cars. With the help of IoT, these features have been
embedded in vehicles. Automakers have partnered with Google for their apps such as
google maps, google assistant, and Play store services.
4. Smart city
Smart city IoT application is designed to provide improved and better-living
conditions. With the growth in technology and population, IoT will play a major role
in managing the city and population. Many services such as energy-saving lights,
weather reporting systems, and streetlights will be embedded with IoT solutions for
sustainable and cost-effective reasons.
5. Smart Home:
Home automation has seen rapid growth in recent times. Consumers have been
provided with services like lightning control for their homes, voice-based controlling,
smart air quality adjustment, AI experience, and smart locks with the IoT enabled in
homes.
6. Smart Agriculture
7. Smart Education
8. Industrial and Manufacturing
IOT CONCEPTUAL FRAMEWORK :
The main tasks of this framework are to analyze and determine the smart activities of
these intelligent devices through maintaining a dynamic interconnection among those
devices.
The proposed framework will help to standardize IoT infrastructure so that it can
receive e-services based on context information leaving the current infrastructure
unchanged.
This model is capable of logical division of physical devices placement, creation of
virtual links among different domains, networks and collaborate among multiple
application without any central coordination system.
Level 1 : Gather,
Level 2 : Enrich,
Level 3 : Stream,
Level 4 : Manage,
Level 5 : Aquire,
Level 6 : Organise
In level 1 we can see smart sensor and sensor (smart sensor have ability to compute
and communicate). Smart sensor collect the data and then transmit it to level 2
through transcode. Transcode does coding and decoding.
Level 2: Gateway - Data comes to Gateway after the encoding. when data go to the
next level from Gateway decoding is done.
Level 3: Communication management present there and it send send receive the data.
Level 4:In level 4 it receive the device data (means the hardware which we are using
also registered and only they can access the data). For eg: Considere that two mobile
phones connected to each other if first mobile phone wants to communicate with
second mobile phone so the first mobile phone is registered and the data of their
mobile phone is on level 4. and that mobile data contained the data of device register
and connection or the device identity.
Level 5: It is a database which stores the data.
Level 6:In level 6 the data comes in all previous levels are analysed and
organized.(Data is analysed and decide whether the data is authenticated sensitive or
non sensitive)
Architecture of IoT
The architecture of IoT is divided into 4 different layers i.e. Sensing Layer, Network Layer,
Data processing Layer, and Application Layer.
Sensing Layer: The sensing layer is the first layer of the Internet of
Things architecture and is responsible for collecting data from different sources. This
layer includes sensors and actuators that are placed in the environment to gather
information about temperature, humidity, light, sound, and other physical parameters.
Wired or wireless communication protocols connect these devices to the network
layer.
Data processing Layer: The data processing layer of IoT architecture refers to the
software and hardware components that are responsible for collecting, analyzing, and
interpreting data from IoT devices. This layer is responsible for receiving raw data
from the devices, processing it, and making it available for further analysis or action.
The data processing layer includes a variety of technologies and tools, such as data
management systems, analytics platforms, and machine learning algorithms. These
tools are used to extract meaningful insights from the data and make decisions based
on that data. Example of a technology used in the data processing layer is a data lake,
which is a centralized repository for storing raw data from IoT devices.
Application Layer: The application layer of IoT architecture is the topmost layer that
interacts directly with the end-user. It is responsible for providing user-friendly
interfaces and functionalities that enable users to access and control IoT devices. This
layer includes various software and applications such as mobile apps, web portals, and
other user interfaces that are designed to interact with the underlying IoT
infrastructure. It also includes middleware services that allow different IoT devices
and systems to communicate and share data seamlessly. The application layer also
includes analytics and processing capabilities that allow data to be analyzed and
transformed into meaningful insights. This can include machine learning
algorithms, data visualization tools, and other advanced analytics capabilities.
Arduino is an open-source platform used for building electronics projects. Arduino consists
of both a physical programmable circuit board (often referred to as a microcontroller) and a
piece of software, or IDE (Integrated Development Environment) that runs on your computer,
used to write and upload computer code to the physical board.
Different components in Arduino Uno board are shown in the below figure.
{1} Power USB : Arduino board can be powered by using the USB cable from your
computer. All you need to do is connect the USB cable to the USB connection.
{2} Power (Barrel Jack) : Arduino boards can be powered directly from the AC mains
power supply by connecting it to the Barrel Jack.
{3} Voltage Regulator : The function of the voltage regulator is to control the voltage given
to the Arduino board and stabilize the DC voltages used by the processor and other elements.
{4} Crystal Oscillator : The crystal oscillator helps Arduino in dealing with time issues.
How does Arduino calculate time? The answer is, by using the crystal oscillator. The number
printed on top of the Arduino crystal is 16.000H9H. It tells us that the frequency is
16,000,000 Hertz or 16 MHz.
{5} Arduino Reset : You can reset your Arduino board, i.e., start your program from the
beginning. You can reset the UNO board in two ways. First, by using the reset button (17) on
the board. Second, you can connect an external reset button to the Arduino pin labelled
RESET.
{10} Analog pins : The Arduino UNO board has six analog input pins A0 through A5. These
pins can read the signal from an analog sensor like the humidity sensor or temperature sensor
and convert it into a digital value that can be read by the microprocessor.
{11} Main microcontroller : Each Arduino board has its own microcontroller. You can
assume it as the brain of your board. The main IC (integrated circuit) on the Arduino is
slightly different from board to board. The microcontrollers are usually of the ATMEL
Company. You must know what IC your board has before loading up a new program from
the Arduino IDE. This information is available on the top of the IC. For more details about
the IC construction and functions, you can refer to the data sheet.
{12} ICSP pin : Mostly, ICSP is an AVR, a tiny programming header for the Arduino
consisting of MOSI, MISO, SCK, RESET, VCC, and GND. It is often referred to as an SPI
(Serial Peripheral Interface), which could be considered as an “expansion” of the output.
Actually, you are slaving the output device to the master of the SPI bus.
{13} Power LED indicator : This LED should light up when you plug your Arduino into a
power source to indicate that your board is powered up correctly. If this light does not turn
on, then there is something wrong with the connection.
{14} TX and RX LEDs : On your board, you will find two labels: TX (transmit) and RX
(receive). They appear in two places on the Arduino UNO board. First, at the digital pins 0
and 1, to indicate the pins responsible for serial communication. Second, the TX and RX led.
The TX led flashes with different speed while sending the serial data. The speed of flashing
depends on the baud rate used by the board. RX flashes during the receiving process.
{15} Digital I/O : The Arduino UNO board has 14 digital I/O pins (of which 6 provide PWM
(Pulse Width Modulation) output. These pins can be configured to work as input digital pins
to read logic values (0 or 1) or as digital output pins to drive different modules like LEDs,
relays, etc. The pins labeled “~” can be used to generate PWM.
{16} AREF : AREF stands for Analog Reference. It is sometimes, used to set an external
reference voltage (between 0 and 5 Volts) as the upper limit for the analog input pins.
CONFIGIRATION OF ARDUINO
Raspberry Pi
It has ARM based Broadcom Processor SoC along with on-chip GPU (Graphics Processing
Unit). The CPU speed of Raspberry Pi varies from 700 MHz to 1.2 GHz. SDRAM that
ranges from 256 MB to 1 GB. Raspberry Pi also provides on-chip SPI, I2C, I2S and UART
modules.
Different components on Raspberry Pi 4 Model B board are as shown in the figure below.
Ethernet port: This port connects the Raspberry Pi to a wired network. The
Raspberry Pi also has Wi-Fi and Bluetooth built in for wireless connections
Two USB 3.0 and two USB 2.0 ports: These USB ports are used to connect
peripherals like a keyboard or mouse. The two black ports are USB 2.0 and the two
blue ports are USB 3.0
Camera Module port: This port is used to connect the official Raspberry Pi Camera
Module, which enables the Raspberry Pi to capture images
HDMI ports: These HDMI ports connect the Raspberry Pi to external monitors. The
Raspberry Pi 4 features two micro HDMI ports, allowing it to drive two separate
monitors at the same time
USB power port: This USB port powers the Raspberry Pi. The Raspberry Pi 4 has a
USB Type-C port, while older versions of the Pi have a micro-USB port
External display port: This port is used to connect the official seven-inch Raspberry
Pi touch display for touch-based input on the Raspberry Pi
microSD card slot (underside of the board): This card slot is for the microSD card
that contains the Raspberry Pi operating system and files