Internet of Things: Intro and Demo

Post on 22-Jan-2018

288 views 6 download

Transcript of Internet of Things: Intro and Demo

Internet of

ThingsIntro + Demo

UNISSULA, Semarang - 2017, Mar 24

IoT

So, what is IoT?

Oh hi…

Before continue…

@andri_yadi | a at dycode dot com

http://andriyadi.me | http://dycodex.com

Andri Yadi

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, Arduino/Wiring

150+ Speakings30+ talks about IoT for the past 3 years

8 years in a row

makestro.com

Initiator of a maker movement

Co-founder & CEO of

Back to what is IoT

Things Connectivity People & Processes

Data Data

First coined in 2009 by Kevin Ashton, RFID pioneer and cofounder of the Auto-ID Center at the Massachusetts Institute of Technology (MIT)

Internet of Things

Why IoT?

50 Petabytes of Data

Human creates

Human is unreliable But…

Things(Sensors, actuators, microcontrollers, network, energy source)

Provide means to the things so they can gather data - see, hear, smell - and react

Things Connectivity People & Processes

enable to create new types of smart applications & services

By integrating

Simple example of IoT

Let’s see a demo!

ESPectro board + ConnectIO backpack

What really happen there?

Things Blynk Cloud App

Data Data

It’s NOT a new thing!

My final project in 2003 was kind of about IoT - Smart Home When Smartphone not so smart, Microcontroller not so easy to code, internet not so fast (GPRS)

My final project architecture

Circa 2003

Internet of

ThingsApplications

Few Popular Applications

Activity tracking

Smart home: thermostat, light,

outlet

Connected Car

Internet of

ThingsJust a Few Real Life Applications

Food Reservation

User Cafe

How to deliver the order data to the cafe/resto?

Cloud

Physical paper FTW!

The solution?

Prototype VersionMagic PrinterHence…

First VersionMagic Printer

https://dycodex.com/magic-printer/

Magic Printer

MagicPrinter for Food Reservation

UserCafe

Physical order paper is printed, automatically. Response the order

directly from the printer

DycodeX is partnering with Foodgasm.id

Cloud, on Microsoft Azure

Magic Printer backend

WearablesPet Tracker

Tracker - 1st prototype

Tracker - Final version

InternetCloud

Apps

Internet

Architecture

Trackers

Gateway

Devices & Data Sources Processing Presentation

Radio

Smart “Gallon”SMART DRINKING WATER MONITORING PLATFORM

by DycodeX | http://dycodex.com/gallon

A custom-made, compact, autonomous machine for delivering engagements

ENVIRONMENTAL MONITORING

WASTE MANAGEMENT

DISASTER WARNING

SMART CITY

AloraEnvironmental

Sensor Kit

by DycodeX

Internet of

ThingsTECHNOLOGY

Connectivity

Source: postscapes.com

LoRa/LoRaWAN

Cloud

3G/4G/WiFi/Ethernet Internet

Sensor nodes:15-20km range, 10 years of battery life, small form factor

Networking

UDP TCP

6LoWPAN WAN

IoT - Orchestrator

IoT - Analysis

IoT - Analytics

IoT - Dashboard

Azure IoT Hub

Azure IoT Hub

Bi-directional communication with billions of IoT devicesDevice-to-cloud telemetry data, cloud-to-device command, track message delivery

Azure IoT Hub

Work with familiar platforms and protocolsSDKs for multi-platforms HTTP, AMQP, and MQTT

Azure IoT Hub

Security-enhanced IoT solutionsIndividual identities and credentials for each of connected devices

Azure IoT Hub

IoT Gateway SDKGot legacy or non-IP-enabled devices? Build your own gateway for those devices

Devices Device Connectivity Storage Analytics Presentation & Action

Event Hubs SQL Database Machine Learning App Service

IoT Hubs Table/Blob Storage

Stream Analytics Power BI

Service Bus DocumentDB HDInsight Notification Hubs

External Data Sources

External Data Sources Data Factory Mobile Services

BizTalk Services

{ }

MyDrivingaka.ms/IoTSampleApp

DEMO

Let’s publish temperature, pressure telemetry data (using BMP180 sensor) to Azure IoT Hub

Then turn on/off electrical appliance (connected to the electrical socket) from Azure IoT Hub

Code: https://github.com/andriyadi/AzureIoTHubMQTTClientSample

DEMOPublishing telemetry data to Azure IoT Hub

Internet of

ThingsHow to start?

Solve your own problem

Start with…

Be a maker!

LEARN TO CODE

Image source: https://www.entrepreneur.com/article/241644

Developer Skillset

Thing side Cloud side Mobile side

[Obj-C]

PRACTICE SOLDERING

LEARN BASIC ELECTRONICS

Use devELOPMENT boards

Use Ready-to-use Cloud

Explore The Real World techs

Join Communities

easY way?

makestro.com

A movement to “democratize” knowledge, hardware kit, and software to help makers to start making in hardware.

Disclosure: it’s supported by DycodeX

Makestro Cloud - Formerly iothub.id

Makestro Cloud - Dashboard

Makestro Shop - shop.makestro.comSome kits to help you start making

ESPectro - IoT Dev Board

What will you make TODAY?

So…

makestro.com

Be hardware maestro

A movement to “democratize” knowledge, hardware kit, and software to help makers to start making in hardware.

Disclosure: it’s supported by DycodeX

makestroid

makestroid

makestroid

DycodeX IS HIRING!

Interns are welcome

101

x@dycode.com | http://dycodex.com

IoT & maker movement enabler

Thanks!Andri YadiEmail — a at dycode dot com twitter — @andri_yadi www — andriyadi.me github — github.com/andriyadi