5th Global Azure Bootcamp
in Bandung city, Indonesia
https://edu.dycode.co.id/azurebootcamp19/
brought to you by
Huge thanks!
Sponsor Offering
Cloudmonix

https://cloudmonix.com
Cloudmonix offers 2 months free of Ultimate or
Pro plans for Azure monitoring!
http://bit.ly/globalazure2019-cloudmonix Code:
GAB2019
Serverless 360

https://serverless360.com
Serverless360 is offering a limited time Gold plan
for free!
http://bit.ly/globalazure2019-serverless360
KEMP
https://kemptechnologies.com
Kemp is providing a trial of their LoadMaster (load
balancer) tool, as well as a free Kemp 360 License
to all attendees!

http://bit.ly/globalazure2019-kemploadmaster
http://bit.ly/globalazure2019-kemp360

Offers are limited time, redeem quickly!
“Stuff We All Get”
Sponsor Offering
Progate

https://progate.com
Progate is offering a free month access to their
entire platform!
http://bit.ly/progateaccessgab2019
RevDeBug

https://revdebug.com/
RevDeBug is offering an enterprise license for 3
months for ALL attendees!

http://bit.ly/globalazure2019-revdebug
“Stuff We All Get”
Offers are limited time, redeem quickly!
Giveaway winners will receive instructions from the local organizers.
1 Winner: A LoadMaster (load balancing) software license
3 Winners: each wins 6 months free of the Enzo Online product
1 Winner: a 1 year personal subscription of an IDE of their choice
1 Winner: a 1 year subscription to Cerulean! A cross-platform Azure
management tool for storage, CosmosDB, Search, Redis Cache and
Service Bus.
3 Winners: each wins a 1 year license to their RevDeBug product
Giveaway Prizes
Enjoy the bootcamp!
AIoT powered by Azure
Intro, Demo
Bandung - Apr 27, 2019
Andri Yadi
Co-founder & CEO of DycodeX
Vice President, Indonesia IoT Association
a (at) dycodex.com | http://andriyadi.com
A Physicist, Developer, Maker, Community Guy, Entrepreneur
20 years in soZware engineering
21 years in electronics engineering
15 years in entrepreneurship

11 years as MicrosoZ Most Valuable Professional (MVP)

3 years as Hackster.io (global makers community) Ambassador
About Me
IoT is NOT just some internet-connected
devices, and monitor-able/controllable
from smartphone, like “smart lamp”
So what is it?
But first,
what is Internet of Things (IoT)?
Sensor
Explaining “Thing” using Human Analogy
Actuator
Internet of Things
Signal Signal
Control
Skin receptors
Reflexive
Signal Signal
Reflexive
Internet of Things “Thing” reflex
Gas Sensor AlarmMicrocontroller
If gas sensor senses that certain gas/smoke concentration above predefined threshold, reflexive system (Microcontroller)
will trigger alarm right away, without first sending the data to the cloud (higher computation) to analyse
Sensor
Explaining IoT using Human Analogy
Actuator
Internet of Things
Signal Signal
Reflexive
Skin receptors
Conscious
Cogitative
Sensor Actuator
Internet of Things
Signal Signal
Reflexive
Skin receptors
Conscious
Cogitative
Sensor Actuator
Internet of Things
Signal Signal
Reflexive
Skin receptors
Conscious
Cogitative
Realtime
(LOCAL, automation)
Thing
NonRealtime
CLOUD
(High
Computation)
Data Data
Reflexive
Conscious
Cogitative
CLOUD
(High
Computation)
NonRealtime
Realtime, Local
Sensor Actuator
Connectivity/networking
Thing
Internet of Things
Data Data
Reflexive
Conscious
Cogitative
CLOUD
(High
Computation)
NonRealtime
Realtime, Local
Sensor Actuator
Current Trend:
Edge Intelligence
Connectivity/networking
Thing
The conscious or “thinking” part of the
cloud now moves closer to or inside the
Thing/device
“Network of physical objects with embedded
electronics, software, connectivity, and people to
enable exchanging data, for “smart” applications
and services„
So, what is Internet of Things?
So, IoT is NOT Just Hardware!
IoT Common Architecture
Radio
Gateway
Trigger + Alert,
Internet
Cloud-sideEdge-side
Ingestion
& StorageThing
Visualization
User-side
Apps
Devices &
Firmware Mgt.
Analytics + AI
Show me real-world example!
Demo Architecture
Radio
(WiFi)
Gateway
Internet
(Cellular)Camera
CloudEdge
Ingestion
& API
Image
Classification &
Detection
Camera Hardware
MicrocontrollerCamera
I2C, I2S
OV2640
2 Megapixel
Array size: UXGA 1622X1200
Output formats: YUV(422/420)/YCnCr422,
RGB565/555, 8-bit compressed data
Maximum image transfer rate:
UXGA/SXGA: 15 fps
SVGA: 30 fps
CIF: 60 fps
ESP32
ESP32 microcontroller
CPU: Tensilica Xtensa 32-bit LX6, 240 MHz
Internal memory: 520Kb RAM, 448Kb ROM,
8KB RTC slow & fast RAM
SPI RAM: 8MB
External Flash: 4MB
WiFi (802.11): b/g/n/e/i
Bluetooth v4.2 BR/EDR & BLE
Demo Architecture
Radio
(WiFi)
Gateway
Internet
ESP32 MCU +
Camera
CloudEdge
Demo Hardware
Enough talk,
DEMO TIME!
ok…
Complete source code: https://github.com/andriyadi/esp32-custom-vision
DEMO
#1
ACCESSING CAMERA
#include <esp_log.h>
#include "sdkconfig.h"
#include "app_camera.hpp"
extern "C" {
void app_main(void);
}
#define TAG "APP"
void app_main(void)
{
esp_err_t res = camera_init();
if (res != ESP_OK) {
ESP_LOGE(TAG, "Camera init failed. Exiting app.");
return;
}
else {
ESP_LOGI(TAG, "Camera init SUCCESS!");
}
}
app_camera.hpp: https://github.com/andriyadi/esp32-custom-vision/blob/master/main/app_camera.hpp
DEMO
#2
AZURE
CUSTOM VISION
DEMO
#3
INFERENCING IMAGE
FROM CAMERA
Data Data
Reflexive
Conscious
Cogitative
CLOUD
(High
Computation)
NonRealtime
Realtime, Local
Sensor Actuator
Edge Intelligence
Connectivity/networking
Thing
DEMO
#4
EDGE INTELLIGENCE
FACE RECOGNITION LOCALLY
Camera Hardware
AI on Azure
How to create a predictive ML model
Test
Use your test dataset to validate the model
Predict
If the model is good enough, use it!
Build
Choose & configure your model
Train
Use your training dataset to build the model
Clean
data
Filter
data
Microsoft’s aim:
Making AI available to
everyone
We are pursuing AI to empower every person and every
institution ... so that they can go on to solve the most
pressing problems of our society and our economy.
– Satya Nadella, CEO, Microsoft
Image Analysis: Detection
Vision
From faces to feelings,
allow your apps to
understand 

images and videos
Speech
Hear and speak 

to your users 

by filtering noise,
identifying 

speakers, and
understanding intent
Knowledge
Tap into rich knowledge
amassed from the web,
academia, or your 

own data
Language
Process text and 

learn how to recognize
what users want
Search
Access billions of
webpages, images,
videos, and news articles
with the power of Bing
APIs
Azure Cognitive Services are ready to
go pre-trained AI models
Microsoft AI Platform
Data Science Virtual Machine. Ultimate choice.
40%of Azure VMs run Linux
Closing
Call to Actions
Azure Custom Vision
https://customvision.ai/
Hardware
ESP32: https://www.espressif.com/en/products/hardware/esp32/overview
ESP32-WROVER: https://www.espressif.com/en/products/hardware/esp-wrover-
kit/overview
Sipeed Maix Go: https://www.seeedstudio.com/Sipeed-MAix-GO-Suit-for-RISC-V-
AI-IoT-p-2874.html
Frameworks
ESP-IDF: https://github.com/espressif/esp-idf
ESP-WHO: https://github.com/espressif/esp-who
• Deploy web app w Cog Services & GitHub
aka.ms/StudentLabWeb
• Predict flights with Azure ML Studio
aka.ms/StudentLabML
• Build a neural network with Keras + Python
aka.ms/StudentLabKeras
aka.ms/azure4students (need Azure?)
Take your pick of today’s hands-on lab challenges:
Continue your Azure Journey at
h^ps://docs.microsoZ.com/learn/
AI + IoT is
the next big
thing!
Interested in adopting
IoT?
*Disclaimer: I have no data of all players in Indonesia yet. Sorry if you’re not listed.
And I’m talking about electronics maker-related players
Join Communities
Indonesia
I n d o n e s i a
Maker4Nation
Indonesia
makestroid
makestroid
makestroid
makestro.com
An Indonesia Platform for Maker:
to “democratize” knowledge, hardware
kit, and software to help makers to start
making in hardware, to drive into
Internet of Things
Start Making at
Learning
Hardware
Marketplace
Software &
Cloud
Community
RIoT is Makestro’s program for nurturing IoT
makers, officially supported by Indonesia’s
Ministry of ICT
Join
h&ps://facebook.com/asioti/
h&p://bit.ly/asioti-tgram
 h&p://bit.ly/MemberASIOTI
Edited on March 30, 2019
ESPectro32 v2 NB-IoT Backpack
Hardware Kit for Getting Started
x-camp.id
Enroll
Andri
CEO, DycodeX
a (at) dycodex.com
Keep in Touch
hi (at) dycodex.com | https://dycodex.com
We put AI in “brAIns”
Jalan Sarikaso No. 6A, Bandung, Indonesia

Global Azure Bootcamp 2019 - AIoT powered by Azure