Date post: | 09-Jan-2017 |
Category: |
Internet |
Upload: | jan-jongboom |
View: | 143 times |
Download: | 0 times |
Building IoT devices
Mobile Era 4 November 2016
for fun and profit
@janjongboom
Developer EvangelistInternet of Things
Developers
From the internet of humans to the internet of devices
Who is making decisions when it comes to IoT?
NO
Real life example - Telenor
▪ Big telecom company
▪ Owns 4,000 buildings in Norway
▪ Toilet cleaning schedule made by 'hand'
Less people needed Automatic planningRealtime insight
Real life example - Telenor
▪ Big telecom company
▪ Owns 4,000 buildings in Norway
▪ Toilet cleaning schedule made by 'hand'
Less people needed Automatic planningRealtime insight
Internet of Things issensors + data intelligence
Three problemsHow to build smart devices?
How to discover devices?
How to interact with devices?
Discovering devices
Physical WebWalk up and use anything
BLE beacons31 bytes per packet
1 packet per second
7 years on an AA battery
Eddystone protocol
Retail $4, Chipset $2
Interactivity
BLE is more than beacons
Battery service Heartrate service
Percentage
Capacity
Current HR
Max. detectable HR
Flying serviceDirection and height characteristics
nRF Master Control Panel
Programming devices
One year on AA battery 0.137 mA
220 mARaspberry Pi 3 (idle)
microcontrollersPain to program against (C, ASM)
Little code re-use
No code sharing
(since 2009)
mbed
Online IDE
Code sharing
Hardware Abstraction Layer
> 100 boards supported
~200 staff working on it
1.3 mio compiles / month
nRF51822Nordic Semiconductors
Developing for mbedC / C++ (not as scary as it sounds)
Large set of libraries
Solid Bluetooth stack
https://developer.mbed.org/blog/entry/Bringing-JavaScript-to-mbed-OS/
One year on AA battery 0.137 mA
220 mARaspberry Pi 3 (idle)
0.020 mAmbed OS 5 beaconEddystone, 1s interval, lowest power mode
Let's build some demo's!
Get hacking!
Thank you!http://janjongboom.com
@janjongboom
Links• Juggling demo: https://github.com/web-bluetooth/juggling
• Lights demo: https://github.com/janjongboom/codefest-ru
• Google Eddystone lib: https://github.com/roywant/EddystoneBeacon
• JavaScript on mbed: https://developer.mbed.org/blog/entry/Bringing-JavaScript-to-mbed-OS/
• mbed Developer site: http://developer.mbed.org