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

    UnitV UART out to Raspberry Pi GPIO

    Units
    3
    4
    5.5k
    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.
    • K
      kylebuttress
      last edited by kylebuttress

      I have the UnitV Sending output via UART GROVE to a M5StickC. Is it possible to attach to a raspberry pi GPIO and read the signal?

      I have read that PIN 8 and 10 on the Raspberry Pi are UART TX and RX.
      Has any one tried and confirmed this is possible. I will attempt this and report any findings.

      Thanks

      1 Reply Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3
        last edited by

        I don’t see that there will be a problem you just need to make sure that the raspberry pi can understand the the unifV is telling it

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

        1 Reply Last reply Reply Quote 0
        • K
          kylebuttress
          last edited by

          I got it work using python serial on the raspberry pi. It's now reading the input from the UnitV and performing functions based on that input.

          I did need to disable the serial console on the Pi as it was causing issues.

          I think the UnitV requires the 5v input as its not powering enough with the 3.3v using the GROVE connection.

          P 1 Reply Last reply Reply Quote 0
          • P
            paramza029 @kylebuttress
            last edited by

            @kylebuttress I saw that you managed to get the UART connection working between the M5Stack UnitV2 and Raspberry Pi, and it's functioning well. Could you share the steps and settings you used to disable the serial console on the Raspberry Pi? Additionally, did you use any specific Python libraries or tools to read data from the UnitV via UART?

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