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
27k
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
1.1k
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
暗号化?某ファイルストレージはどうなるの!? 3rd Partyとうまく付き合う秘密度ラベル設計
kasada
0
130
What's new in Go 1.27?
ciarana
0
300
私がブラウザを自作したくなった理由
supurazako
1
280
[potatotips #96] Give Your AI Agent the Flutter Playbook
korodroid
0
140
NANDでも描画したい!
nichica906
2
520
AI for Science時代を切り開く、政府の次世代HPC戦略の展望
gpuunite_official
0
210
RapidCopy2 Matrix I/Oエンジンによるファイルコピーソフトウェアの設計と実装
kengosawa2
1
280
2026-08-15 JAWS-UG 茨城 #16 Secrets ManagerにおけるSecret値の管理(Terraformの場合) / Secrets Manager Secrets
masasuzu
0
520
【Aiming】共通基盤なのに「共通化しない」課金・認証基盤「LINK」が選び取ったシングルテナント戦略と運用の秘訣
saikeda
0
140
FDEの心得
noriakioji
5
6.4k
小粒でもパワフルなJS Runtime Antjsについて
comamoca
0
120
会社紹介資料 / Sansan Company Profile
sansan33
PRO
24
430k
Featured
See All Featured
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
360
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
680
Chasing Engaging Ingredients in Design
codingconduct
0
280
Designing Powerful Visuals for Engaging Learning
tmiket
1
500
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
280
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.5k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
440
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
630
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