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

    M5StickC BUGC... why do we change charge current?!

    Scheduled Pinned Locked Moved Arduino
    4 Posts 2 Posters 6.9k Views
    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.
    • S Offline
      SarahC
      last edited by

      In BUGC.ino, there's an interesting line - "If add battery, need increase charge current".

      It's brief! I take it to mean - that if I use the little li-ion battery that comes with the BUGC, I need to include this line that changes the charging current of the M5StickC?

      I'm -guessing- that the battery in place also powers the M5StickC's internal battery charger?

      Why am I increasing it!? Shouldn't I be decreasing the charge current to it doesn't drain the robots power?

      What if I left it as whatever its default is?

      void setup() 
      {
      M5.begin();
      BugC.Init();
      M5.Lcd.setTextColor(TFT_GREEN);
      M5.Lcd.setRotation(1);
      M5.Lcd.drawCentreString("BUGC example", 120, 50, 4);
      // if add battery, need increase charge current
      M5.Axp.SetChargeCurrent(CURRENT_360MA);
      }
      
      1 Reply Last reply Reply Quote 0
      • S Offline
        SarahC
        last edited by

        Ohhhhhh.....

        https://community.m5stack.com/topic/2625/m5stickcplus-doesn-t-program-correctly/3

        1 Reply Last reply Reply Quote 0
        • m5stackM Online
          m5stack
          last edited by

          setting a fit charge current level would let the battery charge fast. if use the default charge current it would spend a long time to be full.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            SarahC @m5stack
            last edited by

            @m5stack Thank you!

            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