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

    Tail485 bidirectional communication

    Scheduled Pinned Locked Moved Modules
    1 Posts 1 Posters 2.1k 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.
    • E Offline
      enricobilla
      last edited by

      Hi all,
      I've been working on a project recently with an Atom Lite and a Tail485. I'm trying to use those to read from a Modbus RTU sensor through RS485.
      The problem I'm having is that I'm not able to achieve bidirectional communication with the Tail485, at the moment I don't know whether I cannot send or receive data. All I know for sure is that the modbus sensor is not sending any data after the request (the sensor is working with another transceiver). For the tests I used multiple micropython libraries for Modbus but also an Arduino library (even using an Arduino Uno), and I always get the same error: no data received.
      I'm not able to test it thoroughly right now because I don't have the tools to debug the RS485 signals, but I will in the next days.

      Looking at the datasheet the IC used (SP485) uses two pins (DE-RE) to control the flow of data from UART to RS485 and vice versa. That pin tho is not exposed on the Tail485 module (there are only GND 5V TX and RX), so I was wondering how the flow control is implemented on the module (if there's any). Otherwise, can the module exclusively send (or receive) data?

      Thank you in advance for your help!
      Enrico

      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