Transcript
Page 1: Mobile + Cloud + IoT - Case Study

@andri_yadi | a at dycode dot com

http://andriyadi.me

Mobile + Cloud + IoT = Future

Andri Yadi

A story of product development, combining those

Part 2

Page 2: Mobile + Cloud + IoT - Case Study

CEO of

DyCode’s subsidiary, focuses on Jepret and IoT products

http://dycodex.com

Page 3: Mobile + Cloud + IoT - Case Study

This deck is part of this one:http://www.slideshare.net/andri_yadi/mobile-cloud-iot-future

Page 4: Mobile + Cloud + IoT - Case Study

Another Case StudyFree idea, for you to build :)

Page 5: Mobile + Cloud + IoT - Case Study

You want to create mobile app to monitor electricity usage

Page 6: Mobile + Cloud + IoT - Case Study

How do you achieve that?

Page 7: Mobile + Cloud + IoT - Case Study

Alternative #1 - Solution Manually enter the reading from electricity meter, regularly

Page 8: Mobile + Cloud + IoT - Case Study

Alternative #1 - Problem Are we living in a stone age? There should be a better solution :P

Page 9: Mobile + Cloud + IoT - Case Study

Another meter (digital version)

Anything in this meter that represents usage? Readable not only by human, but also by machine

Page 10: Mobile + Cloud + IoT - Case Study

LED blinking represents usage

1000 pulse = 1 kWh 1 pulse = 1Wh where 1 pulse = period = seconds between adjacent LED on Wattage = 3600 second/period

Turn out, there is…

Page 11: Mobile + Cloud + IoT - Case Study

If only we have a way to read the LED pulsing period

Page 12: Mobile + Cloud + IoT - Case Study

Create mobile app to capture the blinking Do simple image processing to determine that LED is ON or OFF Then determine the frequency of the ONs

Alternative #2 - Solution

Page 13: Mobile + Cloud + IoT - Case Study

Still need to physically come to the meter, to capture the blinking Impossible to do online usage monitoring

Alternative #2 - Problems

Page 14: Mobile + Cloud + IoT - Case Study

Cannot be solved solely by Mobile App

Page 15: Mobile + Cloud + IoT - Case Study

Architecture

Mobile app

Cloud

Data Source ????

For further data analysis and remote monitoring, you may need Cloud Still, how we collect the data?

Page 16: Mobile + Cloud + IoT - Case Study

You need IoT

Page 17: Mobile + Cloud + IoT - Case Study

Architecture

Mobile app

Cloud

IoT device is the data source

IoT

Sensor

MCU

Network

MQTT MQTT

Page 18: Mobile + Cloud + IoT - Case Study

IoT Architecture

WiFi ModuleLight sensor (Photosensitive Diode)

MCU

Page 19: Mobile + Cloud + IoT - Case Study

Used to determine electricity meter’s LED is being ON or OFF Put it as close as possible to meter’s LED LED is ON —> lower ADC value from light sensor

Light sensor

Page 20: Mobile + Cloud + IoT - Case Study

Demo

Page 21: Mobile + Cloud + IoT - Case Study

Demo Architecture

iOS app

MQTT Broker on Azure

MQTT MQTT

Espruino + Light Sensor

Page 22: Mobile + Cloud + IoT - Case Study

For simplicity of this demo, I use Espruino platform for MCU and development framework

Espruino

Page 23: Mobile + Cloud + IoT - Case Study

For internet connectivity via WiFi, I use ESP8266. Connected to Espruino Pico via WiFi Shim

Espruino + WiFi

Page 24: Mobile + Cloud + IoT - Case Study

Instead of purchasing nice looking Shim, I made my own! Ugly, I know :)

Espruino + WiFi

Page 25: Mobile + Cloud + IoT - Case Study

Espruino + WiFi +Light sensor

SetupAO of light sensor <—> A5 of Espruino

VCC of light sensor <—> 3.3v of Espruino GND <—> GND

Page 26: Mobile + Cloud + IoT - Case Study

Show me da Code!

Page 27: Mobile + Cloud + IoT - Case Study

iOS App Espruino Web IDE

Page 28: Mobile + Cloud + IoT - Case Study

https://github.com/andriyadi/Espruino-ElectricityMeterReader

Everything is here:

Page 29: Mobile + Cloud + IoT - Case Study

Custom IoT/hardware for your startup or any custom requirements?

[email protected]

Page 30: Mobile + Cloud + IoT - Case Study

http://edu.dycode.co.id | [email protected]

a bit of ads…

Page 31: Mobile + Cloud + IoT - Case Study

We contribute100+ seminars, workshops, trainings delivered

Delivered to 20+ communities, organisations,

campuses

Next event could be yours… Just drop us a message:

http://edu.dycode.co.id | [email protected]

Page 32: Mobile + Cloud + IoT - Case Study

We teach

+ + [Obj-C]

+

Page 33: Mobile + Cloud + IoT - Case Study

Opening soon…

+

Page 34: Mobile + Cloud + IoT - Case Study

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


Top Related