User Tools

Site Tools


supp:lora:dragino:start

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
supp:lora:dragino:start [2021/01/03 17:30] – [LSE01 (LSN50) Device Registration in a The Things Network Application] rolfsupp:lora:dragino:start [2021/12/23 10:21] (current) – [LSE01/LSN50 Device Registration in a The Things Network Application] rolf
Line 1: Line 1:
 ====== Dragino LoRa Components ====== ====== Dragino LoRa Components ======
  
 +===== DLOS8 4G =====
 +
 +Outdoor gateway with 4G modem.
 +
 +http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/DLOS8/
 ===== LSN50 v2 ===== ===== LSN50 v2 =====
  
Line 16: Line 21:
 ===== LSE01 Soil Sensor Kit ===== ===== LSE01 Soil Sensor Kit =====
  
-The LSE01 sensor kit consists of a LSN50 v2 LoRaWAN node plus a soil sensor providing soil moisture, soil temperature as well as soil electrical conductivity. Unfortunately the LSE01 software to communicate with the soil sensor as well as the soil sensor itself are closed source. The soil sensor is not specified and the brand is unknown.+The LSE01 sensor kit consists of a LSN50 v2 LoRaWAN node plus a soil sensor providing soil moisture, soil temperature as well as soil electrical conductivity. Unfortunately the LSE01 software to communicate with the soil sensor as well as the soil sensor itself are closed source. It is totally unclear how the sensor works. It is not specified and not even the brand is known.
  
 [[https://www.antratek.de/lsn50-v2-waterproof-lora-sensor-node|{{https://cdn.antratek.nl/media/product/bdf/lse01-lorawan-soil-sensor-lse01-eu868-7d5.jpg?400}}]] [[https://www.antratek.de/lsn50-v2-waterproof-lora-sensor-node|{{https://cdn.antratek.nl/media/product/bdf/lse01-lorawan-soil-sensor-lse01-eu868-7d5.jpg?400}}]]
Line 25: Line 30:
  
   * **[[https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/|LSE01 Documentation Collection]]**  from the Dragino Download Server    * **[[https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/|LSE01 Documentation Collection]]**  from the Dragino Download Server 
-  * :!: {{https://www.dragino.com/downloads/downloads/LoRa_End_Node/LSE01/LoRaWAN_Soil_Moisture_%26_EC_Sensor_UserManual_v1.3.pdf|LSE01 LoRaWAN Soil Moisture & EC Sensor User Manual v1.3}} (pdf)+  * :!: {{https://www.dragino.com/downloads/downloads/LoRa_End_Node/LSE01/LoRaWAN_Soil_Moisture_%26_EC_Sensor_UserManual_v1.4.pdf|LSE01 LoRaWAN Soil Moisture & EC Sensor User Manual v1.4}} (pdf)
   * {{https://www.dragino.com/downloads/downloads/LoRa_End_Node/LSE01/LSE01_AT_Commands_v1.0.pdf|LSE01 AT Commands v1.0}} (pdf)   * {{https://www.dragino.com/downloads/downloads/LoRa_End_Node/LSE01/LSE01_AT_Commands_v1.0.pdf|LSE01 AT Commands v1.0}} (pdf)
 +
 +==== Shopping ====
 +
 +State of 2021-01-04:
 +
 +  * https://www.antratek.de/catalogsearch/result/?q=lse01
 +  * https://www.reichelt.de/index.html?ACTION=446&LA=0&nbc=1&q=lse01
 +  * https://www.exp-tech.de/plattformen/lora/9965/lorawan-soil-moisture-ec-sensor
 +  * https://shop.maker-store.de/home-automation-messen-steuern/industrial-automation/lora-iot-sensoren/4215/dragino-lorawan-soil-moisture-amp-ec-sensor-lse01-eu868
  
  
 ===== LSE01/LSN50 Device Registration in a The Things Network Application ===== ===== LSE01/LSN50 Device Registration in a The Things Network Application =====
 +
 +A84041B2A18264AC
 +
 +A840416151829000
 +
 +The procedure is also described in the **{{https://www.dragino.com/downloads/downloads/LoRa_End_Node/LSE01/LoRaWAN_Soil_Moisture_%26_EC_Sensor_UserManual_v1.4.pdf|LSE01 manual v1.4}}**.
  
 Any LoRaWAN device has to be registered ("paired") with a TTN application. Preferably over the air activation (OTAA) is used. In the case of OTAA the following information has to be transferred from the preset LoRaWAN device to the TTN application.  Any LoRaWAN device has to be registered ("paired") with a TTN application. Preferably over the air activation (OTAA) is used. In the case of OTAA the following information has to be transferred from the preset LoRaWAN device to the TTN application. 
Line 40: Line 60:
 **DEVEUI**, **APPEUI** and **APPKEY** are preset in the **Dragino LoRaWAN devices**. They can be read and modified by means of AT commands. The easiest way to read the parameters from the device is to issue the command ''<nowiki>AT+CFG</nowiki>'' to retrieve all configuration parameters. The three parameters can also be taken from stickers attached to the LSE01/LSN50 device as well as a sticker on the paper box of the device.  **DEVEUI**, **APPEUI** and **APPKEY** are preset in the **Dragino LoRaWAN devices**. They can be read and modified by means of AT commands. The easiest way to read the parameters from the device is to issue the command ''<nowiki>AT+CFG</nowiki>'' to retrieve all configuration parameters. The three parameters can also be taken from stickers attached to the LSE01/LSN50 device as well as a sticker on the paper box of the device. 
  
-Create a new application on the TTN console to collect all the data from the sensor nodes. An application can have **several App EUIs** each of which being capable to serve as an unique identifier for the application. Additional App EUIs can be created an manually filled in. The APPEUI suggested by the device to be registered has to be added to the list of the TTN App EUIs.+Create a new application on the TTN console to collect all the data from the sensor nodes. An application can have several **different App EUIs** each of which being capable to serve as an unique application identifier for a registered device. Additional App EUIs can be created an manually filled in. The APPEUI suggested by the device to be registered has to be added to the list of the TTN App EUIs.
  
 The problem with this method is that that you have individual App EUIs for each device connected. The advantage is that the device does not have to be opened and configured via a serial interface. It is also easier to bind the device to another application without changing/programming the device. The problem with this method is that that you have individual App EUIs for each device connected. The advantage is that the device does not have to be opened and configured via a serial interface. It is also easier to bind the device to another application without changing/programming the device.
Line 58: Line 78:
 {{ :supp:lora:dragino:ttn_register_device.png?600&direct |}} {{ :supp:lora:dragino:ttn_register_device.png?600&direct |}}
  
-TTN will generate an App Key and an App EUI. \\+TTN will generate an App Key and an App EUI. Additional App EUIs can be added under //settings//. An individual App Key per registered device can be set during device registration.
  
 ===== Setting and Getting Configuration Parameters of LSE01/LSN50 ===== ===== Setting and Getting Configuration Parameters of LSE01/LSN50 =====
  
-In some cases it may be necessary to change parameters in the LoRaWAN nodes, e.g. all devices could be configured to use the same APPEUI and APPKEY. You could also change the time interval for taking measurements. +In some cases it may be reasonable to change parameters in the LoRaWAN nodes, e.g. so that all devices are configured to use the same APPEUI and APPKEY. It also may make sense to change the time interval for taking measurements depending on the application.
  
 The configuration is done by means of a **serial terminal** (e.g. putty, realterm, hterm, etc.) and a **USB-to-Serial Converter** connected to the microcontroller board. The available commands follow an **extended AT modem command set**. The configuration is done by means of a **serial terminal** (e.g. putty, realterm, hterm, etc.) and a **USB-to-Serial Converter** connected to the microcontroller board. The available commands follow an **extended AT modem command set**.
Line 137: Line 157:
  
  
-==== Soil Moisture, Temperature & EC Sensor ====+===== Soil Moisture, Temperature & EC Sensor =====
  
 **It is unclear which soil sensor is used for LSE01 kit.** The sensor as well as the LSE01 firmware are closed source. The sensor has an orange sticker with several tick mark fields for different interface and power options. This may help to identify it. **It is unclear which soil sensor is used for LSE01 kit.** The sensor as well as the LSE01 firmware are closed source. The sensor has an orange sticker with several tick mark fields for different interface and power options. This may help to identify it.
  
-{{:supp:lora:dragino:2020-12-31_141244.jpg?direct&300|}} {{https://sc01.alicdn.com/kf/H6cebb18491b94dac98848d5c84e251e4x.jpg?300}}+|  {{:supp:lora:dragino:2020-12-31_141244.jpg?direct&300|}}    {{https://sc01.alicdn.com/kf/H6cebb18491b94dac98848d5c84e251e4x.jpg?300}}  | 
 +|  //Fig.: The soil sensor of the LSE01//  |  //Fig.: A picture from the internet. //  | 
 + 
 +**Some product pages to be analyzed further:**
  
   * https://www.alibaba.com/product-detail/UART-RS485-MODBUS-RTU-Volumetric-water_1600075897556.html   * https://www.alibaba.com/product-detail/UART-RS485-MODBUS-RTU-Volumetric-water_1600075897556.html
supp/lora/dragino/start.1609695056.txt.gz · Last modified: 2021/01/03 17:30 by rolf