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
0
25k
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
340
The Cambrian Explosion of IoT
pimterry
0
24k
Modern Easy IoT with Docker & Resin.io
pimterry
1
380
Provision, Manage & Monitor Gateways in Production with Resin.io
pimterry
0
23k
Optimizing Docker for IoT with Multi-Stage Builds
pimterry
0
29k
Hardware Hacking for JS Developers
pimterry
1
25k
HTTPS is Not Enough
pimterry
0
26k
Promises Are So Passé
pimterry
0
26k
Opening Open Source With DevOps
pimterry
0
28k
Other Decks in Technology
See All in Technology
やる気のない自分との向き合い方/How to Deal with Your Unmotivated Self
sanogemaru
0
510
生成AI時代のセキュアコーディングとDevSecOps
yuriemori
0
100
Geospatialの世界最前線を探る [2025年版]
dayjournal
1
220
そのWAFのブロック、どう活かす? サービスを守るための実践的多層防御と思考法 / WAF blocks defense decision
kaminashi
0
200
リセラー企業のテクサポ担当が考える、生成 AI 時代のトラブルシュート 2025
kazzpapa3
1
350
AI Agent Dojo #2 watsonx Orchestrateフローの作成
oniak3ibm
PRO
0
120
CoRL 2025 Survey
harukiabe
1
200
Adminaで実現するISMS/SOC2運用の効率化 〜 アカウント管理編 〜
shonansurvivors
4
450
【Kaigi on Rails 事後勉強会LT】MeはどうしてGirlsに? 私とRubyを繋いだRail(s)
joyfrommasara
0
270
能登半島地震で見えた災害対応の課題と組織変革の重要性
ditccsugii
0
970
プレーリーカードを活用しよう❗❗デジタル名刺交換からはじまるイベント会場交流のススメ
tsukaman
0
160
カンファレンスに託児サポートがあるということ / Having Childcare Support at Conferences
nobu09
1
580
Featured
See All Featured
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
9
590
4 Signs Your Business is Dying
shpigford
185
22k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
Side Projects
sachag
455
43k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
Facilitating Awesome Meetings
lara
56
6.6k
For a Future-Friendly Web
brad_frost
180
10k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
Done Done
chrislema
185
16k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
980
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