XKE // Sigfox Workshop

Post on 15-Apr-2017

454 views 1 download

Transcript of XKE // Sigfox Workshop

Sigfox - hands onXEBIA XKE // 2016.05.02

Sigfox basics

About Sigfox

Sigfox is not selling chips

Sigfox is not building connected solutions

Sigfox has invented a radio protocol

Sigfox operates a global network

WHY ANOTHER SOLUTION ?

WHY ANOTHER SOLUTION ?

GLOBAL REACH COST EFFECTIVENESS SIMPLICITY ENERGY EFFICIENCY

How

Small messages : up to 12 bytes of useful payload

Main focus : energy efficiency

Years of autonomy for battery-powered things

Underlying tech

Unlicensed bands in the Sub GHz spectrum

Ultra Narrow Band

High capacity per base station

Able to coexist with other technologies

Hardware

Open ecosystem : rely on established Silicon vendors

TI, Atmel, SiLabs, …

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

Use casesEXAMPLES OF SOLUTIONS ALREADY IN PRODUCTION

What does IoT means ?

Sexy stuff : connected gadgets

Boring & useful

IoT

Perfect Sigfox use cases

Independent solutions

no user, no power socket, no local network

Shy devices

Doesn’t speak much, but only useful data

Cloud

Get your data

View messages : Sigfox web platform

Get messages : REST API (pull)

Receive new messages : HTTP Callbacks (push)

Callbacks

Each message received from your devices will be forwarded

to your application server

Customisable headers & body

You can set more than one callback

WorkshopYOUR TURN TO WORK

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!

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 !

Register

http://backend.sigfox.com/activate

Provider: Atmel

Country : France

Device ID & PAC: sticker on the board

HELLO WORLD

Sample code

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

Will send T° & power supply info over Sigfox

Hello World Sketch

Open the Arduino IDE

Select the board

Board type : Arduino Uno

Upload

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

First callback

Callback setup

Device Type menu

Click on your device type name

Enter the Callbacks menu

Select new default callback

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

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