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

    Cannot get M5 Buttons to work on M5Stick-C-Plus2

    Scheduled Pinned Locked Moved Modules
    4 Posts 2 Posters 3.0k Views 1 Watching
    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.
    • konacurrentsK Offline
      konacurrents
      last edited by

      M5Stick-C-Plus2

      M5Stick C Plus2

      It seems the "incremental" improvement of the M5Stick-CPlus to the Plus2 is more than "incremental', especially as they switched to the M5United - which definitely changes things.

      Anyway, after going through some changes, I can get my main M5Stick-C-Plus application working with WIFI, MQTT, and BLE. Also the Display works nicely. So I can send MQTT messages to change the display (even a long press button A message) - so I can control the device.

      But I cannot get the Button A and B to work. So I cannot control via button press (long or shot pressing of A or B).

      M5 Buttons do not work

      I have even loaded the sample and the buttons don't work. button.ino

      Easyloader demo works!

      After dusting off a Windows PC, I "Download Windows Version Easyloader"
      and that version works with buttons and all.

      Driver?

      Only thing I don't know is if I've done correctly is loading the device driver from my Mac computer: CH9102 I actually don't know how that's done, but all my other M5 devices work nicely (M5 Atom, M5 Core 1/2, and M5 Stick C Plus 1)

      Any help would be appreciated.
      thanks

      felmueF 1 Reply Last reply Reply Quote 0
      • felmueF Online
        felmue @konacurrents
        last edited by

        Hello @konacurrents

        there is a button example in M5Unified library as well. Maybe that works with M5StickCPlus2?

        Note: I don't have the necessary hardware to test myself.

        Thanks
        Felix

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

        konacurrentsK 1 Reply Last reply Reply Quote 0
        • konacurrentsK Offline
          konacurrents @felmue
          last edited by

          @felmue sadly that is the button example I mentioned also doesn't work.

          So at present the new M5 Stick Plus-2 won't work as a replacement (and luckily more of the red M5 was found for our customers to use).

          thanks,

          felmueF 1 Reply Last reply Reply Quote 0
          • felmueF Online
            felmue @konacurrents
            last edited by

            Hello @konacurrents

            for me both button examples (M5StickCPlus2 library / M5Unified library) work as expected.

            Are you using the latest version of all the libraries used?

            Thanks
            Felix

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

            1 Reply Last reply Reply Quote 1

            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