Navigation

    M5Stack Community

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

    Caterpillaraoz

    @Caterpillaraoz

    0
    Reputation
    8
    Posts
    267
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Caterpillaraoz Follow

    Posts made by Caterpillaraoz

    • RE: M5STATION USB communication with computer while RS485 is in use - how to?

      So you are telling me that there is NO way to use the RS485 and a computer serial communication at the same time?

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

      @ajb2k3 Bottom USB is wired in parallel with the RS485 port & is the one to be used for FW loading, TOP usb I'm trying to figure out how to talk over it!

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

      Hello,
      I'm using M5Station 485 as a Modbus RTU CLient, I'd also like to have USB communications to send debug messages to the Arduino IDE.
      Is it possible?

      Is I'm not reading the schematic "wrong" the USB port at the bottom is connected "in parallel" with the 485 interface so it's not available for communication while the 485 is in use, correct?

      What about the USB port "at the top" of it?

      Thanks!

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

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

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

      @felmue Seems to be working - at least in producing compliants packets. Thanks again!

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

      @felmue said in M5STATION NO RS485 SUPPORT (let alone Modbus RTU):

      Hello @Caterpillaraoz

      your post made me curious and since I have both an M5Station 485 and an M5Unit-ACSSR which has a Modbus mode I've put together an example. You can find it here.

      Thanks
      Felix

      Thank you for your time! It's compiling OK, that's a huge step forward for me, I'll take it as a starting point. Tomorrow in the ofice I'll do a live test & update you.

      Let's see if I understood correctly... it should be communicating via the RS485 port built in in the station_485, NOT via the ACSSR unit, right?

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

      @ajb2k3 What's the method? I am seriously considering about embedding such devices in an industrial context but I'm having some doubts now.

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

      Hello,

      the main reason i bought the M5STATION was the RS485 support.
      I was pretty puzzled when I saw this element not to be included in the examples! - Let alone the modbus RTU implementation.

      I hope I'm in being mistaken and effectively the support for this port is available because it's the basics for use in industrial environment.

      To be fair and concise, at the cost of sounding not so nice :-) : Arduino has a very good Modbus library that any device with aspiration of industrial adoption should support:
      https://www.arduino.cc/reference/en/libraries/arduinomodbus/

      Are there any plans/maybe it's already done to "fix" it to run on M5STATION?

      posted in Arduino
      C
      Caterpillaraoz