🤖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?

    Units
    2
    2
    18
    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
      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
        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

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