Mohd Shanawaz

  • Content Count

  • Joined

  • Last visited

  1. I am a beginner. I am trying to communicate (read values) with a device and the modbus address is ranging from 40200 to 40380. I am using max 485 ic to convert rtu to ttl. But on the serial monitor it is showing some garbage value. Is something missing in the code. I have seen this logic as per this video Note. Half duplex communication. Also please note that the format for these modbus address is U-long and long. #include <ModbusMaster.h> /*! We're using a MAX485-compatible RS485 Transceiver. Rx/Tx is hooked up to