Howdo,
I’m using a SparkFun Thing Plus (ESP32-S2) for a remote control, powered by a lipo, and I have added a power switch that brings enable low to put the board to sleep.
As I understand it, this switches off the 3v regulator and I’d assume cuts all power? When I switch the board back on I get LEDs lighting up from the various components but the screen that’s attached doesn’t spring back in to life.
Am I using the En pin correctly or should I just put the switch on the battery? I was hoping to be able to charge it while it’s switched off for example which wouldn’t be possible that way.
Edit: I just tested using reset after switching back on and the board rebooted fine so I suspect this is going in to a low power state and not recovering gracefully. Is there an “OnAwake” type event I could use to detect power on?
Any tips would be greatly appreciated.