Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. koichirose
    3. Topics
    K
    • Continue chat with koichirose
    • Start new chat with koichirose
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by koichirose

    • K

      High power consumption with deep sleep
      M5 Stick/StickC • • koichirose

      6
      0
      Votes
      6
      Posts
      5203
      Views

      R

      @robalstona what do you mean by "check when the power button is pressed to power on device" ? I mean that this axp192 chip is always powered and waits for power button press to powering upthe esp32 chip and lcd with backligth. And check when this button is pressed for 6 seconds to shut down the power.
    • K

      Deep Sleep with MicroPython
      M5 Stick/StickC • • koichirose

      2
      0
      Votes
      2
      Posts
      2580
      Views

      Hello @koichirose here is how I managed to get M5StickC Plus into deep sleep using MicroPython: p37 = machine.Pin(37, mode = machine.Pin.IN, pull = machine.Pin.PULL_UP) p37.irq(trigger = machine.Pin.WAKE_LOW, wake = machine.DEEPSLEEP) machine.deepsleep(20000) It wakes up from deep sleep either after 20 seconds or when button A is pressed. Thanks Felix
    • K

      Preferred development flow
      Micropython • • koichirose

      5
      0
      Votes
      5
      Posts
      5272
      Views

      M

      @zontex nice .. finally smth I can debug with easily
    • K

      Getting started with M5Core2
      Micropython • • koichirose

      1
      0
      Votes
      1
      Posts
      2270
      Views

      No one has replied