Mohd Shanawaz

Members
  • Content Count

    1
  • 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 videohttps://www.youtube.com/watch?v=tBw15SfmuwI&t=83s. 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