Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Caterpillaraoz
    3. Topics
    C
    • Continue chat with Caterpillaraoz
    • Start new chat with Caterpillaraoz
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by Caterpillaraoz

    • C

      M5STACK STATION PORT CONNECTORS
      Bases • • Caterpillaraoz

      6
      0
      Votes
      6
      Posts
      613
      Views

      @caterpillaraoz They do on the product page and the product document page.
    • C

      M5STATION USB communication with computer while RS485 is in use - how to?
      Arduino • • Caterpillaraoz

      6
      0
      Votes
      6
      Posts
      1500
      Views

      Hello @Caterpillaraoz you could try something like this every time you want to log something: Serial.begin(115200); Serial.println("Hello World"); Serial.end(true); ModbusRTUClient.begin(115200, SERIAL_8N1); Please note that all debug output you send this way will also be sent to the Modus RTU server. This could potentially lead to unwanted results, should the parser in the Modbus RTU server choke on it. In addition you'll see everything the Modbus RTU server is sending back in the log as well. As an alternative you could use a second serial connection for debug output through one of the Groove ports using a separate USB Serial converter. E.g. like this: Serial1.begin(115200, SERIAL_8N1, 16, 17); Serial1.println("Hello world"); Thanks Felix
    • C

      M5STATION NO RS485 SUPPORT (let alone Modbus RTU) [EDIT: solution w/example inside]
      Arduino • • Caterpillaraoz

      8
      0
      Votes
      8
      Posts
      2864
      Views

      C

      @felmue Just an udpate: everything is working as intended. Thanks!