SlideShare a Scribd company logo
CS8081
INTERNET OF THINGS
Design Methodology - Embedded computing logic
- Microcontroller, System on Chips - IoT system
building blocks - Arduino - Board details, IDE
programming - Raspberry Pi - Interfaces and
Raspberry Pi with Python Programming
INTERNET OF THINGS
UNIT III
DESIGN AND DEVELOPMENT
IoT Design Methodology that includes:
• Purpose & Requirements Specification
• Process Specification
• Domain Model Specification
• Information Model Specification
• Service Specifications
• IoT Level Specification
• Functional View Specification
• Operational View Specification
• Device & Component Integration
• Application Development
Design Methodology
Step 1: Purpose & Requirements
Specification
• The first step in IoT system design
methodology is to define the purpose and
requirements of the system.
• In this step, the system purpose, behavior and
requirements (such as data collection
requirements, data analysis requirements,
system management requirements, data
privacy and security requirements, user
interface requirements, ...) are captured.
Home Automation Case Study
Step:1 - Purpose & Requirements
• Applying this to our example of a smart home automation system, the purpose
and requirements for the system may be described as follows:
• Purpose : A home automation system that allows controlling of the lights in a
home remotely using a web application.
• Behavior : The home automation system should have auto and manual modes. In
auto mode, the system measures the light level in the room and switches on the
light when it gets dark. In manual mode, the system provides the option of
manually and remotely switching on/off the light.
• System Management Requirement : The system should provide remote
monitoring and control functions.
• Data Analysis Requirement : The system should perform local analysis of the data.
• Application Deployment Requirement : The application should be deployed locally
on the device, but should be accessible remotely.
• Security Requirement : The system should have basic user authentication
capability.
Step 2: Process Specification
• The second step in the IoT design
methodology is to define the process
specification.
• In this step, the use cases of the IoT system
are formally described based on and derived
from the purpose and requirement
specifications.
IOT Unit 3 for engineering second year .pptx
3. Domain Model Specification
• The domain model describes the main concepts,
entities and objects in the domain of IoT system to be
designed.
• Domain model defines the attributes of the objects
and relationships between objects.
• Domain model provides an abstract representation of
the concepts, objects and entities in the IoT domain,
independent of any specific technology or platform.
• With the domain model, the IoT system designers can
get an understanding of the IoT domain for which the
system is to be designed.
• (Physical Entity, Virtual Entity, Device, Resource,
Service)
IOT Unit 3 for engineering second year .pptx
4. Information Model Specification
• Information Model defines the structure of all
the information in the IoT system, for example,
attributes of Virtual Entities, relations, etc.
• Information model does not describe the
specifics of how the information is represented
or stored.
• To define the information model, we first list the
Virtual Entities defined in the Domain Model.
• Information model adds more details to the
Virtual Entities by defining their attributes and
relations.
IOT Unit 3 for engineering second year .pptx
5. Service Specifications
• Service specifications define the services in
the IoT system, service types, service
inputs/output, service endpoints, service
schedules, service preconditions and service
effects.
IOT Unit 3 for engineering second year .pptx
IOT Unit 3 for engineering second year .pptx
IOT Unit 3 for engineering second year .pptx
IOT Unit 3 for engineering second year .pptx
6. IoT Level Specification
• The sixth step in the IoT design methodology
is to define the IoT level for the system.
• Five IoT deployment levels.
IOT Unit 3 for engineering second year .pptx
7. Functional View Specification
• The Functional View (FV) defines the functions
of the IoT systems grouped into various
Functional Groups (FGs).
• Functional Group either provides
functionalities for interacting with instances
of concepts defined in the Domain Model or
provides information related to these
concepts.
IOT Unit 3 for engineering second year .pptx
8.Operational View Specification
• In this step, various options pertaining to the
IoT system deployment and operation are
defined, such as, service hosting options,
storage options, device options, application
hosting options, etc
IOT Unit 3 for engineering second year .pptx
9. Device & Component Integration
• The ninth step in the IoT design methodology
is the integration of the devices and
components.
• Step 10: Application Development
– The final step in the IoT design methodology is to
develop the IoT application
IOT Unit 3 for engineering second year .pptx
Embedded Computing Logic
• The embedded devices are the objects that build the unique
computing system.
Embedded System Hardware
Embedded System Software
• The embedded system that uses the devices for the
operating system is based on the language platform,
mainly where the real-time operation would be
performed.
• Manufacturers build embedded software in
electronics, e.g., cars, telephones, modems,
appliances, etc.
• The embedded system software can be as simple as
lighting controls running using an 8-bit microcontroller.
• It can also be complicated software for missiles,
process control systems, airplanes etc.
Microcontrollers for Embedded
Computing with IoT Devices
• The microcontroller specifications that determine
the best part for your application are:
• Bit depth: The register and data path width
impacts the speed and accuracy with which
microcontrollers can perform non-trivial
computations.
• Memory: The amount of RAM and Flash in a
microcontroller determines the code size and
complexity the component can support at full
speed. Large memories have larger die area and
component cost.
• GPIO: These are the microcontroller pins used to
connect to sensors and actuators in the system.
These often share their functionality with other
microcontroller peripherals, such as serial
communication, A/D, and D/A converters.
• Power consumption: Power consumption is
critically important for battery-operated devices
and it typically increases with microcontroller
speed and memory size.
System on Chips
• System on Chip in IoT designed by Redpine
Signals is discussed below.
• This IoT SoC supports
– WLAN,
– bluetooth and
– Zigbee systems on a single chip.
– It also supports 2.4 and 5GHz radio frequencies.
IOT Unit 3 for engineering second year .pptx
Typical IoT system on chip support more than one RATs (Radio
Access Technologies) It will have following modules
• Transmit and receive switch.
• RF part mainly consists of Transmitter, receiver, oscillator and
amplifiers.
• Memories i.e. Program memory, data memory to store the code and
data
• Physical layer(baseband processing) either on FPGA or on processor
based on complexity and latency requirement.
• MAC layer and upper protocol stacks TCP/IP etc. running on processor
• ADC and DAC to provide interface between digital baseband and analog
RF portions.
• Various interfaces such as SDIO, USB, SPI etc to provide interface with
the host.
• Other peripherals such as UART, I2C, GPIO, WDT etc. to use the IoT SoC
for various connections.
This IoT SoC (system on chip in IoT) can
be used for numerous applications as
mentioned below:
• Mobile
• M2M-Communication
• Real time location finding tags
• Thermostats
• Smart meters
• Wireless sensor devices
• Serial to WiFi converter
• Voice Over WiFi compliant phones
• Home automation
• Health care devices and equipments
Building Blocks Of IoT
Sensing
Sensors can be either on-board the IoT device or attached to the
device.
Actuation
IoT devices can have various types of actuators attached that allow
taking actions upon the physical entities in the vicinity of the device.
Communication
Communication modules are responsible for sending collected data to
other devices or cloud-based servers/storage and receiving data from
other devices and commands from remote applications.
Analysis & Processing
Analysis and processing modules are responsible for making sense of
the collected data.
IOT Unit 3 for engineering second year .pptx
Simplified block diagram of the basic
building blocks of the IoT
Gateways
• Gateways are responsible for routing the
processed data and send it to proper locations
for its (data) proper utilization.
• Gateway helps in to and fro communication of
the data. It provides network connectivity to the
data.
• Network connectivity is essential for any IoT
system to communicate.
• LAN, WAN, PAN, etc are examples of network
gateways.
IoT Architecture Layers
IOT Unit 3 for engineering second year .pptx
Sensor, Connectivity and Network
Layer
Gateway and Network Layer
• Responsible for routing the data coming from
the Sensor, Connectivity and Network layer
and pass it to the next layer which is the
Management Service Layer.
Management Service Layer
• For managing IoT services.
• Responsible for data mining, text mining,
service analytics, etc .
• Data management, Device Management
Application Layer
• Application layer forms the topmost layer of
IoT architecture which is responsible for
effective utilization of the data collected.
Arduino boards
• Arduino boards based on ATMEGA328
microcontroller
• Programed through the Arduino IDE.
IOT Unit 3 for engineering second year .pptx
IOT Unit 3 for engineering second year .pptx
IOT Unit 3 for engineering second year .pptx
IOT Unit 3 for engineering second year .pptx
IOT Unit 3 for engineering second year .pptx
Arduino UNO board
IOT Unit 3 for engineering second year .pptx
IOT Unit 3 for engineering second year .pptx
IOT Unit 3 for engineering second year .pptx
IOT Unit 3 for engineering second year .pptx
IOT Unit 3 for engineering second year .pptx
Arduino IDE
• After learning about the main parts of the
Arduino UNO board, we are ready to learn
how to set up the Arduino IDE.
• Once we learn this, we will be ready to upload
our program on the Arduino board.
Set up the Arduino IDE on our computer and
prepare the board to receive the program via
USB cable.
• Step 1 − First you must have your Arduino
board (you can choose your favorite board)
and a USB cable.
• In case you use Arduino UNO, Arduino
Duemilanove, Nano, Arduino Mega 2560, or
Diecimila, you will need a standard USB cable
(A plug to B plug), the kind you would connect
to a USB printer as shown in the following
image.
• In case you use Arduino Nano, you will need
an A to Mini-B cable instead as shown in the
following image.
Step 2 − Download Arduino IDE
Software.
• You can get different versions of Arduino IDE
from the Download page on the Arduino
Official website.
• You must select your software, which is
compatible with your operating system
(Windows, IOS, or Linux).
• After your file download is complete, unzip
the file.
IOT Unit 3 for engineering second year .pptx
Step 3 − Power up your board.
• The Arduino Uno, Mega, Duemilanove and Arduino Nano
automatically draw power from either, the USB connection
to the computer or an external power supply.
• If you are using an Arduino Diecimila, you have to make
sure that the board is configured to draw power from the
USB connection.
• The power source is selected with a jumper, a small piece
of plastic that fits onto two of the three pins between the
USB and power jacks.
• Check that it is on the two pins closest to the USB port.
• Connect the Arduino board to your computer using the
USB cable. The green power LED (labeled PWR) should
glow.
Step 4 − Launch Arduino IDE.
• After your Arduino IDE software is
downloaded, you need to unzip the folder.
• Inside the folder, you can find the application
icon with an infinity label (application.exe).
Double-click the icon to start the IDE.
IOT Unit 3 for engineering second year .pptx
Step 5 − Open your first project.
• Once the software starts, you have two
options −
• Create a new project.
• Open an existing project example.
• To create a new project, select File → New.
IOT Unit 3 for engineering second year .pptx
To open an existing project example, select
File → Example → Basics → Blink.
LED on and off
• Here, we are selecting just one of the
examples with the name Blink.
• It turns the LED on and off with some time
delay.
• You can select any other example from the
list.
Step 6 − Select your Arduino board.
• To avoid any error while uploading your
program to the board, you must select the
correct Arduino board name, which matches
with the board connected to your computer.
• Go to Tools → Board and select your board.
IOT Unit 3 for engineering second year .pptx
Step 7 − Select your serial port.
• Select the serial device of the Arduino board. Go
to Tools → Serial Port menu.
• This is likely to be COM3 or higher (COM1 and
COM2 are usually reserved for hardware serial
ports).
• To find out, you can disconnect your Arduino
board and re-open the menu, the entry that
disappears should be of the Arduino board.
• Reconnect the board and select that serial port.
IOT Unit 3 for engineering second year .pptx
Symbols appearing in the Arduino IDE
toolbar.
• A − Used to check if there is any compilation error.
• B − Used to upload a program to the Arduino board.
• C − Shortcut used to create a new sketch.
• D − Used to directly open one of the example
sketch.
• E − Used to save your sketch.
• F − Serial monitor used to receive serial data from
the board and send the serial data to the board.
Step 8 − Upload the program to your
board.
• Simply click the "Upload" button in the
environment.
• Wait a few seconds; you will see the RX and
TX LEDs on the board, flashing.
IOT Unit 3 for engineering second year .pptx
IOT Unit 3 for engineering second year .pptx
IOT Unit 3 for engineering second year .pptx
IOT Unit 3 for engineering second year .pptx
IOT Unit 3 for engineering second year .pptx
IOT Unit 3 for engineering second year .pptx

More Related Content

PPTX
VLSI design flow.pptx
Krishna Kishore
 
PPT
Java awt
Arati Gadgil
 
PPTX
Iot architecture
Anam Iqbal
 
PDF
Qt Application Programming with C++ - Part 1
Emertxe Information Technologies Pvt Ltd
 
PPTX
I2c buses
Naveen Dubey
 
PDF
IOT_module_3.pdf
AmitH42
 
PPTX
IOT15_Unit6.pptx
suptel
 
PPTX
Introduction to IoT
Yong Heui Cho
 
VLSI design flow.pptx
Krishna Kishore
 
Java awt
Arati Gadgil
 
Iot architecture
Anam Iqbal
 
Qt Application Programming with C++ - Part 1
Emertxe Information Technologies Pvt Ltd
 
I2c buses
Naveen Dubey
 
IOT_module_3.pdf
AmitH42
 
IOT15_Unit6.pptx
suptel
 
Introduction to IoT
Yong Heui Cho
 

What's hot (20)

PPT
802 15-4 tutorial
SHUBHAM MORGAONKAR
 
PPTX
Internet of Things
Cisco Services
 
PPTX
Elements of IoT connectivity technologies
usman sarwar
 
PPTX
ESP8266 Wifi Nodemcu
creatjet3d labs
 
PDF
The Internet of Things (IoT) and cybersecurity: A secure-by-design approach
Deloitte United States
 
PPT
Exception Handling in JAVA
SURIT DATTA
 
PDF
The internet of things.pptx
LamisaFaria
 
PPT
HiperLAN & Bluetooth.ppt
SwarnaKumariChinni
 
PDF
IoT and Its Application
Dun Automation Academy
 
PPTX
Internet of Things (IoT)
Akanksha Prasad
 
PDF
Internet of Things: A Hands-On Approach
Arshdeep Bahga
 
DOC
ULTRASONIC SENSOR DISTANCE CALCULATE
Techno Electronics
 
PDF
I2C-SPI-UART Basics || Embedded System || Hariharan K
Hariharan Krishnan
 
PPTX
Introduction to IOT
Zubayer Al Billal Khan
 
PPTX
AI Chatbot Development Methodology
Igor Luzhanskiy
 
PDF
FUTURE OF IOT
RaheemUnnisa1
 
PPTX
Honeypots
SARANYA S
 
PPT
Runnable interface.34
myrajendra
 
PPTX
IOT PPT.pptx
KaranSharma686387
 
802 15-4 tutorial
SHUBHAM MORGAONKAR
 
Internet of Things
Cisco Services
 
Elements of IoT connectivity technologies
usman sarwar
 
ESP8266 Wifi Nodemcu
creatjet3d labs
 
The Internet of Things (IoT) and cybersecurity: A secure-by-design approach
Deloitte United States
 
Exception Handling in JAVA
SURIT DATTA
 
The internet of things.pptx
LamisaFaria
 
HiperLAN & Bluetooth.ppt
SwarnaKumariChinni
 
IoT and Its Application
Dun Automation Academy
 
Internet of Things (IoT)
Akanksha Prasad
 
Internet of Things: A Hands-On Approach
Arshdeep Bahga
 
ULTRASONIC SENSOR DISTANCE CALCULATE
Techno Electronics
 
I2C-SPI-UART Basics || Embedded System || Hariharan K
Hariharan Krishnan
 
Introduction to IOT
Zubayer Al Billal Khan
 
AI Chatbot Development Methodology
Igor Luzhanskiy
 
FUTURE OF IOT
RaheemUnnisa1
 
Honeypots
SARANYA S
 
Runnable interface.34
myrajendra
 
IOT PPT.pptx
KaranSharma686387
 
Ad

Similar to IOT Unit 3 for engineering second year .pptx (20)

PDF
uniwtfeydnsbchabdcccccccccccccchbwahcvhwgdwgciuwdhij
2022cs0136
 
PDF
iot unit1.pdf
shrutinandanwar6
 
PDF
internet-of-things-3.....................pdf
rajeswaria21
 
PPTX
PPT-UEU-CSI-421-IOT-Pertemuan-3.pptx
shahid sultan
 
PPTX
Chapter - 1.pptx
DrFaridaAshrafAli
 
PDF
IoT-CT internet of thing master séminaire cours.pdf
NadouShe
 
PPTX
IoT heap 1
SushrutaMishra1
 
PPTX
IoT.pptx
sateeshka
 
PPTX
IoT enabling Technologies, Levels and Templates, M2M
DeepaAAssistantProfe
 
PPTX
IoT_Unit-1.pptx
MUDITSAMPAT
 
PPTX
Unit - I Internet Of Things hokmjkkookkj
ttamilinvention
 
PDF
2.pdf
Nikhil Patankar
 
PDF
Lect14-15 iotlevelsanddeploymenttemplates.pdf
jayakumar703719
 
PPTX
IoT Levels and Deployment Templates
Prakash Honnur
 
PDF
IOT_Working_computer_science_business_recap
AmineBesrour
 
PPTX
IoT Platform Design Methodology for Design Management via and for Design Deve...
IsaacDavidRaj
 
PDF
Chapter 1 updated.pdf
YashWaghmare20
 
PPTX
ITET-4.pptx
meharikiros2
 
PPTX
Report on internship evaluation on topic iot
priyanjalipandey67
 
uniwtfeydnsbchabdcccccccccccccchbwahcvhwgdwgciuwdhij
2022cs0136
 
iot unit1.pdf
shrutinandanwar6
 
internet-of-things-3.....................pdf
rajeswaria21
 
PPT-UEU-CSI-421-IOT-Pertemuan-3.pptx
shahid sultan
 
Chapter - 1.pptx
DrFaridaAshrafAli
 
IoT-CT internet of thing master séminaire cours.pdf
NadouShe
 
IoT heap 1
SushrutaMishra1
 
IoT.pptx
sateeshka
 
IoT enabling Technologies, Levels and Templates, M2M
DeepaAAssistantProfe
 
IoT_Unit-1.pptx
MUDITSAMPAT
 
Unit - I Internet Of Things hokmjkkookkj
ttamilinvention
 
Lect14-15 iotlevelsanddeploymenttemplates.pdf
jayakumar703719
 
IoT Levels and Deployment Templates
Prakash Honnur
 
IOT_Working_computer_science_business_recap
AmineBesrour
 
IoT Platform Design Methodology for Design Management via and for Design Deve...
IsaacDavidRaj
 
Chapter 1 updated.pdf
YashWaghmare20
 
ITET-4.pptx
meharikiros2
 
Report on internship evaluation on topic iot
priyanjalipandey67
 
Ad

More from neelamsanjeevkumar (20)

PPTX
Stem Pyramid Analysis Exploring the Necessity of Context in Art.pptx
neelamsanjeevkumar
 
PPTX
mind map is true picture of parts explanation on ontology
neelamsanjeevkumar
 
PDF
Engineering throughout history sujithra.pdf
neelamsanjeevkumar
 
PDF
01 - Genesis of IoT.pdfgenesis of iot for engineering
neelamsanjeevkumar
 
PDF
VERY NICE FOR CSE 3RD YEAR AND IOT STUDENTS
neelamsanjeevkumar
 
PPT
how to make a very good journal paper for
neelamsanjeevkumar
 
PDF
all syllabus of second year cse departmentcse department syllabus.pdf
neelamsanjeevkumar
 
PPTX
HILL CLIMBING FOR ELECTRONICS AND COMMUNICATION ENG
neelamsanjeevkumar
 
PPTX
simulated aneeleaning in artificial intelligence .pptx
neelamsanjeevkumar
 
PPTX
Feed forward back propogation algorithm .pptx
neelamsanjeevkumar
 
PPT
Genetic-Algorithms forv artificial .ppt
neelamsanjeevkumar
 
PPT
Genetic_Algorithms_genetic for_data .ppt
neelamsanjeevkumar
 
PPT
Genetic-Algorithms for machine learning and ai.ppt
neelamsanjeevkumar
 
PPT
Stepwise Selection Choosing the Optimal Model .ppt
neelamsanjeevkumar
 
PDF
the connection of iot with lora pan which enable
neelamsanjeevkumar
 
PDF
what is lorapan ,explanation of iot module with
neelamsanjeevkumar
 
DOCX
What is First Order Logic in AI or FOL in AI.docx
neelamsanjeevkumar
 
PPTX
unit2_mental objects pruning and game theory .pptx
neelamsanjeevkumar
 
PPTX
2_RaspberryPi presentation.pptx
neelamsanjeevkumar
 
PPTX
LINEAR REGRESSION.pptx
neelamsanjeevkumar
 
Stem Pyramid Analysis Exploring the Necessity of Context in Art.pptx
neelamsanjeevkumar
 
mind map is true picture of parts explanation on ontology
neelamsanjeevkumar
 
Engineering throughout history sujithra.pdf
neelamsanjeevkumar
 
01 - Genesis of IoT.pdfgenesis of iot for engineering
neelamsanjeevkumar
 
VERY NICE FOR CSE 3RD YEAR AND IOT STUDENTS
neelamsanjeevkumar
 
how to make a very good journal paper for
neelamsanjeevkumar
 
all syllabus of second year cse departmentcse department syllabus.pdf
neelamsanjeevkumar
 
HILL CLIMBING FOR ELECTRONICS AND COMMUNICATION ENG
neelamsanjeevkumar
 
simulated aneeleaning in artificial intelligence .pptx
neelamsanjeevkumar
 
Feed forward back propogation algorithm .pptx
neelamsanjeevkumar
 
Genetic-Algorithms forv artificial .ppt
neelamsanjeevkumar
 
Genetic_Algorithms_genetic for_data .ppt
neelamsanjeevkumar
 
Genetic-Algorithms for machine learning and ai.ppt
neelamsanjeevkumar
 
Stepwise Selection Choosing the Optimal Model .ppt
neelamsanjeevkumar
 
the connection of iot with lora pan which enable
neelamsanjeevkumar
 
what is lorapan ,explanation of iot module with
neelamsanjeevkumar
 
What is First Order Logic in AI or FOL in AI.docx
neelamsanjeevkumar
 
unit2_mental objects pruning and game theory .pptx
neelamsanjeevkumar
 
2_RaspberryPi presentation.pptx
neelamsanjeevkumar
 
LINEAR REGRESSION.pptx
neelamsanjeevkumar
 

Recently uploaded (20)

PDF
Cryptography and Information :Security Fundamentals
Dr. Madhuri Jawale
 
PDF
Top 10 read articles In Managing Information Technology.pdf
IJMIT JOURNAL
 
PPTX
22PCOAM21 Session 2 Understanding Data Source.pptx
Guru Nanak Technical Institutions
 
PDF
Zero Carbon Building Performance standard
BassemOsman1
 
PDF
Zero carbon Building Design Guidelines V4
BassemOsman1
 
PDF
Traditional Exams vs Continuous Assessment in Boarding Schools.pdf
The Asian School
 
PDF
2025 Laurence Sigler - Advancing Decision Support. Content Management Ecommer...
Francisco Javier Mora Serrano
 
PPT
SCOPE_~1- technology of green house and poyhouse
bala464780
 
PDF
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
PPTX
Module2 Data Base Design- ER and NF.pptx
gomathisankariv2
 
PDF
FLEX-LNG-Company-Presentation-Nov-2017.pdf
jbloggzs
 
PPTX
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
PPTX
MSME 4.0 Template idea hackathon pdf to understand
alaudeenaarish
 
PDF
The Effect of Artifact Removal from EEG Signals on the Detection of Epileptic...
Partho Prosad
 
PPTX
FUNDAMENTALS OF ELECTRIC VEHICLES UNIT-1
MikkiliSuresh
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PPTX
Victory Precisions_Supplier Profile.pptx
victoryprecisions199
 
PPT
Ppt for engineering students application on field effect
lakshmi.ec
 
PDF
July 2025: Top 10 Read Articles Advanced Information Technology
ijait
 
Cryptography and Information :Security Fundamentals
Dr. Madhuri Jawale
 
Top 10 read articles In Managing Information Technology.pdf
IJMIT JOURNAL
 
22PCOAM21 Session 2 Understanding Data Source.pptx
Guru Nanak Technical Institutions
 
Zero Carbon Building Performance standard
BassemOsman1
 
Zero carbon Building Design Guidelines V4
BassemOsman1
 
Traditional Exams vs Continuous Assessment in Boarding Schools.pdf
The Asian School
 
2025 Laurence Sigler - Advancing Decision Support. Content Management Ecommer...
Francisco Javier Mora Serrano
 
SCOPE_~1- technology of green house and poyhouse
bala464780
 
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
Module2 Data Base Design- ER and NF.pptx
gomathisankariv2
 
FLEX-LNG-Company-Presentation-Nov-2017.pdf
jbloggzs
 
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
MSME 4.0 Template idea hackathon pdf to understand
alaudeenaarish
 
The Effect of Artifact Removal from EEG Signals on the Detection of Epileptic...
Partho Prosad
 
FUNDAMENTALS OF ELECTRIC VEHICLES UNIT-1
MikkiliSuresh
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
Victory Precisions_Supplier Profile.pptx
victoryprecisions199
 
Ppt for engineering students application on field effect
lakshmi.ec
 
July 2025: Top 10 Read Articles Advanced Information Technology
ijait
 

IOT Unit 3 for engineering second year .pptx

  • 2. Design Methodology - Embedded computing logic - Microcontroller, System on Chips - IoT system building blocks - Arduino - Board details, IDE programming - Raspberry Pi - Interfaces and Raspberry Pi with Python Programming INTERNET OF THINGS UNIT III DESIGN AND DEVELOPMENT
  • 3. IoT Design Methodology that includes: • Purpose & Requirements Specification • Process Specification • Domain Model Specification • Information Model Specification • Service Specifications • IoT Level Specification • Functional View Specification • Operational View Specification • Device & Component Integration • Application Development
  • 5. Step 1: Purpose & Requirements Specification • The first step in IoT system design methodology is to define the purpose and requirements of the system. • In this step, the system purpose, behavior and requirements (such as data collection requirements, data analysis requirements, system management requirements, data privacy and security requirements, user interface requirements, ...) are captured.
  • 7. Step:1 - Purpose & Requirements • Applying this to our example of a smart home automation system, the purpose and requirements for the system may be described as follows: • Purpose : A home automation system that allows controlling of the lights in a home remotely using a web application. • Behavior : The home automation system should have auto and manual modes. In auto mode, the system measures the light level in the room and switches on the light when it gets dark. In manual mode, the system provides the option of manually and remotely switching on/off the light. • System Management Requirement : The system should provide remote monitoring and control functions. • Data Analysis Requirement : The system should perform local analysis of the data. • Application Deployment Requirement : The application should be deployed locally on the device, but should be accessible remotely. • Security Requirement : The system should have basic user authentication capability.
  • 8. Step 2: Process Specification • The second step in the IoT design methodology is to define the process specification. • In this step, the use cases of the IoT system are formally described based on and derived from the purpose and requirement specifications.
  • 10. 3. Domain Model Specification • The domain model describes the main concepts, entities and objects in the domain of IoT system to be designed. • Domain model defines the attributes of the objects and relationships between objects. • Domain model provides an abstract representation of the concepts, objects and entities in the IoT domain, independent of any specific technology or platform. • With the domain model, the IoT system designers can get an understanding of the IoT domain for which the system is to be designed. • (Physical Entity, Virtual Entity, Device, Resource, Service)
  • 12. 4. Information Model Specification • Information Model defines the structure of all the information in the IoT system, for example, attributes of Virtual Entities, relations, etc. • Information model does not describe the specifics of how the information is represented or stored. • To define the information model, we first list the Virtual Entities defined in the Domain Model. • Information model adds more details to the Virtual Entities by defining their attributes and relations.
  • 14. 5. Service Specifications • Service specifications define the services in the IoT system, service types, service inputs/output, service endpoints, service schedules, service preconditions and service effects.
  • 19. 6. IoT Level Specification • The sixth step in the IoT design methodology is to define the IoT level for the system. • Five IoT deployment levels.
  • 21. 7. Functional View Specification • The Functional View (FV) defines the functions of the IoT systems grouped into various Functional Groups (FGs). • Functional Group either provides functionalities for interacting with instances of concepts defined in the Domain Model or provides information related to these concepts.
  • 23. 8.Operational View Specification • In this step, various options pertaining to the IoT system deployment and operation are defined, such as, service hosting options, storage options, device options, application hosting options, etc
  • 25. 9. Device & Component Integration • The ninth step in the IoT design methodology is the integration of the devices and components. • Step 10: Application Development – The final step in the IoT design methodology is to develop the IoT application
  • 27. Embedded Computing Logic • The embedded devices are the objects that build the unique computing system.
  • 29. Embedded System Software • The embedded system that uses the devices for the operating system is based on the language platform, mainly where the real-time operation would be performed. • Manufacturers build embedded software in electronics, e.g., cars, telephones, modems, appliances, etc. • The embedded system software can be as simple as lighting controls running using an 8-bit microcontroller. • It can also be complicated software for missiles, process control systems, airplanes etc.
  • 30. Microcontrollers for Embedded Computing with IoT Devices • The microcontroller specifications that determine the best part for your application are: • Bit depth: The register and data path width impacts the speed and accuracy with which microcontrollers can perform non-trivial computations. • Memory: The amount of RAM and Flash in a microcontroller determines the code size and complexity the component can support at full speed. Large memories have larger die area and component cost.
  • 31. • GPIO: These are the microcontroller pins used to connect to sensors and actuators in the system. These often share their functionality with other microcontroller peripherals, such as serial communication, A/D, and D/A converters. • Power consumption: Power consumption is critically important for battery-operated devices and it typically increases with microcontroller speed and memory size.
  • 32. System on Chips • System on Chip in IoT designed by Redpine Signals is discussed below. • This IoT SoC supports – WLAN, – bluetooth and – Zigbee systems on a single chip. – It also supports 2.4 and 5GHz radio frequencies.
  • 34. Typical IoT system on chip support more than one RATs (Radio Access Technologies) It will have following modules • Transmit and receive switch. • RF part mainly consists of Transmitter, receiver, oscillator and amplifiers. • Memories i.e. Program memory, data memory to store the code and data • Physical layer(baseband processing) either on FPGA or on processor based on complexity and latency requirement. • MAC layer and upper protocol stacks TCP/IP etc. running on processor • ADC and DAC to provide interface between digital baseband and analog RF portions. • Various interfaces such as SDIO, USB, SPI etc to provide interface with the host. • Other peripherals such as UART, I2C, GPIO, WDT etc. to use the IoT SoC for various connections.
  • 35. This IoT SoC (system on chip in IoT) can be used for numerous applications as mentioned below: • Mobile • M2M-Communication • Real time location finding tags • Thermostats • Smart meters • Wireless sensor devices • Serial to WiFi converter • Voice Over WiFi compliant phones • Home automation • Health care devices and equipments
  • 36. Building Blocks Of IoT Sensing Sensors can be either on-board the IoT device or attached to the device. Actuation IoT devices can have various types of actuators attached that allow taking actions upon the physical entities in the vicinity of the device. Communication Communication modules are responsible for sending collected data to other devices or cloud-based servers/storage and receiving data from other devices and commands from remote applications. Analysis & Processing Analysis and processing modules are responsible for making sense of the collected data.
  • 38. Simplified block diagram of the basic building blocks of the IoT
  • 39. Gateways • Gateways are responsible for routing the processed data and send it to proper locations for its (data) proper utilization. • Gateway helps in to and fro communication of the data. It provides network connectivity to the data. • Network connectivity is essential for any IoT system to communicate. • LAN, WAN, PAN, etc are examples of network gateways.
  • 42. Sensor, Connectivity and Network Layer
  • 43. Gateway and Network Layer • Responsible for routing the data coming from the Sensor, Connectivity and Network layer and pass it to the next layer which is the Management Service Layer.
  • 44. Management Service Layer • For managing IoT services. • Responsible for data mining, text mining, service analytics, etc . • Data management, Device Management
  • 45. Application Layer • Application layer forms the topmost layer of IoT architecture which is responsible for effective utilization of the data collected.
  • 46. Arduino boards • Arduino boards based on ATMEGA328 microcontroller • Programed through the Arduino IDE.
  • 58. Arduino IDE • After learning about the main parts of the Arduino UNO board, we are ready to learn how to set up the Arduino IDE. • Once we learn this, we will be ready to upload our program on the Arduino board.
  • 59. Set up the Arduino IDE on our computer and prepare the board to receive the program via USB cable. • Step 1 − First you must have your Arduino board (you can choose your favorite board) and a USB cable. • In case you use Arduino UNO, Arduino Duemilanove, Nano, Arduino Mega 2560, or Diecimila, you will need a standard USB cable (A plug to B plug), the kind you would connect to a USB printer as shown in the following image.
  • 60. • In case you use Arduino Nano, you will need an A to Mini-B cable instead as shown in the following image.
  • 61. Step 2 − Download Arduino IDE Software. • You can get different versions of Arduino IDE from the Download page on the Arduino Official website. • You must select your software, which is compatible with your operating system (Windows, IOS, or Linux). • After your file download is complete, unzip the file.
  • 63. Step 3 − Power up your board. • The Arduino Uno, Mega, Duemilanove and Arduino Nano automatically draw power from either, the USB connection to the computer or an external power supply. • If you are using an Arduino Diecimila, you have to make sure that the board is configured to draw power from the USB connection. • The power source is selected with a jumper, a small piece of plastic that fits onto two of the three pins between the USB and power jacks. • Check that it is on the two pins closest to the USB port. • Connect the Arduino board to your computer using the USB cable. The green power LED (labeled PWR) should glow.
  • 64. Step 4 − Launch Arduino IDE. • After your Arduino IDE software is downloaded, you need to unzip the folder. • Inside the folder, you can find the application icon with an infinity label (application.exe). Double-click the icon to start the IDE.
  • 66. Step 5 − Open your first project. • Once the software starts, you have two options − • Create a new project. • Open an existing project example. • To create a new project, select File → New.
  • 68. To open an existing project example, select File → Example → Basics → Blink.
  • 69. LED on and off • Here, we are selecting just one of the examples with the name Blink. • It turns the LED on and off with some time delay. • You can select any other example from the list.
  • 70. Step 6 − Select your Arduino board. • To avoid any error while uploading your program to the board, you must select the correct Arduino board name, which matches with the board connected to your computer. • Go to Tools → Board and select your board.
  • 72. Step 7 − Select your serial port. • Select the serial device of the Arduino board. Go to Tools → Serial Port menu. • This is likely to be COM3 or higher (COM1 and COM2 are usually reserved for hardware serial ports). • To find out, you can disconnect your Arduino board and re-open the menu, the entry that disappears should be of the Arduino board. • Reconnect the board and select that serial port.
  • 74. Symbols appearing in the Arduino IDE toolbar.
  • 75. • A − Used to check if there is any compilation error. • B − Used to upload a program to the Arduino board. • C − Shortcut used to create a new sketch. • D − Used to directly open one of the example sketch. • E − Used to save your sketch. • F − Serial monitor used to receive serial data from the board and send the serial data to the board.
  • 76. Step 8 − Upload the program to your board. • Simply click the "Upload" button in the environment. • Wait a few seconds; you will see the RX and TX LEDs on the board, flashing.