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

    RS485 on TAB5

    Scheduled Pinned Locked Moved PRODUCTS
    5 Posts 4 Posters 2.9k Views
    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.
    • S Offline
      scroggyg
      last edited by

      I am trying to use RS485 on the TAB5 main board, whilst there is a connector and SIT3088 I can't find UIFlow support for it, there is for the UART and CAN, but not RS485, have I missed something?
      Thanks

      P 1 Reply Last reply Reply Quote 0
      • robskiR Offline
        robski
        last edited by

        tab5modbus.PNG

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

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          scroggyg @robski
          last edited by

          Thanks Robski, this is close, but not really the same thing, The Commu module allows native, and simpler RS485, but I will use Modbus.
          Thanks

          felmueF 1 Reply Last reply Reply Quote 0
          • felmueF Offline
            felmue @scroggyg
            last edited by

            Hello @scroggyg

            I created a Modbus example for M5Tab5 controlling an ACSSR relay. You can find it in the UIFlow Project Zone: M5Tab5_Modbus_ACSSR_Test_UIFlow2.3.1

            Thanks
            Felix

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

            1 Reply Last reply Reply Quote 0
            • P Offline
              pestarius @scroggyg
              last edited by

              @scroggyg Hi, the SIT3088 is a "converter" from UART to RS-485. To write/read the RS-485, use the UART1 (TX:20, RX:21).
              The setup below works, although I have to store the arrays first somehow, before setting them into my text box (top_box), as the text appears briefly and then disappears ...but I can see I am receiving OK.
              I got the tab5 yesterday ...and RS-485 was the first thing I wanted to test it.
              35754316-24e0-4e02-9011-94aae5b44237-image.png

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post