Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. volker
    V
    • Continue chat with volker
    • Start new chat with volker
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    volker

    @volker

    1
    Reputation
    4
    Posts
    586
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    volker Follow

    Posts made by volker

    • RE: M5paper power consumption in light sleep

      My device is now running for about 6 days with one battery charge.
      But I'm using deep sleep mode now.
      If I use disableEPDPower() before getting into light sleep mode, I need to re-init the display after wake up. So the advantage of light sleep is lost and display need to be fully updated.

      I choose this device with e-paper display to build a low power application, but at the end it was not the best decision to use M5paper.

      posted in Cores
      V
      volker
    • RE: M5paper power consumption in light sleep

      @felmue Thanks a lot
      I just plugged off the GT911 cable, I don't need touch for my project. disableEPDPower() and disconnecting GT911 save a lot of battery.

      posted in Cores
      V
      volker
    • RE: M5paper power consumption in light sleep

      Hello @felmue,
      thanks for the quick replay.
      Yes I included

        M5.disableEPDPower();
        M5.disableEXTPower();
      

      I made it also working with M5.shutdown(), but from time to time m5 is somehow hanging until battery power is empty. Don't know if this happens during shutdown or startup. Did you observe something similar?

      posted in Cores
      V
      volker
    • M5paper power consumption in light sleep

      Hi all,
      I need help to optimize my code to save power consumption of m5paper.
      Basically I'm doing this in the setup():

      gpio_hold_en((gpio_num_t)M5EPD_MAIN_PWR_PIN);
      

      If I'm not setting this, m5paper will not wake up from sleep.

      In main loop()

        esp_sleep_enable_timer_wakeup(60 * USEC_TO_SECONDS);
        esp_light_sleep_start();
      

      Everything is working quite nice, so going to sleep and also wake up again after one minute.

      But power consumptions is not going down during sleep. Battery is empty after some hours already.

      Anybody any hint how to save battery in light sleep mode?

      posted in Cores
      V
      volker