Hello everyone! I'm having problems using the soil pH sensor that uses the RS485 protocol, I searched the net and followed this tutorial:
I tried to make everything work, with an Arduino Uno it works perfectly, while if I use an Arduino Mega (which is used to implement my final project) the PH sensor is no longer able to read the value correctly, always printing the value of 25.5. Could you help me by establishing if the problem is in the initial frame that the sensor on the datasheet uses, or is it to be found elsewhere?