Building IoT devices for fun & profit - Codefest.ru 2016
-
Upload
jan-jongboom -
Category
Internet
-
view
614 -
download
0
Transcript of Building IoT devices for fun & profit - Codefest.ru 2016
![Page 1: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/1.jpg)
Building IoT devicesfor fun and profit
Jan Jongboom Developer Evangelist ARM
![Page 2: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/2.jpg)
@janjongboom
Developer EvangelistInternet of Things
![Page 3: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/3.jpg)
Developers
![Page 4: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/4.jpg)
Limited world viewWorld is bigger than your pocket!
Interact with the physical world
![Page 5: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/5.jpg)
From the internet of humans to the internet of devices
![Page 6: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/6.jpg)
![Page 7: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/7.jpg)
![Page 8: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/8.jpg)
![Page 9: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/9.jpg)
![Page 10: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/10.jpg)
![Page 11: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/11.jpg)
Three problemsHow to build smart devices?
How to discover devices?
How to interact with devices?
![Page 12: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/12.jpg)
Discovering devices
![Page 13: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/13.jpg)
Physical WebWalk up and use anything
![Page 14: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/14.jpg)
![Page 15: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/15.jpg)
BLE beacons31 bytes per packet
1 packet per second
7 years on an AA battery
![Page 16: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/16.jpg)
Eddystone protocol
![Page 18: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/18.jpg)
![Page 19: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/19.jpg)
![Page 20: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/20.jpg)
Retail $4, Chipset $2
![Page 21: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/21.jpg)
Interactivity
![Page 22: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/22.jpg)
BLE is more than beacons
Battery service Heartrate service
Percentage
Capacity
Current HR
Max. detectable HR
![Page 23: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/23.jpg)
Flying serviceDirection and height characteristics
![Page 24: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/24.jpg)
nRF Master Control Panel
![Page 25: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/25.jpg)
![Page 26: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/26.jpg)
![Page 27: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/27.jpg)
![Page 28: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/28.jpg)
![Page 29: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/29.jpg)
Programming devices
![Page 30: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/30.jpg)
UnstreamlinedSingle-platform tools
No code sharing Lack of libraries, documentation
![Page 31: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/31.jpg)
(since 2009)
mbed
![Page 32: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/32.jpg)
Online IDE
Code sharing
Single way of building for all targets
![Page 33: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/33.jpg)
91 boards supported
~200 staff working on it
170,000+ developers
![Page 34: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/34.jpg)
Open source embedded platform
Operating system for microcontrollers
Rock-solid HAL and libraries (e.g. Bluetooth)
![Page 35: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/35.jpg)
![Page 36: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/36.jpg)
nRF51822Nordic Semiconductors
![Page 37: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/37.jpg)
![Page 38: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/38.jpg)
Developing for mbedC / C++ (not as scary as it sounds)
Large set of libraries
Solid Bluetooth stack
![Page 39: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/39.jpg)
One year on AA battery 0.137 mA
0.020 mAmbed OS beaconEddystone, 1s interval, lowest power mode
![Page 40: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/40.jpg)
![Page 41: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/41.jpg)
![Page 42: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/42.jpg)
Let's build some demo's!
![Page 43: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/43.jpg)
Get hacking!
![Page 44: Building IoT devices for fun & profit - Codefest.ru 2016](https://reader031.fdocuments.net/reader031/viewer/2022013013/5872c71f1a28ab0c718b66a3/html5/thumbnails/44.jpg)
Thank you!http://janjongboom.com
@janjongboom