Xinyuan-LilyGO / LilyGo-LoRa-Series

LILYGO LoRa Series examples
603 stars 169 forks source link

Tbeamallfunction deep sleep problem #61

Closed mattcalavera closed 1 year ago

mattcalavera commented 2 years ago

on T-Beam v.1.1 when entering in deep sleep mode via longpress all go off, but there is no way to wake up other than leave and reinstert the battery (buttons, reset and others, only make red led on but no more)

netmonk commented 2 years ago

which firmware are you running ? Or what piece of code ?

mattcalavera commented 2 years ago

i'm running the "Tbeamallfunction.ino" code (in RadioLibExamples folder)

mattcalavera commented 2 years ago

https://github.com/Xinyuan-LilyGO/LilyGo-LoRa-Series/tree/master/examples/RadioLibExamples/TBeamAllFunction

Max-Plastix commented 2 years ago

Attaching USB power will also wake the PMU. I too wish there was some way to use a timer to wake the PMU from power-off.

Note that this (longpress OFF) is different from Deep Sleep in the ESP32. To deepsleep the ESP32, you must keep the PMU (AXP192) on, at least the ESP32 and also OLED power.

I wish the OLED was on a separate i2c bus from the PMU, so that the OLED could be powered down as well.

In any case, you are correct -- PMU has no way to power on except battery insertion, power button, or USB power. There is no timer attached.

ESP32 has more wake-options, but requires keeping the PMU+OLED on at some 5mA power consumption.

lewisxhe commented 1 year ago

There is no activity for a long time. If there is still a problem, please reopen the problem