Get error message at installation. What can I do?
I want to use the PowerC as a backup battery for the small internal.
I use your program example and it works.
After switching on the PowerC I can see the external Vbat and seconds later PowerC switches off and I can see the internal Vbat. This is not the expected behavior. Additionally, the switch loses its membrane already (after 20 presses).
If I connect the SIM800L module to the M5Stack Basic Core I get always Resets as in the screenshot shown
Is there enough power over the USB connector to source that combination? SIM800L can have spikes till 2 A.
I have connected a GoBottom w/ 600mAh LiPo but that's not enough. What can I do in this case?
Here is a working code example:
// initialize the M5Stack object
Wire.begin(); // required to access IP5306
M5.Lcd.printf("IP5306 Function Test\r\n");
M5.Lcd.printf("No communication with IP5306 chip");
uint8_t bat = M5.Power.getBatteryLevel();
if (M5.Power.isCharging()) M5.Lcd.printf("Battery is charging\r\n");
else M5.Lcd.printf("Battery is not charging\r\n");
M5.Lcd.printf("Battery Level %d", bat);
M5.Lcd.progressBar(0, 220, 360, 20, bat);