saving lives with ibeacons (extended remix version)

126
Saving lives with iBeacons (Extended Remix Version) Evan K. Stone Lead iOS Developer Cloud City Development // San Francisco

Upload: evan-stone

Post on 22-Jan-2018

296 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Saving Lives with iBeacons (Extended Remix Version)

Saving lives with iBeacons (Extended Remix Version)

Evan K. Stone Lead iOS Developer

Cloud City Development // San Francisco

Page 2: Saving Lives with iBeacons (Extended Remix Version)

“An integrated design and so.ware consultancy specializing in web and mobile apps…”

Page 3: Saving Lives with iBeacons (Extended Remix Version)

Hello, AltConf!

Page 4: Saving Lives with iBeacons (Extended Remix Version)

The Purpose

Page 5: Saving Lives with iBeacons (Extended Remix Version)

Saving Lives with iBeacons

Page 6: Saving Lives with iBeacons (Extended Remix Version)

Will have some technical info

Page 7: Saving Lives with iBeacons (Extended Remix Version)

But really…

Page 8: Saving Lives with iBeacons (Extended Remix Version)

this talk is actually about…

Page 9: Saving Lives with iBeacons (Extended Remix Version)

thinking creaJvely

Page 10: Saving Lives with iBeacons (Extended Remix Version)

thinking in ways to improve lives of those around us

Page 11: Saving Lives with iBeacons (Extended Remix Version)

thinking in ways that could save the life of one person

Page 12: Saving Lives with iBeacons (Extended Remix Version)

Designers and Developers working together!

Page 13: Saving Lives with iBeacons (Extended Remix Version)

Designing and building amazing soluJons

Page 14: Saving Lives with iBeacons (Extended Remix Version)

CollaboraJng to help others

Page 15: Saving Lives with iBeacons (Extended Remix Version)

Dreaming of new ways to use technologies like iBeacons

Page 16: Saving Lives with iBeacons (Extended Remix Version)

Not just for the sake of innovaJon…

Page 17: Saving Lives with iBeacons (Extended Remix Version)

But to really help people.

Page 18: Saving Lives with iBeacons (Extended Remix Version)

Maybe even save a life.

Page 19: Saving Lives with iBeacons (Extended Remix Version)
Page 20: Saving Lives with iBeacons (Extended Remix Version)

The Jdal wave is upon us.

Page 21: Saving Lives with iBeacons (Extended Remix Version)

The Internet of Things(IoT)

Page 22: Saving Lives with iBeacons (Extended Remix Version)

Especially in the last year

Page 23: Saving Lives with iBeacons (Extended Remix Version)

Flash flood of new devices

Page 24: Saving Lives with iBeacons (Extended Remix Version)

Renewed interest in iBeacons

Page 25: Saving Lives with iBeacons (Extended Remix Version)

What are iBeacons?

Page 26: Saving Lives with iBeacons (Extended Remix Version)

Bluetooth Low Energy devices

Page 27: Saving Lives with iBeacons (Extended Remix Version)

They basically do one thing.

Page 28: Saving Lives with iBeacons (Extended Remix Version)

They broadcast some numbers at regular intervals.

Page 29: Saving Lives with iBeacons (Extended Remix Version)
Page 30: Saving Lives with iBeacons (Extended Remix Version)

“AdverJsement”

Page 31: Saving Lives with iBeacons (Extended Remix Version)

Payload

Page 32: Saving Lives with iBeacons (Extended Remix Version)

3 Things

Page 33: Saving Lives with iBeacons (Extended Remix Version)

UUID

Page 34: Saving Lives with iBeacons (Extended Remix Version)

D9B9EC1F-3925-43D0-80A9-1E39D4CEA95C

Page 35: Saving Lives with iBeacons (Extended Remix Version)

Major Value

Page 36: Saving Lives with iBeacons (Extended Remix Version)

42

Page 37: Saving Lives with iBeacons (Extended Remix Version)

Minor Value

Page 38: Saving Lives with iBeacons (Extended Remix Version)

7

Page 39: Saving Lives with iBeacons (Extended Remix Version)

Allows categorizaJon and idenJficaJon

Page 40: Saving Lives with iBeacons (Extended Remix Version)

UUID: OrganizaJon/LocaJon Major Value: Category

Minor Value: Item

Page 41: Saving Lives with iBeacons (Extended Remix Version)

Key Concept:

Page 42: Saving Lives with iBeacons (Extended Remix Version)

You have to know the values to map them

(or know how to get them)

Page 43: Saving Lives with iBeacons (Extended Remix Version)

Bundled locally

Page 44: Saving Lives with iBeacons (Extended Remix Version)

Retrieved from server(bonus points for using locaJon)

Page 45: Saving Lives with iBeacons (Extended Remix Version)

Minimum hardware requirements for BLE development (including iBeacons)

Page 46: Saving Lives with iBeacons (Extended Remix Version)

iPhone 4S (or later) iPod touch (5th generaJon)

iPad (3rd generaJon or later) iPad mini (or later)

Page 47: Saving Lives with iBeacons (Extended Remix Version)

iOS 7+(1.66%)

Page 48: Saving Lives with iBeacons (Extended Remix Version)

Side Note…

Page 49: Saving Lives with iBeacons (Extended Remix Version)

iOS Devices can be iBeacons too!

Page 50: Saving Lives with iBeacons (Extended Remix Version)

AirLocatehlps://developer.apple.com/library/ios/samplecode/AirLocate/IntroducJon/Intro.html

(you will have to make some modificaJons because it’s broken…)

Page 51: Saving Lives with iBeacons (Extended Remix Version)

😬

Page 52: Saving Lives with iBeacons (Extended Remix Version)

Devices

Page 53: Saving Lives with iBeacons (Extended Remix Version)

EsJmote

Page 54: Saving Lives with iBeacons (Extended Remix Version)
Page 55: Saving Lives with iBeacons (Extended Remix Version)
Page 56: Saving Lives with iBeacons (Extended Remix Version)

Gimbal(this is what we used for the project I’ll show you in a bit…)

Page 57: Saving Lives with iBeacons (Extended Remix Version)

Many Others

Page 58: Saving Lives with iBeacons (Extended Remix Version)
Page 59: Saving Lives with iBeacons (Extended Remix Version)

Typical Scenarios for iBeacons

Page 60: Saving Lives with iBeacons (Extended Remix Version)

Museumshlps://www.brooklynmuseum.org/community/

blogosphere/tag/ibeacon/

Page 61: Saving Lives with iBeacons (Extended Remix Version)

Art InstallaJons

Page 62: Saving Lives with iBeacons (Extended Remix Version)

Retail Shops

Page 63: Saving Lives with iBeacons (Extended Remix Version)

Stadiums

Page 64: Saving Lives with iBeacons (Extended Remix Version)

CreaJve SoluJons…

Page 65: Saving Lives with iBeacons (Extended Remix Version)

Put a beacon in your luggage.

Page 66: Saving Lives with iBeacons (Extended Remix Version)

Play Treasure Hunt

Page 67: Saving Lives with iBeacons (Extended Remix Version)

Get creaJve! Have fun!

Page 68: Saving Lives with iBeacons (Extended Remix Version)

Developing with iBeacons

Page 69: Saving Lives with iBeacons (Extended Remix Version)

Geong the right Framework

Page 70: Saving Lives with iBeacons (Extended Remix Version)

iBeacons are BLE devices, right?

Page 71: Saving Lives with iBeacons (Extended Remix Version)

Yes, but…

Page 72: Saving Lives with iBeacons (Extended Remix Version)

In this context we use Core LocaJon!

Page 73: Saving Lives with iBeacons (Extended Remix Version)

huh?

Page 74: Saving Lives with iBeacons (Extended Remix Version)

It makes sense when you think about it.

Page 75: Saving Lives with iBeacons (Extended Remix Version)

iBeacons are proximity devices.

Page 76: Saving Lives with iBeacons (Extended Remix Version)

“I am near you.”

Page 77: Saving Lives with iBeacons (Extended Remix Version)

OK… so how do I use Core LocaJon?

Page 78: Saving Lives with iBeacons (Extended Remix Version)

Three Steps

Page 79: Saving Lives with iBeacons (Extended Remix Version)

Create a CLLocaJonManager

Page 80: Saving Lives with iBeacons (Extended Remix Version)

Set the CLLocaJonManager’s delegate

Page 81: Saving Lives with iBeacons (Extended Remix Version)

Create a CLBeaconRegion

Page 82: Saving Lives with iBeacons (Extended Remix Version)

var proximityUUID: NSUUID { get }

Page 83: Saving Lives with iBeacons (Extended Remix Version)

CLBeaconMajorValue

Page 84: Saving Lives with iBeacons (Extended Remix Version)

CLBeaconMinorValue

Page 85: Saving Lives with iBeacons (Extended Remix Version)

Get AuthorizaJon to use LocaJon Services

Page 86: Saving Lives with iBeacons (Extended Remix Version)

Use requestWhenInUseAuthorization() whenever it makes sense to do so

Page 87: Saving Lives with iBeacons (Extended Remix Version)

Start Ranging!locationManager.startRangingBeaconsInRegion(beaconRegion)

Page 88: Saving Lives with iBeacons (Extended Remix Version)

Beacons will be caught in the didRangeBeacons delegate method

Page 89: Saving Lives with iBeacons (Extended Remix Version)

Demo

Page 90: Saving Lives with iBeacons (Extended Remix Version)

TARDISBeacon

Page 91: Saving Lives with iBeacons (Extended Remix Version)
Page 92: Saving Lives with iBeacons (Extended Remix Version)

Geong back to saving lives…

Page 93: Saving Lives with iBeacons (Extended Remix Version)

How can iBeacons save lives?

Page 94: Saving Lives with iBeacons (Extended Remix Version)

Is it really that far-fetched?

Page 95: Saving Lives with iBeacons (Extended Remix Version)

At MIT, Lille Devices Labs has been educaJng medical professionals

about the Maker Movement

Page 96: Saving Lives with iBeacons (Extended Remix Version)

They have been traveling around the world showing them DIY concepts

and techniques

Page 97: Saving Lives with iBeacons (Extended Remix Version)

Teaching them that these techniques can help them develop tools and soluJons that would either be too costly or not available

Page 98: Saving Lives with iBeacons (Extended Remix Version)

They don’t know these tools and techniques exist.

Page 99: Saving Lives with iBeacons (Extended Remix Version)

hlp://www.popup-labs.com/

“Finding the stealth ingenuity of nurses”

Page 100: Saving Lives with iBeacons (Extended Remix Version)

hlp://www.makernurse.org

Page 101: Saving Lives with iBeacons (Extended Remix Version)

Medical Maker Kits

Page 102: Saving Lives with iBeacons (Extended Remix Version)
Page 103: Saving Lives with iBeacons (Extended Remix Version)

Medical Make App

Page 104: Saving Lives with iBeacons (Extended Remix Version)
Page 105: Saving Lives with iBeacons (Extended Remix Version)
Page 106: Saving Lives with iBeacons (Extended Remix Version)
Page 107: Saving Lives with iBeacons (Extended Remix Version)

Why so important?

Page 108: Saving Lives with iBeacons (Extended Remix Version)

Let’s take one example…

Page 109: Saving Lives with iBeacons (Extended Remix Version)

Asthma.

Page 110: Saving Lives with iBeacons (Extended Remix Version)

14 million Americans affected by Asthma

Page 111: Saving Lives with iBeacons (Extended Remix Version)
Page 112: Saving Lives with iBeacons (Extended Remix Version)

albuterol inhalers cost ~$70 out of pocket and with insurance coverage

range from $0-40

Page 113: Saving Lives with iBeacons (Extended Remix Version)

Some would benefit from a Smart Inhaler

Page 114: Saving Lives with iBeacons (Extended Remix Version)

Tracks and monitors their usage

Page 115: Saving Lives with iBeacons (Extended Remix Version)

Cost?

Page 116: Saving Lives with iBeacons (Extended Remix Version)

About $1000 a year.

Page 117: Saving Lives with iBeacons (Extended Remix Version)

Medical Make Demo

Page 118: Saving Lives with iBeacons (Extended Remix Version)

iBeacons allow medical professionals to explore the materials

Page 119: Saving Lives with iBeacons (Extended Remix Version)

–Anna Young, Pop Up Labs

“Demys?fies medical technology and devices.”

Page 120: Saving Lives with iBeacons (Extended Remix Version)

The Maker Studios show them how to get started!

Page 121: Saving Lives with iBeacons (Extended Remix Version)

They can build a Smart Inhaler at a fracJon of the cost.

Page 122: Saving Lives with iBeacons (Extended Remix Version)

At least one of the 14 million Asthma sufferers could benefit

from a Smart Inhaler.

Page 123: Saving Lives with iBeacons (Extended Remix Version)

With Maker Kits and DIY hopefully that person

will get one.

Page 124: Saving Lives with iBeacons (Extended Remix Version)

If we can save just one of those who would be taken by Asthma

this year it will be worth it.

Page 125: Saving Lives with iBeacons (Extended Remix Version)

And that’s how we save lives with iBeacons.

Page 126: Saving Lives with iBeacons (Extended Remix Version)

Evan K. Stone

web: hGp://www.cloudcity.io

cloud city blog: hGp://blog.cloudcity.io

blog: hGp://www.interac?velogic.net

twiGer: @interac?vlogic