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

Viewers also liked (20)

KEY
Business Model Generation Canvas
Shahed Khalili
 
PDF
DMT logistics XYLON
Igor Kalezic
 
PPTX
How to learn more and get support about fiware
Fernando Lopez Aguilar
 
PPT
Curso Travel 2.0 Enlaces
Jimmy Pons
 
PDF
VITTA Conference - Keynote Speaker Craig Rispin, Futurist - The Reign of the ...
Craig Rispin
 
PPTX
Drucegrove
Druce_Grove
 
KEY
Tour D Horizon Des Drawables
Cyril Mottier
 
PDF
MAYOR CONTROL ECONÓMICO FINANCIERO DE GRANDES INVERSIONES
Pro Rosario
 
PPT
Débat SWIT: LAT versus Initiative sur le paysage
Vincent Pellissier
 
PDF
Usages de la vidéo sur Internet en 2014
Libcast SAS
 
PDF
Ciclos formativos notas corte
verdel84
 
PDF
Overview sobre o CMS Drupal
Rafael Cichini
 
PDF
Ficha técnica TEMP-COAT-101 (Ingés)
ThCoat®
 
PPTX
Objetivos, vision iie y capitulo
Cesar Herrera Santos
 
PDF
Dfd dd
Fernanda Ramos
 
PPTX
Empowering MSMEs - Benefits of Credit Rating in MSME - Part - 8
Resurgent India
 
PDF
ITorneointernacionalcentrogoyalibro
frafalcdiaz
 
PDF
Galicia natural enp de galicia
Mª José Presa Tomé
 
Business Model Generation Canvas
Shahed Khalili
 
DMT logistics XYLON
Igor Kalezic
 
How to learn more and get support about fiware
Fernando Lopez Aguilar
 
Curso Travel 2.0 Enlaces
Jimmy Pons
 
VITTA Conference - Keynote Speaker Craig Rispin, Futurist - The Reign of the ...
Craig Rispin
 
Drucegrove
Druce_Grove
 
Tour D Horizon Des Drawables
Cyril Mottier
 
MAYOR CONTROL ECONÓMICO FINANCIERO DE GRANDES INVERSIONES
Pro Rosario
 
Débat SWIT: LAT versus Initiative sur le paysage
Vincent Pellissier
 
Usages de la vidéo sur Internet en 2014
Libcast SAS
 
Ciclos formativos notas corte
verdel84
 
Overview sobre o CMS Drupal
Rafael Cichini
 
Ficha técnica TEMP-COAT-101 (Ingés)
ThCoat®
 
Objetivos, vision iie y capitulo
Cesar Herrera Santos
 
Empowering MSMEs - Benefits of Credit Rating in MSME - Part - 8
Resurgent India
 
ITorneointernacionalcentrogoyalibro
frafalcdiaz
 
Galicia natural enp de galicia
Mª José Presa Tomé
 

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

PDF
SIGFOX Makers Tour - Dublin
Nicolas Lesconnec
 
PDF
SIGFOX Makers Tour - Porto
Nicolas Lesconnec
 
PDF
Sigfox & SmartEverything Workshop Clermont Ferrand
Nicolas Lesconnec
 
PDF
SIGFOX Makers Tour - Madrid
Nicolas Lesconnec
 
PDF
Sigfox World Expo - Beginners Workshop
Nicolas Lesconnec
 
PDF
SIGFOX Makers Tour - Barcelona
Nicolas Lesconnec
 
PDF
Sigfox Makers Tour - Copenhagen
Nicolas Lesconnec
 
PDF
Sigfox + Arduino MKRFOX Workshop
Nicolas Lesconnec
 
PDF
IoT Workshop with Sigfox & Arduino - Copenhagen Business School
Nicolas Lesconnec
 
PDF
SIGFOX Makers Tour - Lisboa
Nicolas Lesconnec
 
PDF
[OTA15] Back to binary !
Nicolas Lesconnec
 
PDF
XKE // Sigfox Workshop
Nicolas Lesconnec
 
KEY
Scottish Ruby Conference 2010 Arduino, Ruby RAD
lostcaggy
 
PDF
SIGFOX basics for Intel IoT Roadshow
Nicolas Lesconnec
 
PDF
Tos tutorial
manikainth
 
PDF
Arduino A Technical Reference A Handbook For Technicians Engineers And Makers...
ozoezenesli
 
PDF
Sigfox x Arduino Workshop
Nicolas Lesconnec
 
PPTX
IOT beginnners
udhayakumarc1
 
PPTX
IOT beginnners
udhayakumarc1
 
PPTX
Using arduino and raspberry pi for internet of things
Sudar Muthu
 
SIGFOX Makers Tour - Dublin
Nicolas Lesconnec
 
SIGFOX Makers Tour - Porto
Nicolas Lesconnec
 
Sigfox & SmartEverything Workshop Clermont Ferrand
Nicolas Lesconnec
 
SIGFOX Makers Tour - Madrid
Nicolas Lesconnec
 
Sigfox World Expo - Beginners Workshop
Nicolas Lesconnec
 
SIGFOX Makers Tour - Barcelona
Nicolas Lesconnec
 
Sigfox Makers Tour - Copenhagen
Nicolas Lesconnec
 
Sigfox + Arduino MKRFOX Workshop
Nicolas Lesconnec
 
IoT Workshop with Sigfox & Arduino - Copenhagen Business School
Nicolas Lesconnec
 
SIGFOX Makers Tour - Lisboa
Nicolas Lesconnec
 
[OTA15] Back to binary !
Nicolas Lesconnec
 
XKE // Sigfox Workshop
Nicolas Lesconnec
 
Scottish Ruby Conference 2010 Arduino, Ruby RAD
lostcaggy
 
SIGFOX basics for Intel IoT Roadshow
Nicolas Lesconnec
 
Tos tutorial
manikainth
 
Arduino A Technical Reference A Handbook For Technicians Engineers And Makers...
ozoezenesli
 
Sigfox x Arduino Workshop
Nicolas Lesconnec
 
IOT beginnners
udhayakumarc1
 
IOT beginnners
udhayakumarc1
 
Using arduino and raspberry pi for internet of things
Sudar Muthu
 
Ad

More from Nicolas Lesconnec (20)

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

Recently uploaded (20)

PDF
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
PPT
PPT2_Metal formingMECHANICALENGINEEIRNG .ppt
Praveen Kumar
 
PDF
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
PDF
Design Thinking basics for Engineers.pdf
CMR University
 
PDF
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
PPTX
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 
PDF
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
PPTX
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
PPTX
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
PPTX
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
DOCX
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
PPTX
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
PPTX
GitOps_Repo_Structure for begeinner(Scaffolindg)
DanialHabibi2
 
DOCX
CS-802 (A) BDH Lab manual IPS Academy Indore
thegodhimself05
 
PPTX
265587293-NFPA 101 Life safety code-PPT-1.pptx
chandermwason
 
PPTX
Damage of stability of a ship and how its change .pptx
ehamadulhaque
 
PPTX
Solar Thermal Energy System Seminar.pptx
Gpc Purapuza
 
PDF
Unified_Cloud_Comm_Presentation anil singh ppt
anilsingh298751
 
PDF
International Journal of Information Technology Convergence and services (IJI...
ijitcsjournal4
 
PDF
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
PPT2_Metal formingMECHANICALENGINEEIRNG .ppt
Praveen Kumar
 
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
Design Thinking basics for Engineers.pdf
CMR University
 
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
GitOps_Repo_Structure for begeinner(Scaffolindg)
DanialHabibi2
 
CS-802 (A) BDH Lab manual IPS Academy Indore
thegodhimself05
 
265587293-NFPA 101 Life safety code-PPT-1.pptx
chandermwason
 
Damage of stability of a ship and how its change .pptx
ehamadulhaque
 
Solar Thermal Energy System Seminar.pptx
Gpc Purapuza
 
Unified_Cloud_Comm_Presentation anil singh ppt
anilsingh298751
 
International Journal of Information Technology Convergence and services (IJI...
ijitcsjournal4
 
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 

Sigfox Workshop with Akeru & TheThings.io