🤖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

    Modules
    2
    4
    724
    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
      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
        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
          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
            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
            • First post
              Last post