SlideShare a Scribd company logo
Workshop
AKERU + THETHINGS.IO
Contribute
Contribute
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!
We’re hiring !
Maker In Residence
(internship)
Build useful and/or funny
prototypes
Test new hardware
Publish & document them
Field Evangelist Europe
Run workshops
Talk at conferences
Support the
community
Useful Resources
Workshop slides
http://bit.ly/SigfoxMakersTour
Q&A
http://
sigfox.cloud.answerhub.com/
Github
http://github.com/sigfox/makers-tour-resources
http://github.com/nicolsc
http://github.com/thethings/thethings.iO-Sigfox-SDK
Add your own !
Register
http://backend.sigfox.com/activate
Provider: Snootlab
Country : Ireland
Device ID: sticker on the board
PAC: check the list
The things.io
Data management platform
Free to use for attendees
thethings.iO analytics (1 of 3)
Go to https://sigfox.thethings.io
Register @ thethings.iO
https://sigfox.thethings.io
Register user
Create a Sigfox product
HELLO WORLD
Hello World Sketch
Open the Arduino IDE
Select the board
Board type : Arduino Uno
Port : USB-something
Hello World Sketch
#include <SoftwareSerial.h>
SoftwareSerial sigfox(5,4);
void setup(){
Serial.begin(9600);
sigfox.begin(9600);
sigfox.write("AT$SF=48 45 4c 4c 4f 20 57 4f 52 4c 44r");
}
void loop(){
while (sigfox.available()){
Serial.print(sigfox.read());
}
}
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
Downlink
How does it work ?
Send a message, with a downlink flag
Once message is sent, the module gets back to sleep
After 20s, it will wake up automatically, in Rx mode
It will wait 20s for a downlink message
Afterwards it will get back to sleep
Downlink setup
To setup an automatic callback :
Device Type > Info > Edit
In the Downlink data settings, set the following :
Downlink Mode : DIRECT
Set the following value : 123400000BADCAFE
How to request a downlink
Same AT command, with additional parameters
AT$SF=[hex byte]*, 2, 1
Handle the response
When entering Rx mode, the module will display
+RX BEGIN
Received frame (if any) will be displayed as:
+RX= [byte] [byte] [byte] [byte] [byte] [byte] [byte] [byte]
End of Rx mode
+RX END
Downlink callback
In Device Type > Info > Edit
change Downlink mode to CALLBACK
Create a new default callback, with TYPE : DATA |
BIDIR
Then set up your URL
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
Sample code
Arduino
https://github.com/sigfox/makers-tour-resources/tree/
master/Akeru/downlink
Server side
https://github.com/nicolsc/sigfox-downlink
PR welcome in different languages
FIRST SKETCH
WITH THETHINGS.IO CODE
Random number Sketch
Download the akeru library inside thethings.iO sigfox github
and place it to your Documents > Arduino > Libraries folder.
Open the Arduino IDE
Copy & Paste thethings.iO Arduino code from thethings.iO
Sigfox github
Board type : Arduino Uno
Message received ?
http://backend.sigfox.com
Navigate to the devices menu in the top bar
Click on the ID of your device
Enter the Statistics menu from the left navigation
column
thethings.iO analytics (1 of 3)
Go to Things Manager > Product Details
thethings.iO analytics (2 of 3)
TheThings.io callback
TYPE : DATA UPLINK
Choose a CHANNEL : URL
Url pattern: Paste your subscription URL
Use HTTP method: POST
thethings.iO analytics (3 of 3)
Go to Cloud Code > Functions
Edit the sigfox_parser Function (thethings.iO
github)
thethings.iO analytics (3 of 3)
Make a cool dashboard!
Go further
USING AN AKERU BOARD
Other AT commands
AT&V : Detailed info about the module
AT$SF=[hex byte]* : Send a frame
ATS300=[int] Schedule the emission of a keep-alive frame every [int] hours
AT&W : Save settings
ATI26 :Module temperature in °C
ATI27 : Module idle power supply voltage
Other AT commands
Arduino sample code + link to full references of
the TD1208 module
https://github.com/sigfox/makers-tour-resources/tree/
master/Akeru/mirror
Use the module only
The module has a Cortex M3 than you can
reprogram
Checkout the TD Next website for instructions
http://rfmodules.td-next.com/sdk/
Keep in touch
Nicolas
nicolas.lesconnec@sigf
ox.com
twitter: @nlesconnec
Anthony
anthony.charbonnier@sigf
ox.com
twitter: @Anth0_
Carles & Bastian carles@thethings.io bastian@thethings.io
twitter: @thethingsiO

More Related Content

PDF
Sigfox makers tour - SmartEverything workshop
PDF
Sigfox makers tour Workshop
PDF
Sigfox XKit Workshop
PDF
Esp8266 wi fi_module_quick_start_guide_v_1.0.4
PPTX
Lab Handson: Power your Creations with Intel Edison!
PPTX
Arduino i rremote 1112
PDF
Interacting with Intel Edison
PPTX
Remote temperature monitor (DHT11)
Sigfox makers tour - SmartEverything workshop
Sigfox makers tour Workshop
Sigfox XKit Workshop
Esp8266 wi fi_module_quick_start_guide_v_1.0.4
Lab Handson: Power your Creations with Intel Edison!
Arduino i rremote 1112
Interacting with Intel Edison
Remote temperature monitor (DHT11)

Viewers also liked (20)

KEY
Business Model Generation Canvas
PDF
DMT logistics XYLON
PPTX
How to learn more and get support about fiware
PPT
Curso Travel 2.0 Enlaces
PDF
VITTA Conference - Keynote Speaker Craig Rispin, Futurist - The Reign of the ...
PPTX
Drucegrove
KEY
Tour D Horizon Des Drawables
PDF
MAYOR CONTROL ECONÓMICO FINANCIERO DE GRANDES INVERSIONES
PPT
Débat SWIT: LAT versus Initiative sur le paysage
PDF
Usages de la vidéo sur Internet en 2014
PDF
Ciclos formativos notas corte
PDF
Overview sobre o CMS Drupal
PDF
Ficha técnica TEMP-COAT-101 (Ingés)
PPTX
Objetivos, vision iie y capitulo
PDF
PPTX
Empowering MSMEs - Benefits of Credit Rating in MSME - Part - 8
PDF
ITorneointernacionalcentrogoyalibro
PDF
Galicia natural enp de galicia
Business Model Generation Canvas
DMT logistics XYLON
How to learn more and get support about fiware
Curso Travel 2.0 Enlaces
VITTA Conference - Keynote Speaker Craig Rispin, Futurist - The Reign of the ...
Drucegrove
Tour D Horizon Des Drawables
MAYOR CONTROL ECONÓMICO FINANCIERO DE GRANDES INVERSIONES
Débat SWIT: LAT versus Initiative sur le paysage
Usages de la vidéo sur Internet en 2014
Ciclos formativos notas corte
Overview sobre o CMS Drupal
Ficha técnica TEMP-COAT-101 (Ingés)
Objetivos, vision iie y capitulo
Empowering MSMEs - Benefits of Credit Rating in MSME - Part - 8
ITorneointernacionalcentrogoyalibro
Galicia natural enp de galicia
Ad

Similar to Sigfox Workshop with Akeru & TheThings.io (20)

PDF
Sigfox Workshop with an Arduino MKRFOX
PDF
Sigfox & SmartEverything Workshop Clermont Ferrand
PDF
IoT Workshop with Sigfox & Arduino - Copenhagen Business School
PDF
Sigfox x Arduino Workshop
PDF
SIGFOX Makers Tour - Porto
PDF
SIGFOX Makers Tour - Dublin
PDF
Sigfox World Expo - Beginners Workshop
PPTX
IoT on Raspberry Pi
PDF
Sigfox + Arduino MKRFOX Workshop
PDF
Hacking the Kinect with GAFFTA Day 1
PDF
Build resource server &amp; client for OCF Cloud (2018.8.30)
PDF
Sigfox World Expo - Advanced Workshop
PDF
Reverse_Engineering_of_binary_File_Formats.pdf
PPTX
JCrete Embedded Java Workshop
PPT
FIWARE IoT Proposal & Community
PDF
Can we build an Azure IoT controlled device in less than 40 minutes that cost...
PDF
Open frameworks 101_fitc
PPTX
Android Things - The IoT platform from Google
PPT
generate IP CORES
PPT
Developing new zynq based instruments
Sigfox Workshop with an Arduino MKRFOX
Sigfox & SmartEverything Workshop Clermont Ferrand
IoT Workshop with Sigfox & Arduino - Copenhagen Business School
Sigfox x Arduino Workshop
SIGFOX Makers Tour - Porto
SIGFOX Makers Tour - Dublin
Sigfox World Expo - Beginners Workshop
IoT on Raspberry Pi
Sigfox + Arduino MKRFOX Workshop
Hacking the Kinect with GAFFTA Day 1
Build resource server &amp; client for OCF Cloud (2018.8.30)
Sigfox World Expo - Advanced Workshop
Reverse_Engineering_of_binary_File_Formats.pdf
JCrete Embedded Java Workshop
FIWARE IoT Proposal & Community
Can we build an Azure IoT controlled device in less than 40 minutes that cost...
Open frameworks 101_fitc
Android Things - The IoT platform from Google
generate IP CORES
Developing new zynq based instruments
Ad

More from Nicolas Lesconnec (20)

PDF
[Feb 2020] Cours IoT - CentraleSupelec - Master SIO
PDF
Sigfox Introduction - Pycom GoInvent NYC
PDF
2019 - Colloque National Enseignants DUT GEII
PDF
IOT Day EPITA — LPWA Networks
PDF
[May 2018] Sigfox Technology Overview
PDF
Sigfox Technology Overview (nov 2017)
PDF
Sigfox Usecases (extract)
PDF
Sigfox Technology Overview (nov 2017)
PDF
Sigfox Overview
PDF
Sigfox Makers Tour São Paulo
PDF
Sigfox Makers Tour - Mexico City
PDF
Bosch Connected Experience - Sigfox Presentation
PDF
BCX17 - Sigfox intro
PDF
Sigfox Makers Tour - Copenhagen
PDF
Sigfox Makers Tour - Bratislava
PDF
Hackathon Usine Digitale - Sigfox intro
PDF
Sigfox Makers Tour - Torino
PDF
IoT & Automation. Today
PDF
Sigfox presentation [Sep 2016]
PDF
XKE // Sigfox Workshop
[Feb 2020] Cours IoT - CentraleSupelec - Master SIO
Sigfox Introduction - Pycom GoInvent NYC
2019 - Colloque National Enseignants DUT GEII
IOT Day EPITA — LPWA Networks
[May 2018] Sigfox Technology Overview
Sigfox Technology Overview (nov 2017)
Sigfox Usecases (extract)
Sigfox Technology Overview (nov 2017)
Sigfox Overview
Sigfox Makers Tour São Paulo
Sigfox Makers Tour - Mexico City
Bosch Connected Experience - Sigfox Presentation
BCX17 - Sigfox intro
Sigfox Makers Tour - Copenhagen
Sigfox Makers Tour - Bratislava
Hackathon Usine Digitale - Sigfox intro
Sigfox Makers Tour - Torino
IoT & Automation. Today
Sigfox presentation [Sep 2016]
XKE // Sigfox Workshop

Recently uploaded (20)

PPTX
Construction Project Organization Group 2.pptx
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPT
Mechanical Engineering MATERIALS Selection
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPT
Project quality management in manufacturing
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
web development for engineering and engineering
PPTX
Sustainable Sites - Green Building Construction
PPTX
Geodesy 1.pptx...............................................
Construction Project Organization Group 2.pptx
Embodied AI: Ushering in the Next Era of Intelligent Systems
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Model Code of Practice - Construction Work - 21102022 .pdf
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
OOP with Java - Java Introduction (Basics)
Internet of Things (IOT) - A guide to understanding
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Mechanical Engineering MATERIALS Selection
Operating System & Kernel Study Guide-1 - converted.pdf
Project quality management in manufacturing
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
web development for engineering and engineering
Sustainable Sites - Green Building Construction
Geodesy 1.pptx...............................................

Sigfox Workshop with Akeru & TheThings.io