Introduction ..........................4 What is LWL02 LoRaWAN Door Sensor ..................4 Features ............................5 Applications ..........................5 Dimension ........................... 5 Firmware Change log ......................... 5 Power ON LWL02 ........................6 How to install LWL02......................... 6 Operation Mode ........................7 How it works? ..........................
Page 3
Support ..........................25 LoRaWAN Water Leak Sensor User Manual 3 / 25...
LWL02 indicates a water leak event and uplink to IoT server via LoRaWAN network. LWL02 is powered by 2 x AAA batteries and target for long time use, these two batteries can provide about 16,000 ~ 70,000 uplink packets, which result in 2 ~ 10 years battery life. After battery running out, user can easily open the enclosure and replace with 2 common AAA batteries.
3. How to install LWL02 When install the LWL02 on wall. Please install as below so the water leak probe will be soak in water for water detect purpose. The LWL02 main body is not water proof. Please don’t let water go inside the LWL02 main body.
4. Operation Mode 4.1 How it works? The LWL02 is configured as LoRaWAN OTAA Class A mode by default. It has OTAA keys to join network. To connect a local LoRaWAN network, user just need to input the OTAA keys in the...
Page 8
LoRaWAN Water Leak Sensor User Manual 8 / 25...
Page 9
User can enter this key in their LoRaWAN Server portal. Below is TTN V3 screen shot: Add APP EUI in the application. LoRaWAN Water Leak Sensor User Manual 9 / 25...
Page 10
LWL02 and LWL01 use the same payload structure. So choose LWL01 as the model here. LoRaWAN Water Leak Sensor User Manual 10 / 25...
Page 11
You can also choose to create the device manually. LoRaWAN Water Leak Sensor User Manual 11 / 25...
Add APP KEY and DEV EUI Step 2: Power on LWL02 and it will auto join to the TTN V3 network. After join success, it will start to upload message to TTN V3 and user can see in the panel. 4.3 Uplink Payload Uplink Payload total 9 bytes.
Example: Example Payload Decoder in TTN V3: http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LDS01/Payload/ 4.4 Downlink Payload Downlink Control Type Type Code Downlink payload size(bytes) TDC (Transmit Time Interval—Keep Alive Interval) 0x01 RESET 0x04 Set confirmed mode 0x05 Clear Counting 0xA6 Enable/Disable Alarm 0xA7 Control ADR/DR...
Page 14
Example Downlink payload setting in TTN V3: Type Code 0x01 If the payload=0100003C, means to control the LWL02’s Keep Alive interval to 0x00003C=60(S) Type Code 0x04 If payload = 0x04FF, it will reset the LWL02. Type Code 0x05 0x05 00: Set uplink to LoRaWAN unconfirmed mode...
Page 15
Type Code 0xA9 Alarm Base Timeout for detail. LoRaWAN Water Leak Sensor User Manual 15 / 25...
4.5 Integrate with Datacake Datacake provides a human friendly interface to show the sensor data, once we have data in TTN V3, we can use Datacake to connect to TTN V3 and see the data in Datacake. Below are...
Page 17
LoRaWAN Water Leak Sensor User Manual 17 / 25...
Page 18
Step 3: Create an account or log in Datacake. Step 4: Search LWL02 and add DevEUI. LoRaWAN Water Leak Sensor User Manual 18 / 25...
4.6 Alarm Base on Timeout LWL02 can monitor the timeout for a status change, this feature can be used to monitor some event such as open fridge too long etc. User configure this feature by using: AT Command to configure: →...
4.7 LEDs Action LED behavior Power On GREEN on 1s, on 1s, BLUE on 1s Joined successful GRENN LED on 5s Send an uplink message GREEN LED blinks once Got a downlink message BLUE LED blinks once LoRaWAN Water Leak Sensor User Manual...
5. Battery & How to replace 5.1 Battery Type and replace LWL02 is equipped with 2 x AAA LR03 batteries. If the batteries running low(see 2.1v in the platform). User can buy generic AAA battery and replace it. Note: 1) The LWL02 doesn’t have any screw, use can use nail to open it by the middle.
Page 22
LoRaWAN Water Leak Sensor User Manual 22 / 25...
6. Use AT Command 6.1 Access AT Command LWL02 supports AT Command set. User can use a USB to TTL adapter to configure LWL02 via use AT command, as below. USB to TTL <- -> LWL02 RX <- -> TX TX <- ->...
AT Command Manual 7. FAQ 7.1 How to upgrade the image? User can upgrade the firmware of LWL02 for bug fix, new features, or change working region. The upgrade instruction is here: http://wiki.dragino.com/index.php?title=Firmware_Upgrade_Instruction 7.2 How to change the LoRa Frequency Bands/Region? If user has for example US915 frequency and want to change it to AS923 frequency.
➢ US915: frequency bands US915 ➢ IN865: frequency bands IN865 ➢ CN779: frequency bands CN779 9. Packing Info Package Includes: ✓ LWL02 x 1 Dimension and weight: ✓ Device Size: 69.2 x 29.2 x 14.8 mm 10. Support ➢ Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support.
Need help?
Do you have a question about the LWL02 and is the answer not in the manual?
Questions and answers