Hi All,
I am trying to read the JXCT soil sensor [1] using MAX485 TTL to RS485 and Arduino Uno. I am referring materials available in how2electronics.com [2] to make this sensor work.
The seller has provided a serial monitor software to read the sensor output in the computer using USB to RS485 Converter [3], following is the screenshot
When I try to replicate the same using Arduino I am facing some issues. When I request for single sensor data the sensor is responding and I can read the sensor data.
Ex. The code only contains inquiry frame for Ph
ph_read.ino (1.3 KB)
When I request for multiple sensor data the return values from the sensor are not correct
Ex. The code contains inquiry frame for Ph and Moisture
ph_and_moisture.ino (1.7 KB)
Following is the circuit diagram I am using
(taken from (2. Measure Soil Nutrient using Arduino & Soil NPK Sensor))
I have referred following forum question for possible solution but I unable to get relevant information
RS232-TTL Module with Arduino
NPK Soil Sensor Making - Nitrogen Phosphorus Potassium levels in Soil
NPK Soil nutrients measurement sensor for Mesh network
Thank you