SlideShare a Scribd company logo
1 of 94
Download to read offline
#6 Madrid — 25.11.2015
Program
• Slides
• Demo(s)
• Workshop
• Fun
Us
Nicolas Lesconnec
Developer & Maker Evangelist
Anthony Charbonnier
Startup Relations Manager
Jon Regueiro
Support Engineer
ABOUT SIGFOX
About SIGFOX
• SIGFOX has invented a radiocommunication
protocol
• SIGFOX is operating a global network
• SIGFOX does not sell hardware components
• SIGFOX does not build connected solutions
New possibilities
• Direct Internet connection.
• No battery drain. Years of autonomy.
• Detect. Send. Receive.
• No configuration
In a nutshell
• Power on
• Send a message
• It’s picked up by n of our base stations
• Instantly forwarded to your own server
• That’s it
Complexity
• AT$SF=0123456789
• No pairing or configuration of any kind
• HTTP request to your server
Proof
Why SIGFOX
• Hub-based technologies are not compatible with
independent devices
• Need for a protocol designed for the IoT, and
not one tweaked to address it.
Core concepts
• Energy efficiency
• Very Long Range
• Out of the box connectivity
• Outdoor + Indoor
• Two-way communication
• Low bandwidth, small messages
• Ultra Narrow Band
Energy efficiency
• Tx : ~25/30 mA for a few seconds
• 99.x% of the time, device is silent
• Idle consumption is key
• Idle : a few µA
Very Long Range
• Countryside : Tens of kms
• Cities : A few kms
• Direct line of sight : wow !
Out of the box
• Network is serving the devices, not the other
way round
• Device simply sends a frame, message is
detected by n base stations
• Message is validated / deduplicated by our
backend
Outdoor + indoor
• 868MHz has good propagation properties
• Radio waves are not magic
• Consider ~20dB of attenuation indoor, and
~30dB for light underground or tricky buildings
Two-way communication
• Send updates to your device(s)
• Default behaviour: wake up, send, back to sleep
• No passive Rx mode
• Device can receive a message upon request
• Every communication is instigated by the device
Low bandwidth
• 100 bits / s
• 12 bytes per message
12 bytes !?
• Yes. Seriously. 12 bytes.
• This is the available payload.
• You can put a lot of info in 96 bits
• 2^96 is a 30ish-digit number.
• 8 billions of billions of billions of possible values
Payload examples
• Full GPS Coordinates : 6 bytes
• Temperature : 2 bytes
• State reporting : 1 byte
• Hearbeat, update request : 0 byte
How frequently ?
• 140 times a day
140 times / day
• Not a technology limit
• Compliant with the European regulation: 1% duty
cycle
Money
• Most pricey subscription: €14/year
• A couple of devices, 140 messages/day
• The higher volume, the lower the price
• The lower number of messages, the lower the price
• Down to €1/year for large volumes & a couple of
messages/day
• Startup plan : €8/year, as if already 30k devices.
Security
Security
• Each device is identified by a unique ID on the
network
• Each message is signed
• Servers managed by ourselves, in 2 french
datacenters.
• Security is never finished, permanent effort.
Signature
• Each message is accompanied by an hashed
signature, made from :
• the device id
• the device PK (unknown to the user)
• the payload
• internal increment
Signature
• Replayed messages
• Altered messages
• Spoofed messages
Encryption
• By default, the payload is not encrypted
• Encryption cost a lot of energy
• No « one size fits all » solution.
• Up to you to use the encryption most suited to
your case
Radio properties
• Great resistance to interferors
• Very difficult to jam
• Interception is hard
• UNB
• Unpredictable frequency
Radio properties
Ultra Narrow Band
Ultra Narrow Band
• The SIGFOX protocol relies on the Ultra Narrow
Band technology
• A message : ~100Hz wide
• Each base station watch a 200KHz part of the
spectrum
• Hard part: detect message without knowledge
of the precise frequency or schedule
Ultra Narrow Band
• Why Ultra Narrow Band ?
• Easy analogy : cars vs motorbikes
Quiet Base station
Undesired signals
Message received
Frequency used
• SIGFOX uses unlicensed sub-GHz bands :
• 868MHz in Europe
• 902MHz in the US
Unlicensed != unregulated
• SIGFOX complies with both ETSI (Europe) &
FCC (US) regulations
• ETSI : 1% duty cycle
• FCC : duration of emission
Coverage
Global network
• Roaming is included in the basic subscription
• Your device can switch from one country to
another without additional charges.
Current - Nationwide
• France
• Netherlands
• Spain
• UK
Current - cities
• Bogota
• Dublin
• Milan
• Munich
• Santiago
• San Francisco
• …
Rollout in progress
• Belgium
• Denmark
• Italy
• Luxembourg
• Portugal
• USA
USA
• Currently: San Francisco
• Early 2016 : 10 majors cities, including Atlanta,
Boston, Chicago, Dallas, Houston, Los Angeles
• And we’re just starting :)
Hello World
Hello World
• Send a dummy message
• Check it on the SIGFOX website
• Forward it through the callback mechanism
• Store message in a database
• Display list of recorded events
Use cases
IoT != Connected gadgets
Sexy Stuff
BORING
BUT USEFUL
IOT
Good use cases
• Not that talkative devices : small messages
every now and then
• Independent devices
Metering & utilities
Smart City
Ifttt-like
• Press the button, send an
empty frame & trigger any pre
determined action
• « Mom I’m home ! »
• « Get me a taxi»
• Replay last order, ~Amazon Dash
More
• Assisted .. and Predictive Maintenance
• Logistics : GPS Tracking
• Security
• Healthcare, stay-at-home people
DIY Projects
• Connected wine cellar. Because french.
• Connected cat food dispenser. Because cats.
• Kitchen garden: temperature, moisture, …
• GPS Tracking of anything
You ?
• You can build a PoC very quickly
• Lot of funny stuff to make
• And lot of $$$ to make too ;)
• KISS, dumb device means:
• Cheap
• Less prone to failure
Hardware
Hardware SIGFOX
• SIGFOX is not a hardware vendor
• Many established partners offer SIGFOX-ready
chips: Atmel, TI, Silicon Labs, Axsem, Atim, …
• Most Sub-GHz radio transceivers are
compatible, it’s just about a software upgrade.
Prototyping
• Arduino : Snootlab, SmartEverything
• Raspberry Pi : Yadom
• Can be bought one unit a time
• Get started within minutes
• Not for industrial use
Modules
• Easy to work with : AT commands
• Price range from ~10 to 20€
• Evaluation boards available from
manufacturers : Adeunis, Telecom Design,
Telit, ..
SoC, transceivers
• Texas Instruments, Atmel, SiLabs, Axsem, ..
• Cheap, a few $
• More complex to work with if not familiar
• Certification needed if you don’t stick to the
provided ref design.
Antenna
• Critical when doing radio
• 868MHz -> best case is 17cm (lambda/2)
• Helicoidal, patch, … antennas possible.
Cloud
Get your data
• Part of the standard service.
• 3 ways
• View - website
• Pull - HTTP API
• Push - HTTP Callback
Common use case :
push callbacks
• Get notified each time of your devices send a
message
• Can trigger whatever you want : alarm,
notification, data processing, …
• Example here: http://github.com/nicolsc/sigfox-
callback-demo
Set up a callback
Downlink
• Message sent to a device can be
• Automatic with a pre configuration
• Sent from your own server
Downlink auto
• Simply set what message you want to send back
• Hardcoded
• Time, Station ID, .. for sync purposes
Downlink callback
• Same mechanism than the uplink callback
• Set up an URL
• An when called, send your 8-byte frame within
the response body
Real demo
Connected RFID reader
• Standard 125KHz RFID reader & tags
• Once a tag is detected, send its ID through
SIGFOX
• Update a live dashboard
• Do something else :)
Resources
• https://github.com/ameltech/
• + Checkout github.com/nicolsc/sigfox-* for some
demos & sample codes
First steps with the
SmartEverything
Register
• http://backend.sigfox.com/activate
• Click SmartEverything
• Enter the device id of your board + the provided PAC
number
• Check http://10.0.0.118:1234/
• Operator : select SIGFOX_Spain
• Enter your personal info
Getting started
• Plug the SmartEverything board using a micro USB cable
• Plug the antenna ;)
• Check that it’s recognised by your computer
• $ ls /dev/tty.*
• Windows
• Launch Powershell
• > [System.IO.Ports.SerialPort]::getportnames()
Arduino setup
• Install the Arduino Zero core
• Tools > Boards > Board Manager
• Install the ASME core
• Tools > Boards > Manager (Again !), filter on type=Partner
• Choose the SmartEverything Board Type
• Tools > Boards
• Install the libs associated to each sensor (... and to the SIGFOX module)
• Sketch > Include Library > Manage Libraries ; Filter on
Type=Partner ; install each library
1st Arduino Sketch
• Open the Arduino IDE
• Select Board Type > Arduino Zero
• Select the correct port
• File > Examples > SmartEverything > VL6180X >
AmbientLight
• Upload
• The blue LED on the board should blink
Hello World
• File > Examples > SmartEverything > Sigfox >
DataModeEU
• Upload
Check message
• http://backend.sigfox.com
• Navigate to the « device » menu
• Click on the device ID
• « Devices messages »
Set up a callback
Don’t have a server ?
• https://github.com/nicolsc/sigfox-callback-demo
• Git clone & push to your server
• Or simply click « Deploy to Heroku »
Downlink
How does it work ?
• The Module send the frame, then sleep for 20s
• Then it enters Rx mode
• Waits 20s for a response
• Quits Rx mode & goes to deep sleep
Request a downlink
• Use the AT$SF command, with an additional
parameters
• AT$SF = [hex byte]*, 2, 1
Set up the downlink
Handle the response
• When entering Rx mode, the module will display
• +RX BEGIN
• Received frame will be displayed as
• +RX=[hex byte] [hex byte]…
• When leaving Rx mode, it will display
• +RX END
Handle the response
• Detect an input line starting with +RX= & parse it
as a series of hex bytes
• If no downlink message has been sent, you’ll
have no +RX= line, just the BEGIN & END flags
Sample input/output
AT$SF=55 50 4c 49 4e 4b, 2, 1
OK
+RX BEGIN
+RX=44 4f 57 4e 4c 49 4e 4b
+RX END
Contribute
Share
• Please share what you’ll make with SIGFOX
• Hackster.io, instructables, github … your move.
• Q&A
• http://sigfox.cloud.answerhub.com/
• Keep in touch :
• nicolas.lesconnec@sigfox.com
• twitter: @nlesconnec

More Related Content

What's hot

Get started on SIGFOX
Get started on SIGFOXGet started on SIGFOX
Get started on SIGFOX
Ryan Derouin
 

What's hot (20)

Big Data through small messages with Sigfox
Big Data through small messages with SigfoxBig Data through small messages with Sigfox
Big Data through small messages with Sigfox
 
Sigfox Technology Overview (nov 2017)
Sigfox Technology Overview (nov 2017)Sigfox Technology Overview (nov 2017)
Sigfox Technology Overview (nov 2017)
 
NWave Platform Overview
NWave Platform Overview NWave Platform Overview
NWave Platform Overview
 
Sigfox Overview
Sigfox OverviewSigfox Overview
Sigfox Overview
 
XKE // Sigfox Workshop
XKE // Sigfox WorkshopXKE // Sigfox Workshop
XKE // Sigfox Workshop
 
Sigfox Makers Tour - Mexico City
Sigfox Makers Tour - Mexico CitySigfox Makers Tour - Mexico City
Sigfox Makers Tour - Mexico City
 
Sigfox Makers Tour - Bratislava
Sigfox Makers Tour - BratislavaSigfox Makers Tour - Bratislava
Sigfox Makers Tour - Bratislava
 
BCX17 - Sigfox intro
BCX17 - Sigfox introBCX17 - Sigfox intro
BCX17 - Sigfox intro
 
Sigfox presentation [Sep 2016]
Sigfox presentation [Sep 2016]Sigfox presentation [Sep 2016]
Sigfox presentation [Sep 2016]
 
Cellular lpwan paris nov 2015
Cellular  lpwan   paris nov 2015Cellular  lpwan   paris nov 2015
Cellular lpwan paris nov 2015
 
Sigfox + Arduino MKRFOX Workshop
Sigfox + Arduino MKRFOX WorkshopSigfox + Arduino MKRFOX Workshop
Sigfox + Arduino MKRFOX Workshop
 
Get started on SIGFOX
Get started on SIGFOXGet started on SIGFOX
Get started on SIGFOX
 
[Feb 2020] Cours IoT - CentraleSupelec - Master SIO
[Feb 2020] Cours IoT - CentraleSupelec - Master SIO[Feb 2020] Cours IoT - CentraleSupelec - Master SIO
[Feb 2020] Cours IoT - CentraleSupelec - Master SIO
 
Overview of Low Power Wide Area Networks
Overview of Low Power Wide Area NetworksOverview of Low Power Wide Area Networks
Overview of Low Power Wide Area Networks
 
Sigfox Makers Tour - Torino
Sigfox Makers Tour - TorinoSigfox Makers Tour - Torino
Sigfox Makers Tour - Torino
 
Sigfox Makers Tour - Copenhagen
Sigfox Makers Tour - CopenhagenSigfox Makers Tour - Copenhagen
Sigfox Makers Tour - Copenhagen
 
IoT Workshop with Sigfox & Arduino - Copenhagen Business School
IoT Workshop with Sigfox & Arduino - Copenhagen Business SchoolIoT Workshop with Sigfox & Arduino - Copenhagen Business School
IoT Workshop with Sigfox & Arduino - Copenhagen Business School
 
Sigfox World Expo - Beginners Workshop
Sigfox World Expo - Beginners WorkshopSigfox World Expo - Beginners Workshop
Sigfox World Expo - Beginners Workshop
 
SIGFOX basics for Intel IoT Roadshow
SIGFOX basics for Intel IoT RoadshowSIGFOX basics for Intel IoT Roadshow
SIGFOX basics for Intel IoT Roadshow
 
Sigfox Introduction - Pycom GoInvent NYC
Sigfox Introduction - Pycom GoInvent NYCSigfox Introduction - Pycom GoInvent NYC
Sigfox Introduction - Pycom GoInvent NYC
 

Viewers also liked

Sigfox whitepaper
Sigfox whitepaperSigfox whitepaper
Sigfox whitepaper
Market Engel SAS
 

Viewers also liked (10)

[2015] Sigfox basics
[2015] Sigfox basics[2015] Sigfox basics
[2015] Sigfox basics
 
Understand LPWA tetchnologies (Sigfox and LoRa)
Understand LPWA tetchnologies (Sigfox and LoRa)Understand LPWA tetchnologies (Sigfox and LoRa)
Understand LPWA tetchnologies (Sigfox and LoRa)
 
Cc1350lp deadleaf power consumption characterization
Cc1350lp deadleaf power consumption characterizationCc1350lp deadleaf power consumption characterization
Cc1350lp deadleaf power consumption characterization
 
Sigfox whitepaper
Sigfox whitepaperSigfox whitepaper
Sigfox whitepaper
 
An Overview of LoRA, Sigfox, and IEEE 802.11ah
An Overview of LoRA, Sigfox, and IEEE 802.11ahAn Overview of LoRA, Sigfox, and IEEE 802.11ah
An Overview of LoRA, Sigfox, and IEEE 802.11ah
 
Low Power Wireless Technologies and Standards for the Internet of Things
Low Power Wireless Technologies and Standards for the Internet of ThingsLow Power Wireless Technologies and Standards for the Internet of Things
Low Power Wireless Technologies and Standards for the Internet of Things
 
LPWAN Technologies for Internet of Things (IoT) and M2M Scenarios
LPWAN Technologies for Internet of Things (IoT) and M2M ScenariosLPWAN Technologies for Internet of Things (IoT) and M2M Scenarios
LPWAN Technologies for Internet of Things (IoT) and M2M Scenarios
 
LPWAN for IoT
LPWAN for IoTLPWAN for IoT
LPWAN for IoT
 
The Future is Internet of Things (IOT)
The Future is Internet of Things (IOT)The Future is Internet of Things (IOT)
The Future is Internet of Things (IOT)
 
Bosch Connected Experience - Sigfox Presentation
Bosch Connected Experience - Sigfox PresentationBosch Connected Experience - Sigfox Presentation
Bosch Connected Experience - Sigfox Presentation
 

Similar to SIGFOX Makers Tour - Madrid

Similar to SIGFOX Makers Tour - Madrid (20)

Making and breaking security in embedded devices
Making and breaking security in embedded devicesMaking and breaking security in embedded devices
Making and breaking security in embedded devices
 
A brief introduction to making your own (Internet of Things) Thing
A brief introduction to making your own (Internet of Things) ThingA brief introduction to making your own (Internet of Things) Thing
A brief introduction to making your own (Internet of Things) Thing
 
Internet of Things, Mobility & .Net Micro Framework SydMobNet March 2014
Internet of Things, Mobility & .Net Micro Framework SydMobNet March 2014Internet of Things, Mobility & .Net Micro Framework SydMobNet March 2014
Internet of Things, Mobility & .Net Micro Framework SydMobNet March 2014
 
Network Security: Protecting SOHO Networks
Network Security: Protecting SOHO NetworksNetwork Security: Protecting SOHO Networks
Network Security: Protecting SOHO Networks
 
[OTA15] Back to binary !
[OTA15] Back to binary ![OTA15] Back to binary !
[OTA15] Back to binary !
 
FM & Bluetooth & WIFI, Oh My!
FM & Bluetooth & WIFI, Oh My!FM & Bluetooth & WIFI, Oh My!
FM & Bluetooth & WIFI, Oh My!
 
Null mumbai-iot-workshop
Null mumbai-iot-workshopNull mumbai-iot-workshop
Null mumbai-iot-workshop
 
R0boCamp2016 Гліб Вінніков Home automation by ESP8266
R0boCamp2016  Гліб Вінніков  Home automation by ESP8266R0boCamp2016  Гліб Вінніков  Home automation by ESP8266
R0boCamp2016 Гліб Вінніков Home automation by ESP8266
 
Automating with the Internet of Things
Automating with the Internet of ThingsAutomating with the Internet of Things
Automating with the Internet of Things
 
BLE Talk
BLE TalkBLE Talk
BLE Talk
 
Pick your connectivity solution [web2day 2015]
Pick your connectivity solution [web2day 2015]Pick your connectivity solution [web2day 2015]
Pick your connectivity solution [web2day 2015]
 
Using IT Equipment in Live Broadcast
Using IT Equipment in Live BroadcastUsing IT Equipment in Live Broadcast
Using IT Equipment in Live Broadcast
 
Swarm of temperature monitoring sensors - Ixia Connect #2
Swarm of temperature monitoring sensors - Ixia Connect #2Swarm of temperature monitoring sensors - Ixia Connect #2
Swarm of temperature monitoring sensors - Ixia Connect #2
 
Sigfox Euratech Workshop
Sigfox Euratech WorkshopSigfox Euratech Workshop
Sigfox Euratech Workshop
 
Introduction to Arduino Webinar
Introduction to Arduino WebinarIntroduction to Arduino Webinar
Introduction to Arduino Webinar
 
End to End IoT projects with Zephyr.pdf
End to End IoT projects with Zephyr.pdfEnd to End IoT projects with Zephyr.pdf
End to End IoT projects with Zephyr.pdf
 
OSMC 2019 | On-board Diagnostics Monitoring and Alerting with Zabbix by Dmitr...
OSMC 2019 | On-board Diagnostics Monitoring and Alerting with Zabbix by Dmitr...OSMC 2019 | On-board Diagnostics Monitoring and Alerting with Zabbix by Dmitr...
OSMC 2019 | On-board Diagnostics Monitoring and Alerting with Zabbix by Dmitr...
 
Single chip computer for iot application
Single chip computer for iot application Single chip computer for iot application
Single chip computer for iot application
 
HOME AUTOMATION USING INTERNET OF THINGS.pptx
HOME AUTOMATION USING INTERNET OF THINGS.pptxHOME AUTOMATION USING INTERNET OF THINGS.pptx
HOME AUTOMATION USING INTERNET OF THINGS.pptx
 
Building the Ultimate Device Matrix
Building the Ultimate Device MatrixBuilding the Ultimate Device Matrix
Building the Ultimate Device Matrix
 

More from Nicolas Lesconnec

More from Nicolas Lesconnec (13)

Sigfox Workshop with an Arduino MKRFOX
Sigfox Workshop with an Arduino MKRFOXSigfox Workshop with an Arduino MKRFOX
Sigfox Workshop with an Arduino MKRFOX
 
2019 - Colloque National Enseignants DUT GEII
2019 - Colloque National Enseignants DUT GEII2019 - Colloque National Enseignants DUT GEII
2019 - Colloque National Enseignants DUT GEII
 
Sigfox x Arduino Workshop
Sigfox x Arduino Workshop Sigfox x Arduino Workshop
Sigfox x Arduino Workshop
 
IOT Day EPITA — LPWA Networks
IOT Day EPITA — LPWA NetworksIOT Day EPITA — LPWA Networks
IOT Day EPITA — LPWA Networks
 
Sigfox Technology Overview (nov 2017)
Sigfox Technology Overview (nov 2017)Sigfox Technology Overview (nov 2017)
Sigfox Technology Overview (nov 2017)
 
Sigfox Usecases (extract)
Sigfox Usecases (extract)Sigfox Usecases (extract)
Sigfox Usecases (extract)
 
Sigfox World Expo - Advanced Workshop
Sigfox World Expo - Advanced WorkshopSigfox World Expo - Advanced Workshop
Sigfox World Expo - Advanced Workshop
 
Sigfox Makers Tour São Paulo
Sigfox Makers Tour São PauloSigfox Makers Tour São Paulo
Sigfox Makers Tour São Paulo
 
Sigfox XKit Workshop
Sigfox XKit WorkshopSigfox XKit Workshop
Sigfox XKit Workshop
 
Hackathon Usine Digitale - Sigfox intro
Hackathon Usine Digitale - Sigfox introHackathon Usine Digitale - Sigfox intro
Hackathon Usine Digitale - Sigfox intro
 
IoT & Automation. Today
IoT & Automation. TodayIoT & Automation. Today
IoT & Automation. Today
 
Sigfox & SmartEverything Workshop Clermont Ferrand
Sigfox & SmartEverything Workshop Clermont FerrandSigfox & SmartEverything Workshop Clermont Ferrand
Sigfox & SmartEverything Workshop Clermont Ferrand
 
Sigfox makers tour - SmartEverything workshop
Sigfox makers tour - SmartEverything workshopSigfox makers tour - SmartEverything workshop
Sigfox makers tour - SmartEverything workshop
 

Recently uploaded

Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
dharasingh5698
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 

Recently uploaded (20)

Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf
 

SIGFOX Makers Tour - Madrid

  • 1. #6 Madrid — 25.11.2015
  • 3. Us Nicolas Lesconnec Developer & Maker Evangelist Anthony Charbonnier Startup Relations Manager Jon Regueiro Support Engineer
  • 5. About SIGFOX • SIGFOX has invented a radiocommunication protocol • SIGFOX is operating a global network • SIGFOX does not sell hardware components • SIGFOX does not build connected solutions
  • 6. New possibilities • Direct Internet connection. • No battery drain. Years of autonomy. • Detect. Send. Receive. • No configuration
  • 7. In a nutshell • Power on • Send a message • It’s picked up by n of our base stations • Instantly forwarded to your own server • That’s it
  • 8. Complexity • AT$SF=0123456789 • No pairing or configuration of any kind • HTTP request to your server
  • 10. Why SIGFOX • Hub-based technologies are not compatible with independent devices • Need for a protocol designed for the IoT, and not one tweaked to address it.
  • 11. Core concepts • Energy efficiency • Very Long Range • Out of the box connectivity • Outdoor + Indoor • Two-way communication • Low bandwidth, small messages • Ultra Narrow Band
  • 12. Energy efficiency • Tx : ~25/30 mA for a few seconds • 99.x% of the time, device is silent • Idle consumption is key • Idle : a few µA
  • 13. Very Long Range • Countryside : Tens of kms • Cities : A few kms • Direct line of sight : wow !
  • 14. Out of the box • Network is serving the devices, not the other way round • Device simply sends a frame, message is detected by n base stations • Message is validated / deduplicated by our backend
  • 15. Outdoor + indoor • 868MHz has good propagation properties • Radio waves are not magic • Consider ~20dB of attenuation indoor, and ~30dB for light underground or tricky buildings
  • 16. Two-way communication • Send updates to your device(s) • Default behaviour: wake up, send, back to sleep • No passive Rx mode • Device can receive a message upon request • Every communication is instigated by the device
  • 17. Low bandwidth • 100 bits / s • 12 bytes per message
  • 18. 12 bytes !? • Yes. Seriously. 12 bytes. • This is the available payload. • You can put a lot of info in 96 bits • 2^96 is a 30ish-digit number. • 8 billions of billions of billions of possible values
  • 19. Payload examples • Full GPS Coordinates : 6 bytes • Temperature : 2 bytes • State reporting : 1 byte • Hearbeat, update request : 0 byte
  • 20. How frequently ? • 140 times a day
  • 21. 140 times / day • Not a technology limit • Compliant with the European regulation: 1% duty cycle
  • 22. Money • Most pricey subscription: €14/year • A couple of devices, 140 messages/day • The higher volume, the lower the price • The lower number of messages, the lower the price • Down to €1/year for large volumes & a couple of messages/day • Startup plan : €8/year, as if already 30k devices.
  • 24. Security • Each device is identified by a unique ID on the network • Each message is signed • Servers managed by ourselves, in 2 french datacenters. • Security is never finished, permanent effort.
  • 25. Signature • Each message is accompanied by an hashed signature, made from : • the device id • the device PK (unknown to the user) • the payload • internal increment
  • 26. Signature • Replayed messages • Altered messages • Spoofed messages
  • 27. Encryption • By default, the payload is not encrypted • Encryption cost a lot of energy • No « one size fits all » solution. • Up to you to use the encryption most suited to your case
  • 28. Radio properties • Great resistance to interferors • Very difficult to jam • Interception is hard • UNB • Unpredictable frequency
  • 31. Ultra Narrow Band • The SIGFOX protocol relies on the Ultra Narrow Band technology • A message : ~100Hz wide • Each base station watch a 200KHz part of the spectrum • Hard part: detect message without knowledge of the precise frequency or schedule
  • 32. Ultra Narrow Band • Why Ultra Narrow Band ? • Easy analogy : cars vs motorbikes
  • 36. Frequency used • SIGFOX uses unlicensed sub-GHz bands : • 868MHz in Europe • 902MHz in the US
  • 37. Unlicensed != unregulated • SIGFOX complies with both ETSI (Europe) & FCC (US) regulations • ETSI : 1% duty cycle • FCC : duration of emission
  • 39. Global network • Roaming is included in the basic subscription • Your device can switch from one country to another without additional charges.
  • 40. Current - Nationwide • France • Netherlands • Spain • UK
  • 41. Current - cities • Bogota • Dublin • Milan • Munich • Santiago • San Francisco • …
  • 42. Rollout in progress • Belgium • Denmark • Italy • Luxembourg • Portugal • USA
  • 43. USA • Currently: San Francisco • Early 2016 : 10 majors cities, including Atlanta, Boston, Chicago, Dallas, Houston, Los Angeles • And we’re just starting :)
  • 44.
  • 46. Hello World • Send a dummy message • Check it on the SIGFOX website • Forward it through the callback mechanism • Store message in a database • Display list of recorded events
  • 48. IoT != Connected gadgets Sexy Stuff BORING BUT USEFUL IOT
  • 49. Good use cases • Not that talkative devices : small messages every now and then • Independent devices
  • 52. Ifttt-like • Press the button, send an empty frame & trigger any pre determined action • « Mom I’m home ! » • « Get me a taxi» • Replay last order, ~Amazon Dash
  • 53. More • Assisted .. and Predictive Maintenance • Logistics : GPS Tracking • Security • Healthcare, stay-at-home people
  • 54. DIY Projects • Connected wine cellar. Because french. • Connected cat food dispenser. Because cats. • Kitchen garden: temperature, moisture, … • GPS Tracking of anything
  • 55. You ? • You can build a PoC very quickly • Lot of funny stuff to make • And lot of $$$ to make too ;) • KISS, dumb device means: • Cheap • Less prone to failure
  • 57. Hardware SIGFOX • SIGFOX is not a hardware vendor • Many established partners offer SIGFOX-ready chips: Atmel, TI, Silicon Labs, Axsem, Atim, … • Most Sub-GHz radio transceivers are compatible, it’s just about a software upgrade.
  • 58. Prototyping • Arduino : Snootlab, SmartEverything • Raspberry Pi : Yadom • Can be bought one unit a time • Get started within minutes • Not for industrial use
  • 59. Modules • Easy to work with : AT commands • Price range from ~10 to 20€ • Evaluation boards available from manufacturers : Adeunis, Telecom Design, Telit, ..
  • 60. SoC, transceivers • Texas Instruments, Atmel, SiLabs, Axsem, .. • Cheap, a few $ • More complex to work with if not familiar • Certification needed if you don’t stick to the provided ref design.
  • 61. Antenna • Critical when doing radio • 868MHz -> best case is 17cm (lambda/2) • Helicoidal, patch, … antennas possible.
  • 62. Cloud
  • 63. Get your data • Part of the standard service. • 3 ways • View - website • Pull - HTTP API • Push - HTTP Callback
  • 64. Common use case : push callbacks • Get notified each time of your devices send a message • Can trigger whatever you want : alarm, notification, data processing, … • Example here: http://github.com/nicolsc/sigfox- callback-demo
  • 65. Set up a callback
  • 66. Downlink • Message sent to a device can be • Automatic with a pre configuration • Sent from your own server
  • 67. Downlink auto • Simply set what message you want to send back • Hardcoded • Time, Station ID, .. for sync purposes
  • 68. Downlink callback • Same mechanism than the uplink callback • Set up an URL • An when called, send your 8-byte frame within the response body
  • 69.
  • 71. Connected RFID reader • Standard 125KHz RFID reader & tags • Once a tag is detected, send its ID through SIGFOX • Update a live dashboard • Do something else :)
  • 72.
  • 73. Resources • https://github.com/ameltech/ • + Checkout github.com/nicolsc/sigfox-* for some demos & sample codes
  • 74. First steps with the SmartEverything
  • 75. Register • http://backend.sigfox.com/activate • Click SmartEverything • Enter the device id of your board + the provided PAC number • Check http://10.0.0.118:1234/ • Operator : select SIGFOX_Spain • Enter your personal info
  • 76. Getting started • Plug the SmartEverything board using a micro USB cable • Plug the antenna ;) • Check that it’s recognised by your computer • $ ls /dev/tty.* • Windows • Launch Powershell • > [System.IO.Ports.SerialPort]::getportnames()
  • 77. Arduino setup • Install the Arduino Zero core • Tools > Boards > Board Manager • Install the ASME core • Tools > Boards > Manager (Again !), filter on type=Partner • Choose the SmartEverything Board Type • Tools > Boards • Install the libs associated to each sensor (... and to the SIGFOX module) • Sketch > Include Library > Manage Libraries ; Filter on Type=Partner ; install each library
  • 78. 1st Arduino Sketch • Open the Arduino IDE • Select Board Type > Arduino Zero • Select the correct port • File > Examples > SmartEverything > VL6180X > AmbientLight • Upload • The blue LED on the board should blink
  • 79. Hello World • File > Examples > SmartEverything > Sigfox > DataModeEU • Upload
  • 80. Check message • http://backend.sigfox.com • Navigate to the « device » menu • Click on the device ID • « Devices messages »
  • 81. Set up a callback
  • 82. Don’t have a server ? • https://github.com/nicolsc/sigfox-callback-demo • Git clone & push to your server • Or simply click « Deploy to Heroku »
  • 83.
  • 84.
  • 85.
  • 87. How does it work ? • The Module send the frame, then sleep for 20s • Then it enters Rx mode • Waits 20s for a response • Quits Rx mode & goes to deep sleep
  • 88. Request a downlink • Use the AT$SF command, with an additional parameters • AT$SF = [hex byte]*, 2, 1
  • 89. Set up the downlink
  • 90. Handle the response • When entering Rx mode, the module will display • +RX BEGIN • Received frame will be displayed as • +RX=[hex byte] [hex byte]… • When leaving Rx mode, it will display • +RX END
  • 91. Handle the response • Detect an input line starting with +RX= & parse it as a series of hex bytes • If no downlink message has been sent, you’ll have no +RX= line, just the BEGIN & END flags
  • 92. Sample input/output AT$SF=55 50 4c 49 4e 4b, 2, 1 OK +RX BEGIN +RX=44 4f 57 4e 4c 49 4e 4b +RX END
  • 94. Share • Please share what you’ll make with SIGFOX • Hackster.io, instructables, github … your move. • Q&A • http://sigfox.cloud.answerhub.com/ • Keep in touch : • nicolas.lesconnec@sigfox.com • twitter: @nlesconnec