🤖Have you ever tried Chat.M5Stack.com before asking??😎
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
M5Stack Community
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

m5Paper Sleep and Wake up

SOFTWARE
3
7
2.1k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    Beo666
    last edited by Feb 14, 2024, 5:04 AM

    Dear Community,

    I'm slowly going mad. I've been trying for a few days to put my m5Paper into deep sleep and wake it up via timer AND touch, unfortunately without success. I have no power source at my place of use (display of temperature + temperature change via touch). Please help me before I go even more insane :)

    Greetings
    Beo

    1 Reply Last reply Reply Quote 0
    • F
      felmue
      last edited by Feb 14, 2024, 8:48 AM

      Hello @Beo666

      could you share your code?

      BTW: just to clarify, what exactly do you mean by deep sleep? Putting only ESP32 into deep sleep or shutdown M5Paper entirely?

      Thanks
      Felix

      GPIO translation table M5Stack / M5Core2
      Information about various M5Stack products.
      Code examples

      1 Reply Last reply Reply Quote 0
      • B
        Beo666
        last edited by Feb 14, 2024, 8:58 AM

        Hello and thank you for your response @felmue

        I'm not really picky at the moment, whether it's deep sleep or shutdown. My aim is for the m5Paper to wake up and update itself every 60 minutes and also to update itself when I touch the display when it is in deep sleep / shutdown.

        Greetings
        Beo

        1 Reply Last reply Reply Quote 0
        • F
          felmue
          last edited by felmue Feb 15, 2024, 1:20 AM Feb 14, 2024, 5:18 PM

          Hello @Beo666

          please find a deep / light sleep example here which wakes up from timer (every 10 s) or when the touch screen is touched.

          The shutdown and wakeup from timer example is here using M5.shutdown(<sec>).

          Wakeup from shutdown mode by touch screen is not possible due to the fact that the touch screen interrupt is only connected to GPIO36 of the ESP32 which is powered off in shutdown mode.

          Thanks
          Felix

          GPIO translation table M5Stack / M5Core2
          Information about various M5Stack products.
          Code examples

          B 1 Reply Last reply Feb 15, 2024, 5:44 AM Reply Quote 0
          • B
            Beo666 @felmue
            last edited by Feb 15, 2024, 5:44 AM

            Hello @felmue

            thank you very much for your help.

            What I have in mind is not possible. Shutdown switches off the Touch, deep sleep restarts the ESP and light sleep consumes so much energy that the m5Paper only lasts a few hours... if at all.
            Thank you very much for your time and the great code examples.

            Greetings
            Beo

            1 Reply Last reply Reply Quote 0
            • A
              ajb2k3
              last edited by Feb 16, 2024, 7:32 PM

              The alternative is to use the M5Paper as an eraser which mean you do a HV write to fix the content on the display and then power it down and use an external interrupt to wake it.
              What about the dedicated ULP, and luck trying that?

              UIFlow, so easy an adult can learn it!
              If I don't know it, be patient!
              I've ether not learned it or am too drunk to remember it!
              Author of the WIP UIFlow Handbook!
              M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

              B 1 Reply Last reply Feb 19, 2024, 7:12 AM Reply Quote 0
              • B
                Beo666 @ajb2k3
                last edited by Feb 19, 2024, 7:12 AM

                @ajb2k3

                That sounds exciting. Do you mean another ESP that functions as an ULP?

                1 Reply Last reply Reply Quote 0
                4 out of 7
                • First post
                  4/7
                  Last post