Building IoT devices for fun and profit - Mobile Era 2016

Download Building IoT devices for fun and profit - Mobile Era 2016

Post on 09-Jan-2017

137 views

Category:

Internet

0 download

TRANSCRIPT

Building IoT devicesMobile Era 4 November 2016 for fun and profit@janjongboomDeveloper EvangelistInternet of ThingsDevelopersFrom the internet of humans to the internet of devicesWho is making decisions when it comes to IoT?NOReal life example - Telenor Big telecom company Owns 4,000 buildings in Norway Toilet cleaning schedule made by 'hand' Less people needed Automatic planningRealtime insightReal life example - Telenor Big telecom company Owns 4,000 buildings in Norway Toilet cleaning schedule made by 'hand' Less people needed Automatic planningRealtime insightInternet of Things issensors + data intelligenceThree problemsHow to build smart devices? How to discover devices? How to interact with devices?Discovering devicesPhysical WebWalk up and use anythingBLE beacons31 bytes per packet 1 packet per second 7 years on an AA batteryEddystone protocolMovie posterhttp://cinema/3281http://cinema/3281Retail $4, Chipset $2InteractivityBLE is more than beaconsBattery service Heartrate servicePercentageCapacityCurrent HRMax. detectable HRFlying serviceDirection and height characteristicsnRF Master Control PanelProgramming devicesOne year on AA battery 0.137 mA220 mARaspberry Pi 3 (idle)microcontrollersPain to program against (C, ASM) Little code re-use No code sharing(since 2009)mbedOnline IDE Code sharing Hardware Abstraction Layer> 100 boards supported ~200 staff working on it 1.3 mio compiles / monthnRF51822Nordic SemiconductorsDeveloping for mbedC / C++ (not as scary as it sounds) Large set of libraries Solid Bluetooth stackhttps://developer.mbed.org/blog/entry/Bringing-JavaScript-to-mbed-OS/One year on AA battery 0.137 mA220 mARaspberry Pi 3 (idle)0.020 mAmbed OS 5 beaconEddystone, 1s interval, lowest power modeLet's build some demo's!Get hacking!Thank you!http://janjongboom.com@janjongboomLinks 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.orghttps://github.com/web-bluetooth/jugglinghttps://github.com/janjongboom/codefest-ruhttps://github.com/roywant/EddystoneBeaconhttps://developer.mbed.org/blog/entry/Bringing-JavaScript-to-mbed-OS/http://developer.mbed.org