MOKO LW013-SB User Guide
Version 1.0
MOKO TECHNOLOGY LTD.
Content
Product Introduction
- 1.1 Overview
- 1.2 Key Feature
Product Specification
- 2.1 Appearance
- 2.2 Dimensions
- 2.3 LED Indicators
Packing List
Access to the device
- 4.1 Power On/Off
- 5.2 Enable Bluetooth Connect Function
APP Configuration Guide
- 6.1 Connect to APP
- 6.2 Configure LW013-SB Parameters
- 6.2.1 LORA Parameters
- 6.2.2 General Parameters
- 6.2.4 Device Parameters
Communication Protocol
- 7.1 Uplink Payload
- 7.1.1 Heartbeat Payload
- 7.1.2 Alarm Payload (Port 2)
- 7.1.3 Low power Payload (Port 3)
- 7.1.4 Shutdown Payload (Port 4)
- 7.1.5 Event Payload (Port 5)
- 7.1.6 Power Consumption Payload (Port 6)
7.2 Downlink Command
- 7.2.1 Payload Format
- 7.2.2 Common Downlink Command
- 7.1 Uplink Payload
Revision History
1 Product Introduction
1.1 Overview
LW013-SB is a smart button used to quickly trigger an alarm or help signal in an emergency. Using advanced battery management technology and good power consumption control, it can achieve ultra-long battery life. LW013-SB is suitable for security protection, medical assistance, public facilities, and other fields. It can customize three types of alarms for different scenarios.
1.2 Key Feature
- Powerful buzzer
- Long wireless transmission distance
- Multiple alarm levels can be self-defined
- IP67 rating
- Ultra-long lifespan
2 Product Specification
2.1 Appearance
The device is a square-shaped button with a central square button that has a red outline. The overall dimensions are approximately 74mm x 74mm x 23mm.
2.2 Dimensions
The device dimensions are 74mm in width and height, and 23mm in depth. The overall height including the button is 76mm.
2.3 LED Indicators
The device features LED indicators for various status updates:
Status Type | Status | LED | Button Operation |
---|---|---|---|
Power status | Power on | Solid green 3s | / |
Power off | Flash green 3s | / | |
Low power | Flash green 500ms every 10s | / | |
Bluetooth broadcast status | Bluetooth broadcasting | Flash green slowly | / |
LoRaWAN status | LoRaWAN network connected | Solid white 3s | / |
LoRaWAN connecting | Flash white 1s quickly | / | |
Linkcheck | Flash white 3s | / | |
Alarm status | Alarm is triggered | Flash red quickly | Press the alarm button |
Exit alarm | Solid red 1s, then solid green 1s, then solid blue 1s | / | |
OTA status | OTA in process | Flash blue slowly | / |
OTA success | Solid blue 3s | / | |
OTA fail | Flash blue quickly 3s | / | |
Reset status | Factory reset | Flash yellow slowly 5s | / |
Self-inspection status | Self-inspection fail | Solid red | / |
3 Packing List
The standard packing list includes:
- LW013 individual packaging (1)
- Screw (2)
- 3M adhesive pad (1)
The packaging contains the LW013 device in individual packaging, a bag with screws, and a 3M adhesive pad.
4 Access to the device
4.1 Power On/Off
- Power On: Continuously approach the magnetic area for 3 seconds.
- Power Off: There are three ways to power off the device:
- Power off via the MKLoRa APP.
- Power off via LoRaWAN downlink command.
- Power off via continuously contacting the magnetic area for 3 seconds.
5.2 Enable Bluetooth Connect Function
The device can make a Bluetooth broadcast and can be connected in the following three cases:
- Within the first N minutes after the device is turned back on.
- The LoRaWAN server sends a LoRa command to turn on Bluetooth broadcast for N minutes.
Note: N is the broadcast timeout duration, configurable via the MKLoRa APP. If the device is successfully connected and then disconnected, the broadcast timeout will be refreshed, and the user can choose to establish Bluetooth connection with the device again within this time.
6 APP Configuration Guide
6.1 Connect to APP
Download the “MKLoRa” APP from the app store. Ensure Bluetooth is enabled during installation. The APP communicates with the device via Bluetooth and supports Android 4.4 and iOS 9.0 systems.
After the device is turned on, it will start broadcasting Bluetooth. Open the MKLoRa APP, search for the LW013-SB device by clicking the refresh icon. The default broadcast name is LW013-SB-XXXX. Click "Connect", the default login password is Moko4321. The Edit Filter function helps users filter by keywords and RSSI (ranging from -127dBm to 0dBm).
6.2 Configure LW013-SB Parameters
6.2.1 LORA Parameters
Configure/Read LoRaWAN mode and key parameters like DevEUI, AppEUI, and AppKey. The interface shows options for LoRaWAN Status, Connection Settings (OTAA/EU868/ClassA), and Application Settings.
6.2.2 General Parameters
This section details general device settings, including Alarm Report Settings, Bluetooth Settings, and Heartbeat Interval. The Heartbeat Interval can be set to 720 minutes.
6.2.4 Device Parameters
Device settings include Indicator Settings, Current Time Zone (UTC-12 to UTC+12, default UTC), Low-power Payload, Low Power Prompt (default 80%, settable 30-99%), Low-power Report Interval, ON/OFF Settings, Device Information, and Factory Reset. For more details, refer to the MKLoRa APP guide.
7 Communication Protocol
7.1 Uplink Payload
7.1.1 Heartbeat Payload
Sent on Port 1. Includes Timestamp, timezone, Temperature, Voltage, Firmware version (major, sub, patch), and Hardware version.
7.1.2 Alarm Payload (Port 2)
Sent on Port 2. Includes Timestamp, timezone, Temperature, Voltage, and Event type (no event, event1, event2, event3 triggered).
7.1.3 Low power Payload (Port 3)
Sent on Port 3. Includes Timestamp, timezone, Temperature, Voltage, and Percentage of battery consumption (1-99%).
7.1.4 Shutdown Payload (Port 4)
Sent on Port 4. Includes Timestamp, timezone, Temperature, Voltage, and Shutdown type (turn off via APP, downlink command, or magnetic).
7.1.5 Event Payload (Port 5)
Sent on Port 5. Includes Timestamp, timezone, Temperature, Voltage, and Event type (downlink trigger).
7.1.6 Power Consumption Payload (Port 6)
Sent on Port 6. Includes device working time, Bluetooth broadcast times, LED working times (red, green, blue), buzzer working times (normal and alarm modes), event trigger times, and event payload report times.
7.2 Downlink Command
LW013-SB supports configuration via downlink commands. Application port is 10 by default.
7.2.1 Payload Format
The downlink command consists of HEAD, CMD, LEN, and DATA.
Byte Index | Type | Content | Description |
---|---|---|---|
Byte 0 | HEAD | 0x00/01/02 | 00: control command 01: read parameters 02: write parameters |
Byte 1-2 | CMD | 0x0000~ 0x00FF | Message ID. Each parameter has a unique ID. |
Byte 3 | LEN | 0x00~ 0xF0 | The length of Command Data. 0x00 means the "DATA" part is empty. |
Byte 4 - XX | DATA | Maximum 240 bytes | Command Data. Available if instruction type is 0x01. Other instruction types don't have this part. |
7.2.2 Common Downlink Command
HEAD | CMD | LEN | Description |
---|---|---|---|
00 | / | Turn off the device | |
00/01/02 | 11 | / | Reboot the device |
06 | / | Factory reset the device | |
08 | / | Exit alarm status | |
09 | / | Enter event 1 alarm status | |
0A | / | Enter event 2 alarm status | |
0B | / | Enter event 3 alarm status | |
02 | 00 22 | 2 | Report interval of heartbeat payload |
02 | 06 01 | 1 | Event 1 buzzer switch |
02 | 06 03 | 2 | Event 1 report interval |
Example:
- Turn off the device: HEAD 00, CMD 00
- Set heartbeat interval as 100mins: HEAD 02, CMD 00 22, LEN 02, DATA 0064 (=>100s)
- Set event 1 buzzer switch as alarm mode: HEAD 02, CMD 06 01, LEN 01, DATA 02 (=>alarm)
- Set event 1 report interval as 10s: HEAD 02, CMD 06 03, LEN 02, DATA 00 0A (=>10s)
For more downlink commands, refer to the LW013-SB Downlink Command v1.0.
8 Revision History
Version | Description | Editor | Date |
---|---|---|---|
1.0 | Initial version | Damon | 2025-4-17 |
FCC Statement
1. This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference. (2) This device must accept any interference received, including interference that may cause undesired operation.
2. Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment.
NOTE: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:
- Reorient or relocate the receiving antenna.
- Increase the separation between the equipment and receiver.
- Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
- Consult the dealer or an experienced radio/TV technician for help.
RF warning statement: The device has been evaluated to meet general RF exposure requirement. The device can be used in portable exposure condition without restriction.