IOT-S300WS9 Weather Station User Manual

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

RS485 Modbus 9 in 1 Weather

Station Manual

Model:IOT-S300WS9
Content
1. Product introduction ................................................................................... 3
1.2 Features .................................................................................................... 3
2. Main Specifications ..................................................................................... 4
3. Wiring Instructions ....................................................................................... 6
4. Dimensions and installation instructions ..................................................... 6
4.1 Dimensions................................................................................................. 6
4.2 Installation Instructions ............................................................................. 7
5. RS485 communication protocol .................................................................. 8
5.1Modbus communication protocol ............................................................... 8
5.2Modbus registers ........................................................................................ 9
6. Modbus communication example .............................................................. 11
6.1 Communication example 03 ..................................................................... 11
6.2 Communication example 06 ..................................................................... 13
7. Software Use.............................................................................................. 13
7.1 Instructions for connecting the device to the computer .......................... 13
7.2"CUBERAYS Environmental Monitoring" software instructions................. 14
7.2.1 Connecting the device.......................................................................... 14
7.2.2 Reading data ........................................................................................ 14
7.2.3 Changing the device address and baud rate........................................ 15
7.3 Examples of using common serial port assistants ................................... 16
8. Common problems and solutions .............................................................. 18
9. Warranty and after-sale ............................................................................ 18
9.1 Warranty Commitment ............................................................................. 18
9.2 After-sale commitment ............................................................................ 18
10. Contact information ................................................................................ 19
1. Product description
1.1
IOT-S300WS9 can be used for all-weather on-site monitoring of meteorology,
gas and other elements. It can be connected to a computer through a
communication line or transmit data to a computer or server's meteorological
database through wireless networking for statistical analysis and processing.

1.2 Features
This product uses built-in sensors which is small in size and integrates multiple
elements to meet customers' needs for environmental information.

Using the measuring unit imported from Switzerland, the measurement is


accurate, the value is stable with small error.

The output signal is RS485, the standard Modbus-RTU communication


protocol, supports functions such as changing the communication address and
baud rate. The 485 communication can theoretically communicate up to 1200
meters away, supports secondary development, and is widely used.

The product provides wireless transmission methods such as 4G, NB-IOT,


WiFi, etc., and provides a general-purpose IoT platform, which is deployed on
the public network server, and is easy to operate, aiming to provide customers
with one-stop service.
2. Main Specifications

Characteristics
Power Supply DC 9V-24V DC 9V-24V DC 9V-24V/Li battery
Power Consumption ≤10mA ≤40mA ≤20μA

(12V DC )

Signal Output RS485 4G NB-IOT


Technology Modbus-RTU Customized

Data refresh time <1S 10 Minutes 30 Minutes


Range:-40-80℃
Temperature Resolution:0.1℃
Accuracy:±0.3℃(0℃-65℃)
Range:0-100%RH
Humidity Resolution:0.1%RH
Accuracy:±3%RH
Range:0-359°
Wind Direction Resolution:1°
Accuracy:±15°
Range:0-60m/s
Wind Speed Resolution:0.1m/s
Accuracy:±0.5m/s
Range:0-60m/s
Maximum wind speed
Resolution:0.1m/s
(optional) Accuracy:±0.5m/s
Range:0-5mm/min(The maximum allowable rain
intensity is 7mm/min)
Rainfall Intensity
Resolution:0.1mm/min
Accuracy:±0.25mm
Range:0-4999.9mm
Rain Fall Resolution:0.1mm
(optional)
Accuracy:±0.25mm
Range:0-300000Lux
Light Resolution:0.1Lux
Accuracy:±5%
Range:0-20000μw/ cm²
UV Resolution:1
Accuracy:±1μw/cm
Range:300-1200hPa
Barometric Pressure Resolution:1Pa
Accuracy:±1.5hPa(700-1100hPa)
Range:0-1000μg/m³
PM1.0 Resolution 1μg/m³
(optional)
Accuracy ±10μg/m³ 0-100μg/m³

Range:0-1000μg/m³
PM2.5 Resolution 1μg/m³
(optional) Accuracy ±10μg/m³ 0-100μg/m³

Range:0-1000μg/m³
PM10 Resolution 1μg/m³
(optional) Accuracy ±10μg/m³ 0-100μg/m³

Carbon Dioxide Range 0-5000ppm


(optional) Resolution 1ppm
Accuracy ±70ppm+5%/m³ Current Degree
Range:30-120dB
Noise Resolution:0.1dB
(optional)
Accuracy:<2%
Range:-50-80℃
Dew point
(optional) Resolution:0.1℃
Accuracy:±0.3℃

Range:-40-80℃
Historical high temperature Resolution:0.1℃
(optional)
Accuracy:±0.2℃(0℃-65℃)
Range:-40-80℃
Historical low temperature Resolution:0.1℃
(optional)
Accuracy:±0.2℃(0℃-65℃)

Range:0-15 Scale
Wind level
(optional) Resolution:1
Accuracy:±1

Range:0-15 Scale
UV level Resolution:1
(optional)
Accuracy:±1

Range:0-60000/ cm³
Negative oxygen ions Resolution:1/ cm³
Optional
Accuracy:±5%

Operating Environment -20~80℃

Default Cable Length 10 Meters(cable length can be customized )


3. Wiring Instructions
Wire Color Instruction

POWER RED Positive(9~24V DC)


BLACK Negative
Communication YELLOW 485-A
GREEN 485-B

4. Dimensions and installation instructions

4.1 Dimensions
4.2 Installation Instructions
5. RS485 communication protocol
5.1Modbus communication protocol
Communication basic parameters:

baud rate 9600 (default)


data bits 8 bits
stop bit 1 bit
Check Digit /
Device address 1 (default)

Host query frame structure:


Address Function Register start address Number of registers CRC16 check
code code High Low High Low Low High
1 byte 1 byte 1 byte 1 byte 1 byte 1 byte 1 byte 1 byte

Slave acknowledgment frame structure:


Address code Function code Number of valid bytes Data area Check code
1 byte 1 byte 1 byte N byte 2 byte

Address code: It is the device address of the transmitter, which is unique in the
communication network (the factory default is 0x01). When the 485 bus is connected
to multiple 485 devices, do not set the same device address

Function code: The function command sent by the host, there are two common
register commands in the Modbus protocol:
(1) Read single or multiple register values: function number 3 (0x03), used to read
device information and parameter data.
(2) Write a single register: function number 6 (0x06), used to change device
information, such as device address, device baud rate, etc., it will not be lost when
power off.

Register start address, number of registers:


(1) When reading a single parameter, the starting address of the register is the
register address of the parameter, and the number is 1. For example, when reading
humidity, the starting address of the register is 0x0002, and the number of registers is
0x0001.
(2) When reading multiple parameters, the starting address of the register is the first
register address among the multiple parameters, and the number of registers is the
number of registers occupied by all parameters. For example, when reading the
temperature and humidity, the starting address of the register is 0x0001, and the
number of registers is 0x0002.
Data area: specific communication data, note that the high byte of the 16bits data is in
front.
CRC code: 16-bit CRC check code, low byte first, high byte last.

5.2Modbus register
Register Modbus Parameter range
Parameter name Parameter Remark
address function and description
Type
number
(hexadecimal)
-400-800 Negative
Temperature 0x0001 16 bit 3 read correspond to numbers are
-40.0~80.0℃ complement
0-1000
Humidity 0x0002 16 bit 3 read correspond to
0-100.0%RH

16 bit 3 read 0-359° Equipment


Wind Direction 0x0003
North to 0°
0-600
Wind Speed 0x0004 16 bit 3 read correspond to
0-60.0m/s

0-600
Maximum Wind Power-down
0x0005 16 bit 3 read correspond to
Speed(Optional) clear
0-60.0m/s

0-30
Rain Intensity 0x0006 16 bit 3 read correspond to
0-3.0mm/min

Accumulated 0-49999 Power-down


0x0007 16 bit 3 read
rainfall correspond to clear
(Optional) 0-4999.9mm
0x0008(High)
UV 32 bit 3 read 0-20000 μw/cm²
0x0009(Low)
0x000A(High) 3 read 0-300w correspond
Light 32 bit to 0-300000.0Lux
0x000B(Low)
Barometric 0x000C(High)
32 bit 3 read 30000-120000 Pa
Pressure 0x000D(Low)
PM1.0 (optional) 0x0011 16 bit 3 read 0-1000μg/m³

PM2.5 (optional) 0x0012 16 bit 3 read 0-1000μg/m³

PM10 (optional) 0x0013 16 bit 3 read 0-1000μg/m³

carbon dioxide 0x0014 16 bit 3 read 0-5000ppm


(optional)

300-1200
Noise (optional) 16 bit 3 read
0x0015 correspond to
30.0-120.0dB
-500-800 Negative
Dew point 0X001A 16 bit 3 read
correspond to numbers are
-50.0-80.0℃ complement

Historical High -400-800 Negative


Temperature 0X001B 16 bit 3 read numbers are
correspond to complement
(Optional)
-40.0-80.0℃ Power-down
clear
Negative
Historical Low -400-800
numbers are
Temperature 0X001C 16 bit 3 read correspond to complement
(Optional) -40.0-80.0℃ Power-down
clear
Wind level 0X001D 16 bit 3 read
(Optional) Level 0-15
UV level (optional) 0x001E 16 bit 3 read Level0-16

Negative oxygen ions


0x0100 16 bit 3 read 0-6W/cm³
(optional)

Modbus slave 3/6


0x1000 16 bit 0-255 1(default)
address read and write
0-6
1:2400
2:4800
Serial communication 0x1001 16 bit
3/6 3:9600 9600
read and write
baud rate (default)
4:19200
5:57600
6:115200

6. Modbus communication example


6.1 Modbus communication example 03

Read device address:


Query frame:
Address Function Initial Number of Check Check
code code address registers code low code high
01 03 10 00 00 01 80 CA
Acknowledgment frame:
Address Function Character Data Check code Check code
code code length content low high
01 03 02 00 01 79 84

Device Address: 0001 (Hex) = 0001 (Dec) => Device Address: 1


Read temperature and humidity values:

Query frame:
Address Function Initial Number of Check code Check code
code code address registers low high
01 03 00 01 00 02 95 CB

Acknowledgment frame:
Address Function Character Data content Check Check code
code code length code low high
01 03 04 01 0C 02 3E BB 7C

Temperature calculation: 010C (hexadecimal) = 268 (decimal) => temperature =


268/10=26.8℃
Humidity calculation: 023E (Hex) = 574 (Dec) => Humidity = 574/10 = 57.4%RH
Illumination value:
Query frame:
Address Function Initial Number of Check code Check code
code code address registers low high
01 03 00 0A 00 02 E4 09

Query frame:
Address Function Character Data content Check Check code
code code length code low high
01 03 04 00 00 0B 95 3D 6C

Illumination calculation:
00 00 0B 95(Hex) = 2965(Dec) => Light = 2965/10=296.5Lux

6.2 Modbus communication example 06


Modify the device address to 02:

Request frame:
Address Function Modified The value written Check Check
code code register address to the register code low code high
01 06 10 00 00 02 0C F8

Acknowledgment frame:
Address Function Register Modified Check code Check code
code code address value low high
02 06 10 00 00 02 0C F8
7. Software usage
7.1 Instructions for connecting the device to the

computer
Users can use the "CUBERAYS environment monitoring" software provided by our company
or any serial debugging software.To communicate with the device. When communicating, it
should be noted that the device needs to be connected to the computer through USB to 485.
After the USB is inserted into the computer, you can view the COM port through
"My Computer - Properties - Device
Manager-Port".

Connect A and B of the device to A and B of the adapter module, supply power to the device,
open the software, select the correct serial port, baud rate and other serial communication
parameters. It should be noted that the data sent and received must be in hexadecimal.
transmission and display.

7.2" CUBERAYS Environmental Monitoring" software

instructions
7.2.1 Connect the device
Steps: ①Settings ②Select the serial port ③Get device information ④Successful
communication
7.2.2 read data
Steps: ①Display ②Click to query

7.2.3 Change device address and baud rate


Steps for modifying the device address: ①Setting ②Fill in the modified content ③Setting
④OK

Steps to modify the baud rate: ①Setting---②Choose the baud rate---③Setting---④OK

7.3 Common serial port assistant usage examples


Description: After selecting the communication parameters, "open the serial port", the
verification result is "low high", the displayed encoding format is "hexadecimal (HEX)", write
the command in the command box, right click and select "CRC-16 checksum" "Fill in the
verification code and click
"Send".
Description: Select communication parameters, open "HEX display", "time stamp and
sub-packet display", "HEX display"Send", "End", plus check "ModbusCRC16", enter the
command in the command box, and click
"Send".

Description: Open "Set Serial Port" to select communication parameters, "Open Serial Port".
Input 485 address, register start address, and the number of read registers in the 03H
command, click "Read", and the register value displays the read parameter value.

Enter the 485 address, the register address to be modified, and the modified content in the
06H command, and click "Send".
8. Common problems and solutions
The device cannot be connected to the PLC or computer, possible
reasons:

(1) The device is not powered normally, the voltage is too low or the voltage is unstable, which
will cause abnormal data.
(2) The computer has multiple COM ports, and the COM port selection is wrong.
(3) The selection of communication parameters such as baud rate, check mode, data bit, etc.
is wrong.
(4) The device address is wrong, or there is a device with a duplicate address (factory default
is 1).
(5) The host polling interval and waiting time for response are too short, and both need to be
set above 300ms.
(6) The RS485 wiring is disconnected, or the A and B wires are reversed.
(7) If the number of devices is too much or the wiring is too long, you should supply power
nearby, add a 485 booster, and at the same time increase a 120Ω terminal
terminal resistance.
(8) The USB to 485 driver is not installed or damaged.
(9) Equipment damage.

9. Warranty and after-sales

9.1 Warranty Commitment


The warranty period of the product is 12 months from the delivery date (except for product
problems caused by not operating in accordance with the corresponding technical
requirements or other human actions)

9.2 After-sales commitment


Users can inquire about technical problems by telephone and get a clear solution. If it is the
product itself, it can be returned to the factory for repair or replacement.

You might also like