M5StackSAM - Application Menu Library
For a great interest in SAM I wrote a simply to use library for a simple application menu on the M5Stack platform.
@TomSuch Thanks! I think this will be really helpful.
Don't need to waste time setting a my quick dirty menu anymore :)
Nice one Tom. Thanks. Should be handy for many users....
simple app Accu meter (MAX17043 module soldered inside Battery Module):
code based on nlamprian library from https://github.com/nlamprian/LiFuelGauge:
available on my gist:
@reaper7 shows strange values: VCell: -0.0213V SoC: -1.00%
what's going wrong?
Hi, just checking... have you added a MAX17043 "battery gauge module" to your M5Stack in some way - perhaps soldered to the add-on Battery module as per reaper7's example ?
@JimiT - good question :)
Hi Reaper7, I'm planning to do this mod.
Could you please share some details on how you've wired the MAX17043 ? I am sure others would also be interested.
So you've removed the battery connector from the MAX. Looks like you are using 7 of the 8 pins on the the MAX... NOT using the Quick start QSTRT pin from what I can see. Then i presume SDA to G21 on M5Stack; SCL to G22 on M5Stack....
Is that right? And the rest ? Thanks !
cutting pcb is not necessary,
cutting wire between ACCU+ and VCC also not necessary
but I do not want drain accu by max17043 when m5stack is off
REMEMBER! If wire between ACCU+ and VCC are not cut (on the max17043 pcb) as it is originally,
then connect only ACCU+ pin to M-BUS BATTERY and DO NOT connect VCC to M-BUS 3.3V
Excellent thanks very much !
@jimit Thanks - after rereading I noticed that a separate module is needed :-) Just ordered some of those...
A bit off-topic:
Can someone using a battery gauge indicate how long does the 150mah battery takes to charge on an M5Stack limited edition ? (assuming ESP is sleeping)
(FYI, with the screen backlight turned off, and not connected to any network, the battery lasted for 40 minutes with the ESP not sleeping)
A new version of the M5StackSAM library
Added features to easily create and navigate the list.
(APPLICATIONS -> LIST DEMO)
Added support for the FACES QWERTY keyboard.
(APPLICATIONS -> FACES GET STRING)