Milesight WS302 LoRaWAN Sound Level Sensor User Guide
- June 9, 2024
- Milesight
Table of Contents
Milesight WS302 LoRaWAN Sound Level Sensor
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:
- This device may not cause harmful interference, and
- 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 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 loT 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 Ill, Xiamen 361024, China
---|---
Revision History
Date | Doc Version | Description |
---|---|---|
June 9, 2022 | V 1.0 | Initial Version |
Product Introduction
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 loT Cloud or through the user’s own
Application Server.
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 loT Cloud compliant
Hardware Introduction
Packing List
1 x WS302 Device
|
2 x ER14505 Li-SOCl2 Batteries
|
1 x 3M Double-Sided Mounting Kits
---|---|---
2xWall
Mounting Kits
|
1 X Theft-Deterring Screw
|
1 X Quick Guide
1 X Warranty Card
If any of the above items is missing or damaged, please contact your sales representative.
Hardware Overview
LED Patterns
Function | Action | LED Indicator |
---|---|---|
Power ON/OFF | Press and hold the power button for more than 3 seconds | Power |
On: Off On
Power Off: On Off
Reset to Factory Default| Press and hold the power button for more than 10
seconds| Quickly Blinks
Threshold Alarm| When the level does not exceed the threshold| Green Blinks
When the level exceeds the threshold for more than 1 minute| Red Blinks
Dimensions (mm)
Power Supply
Remove the rear cover of the device to install the batteries, do not reverse the direction of the batteries when installing.
Note: The device can only be powered by ER14505 Li-SOCb batteries.
Operation Guide
NFC Configuration
WS302 can be configured via an-NFC supported mobile phone.
-
Download and install “Milesight ToolBox” App from Google Play or Apple App Store.
-
Enable NFC on the smartphone and open Milesight ToolBox.
-
Attach the smartphone with NFC area to the device to read device information.
-
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:
- Ensure the location of the smartphone NFC area, and it’s recommended to take off the phone case.
- If the smartphone fails to read/write configurations via NFC, keep the phone away and back to try again.
- WS302 can also be configured by ToolBox software via a dedicated NFC reader provided by Milesight loT, you can also configure it via TTL interface inside the device.
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
|
Description
---|---
Device EUI| Unique ID of the device which can also be found on the label.
App EUI| Default App EUI is 24E124C0002A0001.
Application Port| The port used for sending and receiving data, default port
is 85.
Join Type| OTAA and ABP modes are available.
Application Key| Appkey for OTAA mode, default is
5572404C696E6B4C6F52613230313823.
Device Address| DevAddr for ABP mode, default is the 5th to 12th digits of SN.
Network Session Key| Nwkskey for ABP mode, default is
5572404C696E6B4C6F52613230313823.
Application Session Key| Appskey for ABP mode, default is
5572404C696E6B4C6F52613230313823.
Spread Factor| If ADR is disabled, the device will send data via this spread
factor.
Confirmed Mode| If the device does not receive ACK packet from network server,
it will resend data once.
Rejoin Mode| Reporting interval ::: 30 mins: the device will send a specific
number of LinkCheckReq MAC packets to the network server every 30 mins to
validate 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 packets sent| When rejoin mode is enabled, set the number of
LinkCheckReq 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:
- Please contact sales for device EUI list if there are many units.
- Please contact sales if you need random App keys before purchase.
- Select OTAA mode if you use Milesight loT cloud to manage devices.
- Only OTAA mode supports rejoin mode.
Basic Settings
Go to Device Setting ->Basic-> Basic Settings of Tool Box App to change the reporting interval, etc.
Parameters | Description |
---|---|
Reporting Interval | Reporting interval of noise level and battery level to the |
network server.
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.
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.
Advanced Settings
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.
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.
Maintenance
Upgrade
- Download firmware from Milesight website to your smartphone.
- Open Toolbox App and click “Browse” to import firmware and upgrade the device.
Note:
- Operation on Tool Box is not supported during an upgrade.
- Only Android version of ToolBox supports the upgrade feature.
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.
- Go to the ‘Template” page on the App and save current settings as a template. You can also edit the template file.
- Select one template file that is saved in the smartphone and click “Write”, then attach it to another device to write the configuration.
Note : Slide the template item left to edit or delete the template. Click the template to edit the configurations.
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 1 Os. 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.
Installation
Fixed by Screws:
-
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.
-
Fix the bottom of the device to the rear cover with the theft-deterring screw.
Fixed by 3M Tape:
-
Fix the bottom of the device to the rear cover with the theft-deterring screw.
-
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.
Device Payload
All data are based on the following format (HEX), the Data field should follow little endian:
Channel1 | Type1 | Data1 | Channel2 | Type2 | Data2 | Channel3 | … |
---|---|---|---|---|---|---|---|
1 Byte | 1 Byte | N Bytes | 1 Byte | 1 Byte | M Bytes | 1 Byte | … |
Basic Information
WS302 reports basic information of sensor whenever joining the network.
Channel
|
Type
|
Description
---|---|---
ff| 01 (Protocol Version)| 01 => V1
09 (Hardware Version)| 01 40 => V1.4
0a (Software Version)| 0114=>V1.14
Ob (Power On)| Device is on
Of (Device Type)| 00: Class A, 01: Class B, 02: Class C
16 (Device SN)| 16 digits
Example:
017564 055b 05 3f02 da01 6a02
Channel| Type| Value
01| 75 (Battery)| 64 => 100%
Channel| Type| Value
05| 5b (Noise Level)| 05 => A-weighting + enable fast time weighting 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
Downlink Commands
WS302 supports downlink commands to configure the device. The application port is 85 by default.
Channel | Type | Description |
---|---|---|
ff | 03 (Set Reporting Interval) | 2 Bytes, unit: s |
06 (Set Threshold Alarm) | 5 Bytes |
Byte 1-3: 0a0000
Byte 4-5: threshold value*10
2f (LED Indicator)| 00: disable, 01: enable
5d (Set Weighting Mode)| 2Bytes
Byte 1:
01: A-weighting,
02: C-weighting
Byte 2:
00: disable time weighting, 01: enable fast time weighting
10 (Reboot Device)| 1 Byte, ff
Example:
-
Set reporting interval as 20 minutes.
Ffo3b004Channel| Type| Value
ff| 03 (Set Reporting
Interval)
| b0 04 => 04 b0 = 1200s
= 20 minutes
-
Set weighting mode to A-weighting and disable fast time weighting.
Ff5d0100Channel| Type| Value
ff| 5d (Set Weighting Mode)| 01: A-weighting,
00: disable time weighting
-
Enable threshold alarm and set threshold value as 65 dB.
Ff060a00008a02Channel| Type| value
ff| 06 (Set Threshold Alarm)| 8a 02=>02 8a = 650
650/10=65 dB
-
Reboot the device.
Ff10ffChannel| Type| Value
ff| 01 ( Reboot )| 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 |
References
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>