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

    Internal pull-up support on Unit PbHub / Unit EXT.IO2?

    Scheduled Pinned Locked Moved Units
    3 Posts 2 Posters 1.5k 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
      sk-ys
      last edited by

      Hello,
      I am using Unit PbHub and would like to ask about internal pull-up resistors.
      The STM32F030 used in PbHub and EXT.IO2 supports internal pull-up/pull-down at the hardware level, but I could not find any way to enable pull-ups using the current M5Stack libraries. There seems to be no API to configure pull modes.
      Is it currently possible to enable internal pull-up resistors on PbHub or EXT.IO2?
      If not, is firmware modification the only option, or are there plans to support this in the future?
      I would appreciate any official clarification or recommended workaround.
      Thank you.

      felmueF 1 Reply Last reply Reply Quote 0
      • felmueF Offline
        felmue @sk-ys
        last edited by

        Hello @sk-ys

        currently PbHub does not support internal pull-up/pull-down resistors. See FAQ at the end of the documentation page here. I assume the same is true for EXT.IO2.

        Note: I have no idea if there are plans to support this feature in the future.

        BTW: I faced the same issue a while ago and I resorted to adding some 10 k SMD resistors to the inputs.

        Thanks
        Felix

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

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sk-ys @felmue
          last edited by

          @felmue
          Thank you for the clarification.
          Yes, it seems that internal pull-up/pull-down resistors cannot be controlled at the moment.
          I also checked the documentation, but could not find any way to configure this, which is why I posted the question here.

          I hope this feature can be supported in the future, as it would be very useful in practice.

          Thanks again for sharing your experience.

          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