iBeacon meetup June 2014

19
Whats New in iBeacon Rob Amos

description

Presentation about iBeacon for Developers. Fundamentals, iBeacon CMS setup, iBeacon Application flow and trilateration.

Transcript of iBeacon meetup June 2014

Page 1: iBeacon meetup June 2014

Whats New in iBeaconRob Amos

Page 2: iBeacon meetup June 2014

iOS 8• Introduced at WWDC (June 2014)

• New Location Services Capabilities:

• Floor Detection

• Indoor Positioning System

• Lock Screen Store Proximity

Page 3: iBeacon meetup June 2014

Brand Name Deployments

• Duane Read trialling in New York

• Virgin Atlantic @ London Heathrow Airport

• ANKAmall in Istanbul, Turkey

• US baseball games

• US grocery chains (Giant Eagle, Safeway, Walgreens and Walmart)

Page 4: iBeacon meetup June 2014

iBeacon FundamentalsRob Amos

Page 5: iBeacon meetup June 2014

iBeacon Fundamentals

• Available Information

• CMS-backed Applications

• Trilateration / Indoor Positioning

Page 6: iBeacon meetup June 2014

Far

Near

Immediate

Available Information• One second averages

• Beacon details:

• Unique Identifier (Manufacturer)

• Major Number (Series, Site, Location)

• Minor Number (Beacon Number)

• Proximity (Immediate, Near, Far)

• Accuracy (Distance)

• RSSI (Relative Signal Strength)

Page 7: iBeacon meetup June 2014

RSSI Proximity Accuracy03:54:21 -53 near 2.26003:54:22 -53 near 1.98303:54:23 -58 near 2.06803:54:24 -53 near 1.81603:54:25 -49 near 1.36403:54:26 -49 near 1.12903:54:27 -53 near 1.17403:54:28 -55 near 1.29203:54:29 -54 near 1.33703:54:30 -54 near 1.36703:54:31 -53 near 1.35003:54:32 -51 near 1.26603:54:33 -51 near 1.21203:54:34 -51 near 1.173

Example

Page 8: iBeacon meetup June 2014

AWS Cloud

CMS Database

CMS Setup

• Changes are specific to each CMS

• Tie iBeacon to Content

• Simple WordPress Example:

• Add Page

• Set Permalink to /UUID-major-minor/

• Strip unnecessary HTML, show just content.

Page 9: iBeacon meetup June 2014

Application Flow

Ignore Broadcast

Receive iBeacon Broadcast

http://yourcms.com/UUID-major-minor/

iBeacon within range? Page exists?Already displaying

content? Fetch page for iBeacon Display page

Page 10: iBeacon meetup June 2014

Other Tips

• Report last seen time for each beacon → maintenance.

• Don’t rely on accuracy setting for point in time distance.

• Data smoothing improves accuracy but reduces responsiveness.

• Context-aware is just the beginning, use your imagination.

Page 11: iBeacon meetup June 2014

Trilateration (Indoor Positioning)

• Device coordinates on an x,y grid.

• Accurate to within 1-3m.

• Use device sensors (accelerometer, gyroscope) to improve accuracy.

• Calculated using signal strength and approximate distance to multiple beacons.

• At least three beacons required to be visible.

Page 12: iBeacon meetup June 2014

Trilateration Example1m1m

0, 0 0, 5

5, 0 5, 5

Page 13: iBeacon meetup June 2014

Proximity RSSI Accuracy

Beacon1 Near -65 2.83

Trilateration Example1m

0, 0 0, 5

5, 0 5, 5

1m

0, 0 0, 5

5, 0 5, 5

Page 14: iBeacon meetup June 2014

Trilateration Example1m

0, 0 0, 5

5, 0 5, 5

Proximity RSSI Accuracy

Beacon1 Near -65 2.83

Beacon2 Near -65 3.61

1m

0, 0 0, 5

5, 0 5, 5

Page 15: iBeacon meetup June 2014

Trilateration Example1m

0, 0 0, 5

5, 0 5, 5

Proximity RSSI Accuracy

Beacon1 Near -65 2.83

Beacon2 Near -65 3.61

Beacon3 Near -57 3.61

1m

0, 0 0, 5

5, 0 5, 5

Page 16: iBeacon meetup June 2014

Trilateration Example1m

0, 0 0, 5

5, 0 5, 5

2, 2

Proximity RSSI Accuracy

Beacon1 Near -65 2.83

Beacon2 Near -65 3.61

Beacon3 Near -57 3.61

Beacon4 Far -66 4.24

Page 17: iBeacon meetup June 2014

Trilateration Example

But it’s never that accurate!

1m

0, 0 0, 5

5, 0 5, 5

2, 2

1m

0, 0 0, 5

5, 0 5, 5

2, 2

Page 18: iBeacon meetup June 2014

Trilateration Example

Indoor Positioning is messy.

!

But usable.

1m

0, 0 0, 5

5, 0 5, 5

2, 2

Page 19: iBeacon meetup June 2014

Questions?