ESP32 Li-ion Battery Charger

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ส.ค. 2023
  • In this video I will use the M5StickC Plus as a Lithium Battery Charger. This ESP32 development board has a built-in AXP192 Power management IC which will recharge batteries and help us to monitor real time charging data.
    For programing part I am using Arduino IDE, you can find code bellow.
    You can BUY M5StickC Plus Here: shop.m5stack.com/collections/...
    You can buy me coffee here: ko-fi.com/volosprojects
    Here is code: github.com/VolosR/chargerM5St...
    Thank you!
    Alternate titles:
    How to make battery charger
    Arduino battery charger
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 50

  • @ergindemir7366
    @ergindemir7366 9 หลายเดือนก่อน +26

    A quick tip: You don't need to cut and resolder the wires to change the battery connector polarity. You can remove the tips from the connector housing with the help of a needle and reinsert.

    • @VolosProjects
      @VolosProjects  9 หลายเดือนก่อน

      Thank you, i will try that

  • @teflone121
    @teflone121 9 หลายเดือนก่อน +6

    Definitely make more M5StickCplus projects, these are just amazing! thank you!

    • @VolosProjects
      @VolosProjects  9 หลายเดือนก่อน

      I will try, thank you

  • @terry5089
    @terry5089 8 หลายเดือนก่อน +2

    This is a great project. Thank you for providing it. I did find one small issue. The screen brightness control (the button on right side of the M5) doesn't work with the code provided. I changed the following line from
    byte brightness[5] ={20,40,60,80,90};
    to
    byte brightness[5] ={7,8,9,10,11};
    and now I can change the brightness of the screen display.
    7 is pretty dark but there isn't much difference in the brightness of the display for values above 11. The higher the brightness value the larger the current draw by the M5 but since this is only used as a battery charger the current draw isn't really important. You can try out different values for brightness and decide what works best for you.
    I have found that the TFT display is VERY easy to damage/destroy. When putting the case with the display back together, be very gentle. Make certain that everything goes together easily without any force. Even a little pressure on the TFT can kill the display in my experience.

  • @gearscodeandfire
    @gearscodeandfire 9 หลายเดือนก่อน +3

    This is an amazing tutorial thank you!

  • @aliveandwellinisrael2507
    @aliveandwellinisrael2507 9 หลายเดือนก่อน

    Wow, that m5stack company has some really nice stuff!

  • @scome98
    @scome98 9 หลายเดือนก่อน +3

    Another very cool project. On another note, I just received my LILYGO T-QT Pro board last night. Very cool little board. Will try to work on it very soon.

    • @MHTSAPAS
      @MHTSAPAS 9 หลายเดือนก่อน

      The T-QT is awesome. Be sure to use the “onebutton” library to get extra use out of the buttons. I made a “Royal Game of UR” dice counter and a second page to keep track of player scores. I think you’re going to love it.
      Thanks to Volos Projects of course. I’ve learned a lot more from this channel than I could ever mention.

  • @DaveWhaley
    @DaveWhaley 9 หลายเดือนก่อน +1

    very cool. thanks for sharing.

  • @oliverschutz7822
    @oliverschutz7822 9 หลายเดือนก่อน +1

    really like it, even when it took a while to get it running

  • @ddjazz
    @ddjazz 4 หลายเดือนก่อน +1

    Cool project , thx for sharing the code , i hope you can make more M5stickc plus projects , subscribed.

    • @VolosProjects
      @VolosProjects  4 หลายเดือนก่อน

      Tnx, i will you can check few of my last videos. I am using new m5stick c plus2 in them

  • @user-wf2ue7hu8n
    @user-wf2ue7hu8n 5 หลายเดือนก่อน +1

    u r the best, thank you for this video.

  • @chiparooo
    @chiparooo 9 หลายเดือนก่อน

    Very cool! Thanks for sharing!

  • @akul24
    @akul24 9 หลายเดือนก่อน +1

    Really cool, just charging current is labeled in mA not mAh. How thich are those 600mAh batteries from soldered? I'm planning of getting one and my project is a bit tight with space

  • @eugenebaxter357
    @eugenebaxter357 7 หลายเดือนก่อน

    Really like the Video! Thank you, from the axp192 sheet it has operation voltage 2.9v~6.3 AMR up to 11V. Do you think that a straight connection to a 6.7v solar panel is ok? I'm not a fan of letting white smoke out of my precious m5stickC's! Also for a long sunny day, would it be able to push well into two 18650's in parallel (of course).
    Idea behind my question is small solar panel charging 1 (hopefully 2) 18650s for cloudy weeks with good efficiency.

  • @FeldiiCAE
    @FeldiiCAE 9 หลายเดือนก่อน

    Great work! :)

  • @starryeyed132
    @starryeyed132 4 หลายเดือนก่อน

    Thank you

  • @nuovocampo-cinque3189
    @nuovocampo-cinque3189 9 หลายเดือนก่อน

    Thanks! Do you think it will work with the old M5StickC too? (I ordered the old stick by mistake 😒)

  • @mrksaccount123
    @mrksaccount123 9 หลายเดือนก่อน

    This is smart and cool!

  • @udirt
    @udirt 25 วันที่ผ่านมา

    Thank you trying now!

    • @udirt
      @udirt 25 วันที่ผ่านมา

      narrator: but then he stopped, because he felt sorry for the tiny little board getting its wires cut. there will be a day and way to do this with a normal esp.

  • @michaelo2l
    @michaelo2l 8 หลายเดือนก่อน

    Charge current min is 100mA, can this be reduced to 20mA for button cells for example?
    Looks like REG 33H sets charge current, min is 100mA, so would need to add additional circuitry to accommodate lower charge currents...

  • @ajdarseidzade688
    @ajdarseidzade688 9 หลายเดือนก่อน

    It is interesting, what is the efficiency of the DC-DC converter built into the AXP192 is. The datasheet, as always, is "secret" on issues of efficiency, consumption, etc. :)) Maybe someone has such information? Thank you for the video.

  • @WaschyNumber1
    @WaschyNumber1 9 หลายเดือนก่อน

    Hello
    What was the exact name of the new ESP32 board unit that have came out this year, that have a faster CPU and more internal Storage, please ? 🤔

  • @WaschyNumber1
    @WaschyNumber1 9 หลายเดือนก่อน

    Nice 👍👌
    Can the charger be made that you can charge the Batterys with 2mah for this even smaller batterys and is it possible to charge 2x4.2v =8.4v batterys too 🤔🤗 I'm looking long time for charger with this futures but I can't program and have problems to build this stuff becourse I'm disabled and are momentarily under extrem strong pain too. 😔
    For AAA nimh, liion, lifepo4 and from 1volt up to 30 volt maybe too a wakeup under volt regeneration function too?? 🤔

  • @RD2.rd2
    @RD2.rd2 9 หลายเดือนก่อน

    Please make video with TTGO T-Display🙏

  • @EnisIsmail-wb1xp
    @EnisIsmail-wb1xp 18 วันที่ผ่านมา

    can you make for M5StickCPlus2

  • @EnisIsmail-wb1xp
    @EnisIsmail-wb1xp 18 วันที่ผ่านมา

    can you make for m5stickcplus2

  • @lonva
    @lonva 9 หลายเดือนก่อน

    Nice !
    DOoyou thing it would be possible to add a second battery to it without remove the internal one ?

    • @VolosProjects
      @VolosProjects  9 หลายเดือนก่อน

      Yes you can but then readings whoud be wrong.

    • @lonva
      @lonva 9 หลายเดือนก่อน

      @@VolosProjects i'm actually looking to extend battery life, but i don't find any information on how to connect a second removable battery, will you be ok if i ask you some questions ?

  • @aavanzi
    @aavanzi 6 หลายเดือนก่อน

    Dear I thought your project was amazing, but I'm getting the error below:
    "error: 'class AXP192' has no member named 'SetChargeCurrent'; did you mean 'GetBatChargeCurrent'?
    if(deb==0) {deb=1; chosen++; if(chosen==4) chosen=0; M5.Axp.SetChargeCurrent(values[chosen]);}"

    • @VolosProjects
      @VolosProjects  6 หลายเดือนก่อน

      Did you do what i explained in video, you need to use library from older m5stick

  • @GronaldoSr
    @GronaldoSr 9 หลายเดือนก่อน

    Is the TTGO compatible with this project?

    • @VolosProjects
      @VolosProjects  9 หลายเดือนก่อน +1

      No, ttgo have another charger ic

  • @mrdebug6581
    @mrdebug6581 8 หลายเดือนก่อน

    change the caption : you have a type with the word battery (user's won't find your video) - would be a pity

  • @Radiant341
    @Radiant341 9 หลายเดือนก่อน

    ee brate ti si iz srbije pretpostavljam jel imas instagram posto mi treba pomoc

    • @VolosProjects
      @VolosProjects  9 หลายเดือนก่อน

      Iz Hrvatske, nemam instagram, reci?

    • @Radiant341
      @Radiant341 9 หลายเดือนก่อน

      @VolosProjects to brate hvaal na odgovoru pa gledaj ja sam nov u ovome pa bas i ne znam sve ali imam arduino nano display 0.96 inch ali kada upalim onaj ssd 1306 display ne pokazuje sliku ako mozda znas zbog cega

    • @VolosProjects
      @VolosProjects  9 หลายเดือนก่อน

      jesi instalirao library i spojio sve kako treba, imas i2c ils spi oled ekranic?@@Radiant341

    • @Radiant341
      @Radiant341 9 หลายเดือนก่อน

      imam da i sve sam spojio@@VolosProjects

    • @Radiant341
      @Radiant341 9 หลายเดือนก่อน

      naravno tu ostaje da je ekran pokvaren@@VolosProjects