Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Build Your Own TTN Gateway with Resin.io and RA...
Search
Tim Perry
October 04, 2018
Technology
26k
0
Share
Build Your Own TTN Gateway with Resin.io and RAK Wireless
Tim Perry
October 04, 2018
More Decks by Tim Perry
See All by Tim Perry
IoT Hackathon
pimterry
0
360
The Cambrian Explosion of IoT
pimterry
0
25k
Modern Easy IoT with Docker & Resin.io
pimterry
1
400
Provision, Manage & Monitor Gateways in Production with Resin.io
pimterry
0
24k
Optimizing Docker for IoT with Multi-Stage Builds
pimterry
0
30k
Hardware Hacking for JS Developers
pimterry
1
26k
HTTPS is Not Enough
pimterry
0
27k
Promises Are So Passé
pimterry
0
27k
Opening Open Source With DevOps
pimterry
0
30k
Other Decks in Technology
See All in Technology
AgentCore Managed Harness を使ってみよう
yakumo
2
270
目的ファーストのハーネス設計 ~ハーネスの変更容易性を高めるための優先順位~
gotalab555
9
3.4k
ServiceNow Knowledge 26 の歩き方
manarobot
0
250
【技術書典20】OpenFOAM(自宅で深める流体解析)流れと熱移動(2)
kamakiri1225
0
330
No Types Needed, Just Callable Method Check
dak2
1
2.4k
Good Enough Types: Heuristic Type Inference for Ruby
riseshia
1
360
コミュニティ・勉強会を作るのは目的じゃない
ohmori_yusuke
0
280
Angular Architecture Revisited Modernizing Angular Architectural Patterns
rainerhahnekamp
0
100
Percolatorを廃止し、マルチ検索サービスへ刷新した話 / Search Engineering Tech Talk 2026 Spring
visional_engineering_and_design
0
200
基盤を育てる 外部SaaS連携の運用
gamonges_dresscode
1
120
音声言語モデル手法に関する発表の紹介
kzinmr
0
150
GitHub Copilot Dev Days
tomokusaba
0
110
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
141
7.4k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
Crafting Experiences
bethany
1
130
Typedesign – Prime Four
hannesfritz
42
3k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
680
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.2k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
140
Writing Fast Ruby
sferik
630
63k
Testing 201, or: Great Expectations
jmmastey
46
8.1k
Documentation Writing (for coders)
carmenintech
77
5.3k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.9k
WENDY [Excerpt]
tessaabrams
10
37k
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