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 RAK Wireless
Search
Tim Perry
October 04, 2018
Technology
0
21k
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
290
The Cambrian Explosion of IoT
pimterry
0
21k
Modern Easy IoT with Docker & Resin.io
pimterry
1
330
Provision, Manage & Monitor Gateways in Production with Resin.io
pimterry
0
19k
Optimizing Docker for IoT with Multi-Stage Builds
pimterry
0
25k
Hardware Hacking for JS Developers
pimterry
1
22k
HTTPS is Not Enough
pimterry
0
22k
Promises Are So Passé
pimterry
0
22k
Opening Open Source With DevOps
pimterry
0
25k
Other Decks in Technology
See All in Technology
ユーザーストーリーのレビューを自動化したみたの
bun913
1
330
Tableau事例紹介 / Tableau Case Study of Eureka
kazuya_araki_tokyo
1
170
プロトタイピングによる不確実性の低減 / Reducing Uncertainty through Prototyping
ohbarye
3
250
Aurora MySQL v3(MySQL8.0互換)の オンラインDDLの罠挙動を全バージョンで検証した
yutakikai
1
150
PHPカンファレンス小田原2024
ysknsid25
3
660
社内勉強会運営のコツ
senoo
6
1.2k
[2024年3月版] Databricksのシステムアーキテクチャ
databricksjapan
8
1.9k
DevOpsメトリクスとアウトカムの接続にトライ!開発プロセスを通して計測できるメトリクスの活用方法
ham0215
2
200
2024/4/26 コンピュータ歴史博物館解説告知
toshi_atsumi
0
200
AIQ株式会社 エンジニア向け会社紹介資料
aiqlab
0
380
巨大なテーブルのテーブル定義を無停止で安全に誰でも変更できるようにする / Table-definitions-for-huge-tables-can-be-modified-by-anyone-safely-and-non-disruptively
freee
1
740
SIEMを用いて、セキュリティログ分析の可視化と分析を実現し、PDCAサイクルを回してみた
coconala_engineer
0
220
Featured
See All Featured
Ruby is Unlike a Banana
tanoku
96
10k
How To Stay Up To Date on Web Technology
chriscoyier
782
250k
YesSQL, Process and Tooling at Scale
rocio
163
13k
Build The Right Thing And Hit Your Dates
maggiecrowley
23
2k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
29
6k
The Power of CSS Pseudo Elements
geoffreycrofte
59
5k
Web development in the modern age
philhawksworth
202
10k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
The MySQL Ecosystem @ GitHub 2015
samlambert
242
12k
Optimizing for Happiness
mojombo
370
69k
Embracing the Ebb and Flow
colly
79
4.1k
Designing for humans not robots
tammielis
247
25k
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