Professional Documents
Culture Documents
CS8081 - Internet of Things (Ripped from Amazon Kindle eBooks by Sai Seena)
CS8081 - Internet of Things (Ripped from Amazon Kindle eBooks by Sai Seena)
Intelligent connection
Anytime
any context Transportation
Anything Anyone
any device anybody
Healthcare Robots and
and hospitals drones
Internet Internet
of of
Things Things
Any path
any network
Data Data Data Data
collection processing analysis execution
$
Automotive Home Energy Automotive Home Energy
application application application application application application
7
Collaboration and processes
(Involving people and business processes)
6 Application
(Reporting, Analytics, Control)
4
Data accumulation
(Storage)
2 Connectivity
(Communication and processing units)
Edge
Core IoT functional stack IoT data management and compute
Applications Cloud
Security
Communication Fog
Services
Management Security
Communication
Device
True value
Accuracy
Resolution
Measurement
Visual sensor 3
Application
server
Objective
Sink
Visual sensor 2
Visual sensor 1
Sensor Control center Actuator
Sensor
nodes
TM
802.2 LLC
SSCS
MAC
PHY
Physical medium
Bytes : 2 1 0-20 Variable 2
Frame Sequence Address Frame check
Payload
control number info sequence
MAC MAC service data MAC footer
sublayer MAC header (MHR)
unit (MSDU) (MFR)
MAC protocol data unit (MPDU)
Beacon
Time
Contention Access Contention Free
Period (CAP) Period (CFP)
Beacon
Beacon
GTSn
GTS1
Time
Application Application layer
Applications Customer application
Profile
Appli support Application profile
Zigbee
Network
Zigbee network Application framework
Zigbee
End device
End device
Router
Router
Coordinator
Router
End device
End device
APS layer
APS Tx APS Rx
NWK layer
NWK neighbor
table
NWK Tx NWK Rx
NWK routing
table
MAC Tx MAC Rx
MAC layer
00 Data 00 No discovery
01 Command 01 If no route, discover
10 or 11 Reserved 11 Force discovery
ZigBee coordinator
Depth 0
ZigBee router
ZED Depth 1
Depth 2
n0
Depth n
Depth n+1
Depth n+2
n1 n2 n3
Application of security suite adds auxiliary
header and also an integrity code
LoRaWAN MAC
Adaptation layer
Physical layer
Wired/Wireless
IP Protocol stack 6LoWPAN protocol stack
21 B 1 B 40 B 8B 53 B 4B
MAC L IPv6 UDP Payload FCS
6LoWPAN Datagram
802.15.4 Datagram Datagram
fragmentation tag FCS
Header size offset
header
Process Control OPC
plant system server
Network (LAN)
Datalogging
system
SQL
(Data engine)
database
Alarm
system
Operating system (Linux, Symbian, WinCE, QNX)
Application layer
Information Visualization SCADA Remote monitoring and
systems applications packages diagnostic
System Safety Modeling and Web and server
configurator applications simulations based applications
Service and application manager
Device Security JAVA based
management management applications
Middleware
Mobility, Connectivity, Profile,
Human machine interface Content management
Control methods
Network connectivity and protocols
Protocol stack
Test and measurements Motion and drives Industrial and control
solutions control solutions solutions
Device driver
Hardware
Request/
Response
CoAP
Message
UDP
6LoWPAN
1 byte 1 byte 2 bytes TKL bytes Variable 1 byte Variable
Token Options 0xFF Payload
V T TKL Code Message ID (if any) (if any) (if payload) (if any)
2 2 4 bits
Message
Subscriber
Message
MQTT
Broker
hp
Message
Publisher
Subscriber
TM
Service specification
Application development
Start
Operating modes
Select
Manual mode Auto
Temp_state Temp_level
Schedule
Interval : Every 7 minutes
Power
supply
Controller
ON OFF ON OFF
System inputs
Embedded system
Software Hardware
components components
System outputs
TAP/
RISC DSP RISC MAC
TAM
Speech DMA
Flash
CODEC Control
Modulator
SRAM
PCI Glue
Control logic
Temp. CMOS
sensor camera
DA AD
Embedded software
API
Memory MPU / CPU
Configurable
hardware
Interface
and DSP
peripherals core
ASIC
ADC
DAC
RF / IF subsystem
AREF
3 2 1 0 9 8 7 6 5 4 3 2 1 0
GND
1 1 1 1
RX
TX
Digital
PWM1
PWM0
PWM2
PWR
USB Arduino
http://arduino.berlios.de
1
Q1
SV1
1
D1 ICSP
IC1
Power Analog in
X' 5V GND 9V 0 1 2 3 4 5
JTAG
RCA headers
VIDEO
OUT
GPIO AUDIO Status LEDs
headers OUT
DSI display
connector
SD card slot
(back of board) USB 2.0
USB
LEDs
SD card
Power
Raspberry Pi P1 header
PIN # Name Name PIN #
3.3 VDC power 5.0 VDC power
1
7 GPIO 7 TxD 15
7
DNC RxD 16
10 12
9
11
0 GPIO 0 GPIO1 1
25 23 21 19 17 15 13
2 GPIO 2 DNC
14 16 18 20 22 24 26
3 GPIO 3 GPIO4 4
DNC GPIO5 5
12 MOSI DNC
13 MISO GPIO6 6
14 SCLK CE0 10
DNC CE1 11
working
username directory
pi@raspberrypi $
hostname type
after
this
SCLK
MOSI
SS
Master Slave 1 Slave 2
MOSI
MISO
Clock
SS SS
GPIO 17
GPIO 4
GPIO 27
GPI0 Raspberry Pi Model 2 v1.1
Raspberry Pi 2014
USB 2x
USB 2x
DSI (DISPLAY)
Audio
HDMI
ETHERNET
Power
CSI (CAMERA)
GPIO pin
VCC 3.3 V
I
Anode
200
200
Cathode
V +
_ R
GPIO pin
E G C
DP
D
Pin 1 ... 5 7 6 4 2 1 9 10 5
VCC 3.3 V
GPIO input 10 k
pin
pull up resistor
USB 2x
GPI0 Raspberry Pi Model 2 v1.1
Raspberry Pi 2014
DSI (DISPLAY)
USB 2x
CSI (CAMERA)
ETHERNET
Audio
HDMI
Power
3.3 V (Pin 1)
R1
2.2 k
LDR
GPIO
C1
1F GND (Pin 6)
TM
Training Testing
Available Consistent
Consistent partition tolerant
available partition tolerant
Replication
Replication
Read Read
Write Write Read Write
Read Read
Write Write
Management and monitoring (Ambari)
Machine
Scripting Query
learning
(pig) (Hive)
Workflow (Mahout)
Coordination and NoSQL Data
(ZooKeeper) scheduling (HBase) integration
(Oozie)
App
DB
DB App
Consumers
Spark GraphX
Spark SQL Mlib machine
streaming graph
structured data learning
real - time processing
Spark Core
Browser
Response (client) Request
URL Django
View configs.
Template Model
Model
Template
Browser
HTTP
ModPythonHandler
HttpRequest
Request Response
middleware middleware
Response? 404/500
Response
Request Exception Handler
URLConf Response
Exception
middleware
View Response?
middleware
Exception
Response
View
Instance
Host computer
AMI
Instance
Launch instances
of any type
Instance
Host computer
Startup new
instances
N1 N2 N3
New New
Load increases N1 N2 N3 N4 N5
LB
LB
New instances
join group Load decreases
N1 N2 N3 N4 N5
N1 N2 N3 N4 N5
LB
LB
Terminate instances
N1 N2 N3 N4 N5
LB
AWS
Photo
Response Queue
Photo
EC2 Instances
Photo
Web
Photo
server
Photo
Request Queue Photo
processing
server
Amazon
S3
Instance A Snapshot
Bucket
Instance B
Instance store
Master
(2) (2)
assign assign
map reduce
Split 0 Worker
(6) write
Output
Split 1 (5) Worker
d file 0
o te rea
(3) read (4) local write rem
Split 2 Worker Output
Worker
file 1
Split 3
Split 4 Worker
YANG Defined
TM
Built on standards
Future enabled
Enables secure innovation platform
Industrial EtherNet switches
remote access
CIP integration via native Extensive system - level
Plant specific design and ethernet / IP support validation testing
implementation guidance Enhanced ease of use United IT and industrial
expertise
Integrated architecture
Ethernet - to - the factory
FactoryTalk platform
Framework Logix control platform
Network architecture Industrial infrastructure
Security architecture
CISCO Rockwell
automation
Stacked layer 3 switches
Layer 2
Switch
Human Machine
Interface
(HMI)
Programmable
Automation
Controller (PAC)
Distributed
Cell/ area zone I/O(DIO)
Stacked layer 3 switches
Layer 2 Switch
Human
Machine
Interface
(HMI)
Programmable
Automation Distributed
Controller (PAC) I/O(DIO)
Domain
Network
Grid blocks
Mobility/Security Video/Collaboration
Core Places
Layered Computing
Routing/ Switching
network platforms
network services
services framework
Platforms
Vertulization/Cloud Data center
Data and
application
framework
Data Apps
Read sensor
Empty
Check slot
Database
Client Devices
Application
Micro
cloud
Web server
hp
Middleware
Database
Networking
Wireless
Sensing
Parking lot
Reliability Safety
Modernity Comfort