Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
devices:loragw [2019/01/02 13:52] m.mironiski Bolds replaced with alerts |
devices:loragw [2021/05/10 14:14] (current) kateryna.kozakova [LoRa Gateway] |
| |
* 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]]), |
{{: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 ===== |
where ''<PIN>'' is your pin e.g. ''1234''. | where ''<PIN>'' is your pin e.g. ''1234''. |
Then type command: | Then type 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> |
| |
| === 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 | sync |