building iot devices for fun & profit - codefest.ru 2016

44
Building IoT devices for fun and profit Jan Jongboom Developer Evangelist ARM

Upload: jan-jongboom

Post on 09-Jan-2017

614 views

Category:

Internet


0 download

TRANSCRIPT

Page 1: Building IoT devices for fun & profit - Codefest.ru 2016

Building IoT devicesfor fun and profit

Jan Jongboom Developer Evangelist ARM

Page 2: Building IoT devices for fun & profit - Codefest.ru 2016

@janjongboom

Developer EvangelistInternet of Things

Page 3: Building IoT devices for fun & profit - Codefest.ru 2016

Developers

Page 4: Building IoT devices for fun & profit - Codefest.ru 2016

Limited world viewWorld is bigger than your pocket!

Interact with the physical world

Page 5: Building IoT devices for fun & profit - Codefest.ru 2016

From the internet of humans to the internet of devices

Page 6: Building IoT devices for fun & profit - Codefest.ru 2016
Page 7: Building IoT devices for fun & profit - Codefest.ru 2016
Page 8: Building IoT devices for fun & profit - Codefest.ru 2016
Page 9: Building IoT devices for fun & profit - Codefest.ru 2016
Page 10: Building IoT devices for fun & profit - Codefest.ru 2016
Page 11: Building IoT devices for fun & profit - Codefest.ru 2016

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

Discovering devices

Page 13: Building IoT devices for fun & profit - Codefest.ru 2016

Physical WebWalk up and use anything

Page 14: Building IoT devices for fun & profit - Codefest.ru 2016
Page 15: Building IoT devices for fun & profit - Codefest.ru 2016

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

Eddystone protocol

Page 17: Building IoT devices for fun & profit - Codefest.ru 2016

Movie poster

http://cinema/3281

Page 18: Building IoT devices for fun & profit - Codefest.ru 2016
Page 19: Building IoT devices for fun & profit - Codefest.ru 2016
Page 20: Building IoT devices for fun & profit - Codefest.ru 2016

Retail $4, Chipset $2

Page 21: Building IoT devices for fun & profit - Codefest.ru 2016

Interactivity

Page 22: Building IoT devices for fun & profit - Codefest.ru 2016

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

Flying serviceDirection and height characteristics

Page 24: Building IoT devices for fun & profit - Codefest.ru 2016

nRF Master Control Panel

Page 25: Building IoT devices for fun & profit - Codefest.ru 2016
Page 26: Building IoT devices for fun & profit - Codefest.ru 2016
Page 27: Building IoT devices for fun & profit - Codefest.ru 2016
Page 28: Building IoT devices for fun & profit - Codefest.ru 2016
Page 29: Building IoT devices for fun & profit - Codefest.ru 2016

Programming devices

Page 30: Building IoT devices for fun & profit - Codefest.ru 2016

UnstreamlinedSingle-platform tools

No code sharing Lack of libraries, documentation

Page 31: Building IoT devices for fun & profit - Codefest.ru 2016

(since 2009)

mbed

Page 32: Building IoT devices for fun & profit - Codefest.ru 2016

Online IDE

Code sharing

Single way of building for all targets

Page 33: Building IoT devices for fun & profit - Codefest.ru 2016

91 boards supported

~200 staff working on it

170,000+ developers

Page 34: Building IoT devices for fun & profit - Codefest.ru 2016

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
Page 36: Building IoT devices for fun & profit - Codefest.ru 2016

nRF51822Nordic Semiconductors

Page 37: Building IoT devices for fun & profit - Codefest.ru 2016
Page 38: Building IoT devices for fun & profit - Codefest.ru 2016

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

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
Page 41: Building IoT devices for fun & profit - Codefest.ru 2016
Page 42: Building IoT devices for fun & profit - Codefest.ru 2016

Let's build some demo's!

Page 43: Building IoT devices for fun & profit - Codefest.ru 2016

Get hacking!

Page 44: Building IoT devices for fun & profit - Codefest.ru 2016

Thank you!http://janjongboom.com

@janjongboom