Instruction Manual: Soil Nitrogen, Phosphorus and Potassium Three-In-One Transmiter
Instruction Manual: Soil Nitrogen, Phosphorus and Potassium Three-In-One Transmiter
MANUAL
SOIL NITROGEN,PHOSPHORUS AND
POTASSIUM THREE-IN-ONE
TRANSMITER
TYPE RS485
VER 2.0
Ⅰ BRIEF INTRODUCTION
The soil nitrogen, phosphorus and potassium sensor is suitable for detecting
the content of nitrogen, phosphorus and potassium in the soil, and determining the
fertility of the soil by detecting the content of nitrogen, phosphorus and potassium
in the soil, thereby facilitating the evaluation of the soil condition by the customer
system.
RESOLUTION 1mg/kg(mg/l)
The sensor can be connected and used separately. Firstly, it is powered by 12V
DC power supply. The device can be directly connected to the PLC with 485
interface, and can be connected to the MCU through the 485 interface chip. The
microcontroller and PLC can be programmed to match the sensor by the modbus
protocol specified later. At the same time, you can connect to the computer by
using USB to 485, and use the sensor configuration tool provided by our company
bus. Please observe the “485 Bus Field Wiring Code” when performing 485 bus
combination (see Appendix). In theory, one bus can connect more than 16 485
sensors. If you need to connect more 485 sensors, you can use 485 repeater to
expand more 485 devices, and the other end to connect PLC with 485 interface and
pass 485 interface chip. Connect to the microcontroller, or use USB to 485 to
connect to the computer, use the sensor configuration tool provided by our
Name Number
The power interface can be 12-24V for wide voltage power supply. When
wiring the 485 signal line, note that the A/B lines cannot be connected in reverse,
and the addresses between multiple devices on the bus cannot conflict.
Blue 485-B
Note: Please be careful not to connect the wrong line sequence. The wrong
Note that there is no yellow line in the line sequence that may be provided in
some factory batches, in which case the gray line is equivalently replaced by the
yellow line.
Select the appropriate measurement location, avoid the stone, ensure that the
steel needle will not touch the hard object, throw off the topsoil according to the
required measurement depth, keep the original soil tightness under the ground,
hold the sensor vertically into the soil, insert It is not allowed to sway from side to
Vertically dig pits with a diameter of >20cm, insert the sensor steel needle
horizontally into the pit wall at a given depth, fill the pits tightly, and stabilize for a
period of time, then measure and record for several days, months or even longer.
2.5 Notes
1. The steel needle must be inserted into the soil during the measurement.
2. Avoid strong sunlight directly on the sensor and cause the temperature to be
4. The sensor protection class IP68 can soak the sensor in the water.
Ⅲ CONFIGURATION TOOL
which can conveniently use the computer to read the parameters of the sensor, and
After the sensor is properly connected to the computer via USB to 485 and
powered, you can see the correct COM port in the computer ("My Computer -
Please remember this serial port. You need to fill in the serial port number in the
If the COM port is not found in the device manager, it means that you have not
plugged in the USB to 485 or did not install the driver correctly, please contact the
The configuration interface is as shown in the figure. First, obtain the serial port
number according to the method in section 3.1 and select the correct serial port,
then click to automatically obtain the current baud rate and address to
automatically detect all devices and baud rates on the current 485 bus. . Please
note that there is only one sensor on the 485 bus that needs to be automatically
illuminance sensor selects “ Optical Light 20W ” , the oxygen sensor selects
“ Oxygen Transmitter ” , and the other sensors select the default “ No Other
Sensor”.
In the case of disconnecting the device, click the device baud rate and setting
note that after the setting, please restart the device, and then "automatically obtain
the current baud rate and address", you can find the address. And the baud rate has
you can refer to the appendix "How to Modify the Baud Rate and Address Using
Ⅳ COMMUNICATION PROTOCOL
Parameters Content
Parity bit no
Function code: The instruction function of the command sent by the host. This
Data area: The data area is the specific communication data. Note that the
Inquiry frame
Answer Frames
Address Function Effective Data area Second data Nth data area Check code
Inquiry frame
Answer Frames
Effective
Address Function Nitrogen Phosphorus Potassium CRC CRC
number
Code Code content content content _L _H
of bytes
NPK content:
Inquiry frame
Register
Address Function Register
start CRC_L CRC_H
Code Code length
address
Answer Frames
Effective
Address Function Nitrogen
number of CRC_L CRC_H
Code Code content
bytes
0x20
Inquiry frame
Answer Frames
Effective
Address Function Phosphorus
number of CRC_L CRC_H
Code Code content
bytes
0x25
Inquiry frame
Answer Frames
Effective
Address Function Potassium
number of CRC_L CRC_H
Code Code content
bytes
0x30