🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    m5stack tough programming help

    SOFTWARE
    3
    10
    1.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      aiconnection
      last edited by

      Hi. I'm looking for some help in programming M5 stack core 2 tough with a RS485 sensor using webui. The sensor is giving out flow rate which needs to be read by m5stack tough device. This data then needs to be propagated to the aws iot core.

      is there any example of the same available that show step by step process.

      is there someone in our community that can show me once

      thanks

      robskiR 1 Reply Last reply Reply Quote 0
      • robskiR
        robski @aiconnection
        last edited by

        @aiconnection so your first task would be to read sensor data using Modbus in to M5Tough controller

        M5StickC, M5StickCPlus, M5StickCplus2,M5GO, M5Core, M5Tough, M5Core2, M5 Demo Board, M5Dial, M5Paper, M5Atom, M5Cardputer, M5StampS3, CoreMP135, StamPLC, AirQ

        A 2 Replies Last reply Reply Quote 0
        • A
          aiconnection @robski
          last edited by

          @robski
          tasks are:
          interface layout on screen with live data values
          establish rs485 sensor connection
          then connectivity to mqtt broker
          could you please help
          thanks

          1 Reply Last reply Reply Quote 0
          • A
            aiconnection @robski
            last edited by

            @robski can you please guide me resources as to how to work with uiflow 2.0 to setup blocks to read modbus data. I know the communication protocols for my sensor. Being newbie I have no concept of uiflow workability with respect to this unit

            Any help or video link would be great

            felmueF robskiR 2 Replies Last reply Reply Quote 0
            • felmueF
              felmue @aiconnection
              last edited by

              Hello @aiconnection

              please find an M5Tough Modbus example switching an ACSSR relay on and off in the UIFlow2 Project Zone: M5Tough_Modbus_ACSSR_Test_UIFlow2.1.5

              Thanks
              Felix

              GPIO translation table M5Stack / M5Core2
              Information about various M5Stack products.
              Code examples

              A 1 Reply Last reply Reply Quote 0
              • A
                aiconnection @felmue
                last edited by

                @felmue thanks will check ✅

                1 Reply Last reply Reply Quote 0
                • A
                  aiconnection
                  last edited by

                  Is it possible i could request yourself for configuration for one tough unit with one sensor setup. I can provide you with access to my machine.

                  I can compensate for time if that helps.

                  Thanks
                  Sunny
                  Vancouver Canada
                  WhatsApp 6043582900

                  felmueF A 2 Replies Last reply Reply Quote 0
                  • felmueF
                    felmue @aiconnection
                    last edited by

                    Hello @aiconnection

                    thanks for asking, but no, I have no interest in doing that, sorry.

                    That said, have you tried to communicate with the sensor?

                    Thanks
                    Felix

                    GPIO translation table M5Stack / M5Core2
                    Information about various M5Stack products.
                    Code examples

                    1 Reply Last reply Reply Quote 0
                    • A
                      aiconnection @aiconnection
                      last edited by

                      @aiconnection thanks

                      I have not yet tomorrow I will try

                      Regards

                      1 Reply Last reply Reply Quote 0
                      • robskiR
                        robski @aiconnection
                        last edited by

                        @aiconnection said in m5stack tough programming help:

                        @robski can you please guide me resources as to how to work with uiflow 2.0 to setup blocks to read modbus data. I know the communication protocols for my sensor. Being newbie I have no concept of uiflow workability with respect to this unit

                        Any help or video link would be great

                        can you read any modbus data from mentioned sensor using any of available modbus test tools? Just to confirm that communication to sensor over modbus is fine.

                        M5StickC, M5StickCPlus, M5StickCplus2,M5GO, M5Core, M5Tough, M5Core2, M5 Demo Board, M5Dial, M5Paper, M5Atom, M5Cardputer, M5StampS3, CoreMP135, StamPLC, AirQ

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post