Mobile + Cloud + IoT - Case Study

Download Mobile + Cloud + IoT - Case Study

Post on 21-Apr-2017



Devices & Hardware

0 download

Embed Size (px)


  • @andri_yadi | a at dycode dot com

    Mobile + Cloud + IoT = Future

    Andri Yadi

    A story of product development, combining those

    Part 2

  • CEO of

    DyCodes subsidiary, focuses on Jepret and IoT products

  • This deck is part of this one:

  • Another Case StudyFree idea, for you to build :)

  • You want to create mobile app to monitor electricity usage

  • How do you achieve that?

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

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

  • Another meter (digital version)

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

  • 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

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

  • 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

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

    Alternative #2 - Problems

  • Cannot be solved solely by Mobile App

  • Architecture

    Mobile app


    Data Source ????

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

  • You need IoT

  • Architecture

    Mobile app


    IoT device is the data source






  • IoT Architecture

    WiFi ModuleLight sensor (Photosensitive Diode)


  • Used to determine electricity meters LED is being ON or OFF Put it as close as possible to meters LED LED is ON > lower ADC value from light sensor

    Light sensor

  • Demo

  • Demo Architecture

    iOS app

    MQTT Broker on Azure


    Espruino + Light Sensor

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


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

    Espruino + WiFi

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

    Espruino + WiFi

  • Espruino + WiFi +Light sensor

    SetupAO of light sensor A5 of Espruino

    VCC of light sensor 3.3v of Espruino GND GND

  • Show me da Code!

  • iOS App Espruino Web IDE


    Everything is here:

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

  • |

    a bit of ads

  • We contribute100+ seminars, workshops, trainings delivered

    Delivered to 20+ communities, organisations,


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

  • We teach

    + + [Obj-C]


  • Opening soon


  • Thanks!Andri YadiEmail a at dycode dot com twitter @andri_yadi www github