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

    M5StickC HAT PIN control in UIFlow

    UIFlow
    5
    6
    9.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
      AndreaF
      last edited by

      M5StickC has these 8 PIN
      GND, 5V OUT, G26, G36, G0, BAT (what is?), 3V3, 5V IN

      I cannot find a match in Uiflow. Uiflow pin block allows me to select pin0, pin1, pin2 ,pin3 , pin4.

      alt text

      Other doubt
      With just Uiflow firmware flashed and no other task running checking the pin with a multimeter. I have noticed that G26, G36, G0 haven't same voltage (G36 seems having a lower voltage). Why?

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

        @andreaf individual pin control has not been yet provided for the hat connector

        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!

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

          @ajb2k3 Bummer. I hope this feature will be introduced soon. What about the different voltage on G26, G36, G0. Is that normal? If yes why one of the pin has much lower voltage?

          1 Reply Last reply Reply Quote 0
          • lukasmaximusL
            lukasmaximus
            last edited by

            I would hazard a guess, that one gpio is receiveing comands from the host, while the other is waiting for the user to send a command, therefore one pin will have a higher voltage when sending data, and the other will have a lower voltage or 0 while not receiving any data

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

              Hi,

              I want to utilize the HAT pin in UIFlow to add a digital sensor. Are there any plans to support the HAT pin in UIFlow? Though I can code in the Arduino environment, I want to go with UIFlow if possible. Because UIFlow is easy to deploy and let non-experts tinker.

              Thanks.

              1 Reply Last reply Reply Quote 0
              • world101W
                world101
                last edited by world101

                Unless I’m not understanding it correctly, according to the docs, you would select a pinX from the drop down list and type the pin number (ex: 26) into the Init pin block. Then you can get or set the pin via the other blocks. As far as pin0 through pin5, those seems to be a designator for the pin you are controlling.

                BAT = battery

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