xke // sigfox workshop

29
Sigfox - hands on XEBIA XKE // 2016.05.02

Upload: nicolas-lesconnec

Post on 15-Apr-2017

465 views

Category:

Engineering


1 download

TRANSCRIPT

Page 1: XKE // Sigfox Workshop

Sigfox - hands onXEBIA XKE // 2016.05.02

Page 2: XKE // Sigfox Workshop
Page 3: XKE // Sigfox Workshop

Sigfox basics

Page 4: XKE // Sigfox Workshop

About Sigfox

Sigfox is not selling chips

Sigfox is not building connected solutions

Sigfox has invented a radio protocol

Sigfox operates a global network

Page 5: XKE // Sigfox Workshop

WHY ANOTHER SOLUTION ?

Page 6: XKE // Sigfox Workshop

WHY ANOTHER SOLUTION ?

Page 7: XKE // Sigfox Workshop

GLOBAL REACH COST EFFECTIVENESS SIMPLICITY ENERGY EFFICIENCY

Page 8: XKE // Sigfox Workshop

How

Small messages : up to 12 bytes of useful payload

Main focus : energy efficiency

Years of autonomy for battery-powered things

Page 9: XKE // Sigfox Workshop

Underlying tech

Unlicensed bands in the Sub GHz spectrum

Ultra Narrow Band

High capacity per base station

Able to coexist with other technologies

Page 10: XKE // Sigfox Workshop

Hardware

Open ecosystem : rely on established Silicon vendors

TI, Atmel, SiLabs, …

No fees per chip, stack is provided for free to enables

Page 11: XKE // Sigfox Workshop
Page 12: XKE // Sigfox Workshop

Use casesEXAMPLES OF SOLUTIONS ALREADY IN PRODUCTION

Page 13: XKE // Sigfox Workshop

What does IoT means ?

Sexy stuff : connected gadgets

Boring & useful

IoT

Page 14: XKE // Sigfox Workshop

Perfect Sigfox use cases

Independent solutions

no user, no power socket, no local network

Shy devices

Doesn’t speak much, but only useful data

Page 15: XKE // Sigfox Workshop

Cloud

Page 16: XKE // Sigfox Workshop

Get your data

View messages : Sigfox web platform

Get messages : REST API (pull)

Receive new messages : HTTP Callbacks (push)

Page 17: XKE // Sigfox Workshop

Callbacks

Each message received from your devices will be forwarded

to your application server

Customisable headers & body

You can set more than one callback

Page 18: XKE // Sigfox Workshop

WorkshopYOUR TURN TO WORK

Page 19: XKE // Sigfox Workshop

Please

Don’t forget to publish your experiments

Code Samples, HW design, fails … will be useful to other

people

We all start by copy/pasting ;)

Your own website, github, hackster.io, instructables … your call!

Page 20: XKE // Sigfox Workshop

Useful Links

Workshop slides

http://bit.ly/XKESigfox

Q&A

http://ask.sigfox.com

Github

https://github.com/nicolsc/

AtmelSigfoxShieldEx

http://github.com/sigfox/makers-tour-

resources

http://github.com/nicolsc

Add your own !

Page 21: XKE // Sigfox Workshop

Register

http://backend.sigfox.com/activate

Provider: Atmel

Country : France

Device ID & PAC: sticker on the board

Page 22: XKE // Sigfox Workshop

HELLO WORLD

Page 23: XKE // Sigfox Workshop

Sample code

Check out https://github.com/nicolsc/AtmelSigfoxShieldEx

Will send T° & power supply info over Sigfox

Page 24: XKE // Sigfox Workshop

Hello World Sketch

Open the Arduino IDE

Select the board

Board type : Arduino Uno

Upload

Page 25: XKE // Sigfox Workshop

Message received ?

http://backend.sigfox.com

Navigate to the devices menu in the top bar

Click on the ID of your device

Enter the messages menu from the left navigation column

Page 26: XKE // Sigfox Workshop

First callback

Page 27: XKE // Sigfox Workshop

Callback setup

Device Type menu

Click on your device type name

Enter the Callbacks menu

Select new default callback

Page 28: XKE // Sigfox Workshop

Callback setup

TYPE : DATA UPLINK

Choose a CHANNEL : URL (EMAIL for a quick test)

Url pattern: URL of your own server

Use HTTP method: GET/POST/PUT

Page 29: XKE // Sigfox Workshop

Callback status

In the Devices > Messages panel, you have a indicator of the callback

status (an arrow)

Black : in progress

Green : Callback OK

Red : Callback KO

Click the arrow to display details.

KO means at least one of the callbacks failed