Wiki source code of How to register a TTN account and connect gateway & sensors?
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | = 1. Register a TTN account = | ||
| 2 | |||
| 3 | [[https:~~/~~/id.thethingsnetwork.org/oidc/interaction/NYqiq-Uu3V_sg3Lz54Onk/register>>https://id.thethingsnetwork.org/oidc/interaction/NYqiq-Uu3V_sg3Lz54Onk/register]] | ||
| 4 | |||
| 5 | [[image:1762910518611-841.png||height="771" width="859"]] | ||
| 6 | |||
| 7 | [[image:1762910544032-838.png||height="771" width="859"]] | ||
| 8 | |||
| 9 | [[image:1762910571349-677.png||height="771" width="860"]] | ||
| 10 | |||
| 11 | [[image:1762910474654-725.png||height="772" width="861"]] | ||
| 12 | |||
| 13 | |||
| 14 | = 2. Access and Configure gateway(Use Dragino [[LPS8N >>https://www.dragino.com/products/lora-lorawan-gateway/item/200-lps8n.html]]as a reference device) = | ||
| 15 | |||
| 16 | Next, you need to configure the gateway and register it with TTN. The following are the gateway configuration methods provided by Dragino: | ||
| 17 | |||
| 18 | [[https:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/#H2.A0AccessandConfigureLPS8N:~~~~:text=will%20TURN%20OFF.-,2.%C2%A0%20Access%20and%20Configure%20LPS8N,-The%20LPS8N%20is>>https://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/#H2.A0AccessandConfigureLPS8N:~~:text=will%20TURN%20OFF.-,2.%C2%A0%20Access%20and%20Configure%20LPS8N,-The%20LPS8N%20is]] | ||
| 19 | |||
| 20 | **Step 1: Get a Unique gateway ID.** | ||
| 21 | |||
| 22 | Every LPS8N has a unique gateway id. The ID can be found at LoRaWAN page: | ||
| 23 | |||
| 24 | [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/1657091583941-544.png?rev=1.1||alt="1657091583941-544.png"]] | ||
| 25 | |||
| 26 | The example gateway id is: **a840411e96744154** | ||
| 27 | |||
| 28 | |||
| 29 | **Step 2: Choose the TTNv3 Cluster Picker** | ||
| 30 | |||
| 31 | [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/1657091719947-297.png?rev=1.1||alt="1657091719947-297.png"]] | ||
| 32 | |||
| 33 | |||
| 34 | **Note: Choose the cluster corresponds to a specific Gateway server address** | ||
| 35 | |||
| 36 | * Europe 1** corresponding Gateway server address:** eu1.cloud.thethings.network | ||
| 37 | * North America 1 **corresponding Gateway server address: **nam1.cloud.thethings.network | ||
| 38 | * Australia 1 **corresponding Gateway server address: **au1.cloud.thethings.network | ||
| 39 | * Legacy V2 Console : **TTN v2 shuts down in December 2021** | ||
| 40 | |||
| 41 | **Step 3: Create a Gateway** | ||
| 42 | |||
| 43 | [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/1657091941182-367.png?rev=1.1||alt="1657091941182-367.png"]] | ||
| 44 | |||
| 45 | Click the Gateway icon and then click Add gateway. | ||
| 46 | |||
| 47 | Open the following page: | ||
| 48 | |||
| 49 | [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/image-20220706155323-5.png?width=1060&height=579&rev=1.1||alt="image-20220706155323-5.png" height="579" width="1060"]] | ||
| 50 | |||
| 51 | [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/image-20220706155323-6.png?width=1066&height=582&rev=1.1||alt="image-20220706155323-6.png" height="582" width="1066"]] | ||
| 52 | |||
| 53 | **Notice: Gateway Server address must match the gateway configuration, otherwise you will have problem for End Node to join the network.** | ||
| 54 | |||
| 55 | |||
| 56 | After creating the gateway, you can see the gateway info, as below. | ||
| 57 | |||
| 58 | [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/WebHome/1657094130908-567.png?rev=1.1||alt="1657094130908-567.png"]] | ||
| 59 | |||
| 60 | |||
| 61 | = 3. Register sensor on TTN ( Use Dragino [[LT-22222-L>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html]] IO Controller as a reference device) = | ||
| 62 | |||
| 63 | Please note that **the frequency band used by the device and the frequency band used by the gateway must be consistent**; otherwise, a connection cannot be established. | ||
| 64 | |||
| 65 | [[https:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/#H4.4A0AddaLoRaWANEndDevice:~~~~:text=%E4%BD%BF%E7%94%A8%E7%9A%84%E9%A2%91%E7%8E%87%E3%80%82-,4.4%20%E6%B7%BB%E5%8A%A0%20LoRaWAN%20%E7%BB%88%E7%AB%AF%E8%AE%BE%E5%A4%87,-%E6%9C%AC%E8%8A%82%E4%BB%8B%E7%BB%8D>>https://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/LPS8N%20-%20LoRaWAN%20Gateway%20User%20Manual/#H4.4A0AddaLoRaWANEndDevice:~~:text=%E4%BD%BF%E7%94%A8%E7%9A%84%E9%A2%91%E7%8E%87%E3%80%82-,4.4%20%E6%B7%BB%E5%8A%A0%20LoRaWAN%20%E7%BB%88%E7%AB%AF%E8%AE%BE%E5%A4%87,-%E6%9C%AC%E8%8A%82%E4%BB%8B%E7%BB%8D]] | ||
| 66 | |||
| 67 | At the same time, **the port must correspond one-to-one with the frequency band.**[[image:https://wiki.thingseye.io/xwiki/bin/download/Main/How%20to%20load%20universal%20deviceprofile%20at%20chirpstack/WebHome/1739178122182-350.png?rev=1.1||alt="1739178122182-350.png" height="573" width="867"]] | ||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 |