Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Build Your Own TTN Gateway with Resin.io and RAK Wireless
Tim Perry
October 04, 2018
Technology
0
11k
Build Your Own TTN Gateway with Resin.io and RAK Wireless
Tim Perry
October 04, 2018
Tweet
Share
More Decks by Tim Perry
See All by Tim Perry
IoT Hackathon
pimterry
0
270
The Cambrian Explosion of IoT
pimterry
0
11k
Modern Easy IoT with Docker & Resin.io
pimterry
1
320
Provision, Manage & Monitor Gateways in Production with Resin.io
pimterry
0
9.3k
Optimizing Docker for IoT with Multi-Stage Builds
pimterry
0
15k
Hardware Hacking for JS Developers
pimterry
1
12k
HTTPS is Not Enough
pimterry
0
12k
Promises Are So Passé
pimterry
0
12k
Opening Open Source With DevOps
pimterry
0
15k
Other Decks in Technology
See All in Technology
20220622_FinJAWS_あのときにAWSがあったらこうできた
taketakekaho
0
120
データ分析で切り拓け! エンジニアとしてのデータ分析職キャリア戦略
ksnt
0
190
誰が正解を知っているのか / Who knows the right answer
takaking22
1
250
拡散確率モデルと音声波形生成
yumakoizumi
0
490
What's Data Lake ? Azure Data Lake best practice
ryomaru0825
2
760
紙にまつわる苦しみを機能化してきた カミナシの歴史
kaminashi
0
1.4k
モブに早く慣れたい人のためのガイド / A Guide to Getting Started Quickly with Mob Programming
cybozuinsideout
PRO
2
1.9k
開発組織の生産性を可視化する State of DevOpsとFour Keysとは / deep dive into State of DevOps
yfcgpsebp
0
300
Inside out - abusing archive file formats
ange
3
580
The Fractal Geometry of Software Design
vladikk
1
1.4k
雑な攻撃からELBを守る一工夫 +おまけ / Know-how to protect servers from miscellaneous attacks
hiroga
0
730
Power Virtual Agentsのハジメ
miyakemito
1
110
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
404
21k
For a Future-Friendly Web
brad_frost
166
7.4k
Making Projects Easy
brettharned
98
4.3k
Atom: Resistance is Futile
akmur
255
20k
VelocityConf: Rendering Performance Case Studies
addyosmani
316
22k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
10
3.5k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
100
5.9k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
11
4.7k
Side Projects
sachag
450
37k
How To Stay Up To Date on Web Technology
chriscoyier
780
250k
Learning to Love Humans: Emotional Interface Design
aarron
261
37k
5 minutes of I Can Smell Your CMS
philhawksworth
196
18k
Transcript
@pimterry Build your own gateway with resin.io and RAK wireless
@pimterry
@pimterry
@pimterry
Register a TTN Gateway Create an Resin.io account & application
Provision your device Deploy the packet forwarder Configure your device @pimterry Build your own gateway
Follow the slides yourself at: bit.ly/resin-ttn-workshop @pimterry
Sign up at console.thethingsnetwork.org Register a new gateway: ◦ Any
name ◦ Non-legacy packet forwarder ◦ EU frequency @pimterry Register a TTN Gateway
Sign up at Resin.io Enter your details Add an SSH
key (optional) Create an application: ▪ Starter app type ▪ Raspberry Pi 3 @pimterry Create a Resin.io account & application
Click ‘Add Device’ Enter the network details Follow the guide
to flash your SD card Make sure the antenna is attached Insert the SD card & power ...and continue, whilst it boots Provision your device @pimterry
Deploy the packet forwarder @pimterry git clone https://github.com/resin-io-playground/ttn-resin-gateway-rpi Add your
app as a git remote (see the top right of the app page) git push resin master (No SSH key? Use resin push with the Resin CLI)
Deploy the packet forwarder (resin push) @pimterry git clone https://github.com/resin-io-playground/ttn-resin-gateway-rp
i Install the CLI: docs.resin.io/reference/cli/ (‘Standalone install’) In the ttn-resin-gateway-rpi folder: > resin login > resin push <your app name>
Configure your device @pimterry Open ‘Device Variables’ in the Resin
device dashboard Set GW_ID to the id of your gateway Set GW_KEY to the key of your gateway Set GW_RESET_PIN to 11
Bonus: NTP Fix @pimterry If your device can’t authenticate to
TTN on the IZUM conference network, its clock may be failing to sync. You can fix this by SSHing into the host and running: date -s "$(curl --silent --head resin.io | grep Date: | sed 's/Date: //')"
You’re done! @pimterry Monitor status via the device logs in
the Resin dashboard Monitors packets sent & received in the TTN console
@pimterry Have questions? forums.resin.io
@pimterry Build your own gateway with resin.io and RAK wireless