CrowPanel 7" Power / Deep Sleep Button for Battery Powered Device
I'm developing a battery powered device utilizing the crowpanel 7". I need a way to power the device on / off while on battery power. I considered just adding an spdt switch to the positive line of the battery wire, but then I can't charge the battery while the device is off which is obviously not ideal. I'm using LC709203F as fuel gauge and that communicates battery charge status with esp32 via I2C. I could a UPS system like the PiSugar, but this adds a significant cost to the project vs just lipo and fuel gauge. I also looked at just using deep sleep function and wiring a momentary button to GPIO 38 which is broken out on GPIO_D connector, but while I can put the system into deep sleep using a button with gpio 38, I can't wake it with that because only rtc linked GPIOs (26 and under) can be used to wake from deep sleep. I also thought about using one of the i2s pins for waking, but I do require a speaker for this project and it seems like it would be problematic for these to share pins.
Is there some other GPIO pin that's not used that I could solder a jump wire to? Or some other solution I'm not thinking of? Thanks.
Comments
bump anybody got ideas? I like this hardware, but this is a real roadblock for the project. waveshare makes some boards that have integrated power button for this purpose. Seems like there must be a way to implement this.
Dear @Nutmeg ,
The CrowPanel 7'' display only has the 38-pin available, and there are no surplus pins for additional connections.