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
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
310
The Cambrian Explosion of IoT
pimterry
0
22k
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
23k
HTTPS is Not Enough
pimterry
0
23k
Promises Are So Passé
pimterry
0
23k
Opening Open Source With DevOps
pimterry
0
26k
Other Decks in Technology
See All in Technology
Databricks Appのご紹介
databricksjapan
0
270
Oracle Database 23ai 新機能#4 Rolling Maintenance
oracle4engineer
PRO
0
130
LeSSはスクラムではない!?LeSSにおけるスクラムマスターの振る舞い方とは / Scrum Master Behavior in LeSS
toma_sm
0
210
それでもやっぱり ExpressRoute が好き!
skmkzyk
0
280
Assisted reorganization of data structures
ennael
PRO
0
260
【shownet.conf_】放送局とShowNetが共創する、未来の放送システム ~Media over IP 特別企画の裏側~
shownet
PRO
0
350
YAPC::Hakodateの映像記録を支える技術
godan
4
230
【㈱アイモバイル】エンジニア向け会社説明資料
imobile
0
470
DenoでもViteしたい!インポートパスのエイリアスを指定してラクラクアプリ開発
bengo4com
2
2k
OPENLOGI Company Profile for engineer
hr01
1
12k
エムスリー全チーム紹介資料 / Introduction of M3 All Teams
m3_engineering
1
320
tenntennはなんでnewmoにnew社したの? - YAPC::Hakodate 2024
tenntenn
PRO
0
260
Featured
See All Featured
Building Your Own Lightsaber
phodgson
102
6k
Bash Introduction
62gerente
608
210k
Building Applications with DynamoDB
mza
90
6k
Gamification - CAS2011
davidbonilla
80
5k
Building Adaptive Systems
keathley
38
2.2k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
228
52k
GitHub's CSS Performance
jonrohan
1030
450k
How To Stay Up To Date on Web Technology
chriscoyier
787
250k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
664
120k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
46
2k
Speed Design
sergeychernyshev
22
480
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