🤖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

    Bases
    3
    7
    5.6k
    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
      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
        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
          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
            Past @felmue
            last edited by

            @felmue I have ported all the lib without success

            1 Reply Last reply Reply Quote 0
            • felmueF
              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
                Past @felmue
                last edited by

                @felmue
                Thank you Felix!

                1 Reply Last reply Reply Quote 0
                • J
                  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
                  • First post
                    Last post