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
790
IoT Hackathon
pimterry
0
370
The Cambrian Explosion of IoT
pimterry
0
26k
Modern Easy IoT with Docker & Resin.io
pimterry
1
420
Provision, Manage & Monitor Gateways in Production with Resin.io
pimterry
0
25k
Optimizing Docker for IoT with Multi-Stage Builds
pimterry
0
31k
Hardware Hacking for JS Developers
pimterry
1
27k
HTTPS is Not Enough
pimterry
0
28k
Promises Are So Passé
pimterry
0
28k
Other Decks in Technology
See All in Technology
AI Coding Agent時代のcdk-nagガードレール 〜組織ルールを強制CIで守り抜く設計の挑戦〜
mhrtech
3
530
既存repo / AIとのやり取りから、おれのハーネスエンジニアリングの現状と課題を見てもらった
tsukasagr
1
100
SRENEXT_2026_Chairs__Talks_in_Tamachi.sre.pdf
srenext
1
160
SoccerMaster: A Vision Foundation Model for Soccer Understanding
kzykmyzw
0
180
ソフトウェアアーキテクチャ研修【MIXI 26新卒技術研修】
mixi_engineers
PRO
2
130
セキュリティ研修【MIXI 26新卒技術研修】
mixi_engineers
PRO
2
180
AI工学特論: MLOps・継続的評価
asei
10
2.3k
20260720_クラウド女子会×PyLadiesTokyoコラボ Amazon Bedrock ハンズオン用資料
yuuka51
2
120
発表と総括 / Presentations and Summary
ks91
PRO
0
200
なぜ、あなたのエージェントは言うことを聞かないのか
segavvy
1
450
MCPをつなげて作る組織横断のAIエージェント基盤
tsubakimoto_s
0
140
AI時代におけるテストの基礎の再定義 / Rethinking the Fundamentals of Testing in the AI Era
mineo_matsuya
14
5.4k
Featured
See All Featured
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.1k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
880
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
350
Fashionably flexible responsive web design (full day workshop)
malarkey
408
67k
Product Roadmaps are Hard
iamctodd
55
12k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
470
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
310
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
560
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