Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Fundamentals of IoT - Data Science Africa 2018

1,105 views

Published on

Introduction of Internet of Things for Data Scientists - talk from DSA 2018

Published in: Internet

Fundamentals of IoT - Data Science Africa 2018

  1. 1. © 2018 Arm Limited Jan Jongboom, Arm
 31 May 2018 Fundamentals of IoT
  2. 2. © 2018 Arm Limited 2
  3. 3. © 2018 Arm Limited 3 Data Scientists
  4. 4. © 2018 Arm Limited 4 Playing with models is fun... But data acquisition is even more important
  5. 5. © 2018 Arm Limited 5 Internet of Things Adding digital inputs / outputs to physical things
  6. 6. © 2018 Arm Limited 6 Internet of Things...
  7. 7. © 2018 Arm Limited 7 Internet of Things...
  8. 8. © 2018 Arm Limited 8 Internet of Things...
  9. 9. © 2018 Arm Limited 9 Two forms Data collection ML Raw data Compute / ML on the Edge ML Conclusions
  10. 10. © 2018 Arm Limited 10 Device Side Requirements Sensor Computer Connectivity Cheap & Low-Power preferred Long-range preferred
  11. 11. © 2018 Arm Limited Cheap and low-powered computers
  12. 12. © 2018 Arm Limited 12 Microcontrollers Small (1cm²) Cheap (~1$) Efficient (standby: 0.3 μA) Slow (max. 100 MHz) Limited memory (max. 256K RAM) Downsides 8 cm 12
  13. 13. © 2018 Arm Limited 13 Many software parts Bootloader Asymmetric crypto Storage driver Resilient filesystem Advanced 
 networking stack Radio drivers FlashIAP Update client
  14. 14. © 2018 Arm Limited 14 Arm Mbed A free, open source Platform OS targeting IoT end node devices Mbed OS Cortex-M RTOS
 kernel Portable
 drivers Integrated
 security IoT
 connectivity Device management Development tools Developer community Partner ecosystem 150 development boards LoRa, BLE, Cellular, Wi-Fi, etc. 14
  15. 15. © 2018 Arm Limited 15 Open source and community built 325,000 developers 70+ partners Apache 2.0 licensed https://os.mbed.com
  16. 16. © 2018 Arm Limited 16 No soldering required... Computer (Processor + RAM + ROM) General Purpose Input/Output ports (GPIO)
  17. 17. © 2018 Arm Limited 17 Connecting a moisture sensor Signal Power Ground A3 3.3V GND
  18. 18. © 2018 Arm Limited 18 Reading from the moisture sensor AnalogIn moisture(A3); while (1) { float value = moisture.read(); printf("Moisture value is %fn", value); wait_ms(500); }
  19. 19. © 2018 Arm Limited A low-power, long-range network
  20. 20. © 2018 Arm Limited 20 The case for LoRa Powerconsumption/Bandwidth Range
  21. 21. © 2018 Arm Limited 21 LoRa key use cases
  22. 22. © 2018 Arm Limited LoRa PHYsics
 crash-course © 2017 Arm Limited
  23. 23. © 2018 Arm Limited 23 High link budget RX Derived from work by Thomas Telkamp TX Power Connector loss Antenna gain Connector loss Antenna gain RX Power Path loss and fading Receiver sensitivity -137 dBm 14 dBm151 dBm link budget
  24. 24. © 2018 Arm Limited 24 Link budget Wi-Fi Sub-GHz 6LoWPAN LoRa TX Power RX Sensitivity Link budget 20 dBm -75 dBm 95 dBm 11 dBm -110 dBm 121 dBm 14 dBm -137 dBm 151 dBm
  25. 25. © 2018 Arm Limited 25 Theoretical maximum in free space 2.4 GHz, with 95.5 dBm link budget:
 550 meters 915 MHz, with 151 dBm link budget:
 850,000 meters
  26. 26. © 2018 Arm Limited 26
  27. 27. © 2018 Arm Limited 27 Unfortunately... we don't live in free space Attenuation Reflection and diffraction Fresnel zone
  28. 28. © 2018 Arm Limited 28
  29. 29. © 2018 Arm Limited 29
  30. 30. © 2018 Arm Limited Based on Tokyo - model for calculating realistic path loss Picture by Moyan Brenn: https://commons.wikimedia.org/wiki/File:Tokyo_(16043023330).jpg© 2017 Arm Limited Hata model Large city (250 bps) Large city (1,760 bps) Suburb (250 bps) TX height RX height Range 0.1 m 40 m 4 km 0.1 m 40 m 2.5 km 0.1 m 40 m 9 km Suburb (250 bps) 1 m 100 m 13 km
  31. 31. © 2018 Arm Limited https://www.youtube.com/watch?v=dxYY097QNs0
  32. 32. © 2018 Arm Limited What is LoRaWAN?
  33. 33. © 2018 Arm Limited 33 Typical LoRaWAN Topology Network Session Key: Message Integrity Applicagon Session Key: Join, Encrypgon and Decrypgon Devices Gateways Network Server User
 ApplicaYon 
 (f.e. ML) ApplicaYon Server
  34. 34. © 2018 Arm Limited 34
  35. 35. © 2018 Arm Limited The Things Network
  36. 36. © 2018 Arm Limited 36 The Things Network Mission Our mission is to build a decentralized, open and crowd sourced IoT data network Owned and operated by its users
  37. 37. © 2018 Arm Limited 37 © 2017 Arm Limited Number of Communities 623 Number of Countries 96 Number of Community Members 33633 Number of Gateways Active 3075 Number of Community Partners 492 The Things Network
  38. 38. © 2018 Arm Limited 38 You are the network
  39. 39. © 2018 Arm Limited Building something
  40. 40. © 2018 Arm Limited 40 Picking a gateway Kerlink IoT station Multi-Tech Conduit IMST iC880A Lorix One The Things Gateway Lorrier LR2 SX1301 + 2x SX1257
  41. 41. © 2018 Arm Limited 41
  42. 42. © 2018 Arm Limited 42 Usecase this afternoon Greenhouse monitoring Dev board + LoRa shield + battery Soil moisture sensor Temperature / humidity sensor
  43. 43. © 2018 Arm Limited 43 Getting started quickly https://labs.mbed.com
  44. 44. © 2018 Arm Limited 45 uTensor Deep learning for microcontrollers Runs in <256K RAM TensorFlow compatible Just does inference / prediction Open source, Apache 2.0 license http://utensor.ai uTensor
  45. 45. © 2018 Arm Limited
  46. 46. © 2018 Arm Limited 47 https://labs.mbed.com Slides: http://janjongboom.com Thank you!
  47. 47. © 2018 Arm Limited http://bit.ly/dsa2018

×