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 RAK Wireless
Search
Tim Perry
October 04, 2018
Technology
0
22k
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
300
The Cambrian Explosion of IoT
pimterry
0
21k
Modern Easy IoT with Docker & Resin.io
pimterry
1
340
Provision, Manage & Monitor Gateways in Production with Resin.io
pimterry
0
20k
Optimizing Docker for IoT with Multi-Stage Builds
pimterry
0
26k
Hardware Hacking for JS Developers
pimterry
1
22k
HTTPS is Not Enough
pimterry
0
23k
Promises Are So Passé
pimterry
0
23k
Opening Open Source With DevOps
pimterry
0
25k
Other Decks in Technology
See All in Technology
AWSサービスメニュー開発をしていてAWSを好きだ!と感じた瞬間
toru_kubota
0
130
プレイドにおけるDatadog APMの活用方法
plaidtech
PRO
2
120
Azure Pipelinesを使用したCICDベースラインアーキテクチャ実践
yuriemori
0
190
データ分析を支える技術 生成AI再入門
ishikawa_satoru
0
380
AOAI Dev Day - Opening Session
yoshidashingo
2
440
成長期に歩みを止めないための創業期の開発文化形成
mayah
6
420
ペパボのオブザーバビリティ研修2024 説明資料
kesompochy
0
1.1k
データ分析基盤を作ってみよう~設計編~
nrinetcom
PRO
1
110
データベース研修 DB基礎【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
210
Azure OpenAI Service Dev Day / LLMでできる!使える!生成AIエージェント
masahiro_nishimi
3
750
開発と事業を繋ぐ!SREのオブザーバビリティ戦略 ~ Developers Summit 2024 Summer ~
leveragestech
0
630
AI研修【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
130
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
18
1.2k
Testing 201, or: Great Expectations
jmmastey
33
6.9k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
17
1.5k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
29
2.5k
Speed Design
sergeychernyshev
9
270
4 Signs Your Business is Dying
shpigford
178
21k
Music & Morning Musume
bryan
43
5.9k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
17
8.7k
Designing on Purpose - Digital PM Summit 2013
jponch
113
6.6k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
129
32k
What’s in a name? Adding method to the madness
productmarketing
PRO
21
2.9k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
44
4.7k
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