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

    M5Stack Grey charging 16580 LiPo

    SOFTWARE
    2
    2
    3.0k
    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.
    • R
      robouden
      last edited by

      Hi all,

      I have designed a board with the M5Stack grey on it and the battery is a 16580. But it only chargers at about 120mA. How to set the IP5306 to charge at higher currents?

      regards,
      Rob Oudendijk

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

        Hi Rob

        if you look into Power.cpp you'll see that the current already is set to about 400 mA:
        https://github.com/m5stack/M5Stack/blob/master/src/utility/Power.cpp

        void POWER::begin() {
          uint8_t data;
          //Initial I2C 
          Wire.begin(21, 22);
          // 450ma 
          setVinMaxCurrent(CURRENT_400MA);
        

        are you calling M5.Power.begin() in your setup code?
        Or maybe the current has been reduced due the the battery being close to full?

        Cheers
        Felix

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

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