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 - วิทยาศาสตร์และเทคโนโลยี
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.
Thank you, i will try that
Definitely make more M5StickCplus projects, these are just amazing! thank you!
I will try, thank you
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.
This is an amazing tutorial thank you!
Wow, that m5stack company has some really nice stuff!
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.
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.
very cool. thanks for sharing.
really like it, even when it took a while to get it running
Cool project , thx for sharing the code , i hope you can make more M5stickc plus projects , subscribed.
Tnx, i will you can check few of my last videos. I am using new m5stick c plus2 in them
u r the best, thank you for this video.
Very cool! Thanks for sharing!
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
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.
Great work! :)
Thank you
Thanks! Do you think it will work with the old M5StickC too? (I ordered the old stick by mistake 😒)
This is smart and cool!
Thank you trying now!
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.
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...
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.
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 ? 🤔
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?? 🤔
Please make video with TTGO T-Display🙏
can you make for M5StickCPlus2
can you make for m5stickcplus2
Nice !
DOoyou thing it would be possible to add a second battery to it without remove the internal one ?
Yes you can but then readings whoud be wrong.
@@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 ?
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]);}"
Did you do what i explained in video, you need to use library from older m5stick
Is the TTGO compatible with this project?
No, ttgo have another charger ic
change the caption : you have a type with the word battery (user's won't find your video) - would be a pity
thank you :)
ee brate ti si iz srbije pretpostavljam jel imas instagram posto mi treba pomoc
Iz Hrvatske, nemam instagram, reci?
@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
jesi instalirao library i spojio sve kako treba, imas i2c ils spi oled ekranic?@@Radiant341
imam da i sve sam spojio@@VolosProjects
naravno tu ostaje da je ekran pokvaren@@VolosProjects