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

    Can't get working core2 with ac power base

    Scheduled Pinned Locked Moved Bases
    7 Posts 3 Posters 9.1k 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.
    • P Offline
      Past
      last edited by

      Hi all!
      I bought a couple of ac power bases and core2 controllers, connected them and can't get them to work. When connecting 220 volts, the controller does not turn on and clicks are periodically heard. When I power the controllers via usb, they work great. Can anyone help me connect?

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

        Hello @Past

        upon starting up the M5Core2 5 V pin on the M5Stack bus is set as input, then depending on the program running, the 5 V pin might be switched to an output. If that is the case, then the M5Core2 keeps restarting as it shuts itself off, as soon as the 5 V pin is switched to an output.

        however if you use the latest Arduino M5Core2 library for your program, there is an automatic detection for external power and if present the 5 V pin is kept as an input. See here.

        Thanks
        Felix

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

        P 2 Replies Last reply Reply Quote 0
        • P Offline
          Past @felmue
          last edited by

          @felmue
          I'm using esphome framework, but try with links, you provided, tomorrow. Thanks!

          1 Reply Last reply Reply Quote 0
          • P Offline
            Past @felmue
            last edited by

            @felmue I have ported all the lib without success

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

              Hello @Past

              hmm, not sure what is going on then and unfortunately I cannot try this myself as I don't have an ac power base on hand. Sorry.

              Maybe check with M5Stack support directly?

              Thanks
              Felix

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

              P 1 Reply Last reply Reply Quote 0
              • P Offline
                Past @felmue
                last edited by

                @felmue
                Thank you Felix!

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jmillfd
                  last edited by

                  I am having exactly the same problem, were you able to figure out how it works? @Past

                  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