M5StickC and 18650C endurance



  • Does anyone has experimented with the 18650C battery? Can it be charged without the M5StickC. How long will charging take? How to measure battery level reliably? How long did it last on 1 charge and in what setting. I did a few simple tests with BLE (shutting down the LCD as much as possible), but the results where bit disappointing. So I am would like to here from others.



  • I’ve not yet tested. But I’m building a BLE macro keyboard with it. On the internal M5stickC with lcd on i’ve got about 1 hour running. With no deepsleep. And I assume you can only charge it with the stick in place. (Not yet verified) . I will do my measurements tomorrow



  • I's still waiting on one for a photography project.



  • You are waiting on a 18650C?
    The store around the corner do have them in stock.

    Make sure that you have the M5StickC with the metal inserts, otherwise you are not able to keep the stick in place.



  • @pepsi said in M5StickC and 18650C endurance:

    You are waiting on a 18650C?
    The store around the corner do have them in stock.

    Make sure that you have the M5StickC with the metal inserts, otherwise you are not able to keep the stick in place.

    @pepsi said in M5StickC and 18650C endurance:

    You are waiting on a 18650C?
    The store around the corner do have them in stock.

    Make sure that you have the M5StickC with the metal inserts, otherwise you are not able to keep the stick in place.

    We don't have any stores around here that sell electronics since Maplins closed.



  • @ajb2k3 Sorry, I thought you were located in the Netherlands.

    @Kees You need to have the M5Stick in place to charge the 18650C.
    the 18650C will pass the USB-C 5V to the M5StickC. According to other posts are the internal Bat and the 18650 in paralel. I do not know if there is a safety system between the internal Bat and the external Bat.

    the internal Bat is 80mAh (from version 2020.3 it is 95 mAh) the project that I work on runs about a bit over 1 hour. I was not able to completely drain the external bat. so after 16 hours I stopped my test.

    so the external bat is 2000mAh that will be for me about (2000/80) 25 hours + 1 hour on the internal battery. after 1 year I will lose about 20% of the capacity. so that will be about 20 hours.



  • @Pepsi Thanks for the information. Please confirm you use BLE and you have the LCD on on and you measure/estimate 24+ hours of battery lifetime. Is this correct?

    Did you specifically exclude anything else instead of just not using it?

    I use BLE as a client that sends one simple characteristic every 5 minutes. Once in 6 seconds I flash the LED for 100 msec. That is all. The LCD is set off (using some informattion I found in the forum). I do use both cores (one for BLE and one for buttons and screen (only exceptional states)). I tested a few times without further optimizing and did not get much more than 11 hours. I hope to get something like the 24+ you mention. Is there a major diiference with your setup that could explain this?



  • @Kees
    The simplest thing is to use a powerbank: The square ones mostly are powered by a18650. Today most powerbanks are designed pass through, so you can charge them and at the same time powering a device as the cellphone, the M5Stack, -stickc or the atom (matrix). I mostly hock up my M5Stack devices to a powerbank instead of an USB wall plug charger when programming them over WiFi with an API Key. My M5Stack runs up to 48 hours on an 3500 mAh power bank. I'm also using a nice square one 100x50x10mm from SKROSS (3 Reload) which fits nicely with the M5Stack.
    0_1587383542626_25097b67-85ca-4701-ad68-a128dcc0f9c4-image.png .
    THat way, you don't have to solder or fiddle around with the M5Stack battery charger.



  • @crami25 the question was not related to the M5Stack but to the M5StickC. And most powerbanks will only work for a few minutes. this because the current is to low and the powerbank will cute off the power.
    The 18650C will provide 3.7V direclty to the LDO regulator. to convert it to 3.3Volt.
    With a powerbank you will loose power. from the step up converter. 3.7V to 5V and later a step down, from 5V to 3.3V



  • @Kees
    My Skross (and other powerbanks) work fine with the M5Stick (and Atom matrix), they don't switch off. Maybe you got an old style one. The newer ones are made that you also can charge earplugs (with batteries smaller than the M5Stick) without shutting off. Never mind the power loss. Modern step up and step down have a power loss < 5% . Maybe you want to use a cheap 18650 from Bangood (I got 4 of them marked 5000mAh !) as a backup power. I will stick to my powerbanks. You probably will loose 4-5 hours of run time (of 48). By the way, the IP5306 used for the power management in the M5Stick according to the data sheet (http://www.datasheetcafe.com/ip5306-datasheet-battery-ic/) supports a 2.1A charging current. So it should be no problem charging a 18650.



  • @crami25 thanks for the advice. I've used branded and unbranded powerbanks. The modern powerbanks require a minimum current consumption. the older don't.

    @Kees I've build a page turner based on BLE. This is for an iPad Mini 2 sheetmusic. so about 4 pushes per minute. with the LCD on.
    In the code I use the front button to set the brightness. (but still on) I also use the screen as battery indicator.
    I'm also running on 2 cores. I'm still figuring out how to get some parts to run on one core and the other part on the second core.

    the other thing I've done is to change the corespeed. to 80Mhz. instead of the 260.



  • @crami25 thanks for the information. If I understand the discussion between you and Pepsi correctly I could use an older type power bank!? Nice to know but I wanted to use the supplied battery because combined it is still easy enough to carry around. I am making a simple device for my mother to carry around and use as alarm device in case of emergency for the spare days no one else is around. The device passes the emergency to a local smartphone/tablet which passes the messages to a select group of people who can assist using Google Firebase. One of them responds and this action will be reported back to the local server and then to the device and shown on the LCD. A separate power bank is possible, but less easy to carry around.

    @Pepsi Nice project! So you send more messages per time interval and you use the LCD all the time and you also use both cores. The only difference is the speed of the core(s). The battery indicator (what do you use for measurement?) was at first part of my plan, but I skipped that for saving the battery. How do I change the speed? I could test with that. However it feels like there is something I am missing. It seems I should at least get the same results. Thanks anyway.



  • @Pepsi BTW, how much time does it take to fully charge the battery? Does probably depend on the charger, but just to have an idea.



  • @Pepsi @Kees
    Here is a tutorial on battery cells for the ESP32 and ESP8266:
    https://www.youtube.com/watch?v=heD1zw3bMhw.

    An AA LiFePO4 cell has approximatly the same size as the M5Stick. You can feed the voltage directly into the 3.3V port.



  • @crami25 i have 2 of them.
    Downside is that they need to be removed for charging. Second is, by bypassing the voltage regulator, you will nat be able to use the voltage. So an wxternal battery status indicator is required.



  • @kees said in M5StickC and 18650C endurance:

    @Pepsi BTW, how much time does it take to fully charge the battery? Does probably depend on the charger, but just to have an idea.

    Today I did an experiment to measure the time and the current needed to charge the battery. In short, it needs around 8 hours, a steady current of 100 mA, and the final reading showed that the battery has a capacity of around 800 mAh. I can't be sure that I discharged completely before charging the battery. But hopefully, this will give you a rough estimation.



  • @kees After 2 hours charging
    0_1587801524263_2hour.jpg



  • @kees Finished after 8 hours charging
    0_1587801877949_キャプチャ.PNG



  • @crami25 . Thanks for the video. Could be useful for another project I am working on. But for this I can not let an elderly person remove the battery for charging as Pepsi wrote.

    @Pepsi I can not find anything on corespeed. How did you lower this? Maybe this will give just enough endurance.

    @liemph Thanks. I did a number of simple tests and got rather varying results. Ranging from 8 to 22 hours (only once), but mostly around 12 hours, but with large charging times indeed. I also used two different charging devices. How ever I would like to measure these values (charging and discharging) for better tests, but not on the screen. I want to send them using the BLE I already use. Could you share with me how you read these values.



  • I use a USB type watt meter. Please see below.

    0_1588002796518_image002.jpg



  • @liemph Ah, nice device. Been searching the internet and found one brand with interesting devices (even with blue tooth data gathering) but the shipping costs are ridiculous. Could you tell me what brand you have. Makes searching less difficult.