请选择 进入手机版 | 继续访问电脑版
查看: 400|回复: 0

[技术交流] Lierda Pico室内网关 LSD4WN-4P1nXGW1 产品规格书

[复制链接]

54

主题

146

帖子

497

积分

利尔达员工

Rank: 9Rank: 9Rank: 9

积分
497
发表于 2020-12-1 16:57:00 | 显示全部楼层 |阅读模式


LSD4WN-4P1nXGW1
产品规格书
文件版本: V1.0
文件状态: RC



                              

  


Table of Contents
1 What’s inthe Box. 1

2Specifications. 1

3System Requirements. 1

4Connecting and Configuringyour Gateway. 1

5Gateway Rear Panel 2

6Gateway Front Panel 3

7Software upgrading Kona PicoGateway using TFTP.. 4

8Updating customer_conf usingtftp (For changing network sever). 5

9Updating lorawan_conf usingtftp.. 6

10Bibliography. 8




1 What’s in the Box
Ø Pico Gateway
Ø AC Power adapter
Ø External Antenna (for applicable models)
2 Specifications
• AC power adapter: 120V AC, 60Hz, 0.4A input, 5V DC, 2A output
• Operating temperature: 0 to 40°C
• Indoor use only, do not connect to outdoor antennas or outdoor network cables

3 System Requirements
• Requires internet access viaan RJ45 cable connection or Wi-Fi connectivity (802.11 b/g/n at 2.4 GHz)

• Requires continuous access toa standard 120V, 60Hz AC power outlet

4 Connectingand Configuring your Gateway
• Connect the provided power adapter and, whenapplicable, the external antenna to the gateway1
• The gateway starts up as soon as power is applied,expect to see a solid green LED on the back RJ45 right LED



If you chooseto access the internet via an RJ45 cable connection:
• Connect the Ethernet cable from your Gateway to aLAN port on your router o The Gateway is configured for DHCP, you should seeactivity indicated on the RJ45 left LED after a few moments. The System LEDwill flash at a high rate when trying to obtain an IP from your DHCP server

• The Gateway is readyfor use

If you chooseto access the internet via a Wi-Fi connection:
• Use a Wi-Fi client (eg. smart phone) and connectto the KonaPicoAP_#SN access point within the first minute of powering up thegateway (while the Wi-Fi LED is blinking)
• Browse to http://192.168.10.1 to view a webpageallowing connection to your Wi-Fi network
• Select your SSID and enter your passphrase,allowing your gateway to connect to your network as a client
o You should see the Wi-Fi LED stop blinking andstay lit once the gateway is connected to the network
• Gateway is then readyfor use

If need tochange the Wi-Fi network to which the gateway is connected:
• Power cycle the gateway and use the same proceduredescribed above to connect to a new Wi-Fi network.


5 GatewayRear Panel

1.Ethernet activity LED – RJ45 left LED will flash when there is Ethernetactivity

2.Gateway Power LED – RJ45 right LED will be solid when the gateway power supplyis plugged in

3.5V power connector

4.LoRa External Antenna connector (model dependant), use only provided antenna

6 GatewayFront Panel

1. System Status LED – as opposed to a simple powerindicator, as with the RJ45 power LED on the back side:
• LED flashes at a highrate while the gateway is obtaining an IP address via DHCP
• LED is solid on after the gateway has obtained anIP address via DHCP, and remains solid on during normal operation
• The LED flashes at a slow rate if the gateway isunable to obtain an IP address via DHCP, the network is not connected, or someother problem prevents normal operation
• All LEDS will be ONbriefly during Power On Self test (POST)

2. LoRa Activity LED –flashes with the receipt of packets:
• The LED is lit briefly whenever an uplink packetreceived via the LoRaWAN is sent to the network server
• The LED is lit briefly whenever a downlink packetreceived from the network server is transmitted via the LoRaWAN

3. Wi-Fi Activity LED –indicates the state of Wi-Fi connection:
• LED flashes when theWi-Fi access point (KonaPicoAP_#SN) is enabled
• LED is solid on whenthe gateway is connected to a Wi-Fi network


Fault indication on the LEDs
1. Ethernet link down: Indicated by lack of activityon the RJ45 left LED. Ensure that the RJ45 connectors are properly inserted onboth the GW and the Ethernet switch or wall jack. Also, ensure that the CAT5Ecable is good.
2. Failed to obtain IP during DHCP: The System LEDwill continue to blink at high rate until a valid IP is allocated. Check theDHCP server logs from your network and looks for the MAC address of the GW(64:7F:DA:xx:xx:xx). If you know the IP of the GW from the logs, you can try toping the GW to confirm that it is connected to the network.
3. Failed to connect to network server: The GWSystem LED will cycle through high rate (DHCP), Solid (POST) and slow rateevery minute as the GW is trying to connect to server and reboots to try again.Ensure that the GW is connected to a network that has internet access.
7 Softwareupgrading Kona Pico Gateway using TFTP
1. Connect the Kona Picogateway to the local network using Cat 5E cable.
2.Power ON the gateway and ensure that gateway gets an IP from the DHCP sever(Power led blinks few times and then stays ON when IP has been acquired)
3. Obtain the IP address assigned to the GW from the dhcpserver logs.
4. Use any TFTP client to PUT the Gateway.bin file to thePico GW as shown in Figure 1

Eg: http://tftpd32.jounin.net/

Note: The SWbinary provided is named as orbiswise-vx.xx.bin, actility-vx.xx.bin orsemtech-vx.xx.bin depending on which packet forwarder is required by thenetwork server. Pico GW currently uses semtech-vx.xx.bin when connecting toLoriot server. The name used in the Remote file field should be left asGateway.bin in all cases.

4. The LED indications during SW upgrade is shown below
[System LED]

Software update status is shownon the front panel LED intended for the purpose of showing system status.Specifically:


             o The LED flashes during theTFTP transfer (i.e., while the software image is being transferred to thegateway)

             o The LED turns off (briefly)while the gateway is resetting itself as a result of a successful update


Note that if the LED remains ON instead after thetransfer, then the software update failed. In a successful update, the GW wouldreboot itself and the System LED will behave as it would on a power up.


8 Updating customer.json usingtftp (For changing network sever)
Customer.jsonfile needs to updated when the GW needs to connect to a new network server. Asample customer.json is shown in JSON 1
1.  {  
2.    
3.    "private_key_password": "",  
4.    "network": "semtech",  
5.    "semtech": {   
6.    "host": "47.110.127.110",   
7.    "up_port": 8441,   
8.    "down_port": 8441   
9.    }   
10. }  

JSON 1: customer.json

NOTE1: The host url could be replaced with a corresponding IP address.
NOTE2: The host URL is only relevant when using Semtech packet forwarder.
Foreg:
TektelicUS server: "host": "tek-ns-us.thingsboard.io" and "up_port": 1700, "down_port":1700
LoriotUS server : "host": "us1.loriot.io" and "up_port": 1780, "down_port":1780



1.The instructions are same as in section 7. See Figure 2 for the settingsrequired on the TFTP client tab to upgrade the customer_conf.json.
2.After upgrading the customer_conf.json, power cycle the board for the settingsto take effect.

Oncethe customer_conf.json has been updated the Pico GW needs to be power cycledfor the settings to take effect. At this point the GW is ready to connect tothe network server, however, depending on the network server the GW ID/ MACaddress needs to be registered on the server to authenticate the GW. Theprocedure for authenticating the gateway is specific to the networker serverand usually requires login credentials to access the documentation [1] [2][3]

9 Updating lorawan_conf usingtftp
ThePico GW is configured by default to receive on the first eight 125 KHz channelsof LoRa US 902-928MHz band when using the Semtech packet forwarder. The GW canbe configured to listen to different channels by changing the lorawan_conf.jsonfile. The LoRa WAN (radio) configuration is delivered by means of a JSONstring having the following format (see the inline comments and notes below fordescription of the JSON string). GW uses a different channel plan whenconnected to Orbiwise server (set by the server during GW initialization).


1.  {   
2.      "public":true,   
3.      "radio": /* an array of up to two (2) entries */   
4.        [  
5.          {   
6.            "enable":true/false,  
7.            "freq":n, /* in Hz */  
8.          }   
9.          /* etc. */  
10.       ],  
11.
12. "lora_multi": /* an array of up to eight (8) entries */  
13.     [   
14.       {  
15.         "enable":true/false,  
16.         "radio":0-1,  
17.         "offset":+/-n,  
18.         /* an empty string denotes the default bandwidth */  
19.         "bandwidth":""/"125kHz",   
20.         "sf7":true/false,"sf8":true/false,"sf9":true/false,"sf10":true/false,"sf11":true/false,"sf12":true/false,  
21.       },        
22.       /* etc. */   
23.     ],  
24.   
25. "lora_std":  
26.       {   
27.         "enable":true/false,  
28.         "radio":0-1,   
29.         "offset":+/-n,  
30.         /* an empty string denotes the default bandwidth */   
31.         "bandwidth":""/"125kHz"/"250kHz"/"500kHz",  
32.         /* an empty string denotes the default spread factor */  
33.         "spread_factor":""/"SF7"/"SF8"/"SF9"/"SF10"/"SF11"/"SF12",  
34.       } ,  
35.          
36. "fsk":  
37.       {   
38.         "enable":true/false,   
39.         "radio":0-1,  
40.         "offset":+/-n,   
41.         /* an empty string denotes the default bandwidth */   
42.         "bandwidth":""/"7.8kHz"/"15.6kHz"/"31.2kHz"/"62.5kHz"/"125kHz"/"250kHz"/"500kHz",  
43.         "datarate":0/500-250000  
44.       }   
45. }  



Notes:
1.The shape of the JSON string was designed to prevent errors. That said, thevalues are validated only when the configuration is applied to the 8-channelgateway concentrator (SX1301) using the HAL. As a result, it is possible insome cases to specify a value that the HAL will reject (e.g., an FSK data rateof 250).
2.The shape of the JSON string does not permit the configuration of some of theparameters supported by the HAL. Such parameters are a function of thehardware. E.g., radio A (radio 0) is the clock source on the Pico Gateway, butradio B (radio 1) serves this purpose on the Semtech evaluation board.
3.Disabling all of the spread factors (sf7-sf12) for a LoRa multi-SF (spreadfactor) channel (IF) results in the HAL using the default set of spreadfactors, which (paradoxically) corresponds to enabling all of the spreadfactors.

Asample lorawan_conf.json file that configures the Pico GW to first 8channels of Lora US band is attached below

lorawan_conf.json

Theinstructions for uploading the file to the GW are same as in section 7 exceptfor the remote file name that needs to be changed to lorawan_conf.json.After updating the lorawan_conf.json, power cycle the GW for thesettings to take effect.

10 Bibliography

[1]"loriot.io,"[Online]. Available: https://loriot.io/.

[2]"Orbiwise.com,"[Online]. Available: https://orbiwise.com.

[3]"Actility.com,"[Online]. Available: https://www.actility.com/.






本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表