industrial iot in a nutshell
TRANSCRIPT
Internet of
Thingsin Industry:Industrial IoT in a nutshell
UBP - KARAWANG, OCT 15, 2017
fb.com/andri.yadi | a at dycode dot com
http://andriyadi.me | http://dycodex.com
Andri Yadi
github.com/andriyadi
IoT Products Hardware Kit IoT Custom Designs IoT Education
DycodeX
Asset Tracking Smart MeteringIndustrial IoTPrecision
AgricultureSmart City
Products & Services Focus
initiator ambassador
Proudly coder for 19 years
ASM, QBasic, Pascal, c, C++, Java, PHP, Bash, C#, Visual Basic, HTML, JavaScript, Python, Objective-C, Swift
.NET, Qt/QML, Java ME/EE/SE, Android SDK, iOS SDK, Node.js
ARM MBED, ESP8266, ESP-IDF, Arduino
Industry 4.0
The key of transformation is
Industrial Internet of Things
Manufacturing Benefits of Industrial IoT
0
1
2
4
5
6
7
2013 2017 2020
1,5
0,5
0,3
2,5
1,2
0,6
3
1,91,1
Hardware Services Software
US$7T IoT Opportunity Globally
Hardware +16%
Services +24%
Software +28%
Source: Cisco
APJC Market Share
31% 34% 37%
US$ Trillion
+20%
FSI140
Infrastructure207
Dist & Logistics440
Public Sector509 Manufacturing
553
Consumer754
Total 2,603 In US$ Billion
APJC IoT Market in 2020: US$2.6T
Limited to hardware
sales, i.e Wearables &
smart devices
Connected factories & Smart Cities
will be the key themes for APJC Source: Cisco
Opportunity is huge!
Internet of
ThingsHow can it help?
What is IoT?But first…
“Network of physical objects with embedded electronics, software, sensors, actuators, and network connectivity which enable them to collect and exchange data, to create intelligent applications and services„
Internet of Things
Things Connectivity People & Processes
Data Data
Internet of Things
(Sensors, actuators, MCU/MPU, network, energy, firmware) (PAN, LPWAN, Cellular) (IoT Cloud, Machine Learning, AI)
IoT Common Architecture
Radio
Gateway
Trigger & Alert
Connectivity
Cloud-sideEdge-side
Ingestion
& StorageThing
Visualization
User-side
Apps
Devices &
Firmware Mgt.
Processing
Industrial IoT
Some use cases
Operational Efficiency
Energy Management Inventory Management Asset Maintenance Workforce Management
DEMOPower meterMonitor power consumption inside factory
Predictive Maintenance
Run till it breaks
Thing to overcome
Video
Video
Built for Industrial IoT, for preventive maintenance
Measure vibration behaviour on machinery’s motors
Detect anomalies and trigger alert Suggest maintenance through Machine Learning Energy harvesting from vibration and/or heat
Motor Vibration Sensor
Placement
LoRaGateway
NetworkServer
Our ApplicationServer
WiFi/Cellular
Sensor
Node
Deployment Architecture
Edge-side Cloud-side
Company’s ERP System
LoRa
1 Production Floor
Motor Vibration Sensor
DEMOVibration SensorMeasure machines’ vibration frequency
Asset Tracking
LoRaGateway
NetworkServer
Our ApplicationServer
WiFi/Cellular
Tracker
Node
Deployment Architecture
Edge-side Cloud-side
Company’s ERP System
LoRa
1 Production Floor
DEMOAsset TrackingTrack whereabout and well-being of valuable assets
Industrial IoT
Technologies
Sensors MCU/MPU Energy Source
Actuators Network Interface
Firmware
Things
Temperature, Humidity, Atmospheric Pressure
Luminosity (light)
Vibration
Air Quality: CO2, VOC
Noise
GPS
Sensors
ESP8266Arduino ESP32
EspruinoParticle.ioPhoton, Electron
Bluino
MXChip IoT DevKit
Raspberry Pi
and manymany more…
MCU/MPU & Dev Boards
DycodeX’s “Things” Creation
LoRa HAT LoRa Shield ESPectro DevBoard LoRa backpack Motor backpack
A/C control backpack ESP32 breakout Alora Sensor Kit
ESPectro BaseRainbowrdDevBoard
Magic Button LoRa gateway HAT LoRa gateway Tracker (Cellular) Tracker (LoRa)
Fron
tBa
c k
Digital GroveConnector
3.5mm AudioConnector
Analog GroveConnector
I2C GroveConnector
Real Time Clock
Arduino Pin
Arduino Pin
GPS
Rain GaugeConnector
Wind Speed& DirectionConnector
Magnetic Sensor
I2C Grove
BatteryConnector
Buzzer
Reset Button
GPS Antenna
IMU Sensor
LEDGPS Timemark
Neopixel
LED
I2S Codec
IO Expander
IO Expander
LED
Air QualitySensor
Raspberry PiPin
I2S MicLight Sensor
Temperature& Humidity
Sensor
Rasp
berr
y Pi
Pin
Ardu
ino
Pin
GPI
O E
xpad
er (S
X150
9) P
in
11 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40
GN
D
NC
NC
TX RX5V
5V
BCLK
GN
DW
IND
SPE
ED
GN
DBU
ZZER
CS
SIG
_P27
TM_G
PSG
ND
HEA
TER
GN
D
I2S_
DIN
I2S_
DO
UT
3V
3SD
ASC
LM
AG
NET
ICG
ND
NEO
PIXE
LD
4D
5
MO
SIM
ISO
SCLK
GN
DM
CLK D7
D6
RST_
BUTT
ON
WS
SX1509_I
NT
NC
NC
WIN
D S
PEED
SCL_
5V
SDA
_5V
NC
GN
DSC
LK_5
VM
ISO
_5V
MO
SI_5
VC
S_5V
NC
TM_G
PS
D7
D6
D5
D4
MA
GN
ETIC
SX1509_I
NT
TX_5
VRX
_5V
BUZZ
ER (
via
SJ3)
NC
NC
WIN
D S
PEED NC
NEO
PIXE
LH
EATE
R
GN
DN
C5V
GN
D
RST
BUTT
ON
3V
3
NC
NC
NC
NC
RST
3V3
5V GN
DG
ND
VIN
D7
D6
D5
D4
D3
D2
D1
D0
AREF
GN
D
SCL
SDA
D13
D12
D11
D10 D9
D8
A0 A1 A2 A3 A4 A5
IOX0
IOX1
IOX2
IOX3
IOX4
IOX5
IOX6
IOX7
IOX8
IOX9
IOX1
0IO
X11
IOX1
2IO
X13
IOX1
4IO
X15
CC
S811_W
AK
EUP
RTC
_IN
TRA
IN S
ENSO
RTS
L25911_I
NT
ENV
IRO
SEN
SE_E
NG
ESTU
RE_E
NC
CS8
11_E
NIM
U_E
NM
AG
NET
IC_I
NT
IMU
_IN
TG
ESTU
RE_I
NT
CC
S811_I
NT
GPS
_EN
MIC
_EN
VEM
L6070_I
NT
P8_G
ROV
EP8
_GRO
VE
AU
DIO
_EN
(vi
a SJ
21)
LED
Fron
tBa
c k
Digital GroveConnector
3.5mm AudioConnector
Analog GroveConnector
I2C GroveConnector
Real Time Clock
Arduino Pin
Arduino Pin
GPS
Rain GaugeConnector
Wind Speed& DirectionConnector
Magnetic Sensor
I2C Grove
BatteryConnector
Buzzer
Reset Button
GPS Antenna
IMU Sensor
LEDGPS Timemark
Neopixel
LED
I2S Codec
IO Expander
IO Expander
LED
Air QualitySensor
Raspberry PiPin
I2S MicLight Sensor
Temperature& Humidity
Sensor
Rasp
berr
y Pi
Pin
Ardu
ino
Pin
GPI
O E
xpad
er (S
X150
9) P
in
11 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40
GN
D
NC
NC
TX RX5V
5V
BCLK
GN
DW
IND
SPE
ED
GN
DBU
ZZER
CS
SIG
_P27
TM_G
PSG
ND
HEA
TER
GN
D
I2S_
DIN
I2S_
DO
UT
3V
3SD
ASC
LM
AG
NET
ICG
ND
NEO
PIXE
LD
4D
5
MO
SIM
ISO
SCLK
GN
DM
CLK D7
D6
RST_
BUTT
ON
WS
SX1509_I
NT
NC
NC
WIN
D S
PEED
SCL_
5V
SDA
_5V
NC
GN
DSC
LK_5
VM
ISO
_5V
MO
SI_5
VC
S_5V
NC
TM_G
PS
D7
D6
D5
D4
MA
GN
ETIC
SX1509_I
NT
TX_5
VRX
_5V
BUZZ
ER (
via
SJ3)
NC
NC
WIN
D S
PEED NC
NEO
PIXE
LH
EATE
R
GN
DN
C5V
GN
D
RST
BUTT
ON
3V
3
NC
NC
NC
NC
RST
3V3
5V GN
DG
ND
VIN
D7
D6
D5
D4
D3
D2
D1
D0
AREF
GN
D
SCL
SDA
D13
D12
D11
D10 D9
D8
A0 A1 A2 A3 A4 A5
IOX0
IOX1
IOX2
IOX3
IOX4
IOX5
IOX6
IOX7
IOX8
IOX9
IOX1
0IO
X11
IOX1
2IO
X13
IOX1
4IO
X15
CC
S811_W
AK
EUP
RTC
_IN
TRA
IN S
ENSO
RTS
L25911_I
NT
ENV
IRO
SEN
SE_E
NG
ESTU
RE_E
NC
CS8
11_E
NIM
U_E
NM
AG
NET
IC_I
NT
IMU
_IN
TG
ESTU
RE_I
NT
CC
S811_I
NT
GPS
_EN
MIC
_EN
VEM
L6070_I
NT
P8_G
ROV
EP8
_GRO
VE
AU
DIO
_EN
(vi
a SJ
21)
LED
Alora Board: Sensors & Actuators
by DycodeX
ESPectro32
by DycodeX
Fron
t
Hea
der 2
x20
ESP3
2 br
eako
ut P
ins
Bac
k
ESPectro32 Development Board
ESP32 as MicrocontrollerBuilt-in USB to TTL using CP21042×20 Pin Header Breakout45 Edge Pins BreakoutLED matrix 7×7 controlled by charlieplexing method using IS31FL3731 via I2CBuilt-in Neopixel LED connected to IO27Buttons A/B connected to IO0 and IO4Capacitive touch area A/B connected to IO13 and IO2Micro SD card slot via SPI, chip select connected to IO33Power: LiPo battery via JST connector, or 5V~6V via Micro USB connectorBuilt-in Photo Transistor connected to IO36I2C and GPIO grove connectorCompatible I2C 2.54mm pin header for extended OLED
Key Features
5V
GN
D
IO2
IO0
IO5
IO12
3V
3IO
22
IO21
GN
D
IO19
IO18
IO23
IO34
3V
3
IO17
IO13
IO16
IO4
CH
IP-ENSCL SDA VP 3V3 GND
7x7 Dot LED MatrixModulated by Charlieplexing
Using IS31FL3731Built-in RGB Neopixel connected to IO27
LED Built-in connected to IO15
Reset Button
LED Power
Muted silicone button connected to IO0and also provide capacitive touch area
above the button using IO13
I2C Breakout pin with 2.54mm pitch
Micro SD Card Slot SPI communication
Photo Transistor using KDT00030TR
ESP32 Breakout pin slot
ESP32 Breakout Pin
I2S Breakout Connector
Muted silicone button connected to IO4and also provide capacitive touch areaabove the button using IO2
Micro USB Connector for
A
B
113579
111315171921232527293133353739
2468
10121416182022242628303234363840
5V
GND5V
IO1IO3IO26GNDIO34IO4GNDIO32IO33IO5IO39GNDIO13GNDIO2IO36IO22
U0TXDU0RXDDAC2
ADC1 CH6
ADC1 CH4ADC1 CH5
ADC1 CH3
ADC1 CH0I2C SCL
3V3IO21IO22IO35GNDIO27IO16IO173V3
IO23IO19IO18GNDIO0
IO14IO12IO14
CHIP-ENIO25IO15GND
TOUCH7
TOUCH1TOUCH6TOUCH5
TOUCH3
I2C SCLI2C SDA
ADC1 CH7
U2RXDU2TXD
SPI MOSISPI MISOSPI SCLK
DAC1
TOUCH0
32K XP32K XN
SEN VN
TOUCH4
TOUCH2SEN VP
GN
D
5V
GN
DIO
1IO
33V
3
IO15
IO14
D+ D-
IO25
IO26
IO33
IO32
IO35
IO27
3V
3
IO36
IO39
VBA
TTGND 3V3 VP SDA SCL
Microcontroller based on ESP32MCU, WiFi, and Bluetooth Module
ESP32 UART Breakout Pin
I2C Grove
GPIO’s Grove
Battery ConnectorDC 6V Max
Charlieplexing ModuleChannelB Breakout Pin
5V
GN
D
IO2
IO0
IO5
IO1
2
3V
3IO
22
IO2
1G
ND
IO1
9IO
18
IO2
3IO
34
3V
3
IO1
7IO
13
IO1
6IO
4C
HIP-
ENSCL SDA VP 3V3 GND
LED Built-in connected to IO15
Reset Button
LED Power
Muted silicone button connected to IO0and also provide capacitive touch area
above the button using IO13
I2C Breakout pin with 2.54mm pitch
Micro SD Card Slot SPI communication
Photo Transistor using KDT00030TR
ESP32 Breakout pin slot
ESP32 Breakout Pin
I2S Breakout Connector
Muted silicone button connected to IO4and also provide capacitive touch areaabove the button using IO2
Micro USB Connector for
A
B
113579
111315171921232527293133353739
2468
10121416182022242628303234363840
5V
GND5V
IO1IO3IO26GNDIO34IO4GNDIO32IO33IO5IO39GNDIO13GNDIO2IO36IO22
U0TXDU0RXDDAC2
ADC1 CH6
ADC1 CH4ADC1 CH5
ADC1 CH3
ADC1 CH0I2C SCL
3V3IO21IO22IO35GNDIO27IO16IO173V3
IO23IO19IO18GNDIO0
IO14IO12IO14
CHIP-ENIO25IO15GND
TOUCH7
TOUCH1TOUCH6TOUCH5
TOUCH3
I2C SCLI2C SDA
ADC1 CH7
U2RXDU2TXD
SPI MOSISPI MISOSPI SCLK
DAC1
TOUCH0
32K XP32K XN
SEN VN
TOUCH4
TOUCH2SEN VP
ESPectro32: Front
by DycodeX
Fron
t
Hea
der 2
x20
ESP3
2 br
eako
ut P
ins
Bac
k
ESPectro32 Development Board
ESP32 as MicrocontrollerBuilt-in USB to TTL using CP21042×20 Pin Header Breakout45 Edge Pins BreakoutLED matrix 7×7 controlled by charlieplexing method using IS31FL3731 via I2CBuilt-in Neopixel LED connected to IO27Buttons A/B connected to IO0 and IO4Capacitive touch area A/B connected to IO13 and IO2Micro SD card slot via SPI, chip select connected to IO33Power: LiPo battery via JST connector, or 5V~6V via Micro USB connectorBuilt-in Photo Transistor connected to IO36I2C and GPIO grove connectorCompatible I2C 2.54mm pin header for extended OLED
Key Features
5V
GN
D
IO2
IO0
IO5
IO12
3V
3IO
22
IO21
GN
D
IO19
IO18
IO23
IO34
3V
3
IO17
IO13
IO16
IO4
CH
IP-ENSCL SDA VP 3V3 GND
7x7 Dot LED MatrixModulated by Charlieplexing
Using IS31FL3731Built-in RGB Neopixel connected to IO27
LED Built-in connected to IO15
Reset Button
LED Power
Muted silicone button connected to IO0and also provide capacitive touch area
above the button using IO13
I2C Breakout pin with 2.54mm pitch
Micro SD Card Slot SPI communication
Photo Transistor using KDT00030TR
ESP32 Breakout pin slot
ESP32 Breakout Pin
I2S Breakout Connector
Muted silicone button connected to IO4and also provide capacitive touch areaabove the button using IO2
Micro USB Connector for
A
B
113579
111315171921232527293133353739
2468
10121416182022242628303234363840
5V
GND5V
IO1IO3IO26GNDIO34IO4GNDIO32IO33IO5IO39GNDIO13GNDIO2IO36IO22
U0TXDU0RXDDAC2
ADC1 CH6
ADC1 CH4ADC1 CH5
ADC1 CH3
ADC1 CH0I2C SCL
3V3IO21IO22IO35GNDIO27IO16IO173V3
IO23IO19IO18GNDIO0
IO14IO12IO14
CHIP-ENIO25IO15GND
TOUCH7
TOUCH1TOUCH6TOUCH5
TOUCH3
I2C SCLI2C SDA
ADC1 CH7
U2RXDU2TXD
SPI MOSISPI MISOSPI SCLK
DAC1
TOUCH0
32K XP32K XN
SEN VN
TOUCH4
TOUCH2SEN VP
GN
D
5V
GN
DIO
1IO
33V
3
IO15
IO14
D+ D-
IO25
IO26
IO33
IO32
IO35
IO27
3V
3
IO36
IO39
VBA
TTGND 3V3 VP SDA SCL
Microcontroller based on ESP32MCU, WiFi, and Bluetooth Module
ESP32 UART Breakout Pin
I2C Grove
GPIO’s Grove
Battery ConnectorDC 6V Max
Charlieplexing ModuleChannelB Breakout Pin
5V
GN
D
IO2
IO0
IO5
IO12
3V
3IO
22
IO21
GN
D
IO19
IO18
IO23
IO34
3V
3
IO17
IO13
IO16
IO4
CH
IP-ENSCL SDA VP 3V3 GND
LED Built-in connected to IO15
Reset Button
LED Power
Muted silicone button connected to IO0and also provide capacitive touch area
above the button using IO13
I2C Breakout pin with 2.54mm pitch
Micro SD Card Slot SPI communication
Photo Transistor using KDT00030TR
ESP32 Breakout pin slot
ESP32 Breakout Pin
I2S Breakout Connector
Muted silicone button connected to IO4and also provide capacitive touch areaabove the button using IO2
Micro USB Connector for
A
B
113579
111315171921232527293133353739
2468
10121416182022242628303234363840
5V
GND5V
IO1IO3IO26GNDIO34IO4GNDIO32IO33IO5IO39GNDIO13GNDIO2IO36IO22
U0TXDU0RXDDAC2
ADC1 CH6
ADC1 CH4ADC1 CH5
ADC1 CH3
ADC1 CH0I2C SCL
3V3IO21IO22IO35GNDIO27IO16IO173V3
IO23IO19IO18GNDIO0
IO14IO12IO14
CHIP-ENIO25IO15GND
TOUCH7
TOUCH1TOUCH6TOUCH5
TOUCH3
I2C SCLI2C SDA
ADC1 CH7
U2RXDU2TXD
SPI MOSISPI MISOSPI SCLK
DAC1
TOUCH0
32K XP32K XN
SEN VN
TOUCH4
TOUCH2SEN VP
ESPectro32: Back
by DycodeX
Things
Analog1-Wire
2-Wire (I2C) SPI
Sensor/Actuator MCU
Let’s Have A Demo
Reading data from Alora sensors
Demo Architecture
2-Wire (I2C)
Energy Source
Mains (AC) Batteries Super/Ultra Capacitors
Energy Harvesting
Solar Heat Vibration RF
Energy Harvesting - RF
P2110B Powerharvester® Receiver Low RF input for longer range operation
RF harvesting range down to -11dBm input power
Frequency range from 850-950MHz
Configurable regulated output voltage up to 5.5V
Up to 50mA output current
Connectivity
Communication Technologies - Overview
Mbps
Kbps
bps
10 m 100 m 1 km 10 km
Baud rate
Range
Wi-Fi / BT
Short Range LPWAN
ST Confidential
Cellular
-M
-NB-IOT
5G
850/1900 MHz900/1800 MHz
Sub-GHz
2.4 GHz
WIFI/BT
Short Range LPWAN
Cellular
IoT Connectivity: Range vs Speed
Cellular
Ran
ge
Battery Life
LONG
SHORT LONG
Local network(WiFi, ZigBee, Z-Wave)
Personal network(Bluetooth)
Low-Power Wide-Area Network(LPWAN: Sigfox, LoRa, Dash7)
Source: Alexander Vanwynsberghe, Blog article 'Long-range radios will change how the Internet of Things communicates'
IoT Connectivity: Range vs Power
LPWA Designed specifically to support IoT
What is LPWA
Low Power, Wide Area Networks
Low data throughput = High sensitivity = Long range
Relatively low cost
Multiple Access = One-to-Many Architecture
Using licensed or unlicensed spectrum
License-free/Unlicensed Spectrum
EC-
-m
Licensed Spectrum
LPWA: Technologies
LoRa
LoRaWAN Gateway Network
ServerYour
ApplicationServers
Internet (IP/UDP)Node
LoRa/LoRaWAN Architecture
MQTT
9B 09 05 24 4B 1D 18 09 32 1E 65 A3 00 00 79 01 FF FF 55 B8 D2 BB AB 47 4A 00 C7 02 E5 FE D6 FF F6 FF F5 FF 2B E2 50 00
9B 09 05 24 4B 1D 18 09 32 1E 65 A3 00 00 79 01 FF FF 55 B8 D2 BB AB 47 4A 00 C7 02 E5 FE D6 FF F6 FF F5 FF 2B E2 50 00
{ “lux”, 31.21, “temp”: 23.21, “lat”: -6.121, …}
Edge-side Cloud-side
Node
Processes
Ingestion Analytics + Machine Learning
StorageDashboardDevice
Management
API
Message Broker
Apps
3rd party systems
on Cloud-side
Processes
Stream Analysis
AzureIoT Hub
and a whole lot more…
IoT Cloud Platform
Local IoT Cloud Platform
Makestro Cloud by DycodeX
by Telkom
Yours? :)
Predix is a platform with components that span from the machine to the cloud to enable industrial use cases.
๏Predix Machine
๏Predix Connectivity
๏Predix EdgeManager
๏Predix Cloud
๏Predix Services
DEMOPower meter to the cloud
It’s exciting time to invest in IoT!
How can we help?
for your next IoT endeavour
Phase #1 Phase #2 Phase #3 Phase #4 Phase #5
Hardware Prototype Iterations
Mass Production
IdeationFirmware
& app development
Ready to market!
DycodeX can help!
[email protected] | http://dycodex.com
IoT & maker movement enabler