Milesight WS302 LoRaWAN Sound Level Sensor User Guide

Document preview
File info: application/pdf · 17 pages · 725.48KB

User Manual

Xiamen Milesight IoT Co., Ltd. WS302 2AYHY-WS302 2AYHYWS302 ws302

Original Document

If the viewer doesn’t load, open the PDF directly.

Extracted Text

Sound Level Sensor
Featuring LoRaWAN�
WS302
User Guide

Safety Precautions
Milesight will not shoulder responsibility for any loss or damage resulting from not following the instructions of this operating guide.  The device must not be remodeled in any way.  In order to protect the security of the device, please change the device password when first
configuration. The default password is 123456.  Do not place the device outdoors where the temperature is below/above operating range.
Do not place the device close to objects with naked flames, heat source (oven or sunlight), cold source, liquid and extreme temperature changes.  The device is not intended to be used as a reference sensor, and Milesight will not take responsibility for any damage which may result from inaccurate readings.  The battery should be removed from the device if it is not to be used for an extended period. Otherwise, the battery might leak and damage the device. Never leave a discharged battery in the battery compartment.  The device must never be subjected to shocks or impacts.
Declaration of Conformity
WS302 is in conformity with the essential requirements and other relevant provisions of the CE, FCC, and RoHS.
FCC Statement: Any Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment. 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, and (2) This device must accept any interference received, including interference that may cause undesired operation.
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
2

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.
FCC Radiation Exposure Statement: This equipment complies with FCC radiation exposure limits set forth for an uncontrolled environment. This equipment should be installed and operated with minimum distance 20cm between the radiator& your body. This transmitter must not be co-located or operating in conjunction with any other antenna or transmitter.
Copyright � 2011-2022 Milesight. All rights reserved. All information in this guide is protected by copyright law. Whereby, no organization or individual shall copy or reproduce the whole or part of this user guide by any means without written authorization from Xiamen Milesight IoT Co., Ltd.
For assistance, please contact Milesight technical support: Email: iot.support@milesight.com Tel: 86-592-5085280 Fax: 86-592-5023065 Address: Building C09, Software Park III,
Xiamen 361024, China

Revision History
Date June 9, 2022

Doc Version Description

V 1.0

Initial version

3

Contents
1. Product Introduction ................................................................................................................................ 5 1.1 Overview ...........................................................................................................................................5 1.2 Features ........................................................................................................................................... 5
2. Hardware Introduction ............................................................................................................................. 5 2.1 Packing List ..................................................................................................................................... 5 2.2 Hardware Overview ........................................................................................................................ 6 2.3 LED Patterns ....................................................................................................................................6 2.4 Dimensions (mm) ........................................................................................................................... 6
3. Power Supply ............................................................................................................................................. 6 4. Operation Guide ........................................................................................................................................ 7
4.1 NFC Configuration ..........................................................................................................................7 4.2 LoRaWAN Settings ......................................................................................................................... 8 4.3 Basic Settings ................................................................................................................................. 9 4.4 Advanced Settings ....................................................................................................................... 10
4.4.1 Calibration Settings .......................................................................................................... 10 4.4.2 Threshold Settings ............................................................................................................10 4.5 Maintenance ..................................................................................................................................10 4.5.1 Upgrade .............................................................................................................................. 11 4.5.2 Backup ................................................................................................................................ 11 4.5.3 Reset to Factory Default .................................................................................................. 12 5. Installation ............................................................................................................................................... 13 6. Device Payload ........................................................................................................................................14 6.1 Basic Information ......................................................................................................................... 14 6.2 Sensor Data ................................................................................................................................... 15 6.3 Downlink Commands ...................................................................................................................16 Appendix .......................................................................................................................................................17 Sound Level Guidelines ......................................................................................................................17
4

1. Product Introduction 1.1 Overview
WS302 is a LoRaWAN� sound level sensor with an integrated microphone. WS302 can not only measure a wide range of noise levels and send various kinds of noise level values via LoRaWAN� network, but also supports multiple weighting measurements for different application scenarios. WS302 can be widely used in smart buildings, smart cities, schools, health monitoring, etc. Sensor data are transmitted in real-time using the standard LoRaWAN� protocol. LoRaWAN� enables encrypted radio transmissions over long distances while consuming very little power. The user can obtain sensor data and view the trend of data change through Milesight IoT Cloud or through the user's own Application Server.
1.2 Features
 Robust LoRa connectivity for secure long range transmission  Support multiple weighting measurements to suit different scenes  Support measuring various kinds of values to judge the sound level accurately  Easy configuration via NFC  Equipped with LED indicator to indicate the threshold alarm  Standard LoRaWAN� supported  Milesight IoT Cloud compliant
2. Hardware Introduction 2.1 Packing List

1 � WS302 Device 2 � ER14505 Li-SOCl2 1 � 3M Double-Sided

2 � Wall

Batteries

Tape

Mounting Kits

1� Theft-Deterring Screw

1� Quick Guide

1� Warranty Card

If any of the above items is missing or damaged, please contact your sales representative.

5

2.2 Hardware Overview

2.3 LED Patterns

Function Power ON/OFF Reset to Factory
Default
Threshold Alarm

Action
Press and hold the power button for more than 3 seconds
Press and hold the power button for more than 10 seconds When the level does not exceed the threshold When the level exceeds the threshold for more than 1 minute

LED Indicator Power On: Off  On Power Off: On  Off
Quickly Blinks
Green Blinks
Red Blinks

2.4 Dimensions (mm)

3. Power Supply
Remove the rear cover of the device to install the batteries, do not reverse the direction of the batteries when installing.
6

Note: The device can only be powered by ER14505 Li-SOCl2 batteries.
4. Operation Guide 4.1 NFC Configuration
WS302 can be configured via an-NFC supported mobile phone. 1. Download and install "Milesight ToolBox" App from Google Play or Apple App Store. 2. Enable NFC on the smartphone and open Milesight ToolBox. 3. Attach the smartphone with NFC area to the device to read device information.
4. Basic information and settings of devices will be shown on ToolBox if it's recognized successfully. You can read and configure the device by tapping the Read/Write button on the App. In order to protect the security of devices, password validation is required when first configuration. The default password is 123456. Note: 1) Ensure the location of the smartphone NFC area, and it's recommended to take off the phone case. 2) If the smartphone fails to read/write configurations via NFC, keep the phone away and back to try again. 3) WS302 can also be configured by ToolBox software via a dedicated NFC reader provided by Milesight IoT, you can also configure it via TTL interface inside the device.
7

4.2 LoRaWAN Settings
LoRaWAN settings are used for configuring the transmission parameters in LoRaWAN� network.
Basic LoRaWAN Settings:
Go to Device -> Setting -> LoRaWAN Settings of ToolBox App to configure join type, App EUI, App Key and other information. You can also keep all settings by default.

Parameters Device EUI
App EUI Application Port
Join Type Application Key Device Address Network Session
Key Application Session Key Spread Factor
Confirmed Mode
Rejoin Mode

Description Unique ID of the device which can also be found on the label. Default App EUI is 24E124C0002A0001. The port used for sending and receiving data, default port is 85. OTAA and ABP modes are available. Appkey for OTAA mode, default is 5572404C696E6B4C6F52613230313823. DevAddr for ABP mode, default is the 5th to 12th digits of SN.
Nwkskey for ABP mode, default is 5572404C696E6B4C6F52613230313823.
Appskey for ABP mode, default is 5572404C696E6B4C6F52613230313823.
If ADR is disabled, the device will send data via this spread factor. If the device does not receive ACK packet from network server, it will resend data once. Reporting interval  30 mins: the device will send a specific number of LinkCheckReq MAC packets to the network server every 30 mins to validate

8

connectivity; If there is no response, the device will re-join the network.

Reporting interval > 30 mins: the device will send a specific number of

LinkCheckReq MAC packets to the network server every reporting interval to

validate connectivity; If there is no response, the device will re-join the

network.

Set the number of When rejoin mode is enabled, set the number of LinkCheckReq packets sent.
packets sent

ADR Mode

Allow network server to adjust datarate of the device.

RX2 Data Rate RX2 data rate to receive downlinks.

RX2 Frequency/MHz

RX2 frequency to receive downlinks.

Note:

1) Please contact sales for device EUI list if there are many units.

2) Please contact sales if you need random App keys before purchase.

3) Select OTAA mode if you use Milesight IoT cloud to manage devices.

4) Only OTAA mode supports rejoin mode.

4.3 Basic Settings
Go to Device Setting -> Basic -> Basic Settings of ToolBox App to change the reporting interval, etc.

Parameters

Description

Reporting interval of noise level and battery level to the network server. Reporting Interval
Default: 10 mins, Range: 1 - 1080 mins

LED Indicator Enable or disable the indicator threshold alarm feature in chapter 2.3.

Frequency

Choose A weighting or C weighting to detect environmental sound.

9

Weighting

A-weighting: suitable for normal environment like office, hospital,

residential, etc.

C-weighting: suitable for noisy environment (> 100dB) like factories,

construction yards, dancing halls, etc.

Fast Time Weighting

Enable or disable fast time weighting, this suit the environment in which sound has great fluctuation. It will increase power consumption as well as shorten the battery life.

Change Password Change the password for ToolBox App to write this device.

4.4 Advanced Settings
4.4.1 Calibration Settings
Go to Device Setting -> Basic -> Calibration Settings of ToolBox App to set the numeral calibration of sound pressure level. With the calibration value saved, the device will add the calibration value to the raw value in each report automatically.

4.4.2 Threshold Settings
Go to Device -> Settings -> Threshold Settings of ToolBox App to enable the threshold settings and input the threshold. It will upload the current data once when SPL value exceeds the threshold for more than one minute.
4.5 Maintenance
10

4.5.1 Upgrade
1. Download firmware from Milesight website to your smartphone. 2. Open Toolbox App and click "Browse" to import firmware and upgrade the device. Note: 1) Operation on ToolBox is not supported during an upgrade. 2) Only Android version of ToolBox supports the upgrade feature.
4.5.2 Backup
WS302 supports configuration backup for easy and quick device configuration in bulk. Backup is allowed only for devices with the same model and LoRa frequency band. 1. Go to the "Template" page on the App and save current settings as a template. You can also edit the template file. 2. Select one template file that is saved in the smartphone and click "Write", then attach it to another device to write the configuration.
11

Note: Slide the template item left to edit or delete the template. Click the template to edit the configurations.
4.5.3 Reset to Factory Default
Please select one of the following methods to reset the device: Via Hardware: Hold on to the reset button inside the device for more than 10s. After the reset is complete, the indicator will blink in green twice, and the device will reboot. Via ToolBox App: Go to Device -> Reset to click "Reset", then attach smartphone with NFC area to device to complete reset.
12

5. Installation Fixed by Screws:
1. Remove the rear cover of the device, screw the wall plugs into the wall, and fix the rear cover with screws on it, then install the back of the device.
2. Fix the bottom of the device to the rear cover with the theft-deterring screw.
Fixed by 3M Tape:
1. Fix the bottom of the device to the rear cover with the theft-deterring screw. 13

2. Paste 3M double-sided tape to the back of the device, then tear the other side off and place it on a flat surface.

Note: In order to ensure the best detection, please install the device as follows:  The recommended installation height is 1.2 m to 1.5 m.  The distance between the device and walls or reflectors should be at least 1 m, and the
distance between the device and doors or windows should be about 1.5 m.  Do not install the device close to the noise source.  The microphone on the device should not be blocked or trapped by obstacles.  Recommend installing the device to the ceiling when you need to measure sound level in a
small room.

6. Device Payload

All data are based on the following format (HEX), the Data field should follow little endian:

Channel1 Type1 Data1 Channel2 Type2 Data2 Channel 3 ...

1 Byte 1 Byte N Bytes 1 Byte 1 Byte M Bytes 1 Byte

...

For decoder examples please find files on https://github.com/Milesight-IoT/SensorDecoders.

6.1 Basic Information
WS302 reports basic information of sensor whenever joining the network.

14

Channel

Type

01 (Protocol Version)

09 (Hardware Version)

0a (Software Version) ff
0b (Power On)

0f (Device Type) 16 (Device SN)

Example:

Description 01 => V1 01 40 => V1.4 01 14 => V1.14 Device is on 00: Class A, 01: Class B, 02: Class C 16 digits

ff0bff ff0101 ff166743c13353300001 ff090100 ff0a0102 ff0f00

Channel ff
Channel ff
Channel
ff

Type 0b
(Power On) Type 16
(Device SN) Type 0a
(Software version)

Value

Channel

ff (Reserved)

ff

Value 6743c13353
300001 Value

Channel ff
Channel

0102 (V1.2)

ff

Type 01
(Protocol Version) Type 09
(Hardware version) Type
0f (Device Type)

Value
01 (V1)
Value 0100 (V1.0) Value
00 (Class A)

6.2 Sensor Data
WS302 reports sensor data according to reporting interval (10 mins by default).

Channel 01
05

Type 75 (Battery Level)
5b (Noise Level)

Description
UINT8, Unit: %
Total: Weighting Mode (1 Byte) +SPL (2 Bytes) + Leq(2 Bytes)+Lmax (2 Bytes) Weighting Mode: 01: A-weighting+disable time weighting 02: C-weighting+disable time weighting 05: A-weighting+enable fast time weighting 06: C-weighting+enable fast time weighting

Example:

Channel 01
Channel 05

017564 055b 05 3f02 da01 6a02

Type 75 (Battery)

Value 64 => 100%

Type

Value

5b (Noise Level)

05 => A-weighting + enable fast time weighting

15

3f 02 => 02 3f = 575, LAF = 575�10 = 57.5 dBA da 01 => 01 da = 474, LAeq = 474�10 = 47.4 dBA 6a 02 => 02 6a = 618, LAFmax = 618�10 = 61.8 dBA

6.3 Downlink Commands
WS302 supports downlink commands to configure the device. The application port is 85 by default.

Channel

Type

Description

03 (Set Reporting Interval) 2 Bytes, unit: s

5 Bytes

06 (Set Threshold Alarm) Byte 1-3: 0a0000

Byte 4-5: threshold value*10

2f (LED Indicator)

00: disable, 01: enable

2Bytes

ff

Byte 1:

01: A-weighting,

5d (Set Weighting Mode) 02: C-weighting

Byte 2:

00: disable time weighting,

01: enable fast time weighting

10 (Reboot Device)

1 Byte, ff

Example: 1. Set reporting interval as 20 minutes.

Channel ff

ff03b004

Type 03 (Set Reporting
Interval)

Value b0 04 => 04 b0 = 1200s
= 20 minutes

2. Set weighting mode to A-weighting and disable fast time weighting.

Channel ff

ff5d0100

Type 5d (Set Weighting Mode)

Value 01: A-weighting, 00: disable time weighting

16

3. Enable threshold alarm and set threshold value as 65 dB.

Channel ff

ff060a00008a02

Type 06 (Set Threshold Alarm)

Value 8a 02=>02 8a = 650
650/10=65 dB

4. Reboot the device.

Channel ff

ff10ff Type 01 (Reboot)

Value ff (Reserved)

Appendix

Sound Level Guidelines

It's recommended to maintain environmental noises below 70 dBA over 24 hours (75 dBA over

8-hours) to prevent noise-induced hearing loss.

Source

Sound Pressure Level (dBA)

Threshold of hearing

0

Breathing

10

Rustling leaves

20

Whispering

30

Quiet library or residential area

40

Quiet office

50

Normal conversation

60

Busy traffic, normal radio

70

Noisy restaurant

80

Heavy truck, hair drier, power tools

90

Subway train

100

Construction noise

110

Rock concert, thunder

120

Threshold of pain

130

-END-

17