Inkplate-Arduino-library icon indicating copy to clipboard operation
Inkplate-Arduino-library copied to clipboard

Manual reset not working as expected

Open tatulea opened this issue 8 months ago • 7 comments

Hello, I am putting the device in deep sleep and I expect the I/O button (next to the USB connection) to turn off/on (reset) the ESP. What actually happens is that I push the button once, the LED goes off, I push it back, but ESP does not start until the deep sleep gets triggered (used esp_sleep_enable_timer_wakeup).

I would expect the power button to reset the ESP.

tatulea avatar May 11 '25 09:05 tatulea

Hi @tatulea ,

if I understand correctly,

  • Inkplate is powered via battery and put into deep sleep via software
  • You are resetting via the power button while Inkplate is in deep sleep
  • The device is not waking up after two presses of the power button (power off - power on)

You are right to expect that in this case Inkplate should do a software reset.

Does this behavior happen on USB power as well or just battery? Which Inkplate model do you have? I don't believe I've encountered this issue but we can try to replicate it.

-Rob

rsoric avatar May 16 '25 08:05 rsoric

Also, I'd like to add either way it seems like more of a hardware than a software issue, but please feel free to provide more info here and then we'll see what to do with the ticket.

rsoric avatar May 16 '25 08:05 rsoric

Hey, sorry for the very late reply!

I am using COLOR6. And I am testing with the Inkplate6COLOR_Simple_Deep_Sleep example.

I was also trying to add

esp_sleep_enable_ext0_wakeup(GPIO_NUM_39, 0);

but it does not seem to work. I can also use GPIO_NUM_36 to wake it up from the WAKE button.

tatulea avatar Aug 15 '25 10:08 tatulea

Hi @tatulea ,

Check the docs here, GPIO_NUM_39 is used for RTC_GPIO3 via jumper 5 so its a wake up from RTC and it's connected by default. You can use the WAKE button to wake up from deep sleep on Inkplate 6 COLOR as in the example.

Please check the docs in more detail and let me know if I can further help.

-Rob

rsoric avatar Sep 02 '25 07:09 rsoric

Thanks, that is true. Then what I am not sure about is the turn on/off button. I would have expected that button to turn on and off the entire power supply for the board, forcing a reboot of the ESP, no matter if it was in deep sleep or not. But looks like if it is in deep sleep, it will not reboot. Is that right?

tatulea avatar Sep 02 '25 08:09 tatulea

The board should reboot fully if in deep sleep and the power button gets clicked twice (once for turning off the power, and then once for turning on), clicking once to power off totally kills the power for the ESP32 so it cannot remain in deep sleep. I'm not quite sure how this happens on your board. We will try and replicate it tomorrow

rsoric avatar Sep 02 '25 13:09 rsoric

Hi @tatulea , can you please take a detailed photo of the back of your board, mainly we are interested in looking at the circuitry around the power switch.

rsoric avatar Sep 04 '25 07:09 rsoric