Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a power switch to m5paper #92

Open
drtonis opened this issue Aug 12, 2023 · 0 comments
Open

Adding a power switch to m5paper #92

drtonis opened this issue Aug 12, 2023 · 0 comments

Comments

@drtonis
Copy link

drtonis commented Aug 12, 2023

Hi,

I uploaded the code to my M5paper and it works as described. The only thing that I have noticed is that after not pressing any button (unknown) time the ESP goes to deep sleep and the only way to wake it up is plugging a power cable to the USB port. Somewhere I read that when plugging the USB cable, the whole board will be restarted.

  1. Where in the code could I find the sleep time constants? I went through the code, but I couldn’t find the time.
  2. What is the function of the back button?
  3. I would like to add a power switch to disconnect the battery. After opening the M5paper I un- and re-plugged the battery, however that was not sufficient for waking the ESP. At least mine was still after that unresponsive.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant