Mobile + Cloud + IoT - Case Study
-
Upload
andri-yadi -
Category
Devices & Hardware
-
view
1.186 -
download
3
Transcript of Mobile + Cloud + IoT - Case Study
![Page 1: Mobile + Cloud + IoT - Case Study](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/1.jpg)
@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](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/2.jpg)
CEO of
DyCode’s subsidiary, focuses on Jepret and IoT products
http://dycodex.com
![Page 3: Mobile + Cloud + IoT - Case Study](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/3.jpg)
This deck is part of this one:http://www.slideshare.net/andri_yadi/mobile-cloud-iot-future
![Page 4: Mobile + Cloud + IoT - Case Study](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/4.jpg)
Another Case StudyFree idea, for you to build :)
![Page 5: Mobile + Cloud + IoT - Case Study](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/5.jpg)
You want to create mobile app to monitor electricity usage
![Page 6: Mobile + Cloud + IoT - Case Study](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/6.jpg)
How do you achieve that?
![Page 7: Mobile + Cloud + IoT - Case Study](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/7.jpg)
Alternative #1 - Solution Manually enter the reading from electricity meter, regularly
![Page 8: Mobile + Cloud + IoT - Case Study](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/8.jpg)
Alternative #1 - Problem Are we living in a stone age? There should be a better solution :P
![Page 9: Mobile + Cloud + IoT - Case Study](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/9.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/10.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/11.jpg)
If only we have a way to read the LED pulsing period
![Page 12: Mobile + Cloud + IoT - Case Study](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/12.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/13.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/14.jpg)
Cannot be solved solely by Mobile App
![Page 15: Mobile + Cloud + IoT - Case Study](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/15.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/16.jpg)
You need IoT
![Page 17: Mobile + Cloud + IoT - Case Study](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/17.jpg)
Architecture
Mobile app
Cloud
IoT device is the data source
IoT
Sensor
MCU
Network
MQTT MQTT
![Page 18: Mobile + Cloud + IoT - Case Study](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/18.jpg)
IoT Architecture
WiFi ModuleLight sensor (Photosensitive Diode)
MCU
![Page 19: Mobile + Cloud + IoT - Case Study](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/19.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/20.jpg)
Demo
![Page 21: Mobile + Cloud + IoT - Case Study](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/21.jpg)
Demo Architecture
iOS app
MQTT Broker on Azure
MQTT MQTT
Espruino + Light Sensor
![Page 22: Mobile + Cloud + IoT - Case Study](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/22.jpg)
For simplicity of this demo, I use Espruino platform for MCU and development framework
Espruino
![Page 23: Mobile + Cloud + IoT - Case Study](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/23.jpg)
For internet connectivity via WiFi, I use ESP8266. Connected to Espruino Pico via WiFi Shim
Espruino + WiFi
![Page 24: Mobile + Cloud + IoT - Case Study](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/24.jpg)
Instead of purchasing nice looking Shim, I made my own! Ugly, I know :)
Espruino + WiFi
![Page 25: Mobile + Cloud + IoT - Case Study](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/25.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/26.jpg)
Show me da Code!
![Page 27: Mobile + Cloud + IoT - Case Study](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/27.jpg)
iOS App Espruino Web IDE
![Page 28: Mobile + Cloud + IoT - Case Study](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/28.jpg)
https://github.com/andriyadi/Espruino-ElectricityMeterReader
Everything is here:
![Page 31: Mobile + Cloud + IoT - Case Study](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/31.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/32.jpg)
We teach
+ + [Obj-C]
+
![Page 33: Mobile + Cloud + IoT - Case Study](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/33.jpg)
Opening soon…
+
![Page 34: Mobile + Cloud + IoT - Case Study](https://reader033.fdocuments.in/reader033/viewer/2022051318/5876063f1a28ab4a508b6a01/html5/thumbnails/34.jpg)
Thanks!Andri YadiEmail — a at dycode dot com twitter — @andri_yadi www — andriyadi.me github — github.com/andriyadi