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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Tim Perry
October 04, 2018
Technology
26k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
Unlocking the Apps
pimterry
0
320
IoT Hackathon
pimterry
0
370
The Cambrian Explosion of IoT
pimterry
0
26k
Modern Easy IoT with Docker & Resin.io
pimterry
1
410
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
27k
HTTPS is Not Enough
pimterry
0
27k
Promises Are So Passé
pimterry
0
27k
Other Decks in Technology
See All in Technology
AAIFに入ってみた ~内から見えるコミュニティ動向~
sato4
0
110
非定型業務をAI slackbotで自動化する ~ 社内要望を自動壁打ちするbotを作った ~/automating-ad-hoc-work-with-ai-slackbot
shibayu36
0
550
小さくはじめるSLI/SLO ~育てながら組織に定着させる実践知~ / Starting Small with SLI/SLOs: Building Adoption Through Continuous Growth
nari_ex
2
990
Dario Amodi『Policy on the AI Exponential』を理解する
nagatsu
0
210
データ基盤をDataformで整えた話 〜 開発環境を添えて 〜
takapy
0
130
MCP Appsを作ってみよう
iwamot
PRO
4
350
製造業のクラウド活用最適解〜AI,DXを加速するデータ基盤の作り方〜
hamadakoji
0
430
GoとSIMDとWasmの今。
askua
3
520
SIer20年! 培ったスキルがスタートアップで輝く時
shucho0103
0
810
社内 AI エージェント Synapse と セマンティックレイヤーの育て方
hiroakis
1
1.4k
2026TECHFRESH畢業分享會 - 原生還是跨平台? App 開發踩坑實錄
line_developers_tw
PRO
0
140
「嘘をつくテスト」の失敗例から学ぶ 良いテストコード #frontend_phpcon_do
asumikam
0
600
Featured
See All Featured
Amusing Abliteration
ianozsvald
1
200
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.6k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
200
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
580
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.7k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.9k
Testing 201, or: Great Expectations
jmmastey
46
8.2k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
1.1k
Believing is Seeing
oripsolob
1
140
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