Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
devices:loragw [2019/01/02 12:28]
m.mironiski Added Start guide
devices:loragw [2021/05/10 14:14] (current)
kateryna.kozakova [LoRa Gateway]
Line 9: Line 9:
  
   * LoRaWAN Concentrator 868MHz ([[https://wireless-solutions.de/products/radiomodules/ic880a.html|iC880A]])   * LoRaWAN Concentrator 868MHz ([[https://wireless-solutions.de/products/radiomodules/ic880a.html|iC880A]])
-  * Ethernet 10/100 ([[http://www.microchip.com/wwwproducts/en/LAN8720A|LAN8720A]])+  * Ethernet 10/100 ([[https://www.microchip.com/wwwproducts/en/LAN8720A|LAN8720A]])
   * 4G LTE modem ([[https://www.telit.com/m2m-iot-products/cellular-modules/standard-industrial-grade/xe910-family|LE910-EUG]]),   * 4G LTE modem ([[https://www.telit.com/m2m-iot-products/cellular-modules/standard-industrial-grade/xe910-family|LE910-EUG]]),
   * GNSS/GPS ([[https://www.telit.com/m2m-iot-products/positioning-timing-modules/positioning-gnss-sl871-sl871l|SL871]]),   * GNSS/GPS ([[https://www.telit.com/m2m-iot-products/positioning-timing-modules/positioning-gnss-sl871-sl871l|SL871]]),
Line 21: Line 21:
 {{:devices:loragw_1.3_sch.pdf|Download}} {{:devices:loragw_1.3_sch.pdf|Download}}
  
-{{pdfjs>:devices:loragw_1.3_sch.pdf|LoRa Gateway 1.3}}+{{pdfjs 1000px>:devices:loragw_1.3_sch.pdf|LoRa Gateway 1.3}} 
 + 
 +===== Production files ===== 
 + 
 +{{:devices:loragw_1.3_bom.zip|BOM}} 
 + 
 +{{:devices:loragw_1.3_gerber_x2.zip|Gerber X2}} 
 + 
 +{{:devices:loragw_1.3_gerber_rs-274x.zip|Gerber RS-274X}}
  
 ===== Start guide ===== ===== Start guide =====
Line 67: Line 75:
 where ''<path/to>'' is path to built or downloaded firmware image and ''<sd_card>'' can be ''sdX'' or ''mmcblkX''. where ''<path/to>'' is path to built or downloaded firmware image and ''<sd_card>'' can be ''sdX'' or ''mmcblkX''.
  
-**WARNING! This will destroy all contents of device you specify!**+<alert type="danger">WARNING! This will destroy all contents of device you specify!</alert>
  
 ==== Board preparation ==== ==== Board preparation ====
Line 90: Line 98:
     password: root     password: root
  
-**It's highly recommended to change the password after first log in.**+<alert type="info">It's highly recommended to change the password after first log in.</alert>
  
 ==== Configuration ==== ==== Configuration ====
Line 138: Line 146:
     grep "gateway_ID" /ttn/local_conf.json     grep "gateway_ID" /ttn/local_conf.json
  
-**To apply changes of gateway settings it's necessary to reset the device by turning off and on power supply or typing the following command:** +<alert type="info">To apply changes of gateway settings it's necessary to reset the device by turning off and on power supply or typing the following command:
  
     reboot     reboot
 +
 +</alert>
  
 === GSM - APN & PIN === === GSM - APN & PIN ===
Line 181: Line 191:
     sync     sync
  
-**To apply changes of gateway settings it's necessary to reset the device by turning off and on power supply or typing the following command:** +<alert type="info">To apply changes of gateway settings it's necessary to reset the device by turning off and on power supply or typing the following command: 
  
     reboot     reboot
 +
 +</alert>
 +
 +=== Registration ===
 +
 +<alert type="info">The gateway is configured to work by default with [[https://www.thethingsnetwork.org/|The Things Network]] but it can works with any LoRaWAN network e.g. [[https://www.loriot.io/|LORIOT]] as well.</alert>
 +
 +**The Things Network**
 +
 +Sign up on [[https://www.thethingsnetwork.org/]] and open [[https://console.thethingsnetwork.org/|console]].
 +
 +{{ :devices:loragw_ttn_console_1.png?600 |}}
 +
 +Choose ''Gateways'' and then ''Register gateway''. Check option //I'm using the legacy packet forwarder// and type the gateway EUI which you own or generated in previous step. Choose frequency plan and router according to your region.
 +
 +{{ :devices:loragw_ttn_console_2.png?600 |}}
 +
 +Register your gateway and restart it. After few minutes you its status should change to ''connected''.
 +
 +{{ :devices:loragw_ttn_console_3.png?600 |}}
 +
 +**Other LoRaWAN network**
 +
 +To work with other LoRaWAN network it's necessary to adjust the gateway configuration.
 +
 +Log into the gateway and edit the configuration file:
 +
 +    vi /ttn/local_conf.json 
 +
 +Find section ''servers'' and add new instance or edit existing one. The gateway can forward packets to maximum 4 servers parallelly.
 +
 +    ...
 +    /* node servers for poly packet server (max 4) */
 +    "servers":
 +    [ { "server_address": "127.0.0.1",
 +        "serv_port_up": 1680,
 +        "serv_port_down": 1681,
 +        "serv_enabled": false },
 +      { "server_address": "router.eu.thethings.network",
 +        "serv_port_up": 1700,
 +        "serv_port_down": 1700,
 +        "serv_enabled": true } ],
 +    ...
 +
 +for example:
 +
 +    ...
 +    /* node servers for poly packet server (max 4) */
 +    "servers":
 +    [ { "server_address": "eu1.loriot.io",
 +        "serv_port_up": 1780,
 +        "serv_port_down": 1780,
 +        "serv_enabled": true },
 +      { "server_address": "router.eu.thethings.network",
 +        "serv_port_up": 1700,
 +        "serv_port_down": 1700,
 +        "serv_enabled": true } ],
 +    ...
 +
 +Save file and type the following command:
 +
 +    sync
 +
 +<alert type="info">To apply changes of gateway settings it's necessary to reset the device by turning off and on power supply or typing the following command: 
 +
 +    reboot
 +
 +</alert>
  • devices/loragw.1546432084.txt.gz
  • Last modified: 2019/01/02 12:28
  • by m.mironiski